VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkThresholdTable Class Reference

Thresholds table rows. More...

#include <vtkThresholdTable.h>

Inherits vtkTableAlgorithm.

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 vtkObjectBase * NewInstanceInternal () 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

typedef vtkTableAlgorithm vtkThresholdTable::Superclass

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

vtkThresholdTable::vtkThresholdTable ( )
protected
vtkThresholdTable::~vtkThresholdTable ( )
protected

Member Function Documentation

static vtkThresholdTable* vtkThresholdTable::New ( )
static
static int vtkThresholdTable::IsTypeOf ( const char *  type)
static
virtual int vtkThresholdTable::IsA ( const char *  type)
virtual
static vtkThresholdTable* vtkThresholdTable::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkThresholdTable::NewInstanceInternal ( ) const
protectedvirtual
vtkThresholdTable* vtkThresholdTable::NewInstance ( ) const
void vtkThresholdTable::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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)
inlinevirtual

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 ( )
inlinevirtual

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)
inlinevirtual

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 ( )
inlinevirtual

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

Definition at line 90 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 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 *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected

Member Data Documentation

vtkVariant vtkThresholdTable::MinValue
protected

Definition at line 134 of file vtkThresholdTable.h.

vtkVariant vtkThresholdTable::MaxValue
protected

Definition at line 135 of file vtkThresholdTable.h.

int vtkThresholdTable::Mode
protected

Definition at line 136 of file vtkThresholdTable.h.


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