41 #ifndef vtkDijkstraImageGeodesicPath_h
42 #define vtkDijkstraImageGeodesicPath_h
45 #include "vtkFiltersModelingModule.h"
47 VTK_ABI_NAMESPACE_BEGIN
79 vtkGetMacro(ImageWeight,
double);
87 vtkGetMacro(EdgeLengthWeight,
double);
94 vtkSetClampMacro(CurvatureWeight,
double, 0.0, 1.0);
95 vtkGetMacro(CurvatureWeight,
double);
126 VTK_ABI_NAMESPACE_END
general representation of visualization data
abstract class to specify dataset behavior
Dijkstra algorithm to compute the graph geodesic.
Dijkstra algorithm to compute the graph geodesic.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkImageData * GetInputAsImageData()
Specify the image object which is used as a cost function.
vtkDijkstraImageGeodesicPath()
static vtkDijkstraImageGeodesicPath * New()
Instantiate the class.
double CalculateStaticEdgeCost(vtkDataSet *inData, vtkIdType u, vtkIdType v) override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
double CalculateDynamicEdgeCost(vtkDataSet *inData, vtkIdType u, vtkIdType v) override
~vtkDijkstraImageGeodesicPath() override
void SetImageWeight(double)
Image cost weight.
void SetEdgeLengthWeight(double)
Edge length cost weight.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for printing and determining type information.
void SetInputData(vtkDataObject *)
Specify the image object which is used as a cost function.
void UpdateStaticCosts(vtkImageData *image)
void BuildAdjacency(vtkDataSet *inData) override
topologically and geometrically regular array of data
a simple class to control print indentation