VMTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
vtkvmtkCenterlineEndpointExtractor Class Reference

Split a centerline into tracts which can be used to mark endpoints of the centerline. More...

#include <vtkvmtkCenterlineEndpointExtractor.h>

Inheritance diagram for vtkvmtkCenterlineEndpointExtractor:
[legend]
Collaboration diagram for vtkvmtkCenterlineEndpointExtractor:
[legend]

Public Types

typedef vtkvmtkCenterlineSplittingAndGroupingFilter Superclass
 
- Public Types inherited from vtkvmtkCenterlineSplittingAndGroupingFilter
enum  { FIRSTPOINT, LASTPOINT, POINTINTUBE }
 
typedef vtkPolyDataAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkvmtkCenterlineEndpointExtractorNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
virtual void SetNumberOfEndpointSpheres (int)
 
virtual int GetNumberOfEndpointSpheres ()
 
virtual void SetNumberOfGapSpheres (int)
 
virtual int GetNumberOfGapSpheres ()
 
virtual void SetExtractionMode (int)
 
virtual int GetExtractionMode ()
 
void SetExtractionModeToFirstEndpoint ()
 
void SetExtractionModeToLastEndpoint ()
 
void SetExtractionModeToBothEndpoints ()
 
- Public Member Functions inherited from vtkvmtkCenterlineSplittingAndGroupingFilter
vtkvmtkCenterlineSplittingAndGroupingFilterNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
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 ()
 
void SetGroupingModeToFirstPoint ()
 
void SetGroupingModeToLastPoint ()
 
void SetGroupingModeToPointInTube ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkvmtkCenterlineEndpointExtractorSafeDownCast (vtkObjectBase *o)
 
static vtkvmtkCenterlineEndpointExtractorNew ()
 
- Static Public Member Functions inherited from vtkvmtkCenterlineSplittingAndGroupingFilter
static int IsTypeOf (const char *type)
 
static vtkvmtkCenterlineSplittingAndGroupingFilterSafeDownCast (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
 

Detailed Description

Split a centerline into tracts which can be used to mark endpoints of the centerline.

Date
2006/04/06 16:46:43
Revision
1.5

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.

Member Typedef Documentation

◆ Superclass

Definition at line 38 of file vtkvmtkCenterlineEndpointExtractor.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected

Constructor & Destructor Documentation

◆ vtkvmtkCenterlineEndpointExtractor()

vtkvmtkCenterlineEndpointExtractor::vtkvmtkCenterlineEndpointExtractor ( )
protected

◆ ~vtkvmtkCenterlineEndpointExtractor()

vtkvmtkCenterlineEndpointExtractor::~vtkvmtkCenterlineEndpointExtractor ( )
protected

Member Function Documentation

◆ IsTypeOf()

static int vtkvmtkCenterlineEndpointExtractor::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkvmtkCenterlineEndpointExtractor::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkvmtkCenterlineEndpointExtractor* vtkvmtkCenterlineEndpointExtractor::SafeDownCast ( vtkObjectBase *  o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase* vtkvmtkCenterlineEndpointExtractor::NewInstanceInternal ( ) const
protectedvirtual

◆ NewInstance()

vtkvmtkCenterlineEndpointExtractor* vtkvmtkCenterlineEndpointExtractor::NewInstance ( ) const

◆ PrintSelf()

void vtkvmtkCenterlineEndpointExtractor::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ New()

static vtkvmtkCenterlineEndpointExtractor* vtkvmtkCenterlineEndpointExtractor::New ( )
static

◆ SetNumberOfEndpointSpheres()

virtual void vtkvmtkCenterlineEndpointExtractor::SetNumberOfEndpointSpheres ( int  )
virtual

◆ GetNumberOfEndpointSpheres()

virtual int vtkvmtkCenterlineEndpointExtractor::GetNumberOfEndpointSpheres ( )
virtual

◆ SetNumberOfGapSpheres()

virtual void vtkvmtkCenterlineEndpointExtractor::SetNumberOfGapSpheres ( int  )
virtual

◆ GetNumberOfGapSpheres()

virtual int vtkvmtkCenterlineEndpointExtractor::GetNumberOfGapSpheres ( )
virtual

◆ SetExtractionMode()

virtual void vtkvmtkCenterlineEndpointExtractor::SetExtractionMode ( int  )
virtual

◆ GetExtractionMode()

virtual int vtkvmtkCenterlineEndpointExtractor::GetExtractionMode ( )
virtual

◆ SetExtractionModeToFirstEndpoint()

void vtkvmtkCenterlineEndpointExtractor::SetExtractionModeToFirstEndpoint ( )
inline

◆ SetExtractionModeToLastEndpoint()

void vtkvmtkCenterlineEndpointExtractor::SetExtractionModeToLastEndpoint ( )
inline

◆ SetExtractionModeToBothEndpoints()

void vtkvmtkCenterlineEndpointExtractor::SetExtractionModeToBothEndpoints ( )
inline

◆ ComputeCenterlineSplitting()

virtual void vtkvmtkCenterlineEndpointExtractor::ComputeCenterlineSplitting ( vtkPolyData *  input,
vtkIdType  cellId 
)
protectedvirtual

Member Data Documentation

◆ NumberOfEndpointSpheres

int vtkvmtkCenterlineEndpointExtractor::NumberOfEndpointSpheres
protected

Definition at line 64 of file vtkvmtkCenterlineEndpointExtractor.h.

◆ NumberOfGapSpheres

int vtkvmtkCenterlineEndpointExtractor::NumberOfGapSpheres
protected

Definition at line 65 of file vtkvmtkCenterlineEndpointExtractor.h.

◆ ExtractionMode

int vtkvmtkCenterlineEndpointExtractor::ExtractionMode
protected

Definition at line 66 of file vtkvmtkCenterlineEndpointExtractor.h.


The documentation for this class was generated from the following file: