Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoLDMTileID Class Reference

Large Data Management Tile ID More...

#include <LDM/SoLDMTileID.h>

Public Member Functions

 SoLDMTileID ()
 Constructor.
 
 SoLDMTileID (LDM_TILE_ID_TYPE tileID)
 Constructor from ID value.
 
bool operator== (const SoLDMTileID &b) const
 Equality comparison operator.
 
bool operator!= (const SoLDMTileID &b) const
 Inequality comparison operator.
 
bool operator<= (const SoLDMTileID &b) const
 Relational (less than or equal to) operator.
 
bool operator>= (const SoLDMTileID &b) const
 Relational (greater than or equal to) operator.
 
bool operator< (const SoLDMTileID &b) const
 Relational (less than) operator.
 
bool operator> (const SoLDMTileID &b) const
 Relational (greater than) operator.
 
LDM_TILE_ID_TYPE getID () const
 Returns the tile ID.
 
SoLDMTileIDoperator++ ()
 ++ Prefix, increment the tile id
 
SoLDMTileID operator++ (int)
 Postfix ++, increment the tile id.
 
SoLDMTileIDoperator-- ()
 – Prefix, increment the tile id
 
SoLDMTileID operator-- (int)
 Postfix –, increment the tile id.
 

Detailed Description

Large Data Management Tile ID

Encapsulates the ID of a tile.

In the default LDM architecture, the LDM data is based on an octree topology. The index is 0 for the tile of lowest resolution representing the entire volume (octree root node). The index increments linearly going down through the octree.

Indexing works as follows:

Tile 1 is the lower back left corner of the cube. The index increments on X, then Y, and finally Z. So the back tiles are:

3 4
1 2

And the front tiles are:

7 8
5 6

The tiles of full resolution are the leaf tiles.

Definition at line 63 of file SoLDMTileID.h.

Constructor & Destructor Documentation

◆ SoLDMTileID() [1/2]

SoLDMTileID::SoLDMTileID ( )
inline

Constructor.

Definition at line 70 of file SoLDMTileID.h.

◆ SoLDMTileID() [2/2]

SoLDMTileID::SoLDMTileID ( LDM_TILE_ID_TYPE  tileID)
inline

Constructor from ID value.

Definition at line 76 of file SoLDMTileID.h.

Member Function Documentation

◆ getID()

LDM_TILE_ID_TYPE SoLDMTileID::getID ( ) const
inline

Returns the tile ID.

Definition at line 111 of file SoLDMTileID.h.

◆ operator!=()

bool SoLDMTileID::operator!= ( const SoLDMTileID b) const
inline

Inequality comparison operator.

Definition at line 86 of file SoLDMTileID.h.

◆ operator++() [1/2]

SoLDMTileID & SoLDMTileID::operator++ ( )
inline

++ Prefix, increment the tile id

Definition at line 141 of file SoLDMTileID.h.

◆ operator++() [2/2]

SoLDMTileID SoLDMTileID::operator++ ( int  )
inline

Postfix ++, increment the tile id.

Definition at line 149 of file SoLDMTileID.h.

◆ operator--() [1/2]

SoLDMTileID & SoLDMTileID::operator-- ( )
inline

– Prefix, increment the tile id

Definition at line 159 of file SoLDMTileID.h.

◆ operator--() [2/2]

SoLDMTileID SoLDMTileID::operator-- ( int  )
inline

Postfix –, increment the tile id.

Definition at line 167 of file SoLDMTileID.h.

◆ operator<()

bool SoLDMTileID::operator< ( const SoLDMTileID b) const
inline

Relational (less than) operator.

Definition at line 100 of file SoLDMTileID.h.

◆ operator<=()

bool SoLDMTileID::operator<= ( const SoLDMTileID b) const
inline

Relational (less than or equal to) operator.

Definition at line 90 of file SoLDMTileID.h.

◆ operator==()

bool SoLDMTileID::operator== ( const SoLDMTileID b) const
inline

Equality comparison operator.

Definition at line 82 of file SoLDMTileID.h.

◆ operator>()

bool SoLDMTileID::operator> ( const SoLDMTileID b) const
inline

Relational (greater than) operator.

Definition at line 105 of file SoLDMTileID.h.

◆ operator>=()

bool SoLDMTileID::operator>= ( const SoLDMTileID b) const
inline

Relational (greater than or equal to) operator.

Definition at line 95 of file SoLDMTileID.h.


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