40 #ifndef vtkBivariateLinearTableThreshold_h
41 #define vtkBivariateLinearTableThreshold_h
43 #include "vtkFiltersStatisticsModule.h"
65 vtkGetMacro(Inclusive,
int);
76 int GetNumberOfColumnsToThreshold();
86 void ClearColumnsToThreshold();
114 void AddLineEquation(
double* p1,
double* p2);
119 void AddLineEquation(
double* p,
double slope);
124 void AddLineEquation(
double a,
double b,
double c);
129 void ClearLineEquations();
138 vtkGetMacro(LinearThresholdType,
int);
152 vtkSetVector2Macro(ColumnRanges,
double);
153 vtkGetVector2Macro(ColumnRanges,
double);
161 vtkGetMacro(DistanceThreshold,
double);
173 vtkGetMacro(UseNormalizedDistance,
int);
180 static void ComputeImplicitLineFunction(
double* p1,
double* p2,
double* abc);
185 static void ComputeImplicitLineFunction(
double* p,
double slope,
double* abc);
191 double ColumnRanges[2];
192 double DistanceThreshold;
195 int NumberOfLineEquations;
196 int UseNormalizedDistance;
200 Internals* Implementation;
205 vtkInformationVector*) VTK_OVERRIDE;
207 int FillInputPortInformation(
int port, vtkInformation*
info ) VTK_OVERRIDE;
208 int FillOutputPortInformation(
int port, vtkInformation*
info ) VTK_OVERRIDE;
219 int ThresholdAbove(
double x,
double y);
224 int ThresholdBelow(
double x,
double y);
229 int ThresholdNear(
double x,
double y);
234 int ThresholdBetween(
double x,
double y);
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkTableAlgorithm * New()
void SetLinearThresholdTypeToNear()
Set the threshold type.
dynamic, self-adjusting array of vtkIdType
Hold a reference to a vtkObjectBase instance.
void SetLinearThresholdTypeToAbove()
Set the threshold type.
dynamic, self-adjusting array of double
void SetLinearThresholdTypeToBelow()
Set the threshold type.
a simple class to control print indentation
void SetLinearThresholdTypeToBetween()
Set the threshold type.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
A table, which contains similar-typed columns of data.
maintain an unordered list of dataarray objects
Superclass for algorithms that produce only vtkTables as output.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
performs line-based thresholding for vtkTable data.