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();
152 vtkSetVector2Macro(ColumnRanges,
double);
153 vtkGetVector2Macro(ColumnRanges,
double);
160 vtkSetMacro(DistanceThreshold,
double);
161 vtkGetMacro(DistanceThreshold,
double);
174 vtkBooleanMacro(UseNormalizedDistance,
vtkTypeBool);
180 static void ComputeImplicitLineFunction(
double* p1,
double* p2,
double* abc);
185 static void ComputeImplicitLineFunction(
double* p,
double slope,
double* abc);
191 double ColumnRanges[2];
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.
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.