Slicer  5.0
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
vtkSlicerDijkstraGraphGeodesicPath Class Reference

Filter that generates curves between points of an input polydata. More...

#include <Modules/Loadable/Markups/MRML/vtkSlicerDijkstraGraphGeodesicPath.h>

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

Public Types

enum  {
  COST_FUNCTION_TYPE_DISTANCE, COST_FUNCTION_TYPE_ADDITIVE, COST_FUNCTION_TYPE_MULTIPLICATIVE, COST_FUNCTION_TYPE_INVERSE_SQUARED,
  COST_FUNCTION_TYPE_LAST
}
 
typedef vtkDijkstraGraphGeodesicPath Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int GetCostFunctionType ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SetCostFunctionType (int)
 

Static Public Member Functions

static const char * GetCostFunctionTypeAsString (int costFunctionType)
 
static int GetCostFunctionTypeFromString (const char *costFunctionType)
 
static int IsTypeOf (const char *type)
 
static vtkSlicerDijkstraGraphGeodesicPathNew ()
 
static vtkSlicerDijkstraGraphGeodesicPathSafeDownCast (vtkObject *o)
 

Protected Member Functions

double CalculateStaticEdgeCost (vtkDataSet *inData, vtkIdType u, vtkIdType v) override
 
void operator= (const vtkSlicerDijkstraGraphGeodesicPath &)=delete
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
 Reimplemented to rebuild the adjacency info if either CostFunctionType or UseScalarWeights are changed. More...
 
 vtkSlicerDijkstraGraphGeodesicPath ()
 
 vtkSlicerDijkstraGraphGeodesicPath (const vtkSlicerDijkstraGraphGeodesicPath &)=delete
 
 ~vtkSlicerDijkstraGraphGeodesicPath () override
 

Protected Attributes

int CostFunctionType
 
int PreviousCostFunctionType
 
bool PreviousUseScalarWeights
 

Detailed Description

Filter that generates curves between points of an input polydata.

Definition at line 31 of file vtkSlicerDijkstraGraphGeodesicPath.h.

Member Typedef Documentation

◆ Superclass

typedef vtkDijkstraGraphGeodesicPath vtkSlicerDijkstraGraphGeodesicPath::Superclass

Definition at line 34 of file vtkSlicerDijkstraGraphGeodesicPath.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Cost function type is the method that is used to calculate the cost of each edge using the distance and scalar. Ex. COST_FUNCTION_TYPE_DISTANCE = distance COST_FUNCTION_TYPE_ADDITIVE = distance + scalar COST_FUNCTION_TYPE_MULTIPLICATIVE = distance * scalar COST_FUNCTION_TYPE_INVERSE_SQUARED = distance / scalar^2

Enumerator
COST_FUNCTION_TYPE_DISTANCE 
COST_FUNCTION_TYPE_ADDITIVE 
COST_FUNCTION_TYPE_MULTIPLICATIVE 
COST_FUNCTION_TYPE_INVERSE_SQUARED 
COST_FUNCTION_TYPE_LAST 

Definition at line 44 of file vtkSlicerDijkstraGraphGeodesicPath.h.

Constructor & Destructor Documentation

◆ vtkSlicerDijkstraGraphGeodesicPath() [1/2]

vtkSlicerDijkstraGraphGeodesicPath::vtkSlicerDijkstraGraphGeodesicPath ( )
protected

◆ ~vtkSlicerDijkstraGraphGeodesicPath()

vtkSlicerDijkstraGraphGeodesicPath::~vtkSlicerDijkstraGraphGeodesicPath ( )
overrideprotected

◆ vtkSlicerDijkstraGraphGeodesicPath() [2/2]

vtkSlicerDijkstraGraphGeodesicPath::vtkSlicerDijkstraGraphGeodesicPath ( const vtkSlicerDijkstraGraphGeodesicPath )
protecteddelete

Member Function Documentation

◆ CalculateStaticEdgeCost()

double vtkSlicerDijkstraGraphGeodesicPath::CalculateStaticEdgeCost ( vtkDataSet *  inData,
vtkIdType  u,
vtkIdType  v 
)
overrideprotected

The fixed cost going from vertex u to v. Reimplemented to provide additional cost function types.

See also
SetCostFunctionType()

◆ GetClassName()

virtual const char* vtkSlicerDijkstraGraphGeodesicPath::GetClassName ( )
virtual

◆ GetCostFunctionType()

virtual int vtkSlicerDijkstraGraphGeodesicPath::GetCostFunctionType ( )
virtual

◆ GetCostFunctionTypeAsString()

static const char* vtkSlicerDijkstraGraphGeodesicPath::GetCostFunctionTypeAsString ( int  costFunctionType)
static

◆ GetCostFunctionTypeFromString()

static int vtkSlicerDijkstraGraphGeodesicPath::GetCostFunctionTypeFromString ( const char *  costFunctionType)
static

◆ IsA()

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

◆ IsTypeOf()

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

◆ New()

static vtkSlicerDijkstraGraphGeodesicPath* vtkSlicerDijkstraGraphGeodesicPath::New ( )
static

◆ operator=()

void vtkSlicerDijkstraGraphGeodesicPath::operator= ( const vtkSlicerDijkstraGraphGeodesicPath )
protecteddelete

◆ PrintSelf()

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

◆ RequestData()

int vtkSlicerDijkstraGraphGeodesicPath::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
overrideprotected

Reimplemented to rebuild the adjacency info if either CostFunctionType or UseScalarWeights are changed.

◆ SafeDownCast()

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

◆ SetCostFunctionType()

virtual void vtkSlicerDijkstraGraphGeodesicPath::SetCostFunctionType ( int  )
virtual

Member Data Documentation

◆ CostFunctionType

int vtkSlicerDijkstraGraphGeodesicPath::CostFunctionType
protected

Definition at line 67 of file vtkSlicerDijkstraGraphGeodesicPath.h.

◆ PreviousCostFunctionType

int vtkSlicerDijkstraGraphGeodesicPath::PreviousCostFunctionType
protected

Definition at line 68 of file vtkSlicerDijkstraGraphGeodesicPath.h.

◆ PreviousUseScalarWeights

bool vtkSlicerDijkstraGraphGeodesicPath::PreviousUseScalarWeights
protected

Definition at line 69 of file vtkSlicerDijkstraGraphGeodesicPath.h.


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