![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Association between an index and the code of an octree cell. More...
#include <DgmOctree.h>
Public Member Functions | |
| IndexAndCode () | |
| Default constructor. More... | |
| IndexAndCode (unsigned index, CellCode code) | |
| Constructor from an index and a code. More... | |
| IndexAndCode (const IndexAndCode &ic) | |
| Copy constructor. More... | |
| bool | operator< (const IndexAndCode &iac) const |
| Code-based 'less than' comparison operator. More... | |
| bool | operator> (const IndexAndCode &iac) const |
| Code-based 'greater than' comparison operator. More... | |
Static Public Member Functions | |
| static bool | codeComp (const IndexAndCode &a, const IndexAndCode &b) throw () |
| Compares two IndexAndCode instances based on their code. More... | |
| static bool | indexComp (const IndexAndCode &a, const IndexAndCode &b) throw () |
| Compares two IndexAndCode instances based on their index. More... | |
Public Attributes | |
| unsigned | theIndex |
| index More... | |
| CellCode | theCode |
| cell code More... | |
Association between an index and the code of an octree cell.
Index could be the index of a point, in which case the code would correspond to the octree cell where the point lies.
Definition at line 301 of file DgmOctree.h.
|
inline |
Default constructor.
Definition at line 308 of file DgmOctree.h.
|
inline |
Constructor from an index and a code.
Definition at line 311 of file DgmOctree.h.
|
inline |
Copy constructor.
Definition at line 315 of file DgmOctree.h.
|
inlinestatic | ||||||||||||||||||||
Compares two IndexAndCode instances based on their code.
| a | first IndexAndCode structure |
| b | second IndexAndCode structure |
Definition at line 333 of file DgmOctree.h.
Referenced by cloudViewer::DgmOctree::genericBuild().
|
inlinestatic | ||||||||||||||||||||
Compares two IndexAndCode instances based on their index.
| a | first IndexAndCode structure |
| b | second IndexAndCode structure |
Definition at line 344 of file DgmOctree.h.
|
inline |
Code-based 'less than' comparison operator.
Definition at line 319 of file DgmOctree.h.
References theCode.
|
inline |
Code-based 'greater than' comparison operator.
Definition at line 324 of file DgmOctree.h.
References theCode.
| CellCode cloudViewer::DgmOctree::IndexAndCode::theCode |
| unsigned cloudViewer::DgmOctree::IndexAndCode::theIndex |
index
Definition at line 303 of file DgmOctree.h.