vmtk
Recent Changes - Search:

vmtk

projects

links

edit SideBar

VmtkScripts / Vmtkbifurcationsections

vmtkbifurcationsections

Description

compute branch sections located a fixed number of spheres away from each bifurcation. The script takes in input the surface and the relative centerlines, both already split into branches.

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdint1 0script id
handleSelfself1  handle to self
disabledDisabledbool1 0disable execution and piping
iSurfacevtkPolyData1  the input surface, already split into branches
ifileSurfaceInputFileNamestr1  filename for the default Surface reader
centerlinesCenterlinesvtkPolyData1  the input centerlines, already split into branches
centerlinesfileCenterlinesInputFileNamestr1  filename for the default Centerlines reader
distancespheresNumberOfDistanceSpheresint1 1distance from the bifurcation at which the sections have to be taken; the distance is expressed in number of inscribed spheres, where each sphere touches the center of the previous one
radiusarrayRadiusArrayNamestr1  name of the array where centerline radius is stored
groupidsarrayGroupIdsArrayNamestr1  name of the array where centerline group ids are stored
centerlineidsarrayCenterlineIdsArrayNamestr1  name of the array where centerline ids are stored
tractidsarrayTractIdsArrayNamestr1  name of the array where centerline tract ids are stored
blankingarrayBlankingArrayNamestr1  name of the array where centerline blanking information about branches is stored
bifurcationsectiongroupidsBifurcationSectionGroupIdsArrayNamestr1 BifurcationSectionGroupIdsname of the array where the group id to which each section belongs has to be stored
bifurcationsectionbifurcationgroupidsBifurcationSectionBifurcationGroupIdsArrayNamestr1 BifurcationSectionBifurcationGroupIdsname of the array where the bifurcation group id to which each section belongs has to be stored
bifurcationsectionpointBifurcationSectionPointArrayNamestr1 BifurcationSectionPointname of the array where the point at which bifurcation sections are defined have to be stored
bifurcationsectionnormalBifurcationSectionNormalArrayNamestr1 BifurcationSectionNormalname of the array where the bifurcation section normals have to be stored
bifurcationsectionareaBifurcationSectionAreaArrayNamestr1 BifurcationSectionAreaname of the array where the area of bifurcation sections have to be stored
bifurcationsectionminsizeBifurcationSectionMinSizeArrayNamestr1 BifurcationSectionMinSizename of the array where the minimum diameter of each section has to be stored
bifurcationsectionmaxsizeBifurcationSectionMaxSizeArrayNamestr1 BifurcationSectionMaxSizename of the array where the maximum diameter of each bifurcation sections has to be stored
bifurcationsectionshapeBifurcationSectionShapeArrayNamestr1 BifurcationSectionShapename of the array where the shape index, i.e. the ratio between minimum and maximum diameter, of each bifurcation section has to be stored
bifurcationsectionclosedBifurcationSectionClosedArrayNamestr1 BifurcationSectionClosedname of the array containing 1 if a section is closed and 0 otherwise
bifurcationsectionorientationBifurcationSectionOrientationArrayNamestr1 BifurcationSectionOrientationname of the array containing 0 if a section is upstream and 0 downstream its bifurcation
bifurcationsectiondistancespheresBifurcationSectionDistanceSpheresArrayNamestr1 BifurcationSectionDistanceSpheresname of the array containing the number of spheres away from the bifurcation the section is located at
sectionpointgroupidOutputSectionPointGroupIdint1(0,)None 
sectionpointbifurcationgroupidOutputSectionPointBifurcationGroupIdint1(0,)None 
ofileBifurcationSectionsOutputFileNamestr1  filename for the default BifurcationSections writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdint1 0script id
handleSelfself1  handle to self
oBifurcationSectionsvtkPolyData1  the output sections
bifurcationsectiongroupidsBifurcationSectionGroupIdsArrayNamestr1 BifurcationSectionGroupIdsname of the array where the group id to which each section belongs are stored
bifurcationsectionbifurcationgroupidsBifurcationSectionBifurcationGroupIdsArrayNamestr1 BifurcationSectionBifurcationGroupIdsname of the array where the bifurcation group id to which each section belongs has to be stored
bifurcationsectionpointBifurcationSectionPointArrayNamestr1 BifurcationSectionPointname of the array where the point at which bifurcation sections are defined are stored
bifurcationsectionnormalBifurcationSectionNormalArrayNamestr1 BifurcationSectionNormalname of the array where bifurcation section normals are stored
bifurcationsectionareaBifurcationSectionAreaArrayNamestr1 BifurcationSectionAreaname of the array where the area of bifurcation sections are stored
bifurcationsectionminsizeBifurcationSectionMinSizeArrayNamestr1 BifurcationSectionMinSizename of the array where the minimum diameter of each section are stored
bifurcationsectionmaxsizeBifurcationSectionMaxSizeArrayNamestr1 BifurcationSectionMaxSizename of the array where the minimum diameter of each bifurcation sections has to be stored
bifurcationsectionshapeBifurcationSectionShapeArrayNamestr1 BifurcationSectionShapename of the array where the shape index, i.e. the ratio between minimum and maximum diameter, of each bifurcation section are stored
bifurcationsectionclosedBifurcationSectionClosedArrayNamestr1 BifurcationSectionClosedname of the array containing 1 if a section is closed and 0 otherwise
bifurcationsectionorientationBifurcationSectionOrientationArrayNamestr1 BifurcationSectionOrientationname of the array containing 0 if a section is upstream and 0 downstream its bifurcation
bifurcationsectiondistancespheresBifurcationSectionDistanceSpheresArrayNamestr1 BifurcationSectionDistanceSpheresname of the array containing the number of spheres away from the bifurcation the section is located at
sectionpointOutputSectionPointfloat3 [] 
sectionnormalOutputSectionNormalfloat3 [] 
sectionareaOutputSectionAreafloat1 0.0 
Edit - History - Print - Recent Changes - Search
Page last modified on September 09, 2010, at 01:40 AM