49#ifndef vtkHausdorffDistancePointSetFilter_h
50#define vtkHausdorffDistancePointSetFilter_h
52#include "vtkFiltersModelingModule.h"
55VTK_ABI_NAMESPACE_BEGIN
72 vtkGetVector2Macro(RelativeDistance,
double);
79 vtkGetMacro(HausdorffDistance,
double);
97 vtkSetMacro(TargetDistanceMethod,
int);
98 vtkGetMacro(TargetDistanceMethod,
int);
101 const char* GetTargetDistanceMethodAsString();
112 double RelativeDistance[2];
123 return "PointToPoint";
127 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
static vtkHausdorffDistancePointSetFilter * New()
Standard methods for construction, type and printing.
double HausdorffDistance
hausdorff distance (max(relative distance))
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.