50#ifndef vtkDijkstraImageGeodesicPath_h
51#define vtkDijkstraImageGeodesicPath_h
54#include "vtkFiltersModelingModule.h"
87 vtkGetMacro(ImageWeight,
double);
95 vtkGetMacro(EdgeLengthWeight,
double);
102 vtkSetClampMacro(CurvatureWeight,
double, 0.0, 1.0);
103 vtkGetMacro(CurvatureWeight,
double);
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.
vtkDijkstraImageGeodesicPath()
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
vtkImageData * GetInputAsImageData()
Specify the image object which is used as a cost function.
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.
static vtkDijkstraImageGeodesicPath * New()
Instantiate the class.
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