28#ifndef vtkPolygonBuilder_h
29#define vtkPolygonBuilder_h
31#include "vtkCommonMiscModule.h"
65 typedef std::pair<vtkIdType, vtkIdType> Edge;
66 typedef std::map<Edge, size_t> EdgeHistogram;
67 typedef std::multimap<vtkIdType, vtkIdType> EdgeMap;
68 typedef std::vector<vtkIdType> Triangle;
69 typedef std::vector<Triangle> Triangles;
70 typedef std::map<vtkIdType, Triangles> TriangleMap;
74 EdgeHistogram EdgeCounter;
maintain an ordered list of IdList objects
The polygon output is the boundary of the union of the triangles.
void Reset()
Prepare the builder for a new set of inputs.
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.