vmtk
Recent Changes - Search:

vmtk

projects

links

edit SideBar

VmtkScripts / Vmtkcenterlinemeshsections

vmtkcenterlinemeshsections

Description

extract mesh sections along centerlines. The script takes in input the mesh and the relative centerlines.

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdint1 0script id
handleSelfself1  handle to self
disabledDisabledbool1 0disable execution and piping
iMeshvtkUnstructuredGrid1  the input mesh
ifileMeshInputFileNamestr1  filename for the default Mesh reader
centerlinesCenterlinesvtkPolyData1  the input centerlines
centerlinesfileCenterlinesInputFileNamestr1  filename for the default Centerlines reader
sourceSectionSourcevtkPolyData1  the input section source with which to probe the mesh (optional)
sourcefileSectionSourceInputFileNamestr1  filename for the default SectionSource reader
usesourceUseSectionSourcebool1 Falseif off, slice mesh with plane to generate sections; if on, use the SectionSource to probe the mesh
sourcescalingSourceScalingbool1 Falsetoggle scaling the source with the local radius
transformsectionsTransformSectionsbool1 Falsetransform sections so that they are at the origin, with normal 0,0,1 and upNormal 0,1,0
sectionidsarraySectionIdsArrayNamestr1 SectionIdsthe name of the array where the ids identifying sections are stored
normalsarraySectionNormalsArrayNamestr1 SectionNormalsthe name of the array where normals determining the section planes are stored
upnormalsarraySectionUpNormalsArrayNamestr1  the name of the array where normals determining the "up" orientation of sections are stored
additionalnormalsarrayAdditionalNormalsArrayNamestr1 Nonethe name of the array that contains normals that will be transformed and assigned to additional data points
additionalscalarsarrayAdditionalScalarsArrayNamestr1 Nonethe name of the array that contains scalars that will be assigned to additional data points
vectorsarrayVectorsArrayNamestr1  the name of the array where vectors, e.g. velocity vectors, are stored
originoffsetOriginOffsetfloat3 [0.0, 0.0, 0.0]offset of subsequent sections after transformation
ofileCenterlineSectionsOutputFileNamestr1  filename for the default CenterlineSections writer
sectionpointsfileSectionPointsPolyDataOutputFileNamestr1  filename for the default SectionPointsPolyData writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdint1 0script id
handleSelfself1  handle to self
oCenterlineSectionsvtkPolyData1  the output sections
sectionpointsSectionPointsPolyDatavtkPolyData1  the additional output poly data storing information about the location and orientation of sections
Edit - History - Print - Recent Changes - Search
Page last modified on February 05, 2012, at 03:22 PM