VTK  9.1.0
Public Member Functions | List of all members
vtkPolygonBuilder Class Reference

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. 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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ vtkPolygonBuilder()

vtkPolygonBuilder::vtkPolygonBuilder ( )

Member Function Documentation

◆ InsertTriangle()

void vtkPolygonBuilder::InsertTriangle ( const vtkIdType abc)

Insert a triangle as a triplet of point IDs.

◆ GetPolygons()

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.

◆ Reset()

void vtkPolygonBuilder::Reset ( )

Prepare the builder for a new set of inputs.


The documentation for this class was generated from the following file: