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