VTK
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkDijkstraGraphGeodesicPath Class Reference

Dijkstra algorithm to compute the graph geodesic. More...

#include <vtkDijkstraGraphGeodesicPath.h>

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

Public Member Functions

virtual void GetCumulativeWeights (vtkDoubleArray *weights)
 
virtual vtkIdList * GetIdList ()
 
virtual void SetStopWhenEndReached (int)
 
virtual int GetStopWhenEndReached ()
 
virtual void StopWhenEndReachedOn ()
 
virtual void StopWhenEndReachedOff ()
 
virtual void SetUseScalarWeights (int)
 
virtual int GetUseScalarWeights ()
 
virtual void UseScalarWeightsOn ()
 
virtual void UseScalarWeightsOff ()
 
virtual void SetRepelPathFromVertices (int)
 
virtual int GetRepelPathFromVertices ()
 
virtual void RepelPathFromVerticesOn ()
 
virtual void RepelPathFromVerticesOff ()
 
virtual void SetRepelVertices (vtkPoints *)
 
virtual vtkPoints * GetRepelVertices ()
 
- Public Member Functions inherited from vtkGraphGeodesicPath
virtual vtkIdType GetStartVertex ()
 
virtual void SetStartVertex (vtkIdType)
 
virtual vtkIdType GetEndVertex ()
 
virtual void SetEndVertex (vtkIdType)
 
vtkGraphGeodesicPath * NewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
- Public Member Functions inherited from vtkGeodesicPath
vtkGeodesicPath * NewInstance () const
 
- Public Member Functions inherited from vtkPolyDataAlgorithm
vtkPolyDataAlgorithm * NewInstance () const
 
vtkDataObject * GetInput ()
 
vtkDataObject * GetInput (int port)
 
vtkPolyData * GetPolyDataInput (int port)
 
vtkPolyData * GetOutput ()
 
vtkPolyData * GetOutput (int)
 
virtual void SetOutput (vtkDataObject *d)
 
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
void AddInputData (vtkDataObject *)
 
void AddInputData (int, vtkDataObject *)
 
- Public Member Functions inherited from vtkAlgorithm
vtkAlgorithm * NewInstance () const
 
int HasExecutive ()
 
vtkExecutive * GetExecutive ()
 
virtual void SetExecutive (vtkExecutive *executive)
 
virtual int ModifyRequest (vtkInformation *request, int when)
 
vtkInformation * GetInputPortInformation (int port)
 
vtkInformation * GetOutputPortInformation (int port)
 
int GetNumberOfInputPorts ()
 
int GetNumberOfOutputPorts ()
 
void UpdateProgress (double amount)
 
vtkInformation * GetInputArrayInformation (int idx)
 
void RemoveAllInputs ()
 
vtkDataObject * GetOutputDataObject (int port)
 
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void RemoveInputConnection (int port, int idx)
 
virtual void RemoveAllInputConnections (int port)
 
int GetNumberOfInputConnections (int port)
 
int GetTotalNumberOfInputConnections ()
 
vtkAlgorithmOutput * GetInputConnection (int port, int index)
 
vtkAlgorithm * GetInputAlgorithm (int port, int index, int &algPort)
 
vtkAlgorithm * GetInputAlgorithm (int port, int index)
 
vtkExecutive * GetInputExecutive (int port, int index)
 
vtkInformation * GetInputInformation (int port, int index)
 
vtkInformation * GetOutputInformation (int port)
 
virtual void UpdateInformation ()
 
virtual void UpdateDataObject ()
 
virtual void PropagateUpdateExtent ()
 
virtual void UpdateWholeExtent ()
 
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
 
int SetUpdateExtentToWholeExtent (int port)
 
int SetUpdateExtentToWholeExtent ()
 
void SetUpdateExtent (int port, int extent[6])
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime)
 
virtual vtkInformation * GetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObject * GetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutput * GetOutputPort (int index)
 
vtkAlgorithmOutput * GetOutputPort ()
 
vtkAlgorithm * GetInputAlgorithm ()
 
vtkExecutive * GetInputExecutive ()
 
vtkInformation * GetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int extent[6])
 
int * GetUpdateExtent ()
 
int * GetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserver * GetProgressObserver ()
 
- Public Member Functions inherited from vtkObject
vtkObject * NewInstance () const
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual unsigned long GetMTime ()
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommand * GetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
void SetReferenceCount (int)
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 

Static Public Member Functions

static vtkDijkstraGraphGeodesicPath * New ()
 
- Static Public Member Functions inherited from vtkGraphGeodesicPath
static int IsTypeOf (const char *type)
 
static vtkGraphGeodesicPath * SafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkGeodesicPath
static int IsTypeOf (const char *type)
 
static vtkGeodesicPath * SafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkPolyDataAlgorithm
static vtkPolyDataAlgorithm * New ()
 
static int IsTypeOf (const char *type)
 
static vtkPolyDataAlgorithm * SafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAlgorithm
static vtkAlgorithm * New ()
 
static int IsTypeOf (const char *type)
 
static vtkAlgorithm * SafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKey * INPUT_IS_OPTIONAL ()
 
static vtkInformationIntegerKey * INPUT_IS_REPEATABLE ()
 
static vtkInformationInformationVectorKey * INPUT_REQUIRED_FIELDS ()
 
static vtkInformationStringVectorKey * INPUT_REQUIRED_DATA_TYPE ()
 
static vtkInformationInformationVectorKey * INPUT_ARRAYS_TO_PROCESS ()
 
static vtkInformationIntegerKey * INPUT_PORT ()
 
static vtkInformationIntegerKey * INPUT_CONNECTION ()
 
static vtkInformationIntegerKey * CAN_PRODUCE_SUB_EXTENT ()
 
static vtkInformationIntegerKey * CAN_HANDLE_PIECE_REQUEST ()
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObject * SafeDownCast (vtkObjectBase *o)
 
static vtkObject * New ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBase * New ()
 

Protected Member Functions

 vtkDijkstraGraphGeodesicPath ()
 
 ~vtkDijkstraGraphGeodesicPath ()
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual void BuildAdjacency (vtkDataSet *inData)
 
virtual double CalculateStaticEdgeCost (vtkDataSet *inData, vtkIdType u, vtkIdType v)
 
virtual double CalculateDynamicEdgeCost (vtkDataSet *, vtkIdType, vtkIdType)
 
void Initialize (vtkDataSet *inData)
 
void Reset ()
 
virtual void ShortestPath (vtkDataSet *inData, int startv, int endv)
 
void Relax (const int &u, const int &v, const double &w)
 
void TraceShortestPath (vtkDataSet *inData, vtkPolyData *outPoly, vtkIdType startv, vtkIdType endv)
 
- Protected Member Functions inherited from vtkGraphGeodesicPath
 vtkGraphGeodesicPath ()
 
 ~vtkGraphGeodesicPath ()
 
- Protected Member Functions inherited from vtkGeodesicPath
 vtkGeodesicPath ()
 
 ~vtkGeodesicPath ()
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
- Protected Member Functions inherited from vtkPolyDataAlgorithm
 vtkPolyDataAlgorithm ()
 
 ~vtkPolyDataAlgorithm ()
 
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 
 ~vtkAlgorithm ()
 
virtual void SetNumberOfInputPorts (int n)
 
virtual void SetNumberOfOutputPorts (int n)
 
int InputPortIndexInRange (int index, const char *action)
 
int OutputPortIndexInRange (int index, const char *action)
 
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
 
virtual vtkExecutive * CreateDefaultExecutive ()
 
virtual void ReportReferences (vtkGarbageCollector *)
 
virtual void SetNumberOfInputConnections (int port, int n)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArray * GetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArray * GetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArray * GetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArray * GetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArray * GetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArray * GetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArray * GetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArray * GetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArray * GetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArray * GetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArray * GetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArray * GetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformation * GetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
virtual void SetErrorCode (unsigned long)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
virtual void RegisterInternal (vtkObjectBase *, int check)
 
virtual void UnRegisterInternal (vtkObjectBase *, int check)
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkTimeStamp AdjacencyBuildTime
 
int NumberOfVertices
 
vtkIdList * IdList
 
vtkDijkstraGraphInternals * Internals
 
int StopWhenEndReached
 
int UseScalarWeights
 
int RepelPathFromVertices
 
vtkPoints * RepelVertices
 
- Protected Attributes inherited from vtkGraphGeodesicPath
vtkIdType StartVertex
 
vtkIdType EndVertex
 
- Protected Attributes inherited from vtkAlgorithm
vtkInformation * Information
 
double Progress
 
char * ProgressText
 
vtkProgressObserver * ProgressObserver
 
unsigned long ErrorCode
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 
typedef vtkGraphGeodesicPath Superclass
 
static int IsTypeOf (const char *type)
 
static vtkDijkstraGraphGeodesicPath * SafeDownCast (vtkObjectBase *o)
 
virtual int IsA (const char *type)
 
vtkDijkstraGraphGeodesicPath * NewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkObjectBase * NewInstanceInternal () const
 

Additional Inherited Members

- Public Types inherited from vtkGraphGeodesicPath
typedef vtkGeodesicPath Superclass
 
- Public Types inherited from vtkGeodesicPath
typedef vtkPolyDataAlgorithm Superclass
 
- Public Types inherited from vtkPolyDataAlgorithm
typedef vtkAlgorithm Superclass
 
- Public Types inherited from vtkAlgorithm
typedef vtkObject Superclass
 
enum  DesiredOutputPrecision { SINGLE_PRECISION, DOUBLE_PRECISION, DEFAULT_PRECISION }
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 
- Public Attributes inherited from vtkAlgorithm
int AbortExecute
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKey * PORT_REQUIREMENTS_FILLED ()
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutive * DefaultExecutivePrototype
 

Detailed Description

Dijkstra algorithm to compute the graph geodesic.

Takes as input a polygonal mesh and performs a single source shortest path calculation. Dijkstra's algorithm is used. The implementation is similar to the one described in Introduction to Algorithms (Second Edition) by Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Cliff Stein, published by MIT Press and McGraw-Hill. Some minor enhancement are added though. All vertices are not pushed on the heap at start, instead a front set is maintained. The heap is implemented as a binary heap. The output of the filter is a set of lines describing the shortest path from StartVertex to EndVertex.

Warning
The input polydata must have only triangle cells.
Thanks:
The class was contributed by Rasmus Paulsen. www.imm.dtu.dk/~rrp/VTK . Also thanks to Alexandre Gouaillard and Shoaib Ghias for bug fixes and enhancements.

Definition at line 46 of file vtkDijkstraGraphGeodesicPath.h.

Member Typedef Documentation

◆ Superclass

Standard methids for printing and determining type information.

Definition at line 56 of file vtkDijkstraGraphGeodesicPath.h.

Constructor & Destructor Documentation

◆ vtkDijkstraGraphGeodesicPath()

vtkDijkstraGraphGeodesicPath::vtkDijkstraGraphGeodesicPath ( )
protected

◆ ~vtkDijkstraGraphGeodesicPath()

vtkDijkstraGraphGeodesicPath::~vtkDijkstraGraphGeodesicPath ( )
protected

Member Function Documentation

◆ New()

static vtkDijkstraGraphGeodesicPath* vtkDijkstraGraphGeodesicPath::New ( )
static

Instantiate the class

◆ IsTypeOf()

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

Standard methids for printing and determining type information.

◆ IsA()

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

Standard methids for printing and determining type information.

Reimplemented from vtkGraphGeodesicPath.

Reimplemented in vtkDijkstraImageGeodesicPath.

◆ SafeDownCast()

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

Standard methids for printing and determining type information.

◆ NewInstanceInternal()

virtual vtkObjectBase* vtkDijkstraGraphGeodesicPath::NewInstanceInternal ( ) const
protectedvirtual

Standard methids for printing and determining type information.

Reimplemented from vtkGraphGeodesicPath.

Reimplemented in vtkDijkstraImageGeodesicPath.

◆ NewInstance()

vtkDijkstraGraphGeodesicPath* vtkDijkstraGraphGeodesicPath::NewInstance ( ) const

Standard methids for printing and determining type information.

◆ PrintSelf()

void vtkDijkstraGraphGeodesicPath::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Standard methids for printing and determining type information.

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented in vtkDijkstraImageGeodesicPath.

◆ GetIdList()

virtual vtkIdList* vtkDijkstraGraphGeodesicPath::GetIdList ( )
virtual

The vertex ids (of the input polydata) on the shortest path

◆ SetStopWhenEndReached()

virtual void vtkDijkstraGraphGeodesicPath::SetStopWhenEndReached ( int  )
virtual

Stop when the end vertex is reached or calculate shortest path to all vertices

◆ GetStopWhenEndReached()

virtual int vtkDijkstraGraphGeodesicPath::GetStopWhenEndReached ( )
virtual

Stop when the end vertex is reached or calculate shortest path to all vertices

◆ StopWhenEndReachedOn()

virtual void vtkDijkstraGraphGeodesicPath::StopWhenEndReachedOn ( )
virtual

Stop when the end vertex is reached or calculate shortest path to all vertices

◆ StopWhenEndReachedOff()

virtual void vtkDijkstraGraphGeodesicPath::StopWhenEndReachedOff ( )
virtual

Stop when the end vertex is reached or calculate shortest path to all vertices

◆ SetUseScalarWeights()

virtual void vtkDijkstraGraphGeodesicPath::SetUseScalarWeights ( int  )
virtual

Use scalar values in the edge weight (experimental)

◆ GetUseScalarWeights()

virtual int vtkDijkstraGraphGeodesicPath::GetUseScalarWeights ( )
virtual

Use scalar values in the edge weight (experimental)

◆ UseScalarWeightsOn()

virtual void vtkDijkstraGraphGeodesicPath::UseScalarWeightsOn ( )
virtual

Use scalar values in the edge weight (experimental)

◆ UseScalarWeightsOff()

virtual void vtkDijkstraGraphGeodesicPath::UseScalarWeightsOff ( )
virtual

Use scalar values in the edge weight (experimental)

◆ SetRepelPathFromVertices()

virtual void vtkDijkstraGraphGeodesicPath::SetRepelPathFromVertices ( int  )
virtual

Use the input point to repel the path by assigning high costs.

◆ GetRepelPathFromVertices()

virtual int vtkDijkstraGraphGeodesicPath::GetRepelPathFromVertices ( )
virtual

Use the input point to repel the path by assigning high costs.

◆ RepelPathFromVerticesOn()

virtual void vtkDijkstraGraphGeodesicPath::RepelPathFromVerticesOn ( )
virtual

Use the input point to repel the path by assigning high costs.

◆ RepelPathFromVerticesOff()

virtual void vtkDijkstraGraphGeodesicPath::RepelPathFromVerticesOff ( )
virtual

Use the input point to repel the path by assigning high costs.

◆ SetRepelVertices()

virtual void vtkDijkstraGraphGeodesicPath::SetRepelVertices ( vtkPoints *  )
virtual

Specify vtkPoints to use to repel the path from.

◆ GetRepelVertices()

virtual vtkPoints* vtkDijkstraGraphGeodesicPath::GetRepelVertices ( )
virtual

Specify vtkPoints to use to repel the path from.

◆ GetCumulativeWeights()

virtual void vtkDijkstraGraphGeodesicPath::GetCumulativeWeights ( vtkDoubleArray *  weights)
virtual

Fill the array with the cumulative weights.

◆ RequestData()

virtual int vtkDijkstraGraphGeodesicPath::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

This is called by the superclass. This is the method you should override.

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented in vtkDijkstraImageGeodesicPath.

◆ BuildAdjacency()

virtual void vtkDijkstraGraphGeodesicPath::BuildAdjacency ( vtkDataSet *  inData)
protectedvirtual

Reimplemented in vtkDijkstraImageGeodesicPath.

◆ CalculateStaticEdgeCost()

virtual double vtkDijkstraGraphGeodesicPath::CalculateStaticEdgeCost ( vtkDataSet *  inData,
vtkIdType  u,
vtkIdType  v 
)
protectedvirtual

Reimplemented in vtkDijkstraImageGeodesicPath.

◆ CalculateDynamicEdgeCost()

virtual double vtkDijkstraGraphGeodesicPath::CalculateDynamicEdgeCost ( vtkDataSet *  ,
vtkIdType  ,
vtkIdType   
)
inlineprotectedvirtual

Reimplemented in vtkDijkstraImageGeodesicPath.

Definition at line 113 of file vtkDijkstraGraphGeodesicPath.h.

◆ Initialize()

void vtkDijkstraGraphGeodesicPath::Initialize ( vtkDataSet *  inData)
protected

◆ Reset()

void vtkDijkstraGraphGeodesicPath::Reset ( )
protected

◆ ShortestPath()

virtual void vtkDijkstraGraphGeodesicPath::ShortestPath ( vtkDataSet *  inData,
int  startv,
int  endv 
)
protectedvirtual

◆ Relax()

void vtkDijkstraGraphGeodesicPath::Relax ( const int &  u,
const int &  v,
const double &  w 
)
protected

◆ TraceShortestPath()

void vtkDijkstraGraphGeodesicPath::TraceShortestPath ( vtkDataSet *  inData,
vtkPolyData *  outPoly,
vtkIdType  startv,
vtkIdType  endv 
)
protected

Member Data Documentation

◆ AdjacencyBuildTime

vtkTimeStamp vtkDijkstraGraphGeodesicPath::AdjacencyBuildTime
protected

Definition at line 106 of file vtkDijkstraGraphGeodesicPath.h.

◆ NumberOfVertices

int vtkDijkstraGraphGeodesicPath::NumberOfVertices
protected

Definition at line 131 of file vtkDijkstraGraphGeodesicPath.h.

◆ IdList

vtkIdList* vtkDijkstraGraphGeodesicPath::IdList
protected

Definition at line 134 of file vtkDijkstraGraphGeodesicPath.h.

◆ Internals

vtkDijkstraGraphInternals* vtkDijkstraGraphGeodesicPath::Internals
protected

Definition at line 137 of file vtkDijkstraGraphGeodesicPath.h.

◆ StopWhenEndReached

int vtkDijkstraGraphGeodesicPath::StopWhenEndReached
protected

Definition at line 139 of file vtkDijkstraGraphGeodesicPath.h.

◆ UseScalarWeights

int vtkDijkstraGraphGeodesicPath::UseScalarWeights
protected

Definition at line 140 of file vtkDijkstraGraphGeodesicPath.h.

◆ RepelPathFromVertices

int vtkDijkstraGraphGeodesicPath::RepelPathFromVertices
protected

Definition at line 141 of file vtkDijkstraGraphGeodesicPath.h.

◆ RepelVertices

vtkPoints* vtkDijkstraGraphGeodesicPath::RepelVertices
protected

Definition at line 143 of file vtkDijkstraGraphGeodesicPath.h.


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