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

extracts points whose scalar value satisfies threshold criterion More...

#include <vtkThresholdPoints.h>

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

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkThresholdPointsNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void ThresholdByLower (double lower)
void ThresholdByUpper (double upper)
void ThresholdBetween (double lower, double upper)
virtual void SetUpperThreshold (double)
virtual double GetUpperThreshold ()
virtual void SetLowerThreshold (double)
virtual double GetLowerThreshold ()

Static Public Member Functions

static vtkThresholdPointsNew ()
static int IsTypeOf (const char *type)
static vtkThresholdPointsSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkThresholdPoints ()
 ~vtkThresholdPoints ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int port, vtkInformation *info)
int Lower (double s)
int Upper (double s)
int Between (double s)

Protected Attributes

double LowerThreshold
double UpperThreshold
int(vtkThresholdPoints::* ThresholdFunction )(double s)

Detailed Description

extracts points whose scalar value satisfies threshold criterion

vtkThresholdPoints is a filter that extracts points from a dataset that satisfy a threshold criterion. The criterion can take three forms: 1) greater than a particular value; 2) less than a particular value; or 3) between a particular value. The output of the filter is polygonal data.

See also:
vtkThreshold
Examples:
vtkThresholdPoints (Examples)
Tests:
vtkThresholdPoints (Tests)

Definition at line 38 of file vtkThresholdPoints.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 42 of file vtkThresholdPoints.h.


Constructor & Destructor Documentation

vtkThresholdPoints::~vtkThresholdPoints ( ) [inline, protected]

Definition at line 71 of file vtkThresholdPoints.h.


Member Function Documentation

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

Reimplemented from vtkPolyDataAlgorithm.

static int vtkThresholdPoints::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 vtkPolyDataAlgorithm.

virtual int vtkThresholdPoints::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 vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

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

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

void vtkThresholdPoints::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 vtkPolyDataAlgorithm.

Criterion is cells whose scalars are less or equal to lower threshold.

Criterion is cells whose scalars are greater or equal to upper threshold.

void vtkThresholdPoints::ThresholdBetween ( double  lower,
double  upper 
)

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

virtual void vtkThresholdPoints::SetUpperThreshold ( double  ) [virtual]

Set/Get the upper threshold.

Set/Get the upper threshold.

virtual void vtkThresholdPoints::SetLowerThreshold ( double  ) [virtual]

Set/Get the lower threshold.

Set/Get the lower threshold.

virtual int vtkThresholdPoints::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkThresholdPoints::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkPolyDataAlgorithm.

int vtkThresholdPoints::Lower ( double  s) [inline, protected]

Definition at line 85 of file vtkThresholdPoints.h.

int vtkThresholdPoints::Upper ( double  s) [inline, protected]

Definition at line 86 of file vtkThresholdPoints.h.

int vtkThresholdPoints::Between ( double  s) [inline, protected]

Definition at line 87 of file vtkThresholdPoints.h.


Member Data Documentation

Definition at line 78 of file vtkThresholdPoints.h.

Definition at line 79 of file vtkThresholdPoints.h.

int(vtkThresholdPoints::* vtkThresholdPoints::ThresholdFunction)(double s) [protected]

Definition at line 82 of file vtkThresholdPoints.h.


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