|
VMTK
|
Split a centerline into three tracts with the middle (blanked) tract being initialized between any two points on the centerline or being an arbitrary length starting at a particular point. More...
#include <vtkvmtkCenterlineSplitExtractor.h>
Public Types | |
| enum | { POINTANDGAP , BETWEENPOINTS } |
| typedef vtkvmtkCenterlineSplittingAndGroupingFilter | Superclass |
| Public Types inherited from vtkvmtkCenterlineSplittingAndGroupingFilter | |
| enum | { FIRSTPOINT , LASTPOINT , POINTINTUBE } |
| typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkvmtkCenterlineSplitExtractor * | NewInstance () const |
| void | PrintSelf (std::ostream &os, vtkIndent indent) override |
| void | SetSplittingModeToPointAndGap () |
| void | SetSplittingModeToBetweenPoints () |
| virtual void | SetSplitPoint (double data[]) |
| virtual double * | GetSplitPoint () |
| virtual void | GetSplitPoint (double data[3]) |
| virtual void | SetTolerance (double) |
| virtual double | GetTolerance () |
| virtual void | SetGapLength (double) |
| virtual double | GetGapLength () |
| virtual void | SetSplitPoint2 (double data[]) |
| virtual double * | GetSplitPoint2 () |
| virtual void | GetSplitPoint2 (double data[3]) |
| virtual void | SetSplittingMode (int) |
| virtual int | GetSplittingMode () |
| Public Member Functions inherited from vtkvmtkCenterlineSplittingAndGroupingFilter | |
| vtkvmtkCenterlineSplittingAndGroupingFilter * | NewInstance () const |
| void | PrintSelf (std::ostream &os, vtkIndent indent) override |
| void | SetGroupingModeToFirstPoint () |
| void | SetGroupingModeToLastPoint () |
| void | SetGroupingModeToPointInTube () |
| virtual void | SetRadiusArrayName (const char *) |
| virtual char * | GetRadiusArrayName () |
| virtual void | SetGroupIdsArrayName (const char *) |
| virtual char * | GetGroupIdsArrayName () |
| virtual void | SetCenterlineIdsArrayName (const char *) |
| virtual char * | GetCenterlineIdsArrayName () |
| virtual void | SetBlankingArrayName (const char *) |
| virtual char * | GetBlankingArrayName () |
| virtual void | SetTractIdsArrayName (const char *) |
| virtual char * | GetTractIdsArrayName () |
| virtual void | SetGroupingMode (int) |
| virtual int | GetGroupingMode () |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkCenterlineSplitExtractor * | SafeDownCast (vtkObjectBase *o) |
| static vtkvmtkCenterlineSplitExtractor * | New () |
| Static Public Member Functions inherited from vtkvmtkCenterlineSplittingAndGroupingFilter | |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkCenterlineSplittingAndGroupingFilter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkvmtkCenterlineSplitExtractor () | |
| ~vtkvmtkCenterlineSplitExtractor () | |
| virtual void | ComputeCenterlineSplitting (vtkPolyData *input, vtkIdType cellId) override |
| virtual void | ComputePointAndGapCenterlineSplitting (vtkPolyData *input, vtkIdType cellId) |
| virtual void | ComputeBetweenPointsCenterlineSplitting (vtkPolyData *input, vtkIdType cellId) |
| Protected Member Functions inherited from vtkvmtkCenterlineSplittingAndGroupingFilter | |
| vtkvmtkCenterlineSplittingAndGroupingFilter () | |
| ~vtkvmtkCenterlineSplittingAndGroupingFilter () | |
| virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override |
| virtual void | GroupTracts (vtkPolyData *input, vtkPolyData *centerlineTracts) |
| void | CoincidentExtremePointGroupTracts (vtkPolyData *input, vtkPolyData *centerlineTracts, bool first=true) |
| void | PointInTubeGroupTracts (vtkPolyData *input, vtkPolyData *centerlineTracts) |
| virtual void | MergeTracts (vtkPolyData *centerlineTracts) |
| void | SplitCenterline (vtkPolyData *input, vtkIdType cellId, int numberOfSplittingPoints, const vtkIdType *subIds, const double *pcoords, const int *tractBlanking, vtkPolyData *splitCenterline) |
| void | MakeGroupIdsAdjacent (vtkPolyData *centerlineTracts) |
| void | MakeTractIdsAdjacent (vtkPolyData *centerlineTracts) |
Protected Attributes | |
| double | SplitPoint [3] |
| double | SplitPoint2 [3] |
| double | Tolerance |
| double | GapLength |
| int | SplittingMode |
| Protected Attributes inherited from vtkvmtkCenterlineSplittingAndGroupingFilter | |
| char * | RadiusArrayName |
| char * | GroupIdsArrayName |
| char * | CenterlineIdsArrayName |
| char * | BlankingArrayName |
| char * | TractIdsArrayName |
| int | NumberOfSplittingPoints |
| vtkIdType * | SubIds |
| double * | PCoords |
| int * | TractBlanking |
| int | GroupingMode |
Split a centerline into three tracts with the middle (blanked) tract being initialized between any two points on the centerline or being an arbitrary length starting at a particular point.
This is useful if you want to split a surface at an arbitrary location along a centerline in later processing.
This is the filter behind the vmtkpointsplitextractor pype script. Two splitting strategies are available (see SplittingMode): POINTANDGAP splits at the point on the centerline closest to SplitPoint, opening a blanked gap of length GapLength around it; BETWEENPOINTS splits into a blanked middle tract running between the points closest to SplitPoint and SplitPoint2.
Definition at line 39 of file vtkvmtkCenterlineSplitExtractor.h.
Definition at line 42 of file vtkvmtkCenterlineSplitExtractor.h.
| anonymous enum |
Values for SplittingMode: strategy used to locate the split.
| Enumerator | |
|---|---|
| POINTANDGAP | |
| BETWEENPOINTS | |
Definition at line 112 of file vtkvmtkCenterlineSplitExtractor.h.
|
protected |
Definition at line 34 of file vtkvmtkCenterlineSplitExtractor.cxx.
|
protected |
Definition at line 52 of file vtkvmtkCenterlineSplitExtractor.cxx.
|
static |
|
virtual |
Reimplemented from vtkvmtkCenterlineSplittingAndGroupingFilter.
|
static |
|
protectedvirtual |
Reimplemented from vtkvmtkCenterlineSplittingAndGroupingFilter.
| vtkvmtkCenterlineSplitExtractor * vtkvmtkCenterlineSplitExtractor::NewInstance | ( | ) | const |
|
override |
Definition at line 278 of file vtkvmtkCenterlineSplitExtractor.cxx.
|
static |
|
virtual |
Set/Get the (x,y,z) location used to find the primary splitting point on the centerline (the closest centerline point to SplitPoint is used). In POINTANDGAP mode this is the sole split location; in BETWEENPOINTS mode it is one end of the blanked middle tract. Default: (0,0,0).
|
virtual |
Set/Get the (x,y,z) location used to find the primary splitting point on the centerline (the closest centerline point to SplitPoint is used). In POINTANDGAP mode this is the sole split location; in BETWEENPOINTS mode it is one end of the blanked middle tract. Default: (0,0,0).
|
virtual |
Set/Get the (x,y,z) location used to find the primary splitting point on the centerline (the closest centerline point to SplitPoint is used). In POINTANDGAP mode this is the sole split location; in BETWEENPOINTS mode it is one end of the blanked middle tract. Default: (0,0,0).
|
virtual |
Set/Get the distance tolerance used when locating centerline points coincident with SplitPoint/ SplitPoint2. Default: 1E-4.
|
virtual |
Set/Get the distance tolerance used when locating centerline points coincident with SplitPoint/ SplitPoint2. Default: 1E-4.
|
virtual |
Set/Get, in POINTANDGAP mode, the length of the blanked gap tract opened up around the split point. Default: 1.0.
|
virtual |
Set/Get, in POINTANDGAP mode, the length of the blanked gap tract opened up around the split point. Default: 1.0.
|
virtual |
Set/Get, in BETWEENPOINTS mode, the (x,y,z) location used to find the other end of the blanked middle tract (the closest centerline point to SplitPoint2 is used). Default: (0,0,0).
|
virtual |
Set/Get, in BETWEENPOINTS mode, the (x,y,z) location used to find the other end of the blanked middle tract (the closest centerline point to SplitPoint2 is used). Default: (0,0,0).
|
virtual |
Set/Get, in BETWEENPOINTS mode, the (x,y,z) location used to find the other end of the blanked middle tract (the closest centerline point to SplitPoint2 is used). Default: (0,0,0).
|
virtual |
Set/Get the splitting strategy: POINTANDGAP (default) splits at SplitPoint, opening a blanked gap of length GapLength around it; BETWEENPOINTS splits into a blanked middle tract running between SplitPoint and SplitPoint2. See also SetSplittingModeToPointAndGap / SetSplittingModeToBetweenPoints.
|
virtual |
Set/Get the splitting strategy: POINTANDGAP (default) splits at SplitPoint, opening a blanked gap of length GapLength around it; BETWEENPOINTS splits into a blanked middle tract running between SplitPoint and SplitPoint2. See also SetSplittingModeToPointAndGap / SetSplittingModeToBetweenPoints.
|
inline |
Convenience method: set SplittingMode to split at SplitPoint with a GapLength-long gap (default).
Definition at line 98 of file vtkvmtkCenterlineSplitExtractor.h.
|
inline |
Convenience method: set SplittingMode to split into a blanked tract between SplitPoint and SplitPoint2.
Definition at line 105 of file vtkvmtkCenterlineSplitExtractor.h.
|
overrideprotectedvirtual |
Implements vtkvmtkCenterlineSplittingAndGroupingFilter.
Definition at line 262 of file vtkvmtkCenterlineSplitExtractor.cxx.
|
protectedvirtual |
Definition at line 56 of file vtkvmtkCenterlineSplitExtractor.cxx.
|
protectedvirtual |
Definition at line 176 of file vtkvmtkCenterlineSplitExtractor.cxx.
|
protected |
Definition at line 126 of file vtkvmtkCenterlineSplitExtractor.h.
|
protected |
Definition at line 127 of file vtkvmtkCenterlineSplitExtractor.h.
|
protected |
Definition at line 128 of file vtkvmtkCenterlineSplitExtractor.h.
|
protected |
Definition at line 129 of file vtkvmtkCenterlineSplitExtractor.h.
|
protected |
Definition at line 131 of file vtkvmtkCenterlineSplitExtractor.h.