|
VTK
9.4.2
|
The polygon output is the boundary of the union of the triangles. More...
#include <vtkPolygonBuilder.h>
Public Member Functions | |
| vtkPolygonBuilder () | |
| void | InsertTriangle (const vtkIdType *abc) |
| Insert a triangle as a triplet of point IDs. | |
| void | GetPolygons (vtkIdListCollection *polys) |
| Populate polys with lists of polygons, defined as sequential external vertices. | |
| void | Reset () |
| Prepare the builder for a new set of inputs. | |
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 31 of file vtkPolygonBuilder.h.
| vtkPolygonBuilder::vtkPolygonBuilder | ( | ) |
| void vtkPolygonBuilder::InsertTriangle | ( | const 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.