Go to the documentation of this file.
38 #ifndef vtkDijkstraGraphGeodesicPath_h
39 #define vtkDijkstraGraphGeodesicPath_h
41 #include "vtkFiltersModelingModule.h"
78 vtkGetMacro(StopWhenEndReached,
int);
87 vtkGetMacro(UseScalarWeights,
int);
96 vtkGetMacro(RepelPathFromVertices,
int);
141 void Relax(
const int& u,
const int& v,
const double& w);
represent and manipulate 3D points
~vtkDijkstraGraphGeodesicPath()
Abstract base for classes that generate a geodesic path on a graph (mesh).
vtkTimeStamp AdjacencyBuildTime
record modification and/or execution time
virtual void GetCumulativeWeights(vtkDoubleArray *weights)
Fill the array with the cumulative weights.
virtual double CalculateDynamicEdgeCost(vtkDataSet *, vtkIdType, vtkIdType)
void TraceShortestPath(vtkDataSet *inData, vtkPolyData *outPoly, vtkIdType startv, vtkIdType endv)
virtual void ShortestPath(vtkDataSet *inData, int startv, int endv)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
a simple class to control print indentation
list of point or cell ids
void Initialize(vtkDataSet *inData)
abstract class to specify dataset behavior
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void Relax(const int &u, const int &v, const double &w)
int RepelPathFromVertices
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual void SetRepelVertices(vtkPoints *)
Specify vtkPoints to use to repel the path from.
virtual double CalculateStaticEdgeCost(vtkDataSet *inData, vtkIdType u, vtkIdType v)
vtkPoints * RepelVertices
virtual void BuildAdjacency(vtkDataSet *inData)
concrete dataset represents vertices, lines, polygons, and triangle strips
Dijkstra algorithm to compute the graph geodesic.
Helper class due to PIMPL excess.
dynamic, self-adjusting array of double
vtkDijkstraGraphInternals * Internals
vtkDijkstraGraphGeodesicPath()
static vtkDijkstraGraphGeodesicPath * New()
Instantiate the class.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.