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 const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *o)

Protected Member Functions

 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 37 of file vtkThresholdPoints.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 41 of file vtkThresholdPoints.h.


Constructor & Destructor Documentation

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

Definition at line 70 of file vtkThresholdPoints.h.


Member Function Documentation

static vtkThresholdPoints* vtkThresholdPoints::New ( ) [static]

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

Reimplemented from vtkPolyDataAlgorithm.

virtual const char* vtkThresholdPoints::GetClassName ( ) [virtual]

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.

static vtkThresholdPoints* vtkThresholdPoints::SafeDownCast ( vtkObject o) [static]

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.

void vtkThresholdPoints::ThresholdByLower ( double  lower)

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

void vtkThresholdPoints::ThresholdByUpper ( double  upper)

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.

virtual double vtkThresholdPoints::GetUpperThreshold ( ) [virtual]

Set/Get the upper threshold.

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

Set/Get the lower threshold.

virtual double vtkThresholdPoints::GetLowerThreshold ( ) [virtual]

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 84 of file vtkThresholdPoints.h.

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

Definition at line 85 of file vtkThresholdPoints.h.

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

Definition at line 86 of file vtkThresholdPoints.h.


Member Data Documentation

Definition at line 77 of file vtkThresholdPoints.h.

Definition at line 78 of file vtkThresholdPoints.h.

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

Definition at line 81 of file vtkThresholdPoints.h.


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