37 #ifndef vtkDijkstraGraphGeodesicPath_h
38 #define vtkDijkstraGraphGeodesicPath_h
68 vtkSetMacro(StopWhenEndReached,
int);
69 vtkGetMacro(StopWhenEndReached,
int);
70 vtkBooleanMacro(StopWhenEndReached,
int);
75 vtkSetMacro(UseScalarWeights,
int);
76 vtkGetMacro(UseScalarWeights,
int);
77 vtkBooleanMacro(UseScalarWeights,
int);
82 vtkSetMacro(RepelPathFromVertices,
int);
83 vtkGetMacro(RepelPathFromVertices,
int);
84 vtkBooleanMacro(RepelPathFromVertices,
int);
89 virtual void SetRepelVertices(
vtkPoints*);
90 vtkGetObjectMacro(RepelVertices,
vtkPoints);
104 virtual void BuildAdjacency(
vtkDataSet *inData );
121 virtual void ShortestPath(
vtkDataSet *inData,
int startv,
int endv );
124 void Relax(
const int& u,
const int& v,
const double& w);
abstract class to specify dataset behavior
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
record modification and/or execution time
#define VTKFILTERSMODELING_EXPORT
int RepelPathFromVertices
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkPoints * RepelVertices
Dijkstra algorithm to compute the graph geodesic.
dynamic, self-adjusting array of double
void PrintSelf(ostream &os, vtkIndent indent)
static vtkPolyDataAlgorithm * New()
a simple class to control print indentation
vtkDijkstraGraphInternals * Internals
vtkTimeStamp AdjacencyBuildTime
Helper class due to PIMPL excess.
list of point or cell ids
Abstract base for classes that generate a geodesic path on a graph (mesh).
virtual double CalculateDynamicEdgeCost(vtkDataSet *, vtkIdType, vtkIdType)
represent and manipulate 3D points