24 #ifndef vtkBivariateLinearTableThreshold_h
25 #define vtkBivariateLinearTableThreshold_h
27 #include "vtkFiltersStatisticsModule.h"
31 VTK_ABI_NAMESPACE_BEGIN
49 vtkSetMacro(Inclusive,
int);
50 vtkGetMacro(Inclusive,
int);
61 int GetNumberOfColumnsToThreshold();
71 void ClearColumnsToThreshold();
99 void AddLineEquation(
double* p1,
double* p2);
104 void AddLineEquation(
double* p,
double slope);
109 void AddLineEquation(
double a,
double b,
double c);
114 void ClearLineEquations();
123 vtkGetMacro(LinearThresholdType,
int);
124 vtkSetMacro(LinearThresholdType,
int);
149 vtkSetVector2Macro(ColumnRanges,
double);
150 vtkGetVector2Macro(ColumnRanges,
double);
157 vtkSetMacro(DistanceThreshold,
double);
158 vtkGetMacro(DistanceThreshold,
double);
171 vtkBooleanMacro(UseNormalizedDistance,
vtkTypeBool);
177 static void ComputeImplicitLineFunction(
double* p1,
double* p2,
double* abc);
182 static void ComputeImplicitLineFunction(
double* p,
double slope,
double* abc);
188 double ColumnRanges[2];
213 int ThresholdAbove(
double x,
double y);
218 int ThresholdBelow(
double x,
double y);
223 int ThresholdNear(
double x,
double y);
228 int ThresholdBetween(
double x,
double y);
236 VTK_ABI_NAMESPACE_END
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.