VTK
|
The polygon output is the boundary of the union of the triangles. More...
#include <vtkPolygonBuilder.h>
Public Member Functions | |
vtkPolygonBuilder () | |
void | InsertTriangle (vtkIdType *abc) |
Insert a triangle as a triplet of point IDs. More... | |
void | GetPolygons (vtkIdListCollection *polys) |
Populate polys with lists of polygons, defined as sequential external vertices. More... | |
void | Reset () |
Prepare the builder for a new set of inputs. More... | |
The polygon output is the boundary of the union of the triangles.
It is assumed that the input triangles form a simple polygon. It is currently used to compute polygons for slicing.
Definition at line 42 of file vtkPolygonBuilder.h.
vtkPolygonBuilder::vtkPolygonBuilder | ( | ) |
void vtkPolygonBuilder::InsertTriangle | ( | vtkIdType * | abc | ) |
Insert a triangle as a triplet of point IDs.
void vtkPolygonBuilder::GetPolygons | ( | vtkIdListCollection * | polys | ) |
Populate polys with lists of polygons, defined as sequential external vertices.
It is the responsibility of the user to delete these generated lists in order to avoid memory leaks.
void vtkPolygonBuilder::Reset | ( | ) |
Prepare the builder for a new set of inputs.