Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkMaskPoints Class Reference

selectively filter points. More...

#include <vtkMaskPoints.h>

Inheritance diagram for vtkMaskPoints:

Inheritance graph
[legend]
Collaboration diagram for vtkMaskPoints:

Collaboration graph
[legend]
List of all members.

Public Methods

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 SetMaximumNumberOfPoints (int)
virtual int GetMaximumNumberOfPoints ()
virtual void SetOffset (int)
virtual int GetOffset ()
virtual void SetRandomMode (int)
virtual int GetRandomMode ()
virtual void RandomModeOn ()
virtual void RandomModeOff ()
virtual void SetGenerateVertices (int)
virtual int GetGenerateVertices ()
virtual void GenerateVerticesOn ()
virtual void GenerateVerticesOff ()

Static Public Methods

vtkMaskPoints * New ()
int IsTypeOf (const char *type)
vtkMaskPoints * SafeDownCast (vtkObject *o)

Protected Methods

 vtkMaskPoints ()
 ~vtkMaskPoints ()
 vtkMaskPoints (const vtkMaskPoints &)
void operator= (const vtkMaskPoints &)
void Execute ()

Protected Attributes

int OnRatio
int Offset
int RandomMode
int MaximumNumberOfPoints
int GenerateVertices

Detailed Description

selectively filter points.

Date:
2000/12/10 20:08:43
Revision:
1.37

vtkMaskPoints is a filter that passes through points and point attributes from input dataset. (Other geometry is not passed through.) It is possible to mask every nth point, and to specify an initial offset to begin masking from. A special random mode feature enables random selection of points. The filter can also generate vertices (topological primitives) as well as points. This is useful because vertices are rendered while points are not.

Examples:
vtkMaskPoints (examples)

Definition at line 63 of file vtkMaskPoints.h.


Constructor & Destructor Documentation

vtkMaskPoints::vtkMaskPoints   [protected]
 

vtkMaskPoints::~vtkMaskPoints   [inline, protected]
 

Definition at line 98 of file vtkMaskPoints.h.

vtkMaskPoints::vtkMaskPoints const vtkMaskPoints &    [inline, protected]
 

Definition at line 99 of file vtkMaskPoints.h.


Member Function Documentation

vtkMaskPoints* vtkMaskPoints::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkPolyDataSource.

virtual const char* vtkMaskPoints::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToPolyDataFilter.

int vtkMaskPoints::IsTypeOf const char *    type [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 vtkDataSetToPolyDataFilter.

virtual int vtkMaskPoints::IsA const char *    type [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 vtkDataSetToPolyDataFilter.

vtkMaskPoints* vtkMaskPoints::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToPolyDataFilter.

void vtkMaskPoints::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 vtkSource.

virtual void vtkMaskPoints::SetOnRatio int    [virtual]
 

Turn on every nth point.

virtual int vtkMaskPoints::GetOnRatio   [virtual]
 

virtual void vtkMaskPoints::SetMaximumNumberOfPoints int    [virtual]
 

Limit the number of points that can be passed through.

virtual int vtkMaskPoints::GetMaximumNumberOfPoints   [virtual]
 

virtual void vtkMaskPoints::SetOffset int    [virtual]
 

Start with this point.

virtual int vtkMaskPoints::GetOffset   [virtual]
 

virtual void vtkMaskPoints::SetRandomMode int    [virtual]
 

Special flag causes randomization of point selection. If this mode is on, statistically every nth point (i.e., OnRatio) will be displayed.

virtual int vtkMaskPoints::GetRandomMode   [virtual]
 

virtual void vtkMaskPoints::RandomModeOn   [virtual]
 

virtual void vtkMaskPoints::RandomModeOff   [virtual]
 

virtual void vtkMaskPoints::SetGenerateVertices int    [virtual]
 

Generate output polydata vertices as well as points. A useful convenience method because vertices are drawn (they are topology) while points are not (they are geometry). By default this method is off.

virtual int vtkMaskPoints::GetGenerateVertices   [virtual]
 

virtual void vtkMaskPoints::GenerateVerticesOn   [virtual]
 

virtual void vtkMaskPoints::GenerateVerticesOff   [virtual]
 

void vtkMaskPoints::operator= const vtkMaskPoints &    [inline, protected]
 

Definition at line 100 of file vtkMaskPoints.h.

void vtkMaskPoints::Execute   [protected, virtual]
 

Reimplemented from vtkSource.


Member Data Documentation

int vtkMaskPoints::OnRatio [protected]
 

Definition at line 104 of file vtkMaskPoints.h.

int vtkMaskPoints::Offset [protected]
 

Definition at line 105 of file vtkMaskPoints.h.

int vtkMaskPoints::RandomMode [protected]
 

Definition at line 106 of file vtkMaskPoints.h.

int vtkMaskPoints::MaximumNumberOfPoints [protected]
 

Definition at line 107 of file vtkMaskPoints.h.

int vtkMaskPoints::GenerateVertices [protected]
 

Definition at line 108 of file vtkMaskPoints.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:52:55 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001