39 #ifndef vtkHausdorffDistancePointSetFilter_h
40 #define vtkHausdorffDistancePointSetFilter_h
42 #include "vtkFiltersModelingModule.h"
45 VTK_ABI_NAMESPACE_BEGIN
62 vtkGetVector2Macro(RelativeDistance,
double);
69 vtkGetMacro(HausdorffDistance,
double);
87 vtkSetMacro(TargetDistanceMethod,
int);
88 vtkGetMacro(TargetDistanceMethod,
int);
91 const char* GetTargetDistanceMethodAsString();
102 double RelativeDistance[2];
113 return "PointToPoint";
117 return "PointToCell";
120 VTK_ABI_NAMESPACE_END
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.