VTK
|
#include <vtkPolygonBuilder.h>
Public Member Functions | |
vtkPolygonBuilder () | |
void | InsertTriangle (vtkIdType *abc) |
void | GetPolygons (vtkIdListCollection *polys) |
void | Reset () |
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 39 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.