39 #ifndef __vtkBivariateLinearTableThreshold__h
40 #define __vtkBivariateLinearTableThreshold__h
60 vtkSetMacro(Inclusive,
int);
61 vtkGetMacro(Inclusive,
int);
69 int GetNumberOfColumnsToThreshold();
76 void ClearColumnsToThreshold();
100 void AddLineEquation(
double* p1,
double* p2);
103 void AddLineEquation(
double* p,
double slope);
106 void AddLineEquation(
double a,
double b,
double c);
109 void ClearLineEquations();
116 vtkGetMacro(LinearThresholdType,
int);
117 vtkSetMacro(LinearThresholdType,
int);
128 vtkSetVector2Macro(ColumnRanges,
double);
129 vtkGetVector2Macro(ColumnRanges,
double);
135 vtkSetMacro(DistanceThreshold,
double);
136 vtkGetMacro(DistanceThreshold,
double);
146 vtkSetMacro(UseNormalizedDistance,
int);
147 vtkGetMacro(UseNormalizedDistance,
int);
148 vtkBooleanMacro(UseNormalizedDistance,
int);
152 static void ComputeImplicitLineFunction(
double* p1,
double* p2,
double* abc);
155 static void ComputeImplicitLineFunction(
double* p,
double slope,
double* abc);
161 double ColumnRanges[2];
187 int ThresholdAbove(
double x,
double y);
190 int ThresholdBelow(
double x,
double y);
193 int ThresholdNear(
double x,
double y);
197 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.