#include <vtkMaskPolyData.h>
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.
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 vtkMaskPolyData * | New () |
static int | IsTypeOf (const char *type) |
static vtkMaskPolyData * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkMaskPolyData () | |
~vtkMaskPolyData () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
int | OnRatio |
vtkIdType | Offset |
vtkMaskPolyData::vtkMaskPolyData | ( | ) | [protected] |
vtkMaskPolyData::~vtkMaskPolyData | ( | ) | [inline, protected] |
Definition at line 55 of file vtkMaskPolyData.h.
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.
int vtkMaskPolyData::OnRatio [protected] |
Definition at line 58 of file vtkMaskPolyData.h.
vtkIdType vtkMaskPolyData::Offset [protected] |
Definition at line 59 of file vtkMaskPolyData.h.