vtkMaskPolyData Class Reference

#include <vtkMaskPolyData.h>

Inheritance diagram for vtkMaskPolyData:

Inheritance graph
[legend]
Collaboration diagram for vtkMaskPolyData:

Collaboration graph
[legend]

List of all members.


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 34 of file vtkMaskPolyData.h.


Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

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

Protected Member Functions

 vtkMaskPolyData ()
 ~vtkMaskPolyData ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

int OnRatio
vtkIdType Offset

Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 38 of file vtkMaskPolyData.h.


Constructor & Destructor Documentation

vtkMaskPolyData::vtkMaskPolyData (  )  [protected]

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

Definition at line 55 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.

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

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.

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

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

int vtkMaskPolyData::OnRatio [protected]

Definition at line 58 of file vtkMaskPolyData.h.

Definition at line 59 of file vtkMaskPolyData.h.


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

Generated on Wed Aug 24 11:46:52 2011 for VTK by  doxygen 1.5.6