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

Tests:
vtkPolygonBuilder (Tests)

Definition at line 42 of file vtkPolygonBuilder.h.

Constructor & Destructor Documentation

vtkPolygonBuilder::vtkPolygonBuilder ( )

Member Function Documentation

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.


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