VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkThresholdTable Class Reference

Thresholds table rows. More...

#include <vtkThresholdTable.h>

Inheritance diagram for vtkThresholdTable:
Inheritance graph
[legend]
Collaboration diagram for vtkThresholdTable:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { ACCEPT_LESS_THAN = 0, ACCEPT_GREATER_THAN = 1, ACCEPT_BETWEEN = 2, ACCEPT_OUTSIDE = 3 }
typedef vtkTableAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkThresholdTableNewInstance () const
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 vtkThresholdTableNew ()
static int IsTypeOf (const char *type)
static vtkThresholdTableSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkThresholdTable ()
 ~vtkThresholdTable ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

vtkVariant MinValue
vtkVariant MaxValue
int Mode

Detailed Description

Thresholds table rows.

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, ...).

Examples:
vtkThresholdTable (Examples)
Tests:
vtkThresholdTable (Tests)

Definition at line 42 of file vtkThresholdTable.h.


Member Typedef Documentation

Reimplemented from vtkTableAlgorithm.

Definition at line 46 of file vtkThresholdTable.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
ACCEPT_LESS_THAN 
ACCEPT_GREATER_THAN 
ACCEPT_BETWEEN 
ACCEPT_OUTSIDE 

Definition at line 50 of file vtkThresholdTable.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

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.

Reimplemented from vtkTableAlgorithm.

virtual vtkObjectBase* vtkThresholdTable::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkTableAlgorithm.

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 minimum value for the threshold. This may be any data type stored in a vtkVariant.

Definition at line 71 of file vtkThresholdTable.h.

virtual vtkVariant vtkThresholdTable::GetMinValue ( ) [inline, virtual]

The minimum value for the threshold. This may be any data type stored in a vtkVariant.

Definition at line 76 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 85 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 90 of file vtkThresholdTable.h.

Criterion is rows whose scalars are between lower and upper thresholds (inclusive of the end values).

void vtkThresholdTable::SetMinValue ( double  v) [inline]

The minimum value for the threshold as a double.

Definition at line 102 of file vtkThresholdTable.h.

void vtkThresholdTable::SetMaxValue ( double  v) [inline]

The maximum value for the threshold as a double.

Definition at line 110 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 119 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.


Member Data Documentation

Definition at line 134 of file vtkThresholdTable.h.

Definition at line 135 of file vtkThresholdTable.h.

Definition at line 136 of file vtkThresholdTable.h.


The documentation for this class was generated from the following file: