Section: Visualization Toolkit Infovis Classes
To create an instance of class vtkThresholdTable, simply invoke its constructor as follows
obj = vtkThresholdTable
obj
is an instance of the vtkThresholdTable class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkThresholdTable = obj.NewInstance ()
vtkThresholdTable = obj.SafeDownCast (vtkObject o)
obj.SetMode (int )
- 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.
int = obj.GetModeMinValue ()
- 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.
int = obj.GetModeMaxValue ()
- 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.
int = obj.GetMode ()
- 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.
obj.SetMinValue (double v)
- The maximum value for the threshold as a double.
obj.SetMaxValue (double v)
- Criterion is rows whose scalars are between lower and upper thresholds
(inclusive of the end values).
obj.ThresholdBetween (double lower, double upper)