83#ifndef vtkHausdorffDistancePointSetFilter_h
84#define vtkHausdorffDistancePointSetFilter_h
86#include "vtkFiltersModelingModule.h"
105 vtkGetVector2Macro(RelativeDistance,
double);
112 vtkGetMacro(HausdorffDistance,
double);
130 vtkSetMacro(TargetDistanceMethod,
int);
131 vtkGetMacro(TargetDistanceMethod,
int);
134 const char* GetTargetDistanceMethodAsString();
145 double RelativeDistance[2];
156 return "PointToPoint";
160 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.