VMTK
|
Split a centerline into tracts which can be used to mark endpoints of the centerline. More...
#include <vtkvmtkCenterlineEndpointExtractor.h>
Public Types | |
typedef vtkvmtkCenterlineSplittingAndGroupingFilter | Superclass |
Public Types inherited from vtkvmtkCenterlineSplittingAndGroupingFilter | |
enum | { FIRSTPOINT, LASTPOINT, POINTINTUBE } |
typedef vtkPolyDataAlgorithm | Superclass |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkvmtkCenterlineEndpointExtractor * | SafeDownCast (vtkObjectBase *o) |
static vtkvmtkCenterlineEndpointExtractor * | New () |
Static Public Member Functions inherited from vtkvmtkCenterlineSplittingAndGroupingFilter | |
static int | IsTypeOf (const char *type) |
static vtkvmtkCenterlineSplittingAndGroupingFilter * | SafeDownCast (vtkObjectBase *o) |
Protected Types | |
enum | { VTK_VMTK_FIRST_ENDPOINT, VTK_VMTK_LAST_ENDPOINT, VTK_VMTK_BOTH_ENDPOINTS } |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkvmtkCenterlineEndpointExtractor () | |
~vtkvmtkCenterlineEndpointExtractor () | |
virtual void | ComputeCenterlineSplitting (vtkPolyData *input, vtkIdType cellId) VTK_OVERRIDE |
Protected Member Functions inherited from vtkvmtkCenterlineSplittingAndGroupingFilter | |
vtkvmtkCenterlineSplittingAndGroupingFilter () | |
~vtkvmtkCenterlineSplittingAndGroupingFilter () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_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 | |
int | NumberOfEndpointSpheres |
int | NumberOfGapSpheres |
int | ExtractionMode |
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 tracts which can be used to mark endpoints of the centerline.
The methods employed here are similar to those in CenterlineBranchExtractor. Starting at (both) terminal end points of a centerline generate two, one sphere long, tracts (for four in total, two from each end of the centerline), and a single tract (n-sphere long) composed of points on the centerline connecting the "second" tracts internal endpoint (as you move the endpoint of the second tract if you moved inwards from terminal points on the centerline). The second internal tract on each side of the centerline is Blanked.
Definition at line 35 of file vtkvmtkCenterlineEndpointExtractor.h.
Definition at line 38 of file vtkvmtkCenterlineEndpointExtractor.h.
|
protected |
Enumerator | |
---|---|
VTK_VMTK_FIRST_ENDPOINT | |
VTK_VMTK_LAST_ENDPOINT | |
VTK_VMTK_BOTH_ENDPOINTS |
Definition at line 69 of file vtkvmtkCenterlineEndpointExtractor.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkvmtkCenterlineSplittingAndGroupingFilter.
|
static |
|
protectedvirtual |
Reimplemented from vtkvmtkCenterlineSplittingAndGroupingFilter.
vtkvmtkCenterlineEndpointExtractor* vtkvmtkCenterlineEndpointExtractor::NewInstance | ( | ) | const |
void vtkvmtkCenterlineEndpointExtractor::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
static |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inline |
Definition at line 51 of file vtkvmtkCenterlineEndpointExtractor.h.
|
inline |
Definition at line 53 of file vtkvmtkCenterlineEndpointExtractor.h.
|
inline |
Definition at line 55 of file vtkvmtkCenterlineEndpointExtractor.h.
|
protectedvirtual |
Implements vtkvmtkCenterlineSplittingAndGroupingFilter.
|
protected |
Definition at line 64 of file vtkvmtkCenterlineEndpointExtractor.h.
|
protected |
Definition at line 65 of file vtkvmtkCenterlineEndpointExtractor.h.
|
protected |
Definition at line 66 of file vtkvmtkCenterlineEndpointExtractor.h.