Man Page for vtkStripper
Table of Contents

NAME

vtkStripper - create triangle strips and/or poly-lines

SYNOPSIS


#include "/opt/vtk-c++/graphics/vtkStripper.h"

class VTK_EXPORT vtkStripper : public vtkPolyDataToPolyDataFilter

vtkStripper();
static vtkStripper *New() {return new vtkStripper;};
const char *GetClassName() {return "vtkStripper";};
void PrintSelf(ostream& os, vtkIndent indent);
void SetMaximumLength(int);
int GetMaximumLength();

DESCRIPTION

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.

CAVEATS

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

SUMMARY

void SetMaximumLength(int)
Specify the maximum number of triangles in a triangle strip, and/or the maximum number of lines in a polyline.

vtkStripper()
Construct object with MaximumLength set to 1000.


Table of Contents