16#ifndef vtkPolygonBuilder_h 
   17#define vtkPolygonBuilder_h 
   19#include "vtkCommonMiscModule.h"  
   28VTK_ABI_NAMESPACE_BEGIN
 
   54  typedef std::pair<vtkIdType, vtkIdType> Edge;
 
   55  typedef std::map<Edge, size_t> EdgeHistogram;
 
   56  typedef std::multimap<vtkIdType, vtkIdType> EdgeMap;
 
   57  typedef std::vector<vtkIdType> Triangle;
 
   58  typedef std::vector<Triangle> Triangles;
 
   59  typedef std::map<vtkIdType, Triangles> TriangleMap;
 
   63  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.