23#ifndef vtkDecimatePolylineCustomFieldStrategy_h
24#define vtkDecimatePolylineCustomFieldStrategy_h
27#include "vtkFiltersCoreModule.h"
29VTK_ABI_NAMESPACE_BEGIN
63 vtkSetMacro(FieldName, std::string);
64 vtkGetMacro(FieldName, std::string);
75 std::string FieldName;
Decimation strategy using a custom point data array to retrieve the data to be used a a metric.
bool IsStateValid(vtkPointSet *dataset) const override
static vtkDecimatePolylineCustomFieldStrategy * New()
~vtkDecimatePolylineCustomFieldStrategy() override=default
double ComputeError(vtkPointSet *dataset, vtkIdType originId, vtkIdType p1Id, vtkIdType p2Id) override
Method for computing the decimation error.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDecimatePolylineCustomFieldStrategy()=default
abstract class to define a decimation strategy for the vtkDecimatePolylineFilter
a simple class to control print indentation
concrete class for storing a set of points