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 | List of all members
vtkExtractSelectedThresholds Class Reference

extract a cells or points from a dataset that have values within a set of thresholds. More...

#include <vtkExtractSelectedThresholds.h>

Inheritance diagram for vtkExtractSelectedThresholds:
[legend]
Collaboration diagram for vtkExtractSelectedThresholds:
[legend]

Public Types

typedef vtkExtractSelectionBase Superclass
 
- Public Types inherited from vtkExtractSelectionBase
typedef vtkDataObjectAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkExtractSelectedThresholdsNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
- Public Member Functions inherited from vtkExtractSelectionBase
vtkExtractSelectionBaseNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetSelectionConnection (vtkAlgorithmOutput *algOutput)
 
virtual void SetPreserveTopology (int)
 
virtual int GetPreserveTopology ()
 
virtual void PreserveTopologyOn ()
 
virtual void PreserveTopologyOff ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static
vtkExtractSelectedThresholds
SafeDownCast (vtkObjectBase *o)
 
static
vtkExtractSelectedThresholds
New ()
 
static int EvaluateValue (vtkDataArray *scalars, vtkIdType id, vtkDataArray *lims)
 
static int EvaluateValue (vtkDataArray *array, int array_component_no, vtkIdType id, vtkDataArray *lims)
 
static int EvaluateValue (vtkDataArray *scalars, vtkIdType id, vtkDataArray *lims, int *AboveCount, int *BelowCount, int *InsideCount)
 
static int EvaluateValue (vtkDataArray *scalars, int array_component_no, vtkIdType id, vtkDataArray *lims, int *AboveCount, int *BelowCount, int *InsideCount)
 
- Static Public Member Functions inherited from vtkExtractSelectionBase
static int IsTypeOf (const char *type)
 
static vtkExtractSelectionBaseSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkExtractSelectedThresholds ()
 
 ~vtkExtractSelectedThresholds ()
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
int ExtractCells (vtkSelectionNode *sel, vtkDataSet *input, vtkDataSet *output, int usePointScalars)
 
int ExtractPoints (vtkSelectionNode *sel, vtkDataSet *input, vtkDataSet *output)
 
- Protected Member Functions inherited from vtkExtractSelectionBase
 vtkExtractSelectionBase ()
 
 ~vtkExtractSelectionBase ()
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
virtual int RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 

Additional Inherited Members

- Protected Attributes inherited from vtkExtractSelectionBase
int PreserveTopology
 

Detailed Description

extract a cells or points from a dataset that have values within a set of thresholds.

vtkExtractSelectedThresholds extracts all cells and points with attribute values that lie within a vtkSelection's THRESHOLD contents. The selecion can specify to threshold a particular array within either the point or cell attribute data of the input. This is similar to vtkThreshold but allows mutliple thresholds ranges. This filter adds a scalar array called vtkOriginalCellIds that says what input cell produced each output cell. This is an example of a Pedigree ID which helps to trace back results.

See Also
vtkSelection vtkExtractSelection vtkThreshold

Definition at line 43 of file vtkExtractSelectedThresholds.h.

Member Typedef Documentation

Definition at line 46 of file vtkExtractSelectedThresholds.h.

Constructor & Destructor Documentation

vtkExtractSelectedThresholds::vtkExtractSelectedThresholds ( )
protected
vtkExtractSelectedThresholds::~vtkExtractSelectedThresholds ( )
protected

Member Function Documentation

static int vtkExtractSelectedThresholds::IsTypeOf ( const char *  type)
static
virtual int vtkExtractSelectedThresholds::IsA ( const char *  type)
virtual

Reimplemented from vtkExtractSelectionBase.

static vtkExtractSelectedThresholds* vtkExtractSelectedThresholds::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkExtractSelectedThresholds::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkExtractSelectionBase.

vtkExtractSelectedThresholds* vtkExtractSelectedThresholds::NewInstance ( ) const
void vtkExtractSelectedThresholds::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
static vtkExtractSelectedThresholds* vtkExtractSelectedThresholds::New ( )
static

Constructor

static int vtkExtractSelectedThresholds::EvaluateValue ( vtkDataArray *  scalars,
vtkIdType  id,
vtkDataArray *  lims 
)
inlinestatic

Function for determining whether a value in a data array passes the threshold test(s) provided in lims. Returns 1 if the value passes at least one of the threshold tests. If scalars is NULL, then the id itself is used as the scalar value.

Definition at line 57 of file vtkExtractSelectedThresholds.h.

static int vtkExtractSelectedThresholds::EvaluateValue ( vtkDataArray *  array,
int  array_component_no,
vtkIdType  id,
vtkDataArray *  lims 
)
static

Same as the other EvaluateValue except that the component to be compared can be picked using array_component_no (use -1 for magnitude). If scalars is NULL, then the id itself is used as the scalar value.

static int vtkExtractSelectedThresholds::EvaluateValue ( vtkDataArray *  scalars,
vtkIdType  id,
vtkDataArray *  lims,
int *  AboveCount,
int *  BelowCount,
int *  InsideCount 
)
inlinestatic

Function for determining whether a value in a data array passes the threshold test(s) provided in lims. Returns 1 if the value passes at least one of the threshold tests. Also returns in AboveCount, BelowCount and InsideCount the number of tests where the value was above, below or inside the interval. If scalars is NULL, then the id itself is used as the scalar value.

Definition at line 81 of file vtkExtractSelectedThresholds.h.

static int vtkExtractSelectedThresholds::EvaluateValue ( vtkDataArray *  scalars,
int  array_component_no,
vtkIdType  id,
vtkDataArray *  lims,
int *  AboveCount,
int *  BelowCount,
int *  InsideCount 
)
static

Same as the other EvaluateValue except that the component to be compared can be picked using array_component_no (use -1 for magnitude). If scalars is NULL, then the id itself is used as the scalar value.

int vtkExtractSelectedThresholds::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected
int vtkExtractSelectedThresholds::ExtractCells ( vtkSelectionNode *  sel,
vtkDataSet *  input,
vtkDataSet *  output,
int  usePointScalars 
)
protected
int vtkExtractSelectedThresholds::ExtractPoints ( vtkSelectionNode *  sel,
vtkDataSet *  input,
vtkDataSet *  output 
)
protected

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