Slicer  5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkSegmentationConversionPath Class Reference

Store a segmentation conversion path. More...

#include <Libs/vtkSegmentationCore/vtkSegmentationConversionPath.h>

Inheritance diagram for vtkSegmentationConversionPath:
Inheritance graph
[legend]
Collaboration diagram for vtkSegmentationConversionPath:
Collaboration graph
[legend]

Public Types

typedef vtkObject Superclass
 

Public Member Functions

int AddRule (vtkSegmentationConverterRule *rule)
 Add a rule to the end of the rule list. Return the index of this rule. More...
 
void AddRules (vtkSegmentationConversionPath *path)
 Concatenate all rules in "path" and to this conversion path. More...
 
void Copy (vtkSegmentationConversionPath *source)
 
virtual const char * GetClassName ()
 
unsigned int GetCost ()
 
int GetNumberOfRules ()
 Return number of rules that make up this conversion path. More...
 
vtkSegmentationConverterRuleGetRule (int index) VTK_EXPECTS(0<
 Get index-th rule. More...
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void RemoveAllRules ()
 Remove all rules from this path. More...
 
void RemoveRule (int index) VTK_EXPECTS(0<
 Remove index-th rule. More...
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkSegmentationConversionPathNew ()
 
static vtkSegmentationConversionPathSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkSegmentationConversionPath ()
 
 ~vtkSegmentationConversionPath () override
 

Protected Attributes

std::vector< vtkSmartPointer< vtkSegmentationConverterRule > > Rules
 

Detailed Description

Store a segmentation conversion path.

Stores conversion path as a list of conversion rules and their parameters.

Definition at line 36 of file vtkSegmentationConversionPath.h.

Member Typedef Documentation

◆ Superclass

Definition at line 40 of file vtkSegmentationConversionPath.h.

Constructor & Destructor Documentation

◆ vtkSegmentationConversionPath()

vtkSegmentationConversionPath::vtkSegmentationConversionPath ( )
protected

◆ ~vtkSegmentationConversionPath()

vtkSegmentationConversionPath::~vtkSegmentationConversionPath ( )
overrideprotected

Member Function Documentation

◆ AddRule()

int vtkSegmentationConversionPath::AddRule ( vtkSegmentationConverterRule rule)

Add a rule to the end of the rule list. Return the index of this rule.

◆ AddRules()

void vtkSegmentationConversionPath::AddRules ( vtkSegmentationConversionPath path)

Concatenate all rules in "path" and to this conversion path.

◆ Copy()

void vtkSegmentationConversionPath::Copy ( vtkSegmentationConversionPath source)

Replace paths with content of the source path. The rules are shallow-copied.

◆ GetClassName()

virtual const char* vtkSegmentationConversionPath::GetClassName ( )
virtual

◆ GetCost()

unsigned int vtkSegmentationConversionPath::GetCost ( )

Get conversion "cost". The lower the cost is the better (faster computation, higher accuracy, etc). The cost can be used to choose the best conversion paths when multiple paths are available.

◆ GetNumberOfRules()

int vtkSegmentationConversionPath::GetNumberOfRules ( )

Return number of rules that make up this conversion path.

◆ GetRule()

vtkSegmentationConverterRule* vtkSegmentationConversionPath::GetRule ( int  index)

Get index-th rule.

◆ IsA()

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

◆ IsTypeOf()

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

◆ New()

static vtkSegmentationConversionPath* vtkSegmentationConversionPath::New ( )
static

◆ PrintSelf()

void vtkSegmentationConversionPath::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

◆ RemoveAllRules()

void vtkSegmentationConversionPath::RemoveAllRules ( )

Remove all rules from this path.

◆ RemoveRule()

void vtkSegmentationConversionPath::RemoveRule ( int  index)

Remove index-th rule.

◆ SafeDownCast()

static vtkSegmentationConversionPath* vtkSegmentationConversionPath::SafeDownCast ( vtkObject *  o)
static

Member Data Documentation

◆ Rules

std::vector< vtkSmartPointer<vtkSegmentationConverterRule> > vtkSegmentationConversionPath::Rules
protected

Definition at line 72 of file vtkSegmentationConversionPath.h.


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