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

vtkStripper Class Reference

create triangle strips and/or poly-lines. More...

#include <vtkStripper.h>

Inheritance diagram for vtkStripper:

Inheritance graph
[legend]
Collaboration diagram for vtkStripper:

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 SetMaximumLength (int)
virtual int GetMaximumLength ()

Static Public Methods

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

Protected Methods

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

Protected Attributes

int MaximumLength

Detailed Description

create triangle strips and/or poly-lines.

Date:
2000/12/10 20:08:53
Revision:
1.33

vtkStripper is a filter that generates triangle strips and/or poly-lines from input polygons, triangle strips, and lines. Input polygons are assumed to be triangles. (Use vtkTriangleFilter to triangulate non-triangular polygons.) The filter will pass through (to the output) vertices if they are present in the input poly-data.

The ivar MaximumLength can be used to control the maximum allowable triangle strip and poly-line length.

Warning:
If triangle strips or poly-lines exist in the input data they will be passed through to the output data. This filter will only construct triangle strips if triangle polygons are available; and will only construct poly-lines if lines are available.
See also:
vtkTriangleFilter
Examples:
vtkStripper (examples)

Definition at line 72 of file vtkStripper.h.


Constructor & Destructor Documentation

vtkStripper::vtkStripper   [protected]
 

vtkStripper::~vtkStripper   [inline, protected]
 

Definition at line 88 of file vtkStripper.h.

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

Definition at line 89 of file vtkStripper.h.


Member Function Documentation

virtual const char* vtkStripper::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 vtkPolyDataToPolyDataFilter.

int vtkStripper::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 vtkPolyDataToPolyDataFilter.

virtual int vtkStripper::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 vtkPolyDataToPolyDataFilter.

vtkStripper* vtkStripper::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 vtkPolyDataToPolyDataFilter.

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

vtkStripper* vtkStripper::New   [static]
 

Construct object with MaximumLength set to 1000.

Reimplemented from vtkPolyDataSource.

virtual void vtkStripper::SetMaximumLength int    [virtual]
 

Specify the maximum number of triangles in a triangle strip, and/or the maximum number of lines in a poly-line.

virtual int vtkStripper::GetMaximumLength   [virtual]
 

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

Definition at line 90 of file vtkStripper.h.

void vtkStripper::Execute   [protected, virtual]
 

Reimplemented from vtkSource.


Member Data Documentation

int vtkStripper::MaximumLength [protected]
 

Definition at line 95 of file vtkStripper.h.


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