Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
CSingleAssociationCollector< MAPTYPE, ASSOCTYPE, SIZETYPE > Class Template Reference

CSingleAssociationCollector this collector ensures to collect single pairs in the association map. More...

Detailed Description

template<class MAPTYPE, class ASSOCTYPE, class SIZETYPE>
class CSingleAssociationCollector< MAPTYPE, ASSOCTYPE, SIZETYPE >

CSingleAssociationCollector this collector ensures to collect single pairs in the association map.

It requires a HashMethod to be defined:

{
public:
static unsigned int HashValue(const CSingleAssociationCollector::CollectorEntry& info)
};
The class defines an x, y, z 3D point which can use int, float or double.
Definition 3DPoint.h:27
Definition Hash.h:146
CSingleAssociationCollector this collector ensures to collect single pairs in the association map.
Definition AssociationMap.h:164

Once build the collector can be used to build a CAssociationMap which is a very compact way to store the association data

#include <AssociationMap.h>

Public Types

typedef SingleCollectorEntry< MAPTYPE, ASSOCTYPECollectorEntry
 

Public Member Functions

 CSingleAssociationCollector (int elementNbr=0)
 
void Add (const CollectorEntry &entry)
 

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