#include <vtkStripper.h>
Inheritance diagram for vtkStripper:
vtkStripper is a filter that generates triangle strips and/or poly-lines from input polygons, triangle strips, and lines. Input polygons are assembled into triangle strips only if they are triangles; other types of polygons are passed through to the output and not stripped. (Use vtkTriangleFilter to triangulate non-triangular polygons prior to running this filter if you need to strip all the data.) The filter will pass through (to the output) vertices if they are present in the input polydata.
The ivar MaximumLength can be used to control the maximum allowable triangle strip and poly-line length.
By default, this filter discards any cell data associated with the input. Thus is because the cell structure changes and and the old cell data is no longer valid. When PassCellDataAsFieldData flag is set, the cell data is passed as FieldData to the output using the following rule: 1) for every cell in the output that is not a triangle strip, the cell data is inserted once per cell in the output field data. 2) for every triangle strip cell in the output: ii) 1 tuple is inserted for every point(j|j>=2) in the strip. This is the cell data for the cell formed by (j-2, j-1, j) in the input. The field data order is same as cell data i.e. (verts,line,polys,tsrips).
Definition at line 64 of file vtkStripper.h.
virtual void | SetMaximumLength (int) |
virtual int | GetMaximumLength () |
static vtkStripper * | New () |
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 | PassCellDataAsFieldDataOn () |
virtual void | PassCellDataAsFieldDataOff () |
virtual void | SetPassCellDataAsFieldData (int) |
virtual int | GetPassCellDataAsFieldData () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkStripper * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkStripper () | |
~vtkStripper () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
int | MaximumLength |
int | PassCellDataAsFieldData |
|
Reimplemented from vtkPolyDataAlgorithm. Definition at line 67 of file vtkStripper.h. |
|
|
|
Definition at line 90 of file vtkStripper.h. |
|
Reimplemented from vtkPolyDataAlgorithm. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataAlgorithm. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataAlgorithm. |
|
Reimplemented from vtkPolyDataAlgorithm. |
|
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. |
|
Construct object with MaximumLength set to 1000. Reimplemented from vtkPolyDataAlgorithm. |
|
Specify the maximum number of triangles in a triangle strip, and/or the maximum number of lines in a poly-line. |
|
Specify the maximum number of triangles in a triangle strip, and/or the maximum number of lines in a poly-line. |
|
Enable/Disable passing of the CellData in the input to the output as FieldData. Note the field data is tranformed. |
|
Enable/Disable passing of the CellData in the input to the output as FieldData. Note the field data is tranformed. |
|
Enable/Disable passing of the CellData in the input to the output as FieldData. Note the field data is tranformed. |
|
Enable/Disable passing of the CellData in the input to the output as FieldData. Note the field data is tranformed. |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkPolyDataAlgorithm. |
|
Definition at line 95 of file vtkStripper.h. |
|
Definition at line 96 of file vtkStripper.h. |