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 ()
void Execute ()

Protected Attributes

int MaximumLength

Detailed Description

create triangle strips and/or poly-lines.

Date:
2001/10/11 13:37:17
Revision:
1.36

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)
Tests:
vtkStripper (Tests)

Definition at line 76 of file vtkStripper.h.


Constructor & Destructor Documentation

vtkStripper::vtkStripper   [protected]
 

vtkStripper::~vtkStripper   [inline, protected]
 

Definition at line 94 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]
 

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

void vtkStripper::Execute   [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.


Member Data Documentation

int vtkStripper::MaximumLength [protected]
 

Definition at line 99 of file vtkStripper.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:43:04 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001