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

sample subset of input polygonal data cells More...

#include <vtkMaskPolyData.h>

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

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkMaskPolyDataNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetOnRatio (int)
virtual int GetOnRatio ()
virtual void SetOffset (vtkIdType)
virtual vtkIdType GetOffset ()

Static Public Member Functions

static vtkMaskPolyDataNew ()
static int IsTypeOf (const char *type)
static vtkMaskPolyDataSafeDownCast (vtkObjectBase *o)

Protected Member Functions

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

Protected Attributes

int OnRatio
vtkIdType Offset

Detailed Description

sample subset of input polygonal data cells

vtkMaskPolyData is a filter that sub-samples the cells of input polygonal data. The user specifies every nth item, with an initial offset to begin sampling.

See also:
vtkMaskPoints
Tests:
vtkMaskPolyData (Tests)

Definition at line 35 of file vtkMaskPolyData.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 39 of file vtkMaskPolyData.h.


Constructor & Destructor Documentation

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

Definition at line 56 of file vtkMaskPolyData.h.


Member Function Documentation

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

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

Reimplemented from vtkPolyDataAlgorithm.

static int vtkMaskPolyData::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 vtkMaskPolyData::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* vtkMaskPolyData::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

void vtkMaskPolyData::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.

virtual void vtkMaskPolyData::SetOnRatio ( int  ) [virtual]

Turn on every nth entity (cell).

virtual int vtkMaskPolyData::GetOnRatio ( ) [virtual]

Turn on every nth entity (cell).

virtual void vtkMaskPolyData::SetOffset ( vtkIdType  ) [virtual]

Start with this entity (cell).

virtual vtkIdType vtkMaskPolyData::GetOffset ( ) [virtual]

Start with this entity (cell).

int vtkMaskPolyData::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.


Member Data Documentation

Definition at line 59 of file vtkMaskPolyData.h.

Definition at line 60 of file vtkMaskPolyData.h.


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