41#ifndef vtkDijkstraImageGeodesicPath_h
42#define vtkDijkstraImageGeodesicPath_h
46#include "vtkFiltersModelingModule.h"
48VTK_ABI_NAMESPACE_BEGIN
74 vtkImageData* GetInputAsImageData() {
return this->GetImageDataInput(); }
82 vtkGetMacro(ImageWeight,
double);
90 vtkGetMacro(EdgeLengthWeight,
double);
97 vtkSetClampMacro(CurvatureWeight,
double, 0.0, 1.0);
98 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
void SetImageWeight(double)
Image cost weight.
void SetEdgeLengthWeight(double)
Edge length cost weight.
vtkImageData * GetImageDataInput()
Specify the image object which is used as a cost function.
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
#define VTK_DEPRECATED_IN_9_5_0(reason)