45#include "vtkFiltersCoreModule.h"
48#define VTK_ATTRIBUTE_MODE_DEFAULT 0
49#define VTK_ATTRIBUTE_MODE_USE_POINT_DATA 1
50#define VTK_ATTRIBUTE_MODE_USE_CELL_DATA 2
53#define VTK_COMPONENT_MODE_USE_SELECTED 0
54#define VTK_COMPONENT_MODE_USE_ALL 1
55#define VTK_COMPONENT_MODE_USE_ANY 2
57VTK_ABI_NAMESPACE_BEGIN
263 template <typename TScalarArray>
265 struct EvaluateCellsWorker;
267 template <typename TScalarsArray>
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;
list of point or cell ids
a simple class to control print indentation
int(vtkThreshold::* ThresholdFunction)(double s) const
virtual void SetComponentMode(int)
Control how the decision of in / out is made with multi-component data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetAttributeModeToUsePointData()
Control how the filter works with scalar point data and cell attribute data.
int EvaluateCell(TScalarsArray &scalars, const vtkIdType *cellPts, vtkIdType numCellPts)
void SetPointsDataType(int type)
Set the data type of the output points (See the data types defined in vtkType.h).
void SetThresholdFunction(int function)
Get/Set the threshold method, defining which threshold bounds to use.
void SetComponentModeToUseSelected()
Control how the decision of in / out is made with multi-component data.
void SetComponentModeToUseAny()
Control how the decision of in / out is made with multi-component data.
ThresholdType
Possible values for the threshold function:
void SetComponentModeToUseAll()
Control how the decision of in / out is made with multi-component data.
void SetPointsDataTypeToDouble()
Set the data type of the output points (See the data types defined in vtkType.h).
const char * GetComponentModeAsString()
Control how the decision of in / out is made with multi-component data.
void SetAttributeModeToUseCellData()
Control how the filter works with scalar point data and cell attribute data.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int GetPointsDataType()
Set the data type of the output points (See the data types defined in vtkType.h).
void SetPointsDataTypeToFloat()
Set the data type of the output points (See the data types defined in vtkType.h).
int EvaluateComponents(TScalarsArray &scalars, vtkIdType id)
void SetAttributeModeToDefault()
Control how the filter works with scalar point data and cell attribute data.
int Upper(double s) const
Methods used for thresholding.
int Between(double s) const
Methods used for thresholding.
int Lower(double s) const
Methods used for thresholding.
int GetThresholdFunction()
Get/Set the threshold method, defining which threshold bounds to use.
vtkTypeBool UseContinuousCellRange
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int OutputPointsPrecision
const char * GetAttributeModeAsString()
Control how the filter works with scalar point data and cell attribute data.
static vtkThreshold * New()
vtkUnstructuredGridAlgorithm()
#define VTK_DEPRECATED_IN_9_3_0(reason)
#define VTK_COMPONENT_MODE_USE_SELECTED
#define VTK_COMPONENT_MODE_USE_ALL
#define VTK_COMPONENT_MODE_USE_ANY