#include <vtkThresholdTable.h>
vtkThresholdTable uses minimum and/or maximum values to threshold table rows based on the values in a particular column. The column to threshold is specified using SetInputArrayToProcess(0, ...).
Definition at line 41 of file vtkThresholdTable.h.
Public Types | |
enum | { ACCEPT_LESS_THAN = 0, ACCEPT_GREATER_THAN = 1, ACCEPT_BETWEEN = 2, ACCEPT_OUTSIDE = 3 } |
typedef vtkTableAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | ThresholdBetween (vtkVariant lower, vtkVariant upper) |
virtual void | SetMode (int) |
virtual int | GetMode () |
virtual void | SetMinValue (vtkVariant v) |
virtual vtkVariant | GetMinValue () |
virtual void | SetMaxValue (vtkVariant v) |
virtual vtkVariant | GetMaxValue () |
void | SetMinValue (double v) |
void | SetMaxValue (double v) |
void | ThresholdBetween (double lower, double upper) |
Static Public Member Functions | |
static vtkThresholdTable * | New () |
static int | IsTypeOf (const char *type) |
static vtkThresholdTable * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkThresholdTable () | |
~vtkThresholdTable () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
vtkVariant | MinValue |
vtkVariant | MaxValue |
int | Mode |
anonymous enum |
Definition at line 49 of file vtkThresholdTable.h.
vtkThresholdTable::vtkThresholdTable | ( | ) | [protected] |
vtkThresholdTable::~vtkThresholdTable | ( | ) | [protected] |
static vtkThresholdTable* vtkThresholdTable::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkTableAlgorithm.
virtual const char* vtkThresholdTable::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkTableAlgorithm.
static int vtkThresholdTable::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkTableAlgorithm.
virtual int vtkThresholdTable::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkTableAlgorithm.
static vtkThresholdTable* vtkThresholdTable::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkTableAlgorithm.
void vtkThresholdTable::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkTableAlgorithm.
virtual void vtkThresholdTable::SetMode | ( | int | ) | [virtual] |
The mode of the threshold filter. Options are: ACCEPT_LESS_THAN (0) accepts rows with values < MaxValue; ACCEPT_GREATER_THAN (1) accepts rows with values > MinValue; ACCEPT_BETWEEN (2) accepts rows with values > MinValue and < MaxValue; ACCEPT_OUTSIDE (3) accepts rows with values < MinValue or > MaxValue.
virtual int vtkThresholdTable::GetMode | ( | ) | [virtual] |
The mode of the threshold filter. Options are: ACCEPT_LESS_THAN (0) accepts rows with values < MaxValue; ACCEPT_GREATER_THAN (1) accepts rows with values > MinValue; ACCEPT_BETWEEN (2) accepts rows with values > MinValue and < MaxValue; ACCEPT_OUTSIDE (3) accepts rows with values < MinValue or > MaxValue.
virtual void vtkThresholdTable::SetMinValue | ( | vtkVariant | v | ) | [inline, virtual] |
The minumum value for the threshold. This may be any data type stored in a vtkVariant.
Definition at line 70 of file vtkThresholdTable.h.
virtual vtkVariant vtkThresholdTable::GetMinValue | ( | ) | [inline, virtual] |
The minumum value for the threshold. This may be any data type stored in a vtkVariant.
Definition at line 75 of file vtkThresholdTable.h.
virtual void vtkThresholdTable::SetMaxValue | ( | vtkVariant | v | ) | [inline, virtual] |
The maximum value for the threshold. This may be any data type stored in a vtkVariant.
Definition at line 84 of file vtkThresholdTable.h.
virtual vtkVariant vtkThresholdTable::GetMaxValue | ( | ) | [inline, virtual] |
The maximum value for the threshold. This may be any data type stored in a vtkVariant.
Definition at line 89 of file vtkThresholdTable.h.
void vtkThresholdTable::ThresholdBetween | ( | vtkVariant | lower, | |
vtkVariant | upper | |||
) |
Criterion is rows whose scalars are between lower and upper thresholds (inclusive of the end values).
void vtkThresholdTable::SetMinValue | ( | double | v | ) | [inline] |
The minumum value for the threshold as a double.
Definition at line 101 of file vtkThresholdTable.h.
void vtkThresholdTable::SetMaxValue | ( | double | v | ) | [inline] |
The maximum value for the threshold as a double.
Definition at line 109 of file vtkThresholdTable.h.
void vtkThresholdTable::ThresholdBetween | ( | double | lower, | |
double | upper | |||
) | [inline] |
Criterion is rows whose scalars are between lower and upper thresholds (inclusive of the end values).
Definition at line 118 of file vtkThresholdTable.h.
int vtkThresholdTable::RequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkTableAlgorithm.
vtkVariant vtkThresholdTable::MinValue [protected] |
Definition at line 133 of file vtkThresholdTable.h.
vtkVariant vtkThresholdTable::MaxValue [protected] |
Definition at line 134 of file vtkThresholdTable.h.
int vtkThresholdTable::Mode [protected] |
Definition at line 135 of file vtkThresholdTable.h.