25#ifndef vtkPolygonBuilder_h
26#define vtkPolygonBuilder_h
28#include "vtkCommonMiscModule.h"
62 typedef std::pair<vtkIdType, vtkIdType> Edge;
63 typedef std::map<Edge, size_t> EdgeHistogram;
64 typedef std::multimap<vtkIdType, vtkIdType> EdgeMap;
65 typedef std::vector<vtkIdType> Triangle;
66 typedef std::vector<Triangle> Triangles;
67 typedef std::map<vtkIdType, Triangles> TriangleMap;
71 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.