40 #ifndef vtkBivariateLinearTableThreshold_h
41 #define vtkBivariateLinearTableThreshold_h
43 #include "vtkFiltersStatisticsModule.h"
64 vtkSetMacro(Inclusive,
int);
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);
139 vtkSetMacro(LinearThresholdType,
int);
164 vtkSetVector2Macro(ColumnRanges,
double);
165 vtkGetVector2Macro(ColumnRanges,
double);
172 vtkSetMacro(DistanceThreshold,
double);
173 vtkGetMacro(DistanceThreshold,
double);
186 vtkBooleanMacro(UseNormalizedDistance,
vtkTypeBool);
192 static void ComputeImplicitLineFunction(
double* p1,
double* p2,
double* abc);
197 static void ComputeImplicitLineFunction(
double* p,
double slope,
double* abc);
203 double ColumnRanges[2];
228 int ThresholdAbove(
double x,
double y);
233 int ThresholdBelow(
double x,
double y);
238 int ThresholdNear(
double x,
double y);
243 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.
Internals * Implementation
dynamic, self-adjusting array of vtkIdType
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.
vtkSmartPointer< vtkDoubleArray > LineEquations
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
A table, which contains similar-typed columns of data.
maintain an ordered list of dataarray objects
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Superclass for algorithms that produce only vtkTables as output.
vtkTypeBool UseNormalizedDistance
int NumberOfLineEquations
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
performs line-based thresholding for vtkTable data.