76 THRESHOLD_BETWEEN = 0,
95 vtkSetMacro(UpperThreshold,
double);
96 vtkSetMacro(LowerThreshold,
double);
97 vtkGetMacro(UpperThreshold,
double);
98 vtkGetMacro(LowerThreshold,
double);
110 vtkSetMacro(AttributeMode,
int);
113 vtkGetMacro(AttributeMode,
int);
116 void SetAttributeModeToDefault();
119 void SetAttributeModeToUsePointData();
122 void SetAttributeModeToUseCellData();
125 const
char* GetAttributeModeAsString();
138 vtkGetMacro(ComponentMode,
int);
153 vtkGetMacro(SelectedComponent,
int);
191 void SetPointsDataTypeToDouble();
194 void SetPointsDataTypeToFloat();
197 void SetPointsDataType(
int type);
200 int GetPointsDataType();
209 vtkSetMacro(Invert,
bool);
210 vtkGetMacro(Invert,
bool);
211 vtkBooleanMacro(Invert,
bool);
220 vtkSetMacro(OutputPointsPrecision,
int);
221 vtkGetMacro(OutputPointsPrecision,
int);
238 int Lower(
double s) const;
239 int Upper(
double s) const;
240 int Between(
double s) const;
251 double LowerThreshold;
252 double UpperThreshold;
256 int AttributeMode = -1;
258 int SelectedComponent = 0;
259 int OutputPointsPrecision = DEFAULT_PRECISION;
263 template <typename TScalarArray>
265 struct EvaluateCellsWorker;
267 template <typename TScalarsArray>
268 int EvaluateComponents(TScalarsArray& scalars,
vtkIdType id);
269 template <typename TScalarsArray>
271 template <typename TScalarsArray>
280 template <typename TScalarsArray>
281 bool ComputeMagnitude(
double& magnitude, const TScalarsArray& scalars,
vtkIdType id);
286 int NumberOfComponents;