39 #ifndef vtkBivariateLinearTableThreshold__h
40 #define vtkBivariateLinearTableThreshold__h
61 vtkSetMacro(Inclusive,
int);
62 vtkGetMacro(Inclusive,
int);
70 int GetNumberOfColumnsToThreshold();
77 void ClearColumnsToThreshold();
101 void AddLineEquation(
double* p1,
double* p2);
104 void AddLineEquation(
double* p,
double slope);
107 void AddLineEquation(
double a,
double b,
double c);
110 void ClearLineEquations();
117 vtkGetMacro(LinearThresholdType,
int);
118 vtkSetMacro(LinearThresholdType,
int);
129 vtkSetVector2Macro(ColumnRanges,
double);
130 vtkGetVector2Macro(ColumnRanges,
double);
136 vtkSetMacro(DistanceThreshold,
double);
137 vtkGetMacro(DistanceThreshold,
double);
147 vtkSetMacro(UseNormalizedDistance,
int);
148 vtkGetMacro(UseNormalizedDistance,
int);
149 vtkBooleanMacro(UseNormalizedDistance,
int);
153 static void ComputeImplicitLineFunction(
double* p1,
double* p2,
double* abc);
156 static void ComputeImplicitLineFunction(
double* p,
double slope,
double* abc);
162 double ColumnRanges[2];
188 int ThresholdAbove(
double x,
double y);
191 int ThresholdBelow(
double x,
double y);
194 int ThresholdNear(
double x,
double y);
198 int ThresholdBetween(
double x,
double y);
virtual int FillOutputPortInformation(int port, vtkInformation *info)
void PrintSelf(ostream &os, vtkIndent indent)
static vtkTableAlgorithm * New()
void SetLinearThresholdTypeToNear()
Internals * Implementation
dynamic, self-adjusting array of vtkIdType
void SetLinearThresholdTypeToAbove()
int UseNormalizedDistance
dynamic, self-adjusting array of double
void SetLinearThresholdTypeToBelow()
a simple class to control print indentation
void SetLinearThresholdTypeToBetween()
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkSmartPointer< vtkDoubleArray > LineEquations
A table, which contains similar-typed columns of data.
maintain an unordered list of dataarray objects
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Superclass for algorithms that produce only vtkTables as output.
int NumberOfLineEquations
performs line-based thresholding for vtkTable data.