86 #ifndef vtkHausdorffDistancePointSetFilter_h
87 #define vtkHausdorffDistancePointSetFilter_h
89 #include "vtkFiltersModelingModule.h"
108 vtkGetVector2Macro(RelativeDistance,
double);
115 vtkGetMacro(HausdorffDistance,
double);
133 vtkSetMacro(TargetDistanceMethod,
int);
134 vtkGetMacro(TargetDistanceMethod,
int);
137 const char* GetTargetDistanceMethodAsString();
148 double RelativeDistance[2];
159 return "PointToPoint";
163 return "PointToCell";
Compute Hausdorff distance between two point sets.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetTargetDistanceMethodToPointToCell()
Specify the strategy for computing the distance.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for construction, type and printing.
int TargetDistanceMethod
point-to-point if 0, point-to-cell if 1
vtkHausdorffDistancePointSetFilter()
~vtkHausdorffDistancePointSetFilter() override
double HausdorffDistance
hausdorff distance (max(relative distance))
static vtkHausdorffDistancePointSetFilter * New()
Standard methods for construction, type and printing.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetTargetDistanceMethodToPointToPoint()
Specify the strategy for computing the distance.
const char * GetTargetDistanceMethodAsString()
Specify the strategy for computing the distance.
a simple class to control print indentation
Superclass for algorithms that produce output of the same type as input.