Go to the documentation of this file.
42 #ifndef vtkThreshold_h
43 #define vtkThreshold_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
194 int Lower(
double s) {
return ( s <= this->LowerThreshold ? 1 : 0 );};
195 int Upper(
double s) {
return (
s >= this->UpperThreshold ? 1 : 0 );};
196 int Between(
double s) {
return (
s >= this->LowerThreshold ?
197 ( s <= this->UpperThreshold ? 1 : 0 ) : 0 );};
const char * GetAttributeModeAsString()
void SetAttributeModeToDefault()
#define VTK_ATTRIBUTE_MODE_USE_POINT_DATA
void SetComponentModeToUseAny()
void ThresholdByUpper(double upper)
#define VTK_COMPONENT_MODE_USE_ALL
#define vtkTypeMacro(thisClass, superclass)
void SetAttributeModeToUsePointData()
void SetPointsDataTypeToFloat()
abstract superclass for arrays of numeric data
int EvaluateComponents(vtkDataArray *scalars, vtkIdType id)
GLenum GLint GLint * precision
void SetPointsDataTypeToDouble()
int EvaluateCell(vtkDataArray *scalars, vtkIdList *cellPts, int numCellPts)
#define vtkSetClampMacro(name, type, min, max)
void SetComponentModeToUseSelected()
const char * GetComponentModeAsString()
void PrintSelf(ostream &os, vtkIndent indent)
void ThresholdBetween(double lower, double upper)
#define VTKFILTERSCORE_EXPORT
void SetComponentModeToUseAll()
a simple class to control print indentation
extracts cells where scalar value in cell satisfies threshold criterion
void SetAttributeModeToUseCellData()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int GetOutputPointsPrecision() const
list of point or cell ids
int UseContinuousCellRange
#define vtkGetMacro(name, type)
void SetPointsDataType(int type)
vtkBooleanMacro(IgnoreDriverBugs, bool)
#define VTK_ATTRIBUTE_MODE_DEFAULT
vtkSetMacro(IgnoreDriverBugs, bool)
#define VTK_ATTRIBUTE_MODE_USE_CELL_DATA
#define VTK_COMPONENT_MODE_USE_SELECTED
int OutputPointsPrecision
Superclass for algorithms that produce only unstructured grid as output.
virtual int FillInputPortInformation(int port, vtkInformation *info)
void SetOutputPointsPrecision(int precision)
int EvaluateCell(vtkDataArray *scalars, int c, vtkIdList *cellPts, int numCellPts)
void ThresholdByLower(double lower)
GLuint GLuint GLsizei GLenum type
#define VTK_COMPONENT_MODE_USE_ANY
static vtkThreshold * New()