39 #ifndef __vtkBivariateLinearTableThreshold__h
40 #define __vtkBivariateLinearTableThreshold__h
42 #include "vtkFiltersStatisticsModule.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);