SoLDMTileID Class Reference
[Kernel]

Large Data Management Tile ID More...

#include <LDM/SoLDMTileID.h>

List of all members.

Public Member Functions

 SoLDMTileID ()
 SoLDMTileID (LDM_TILE_ID_TYPE tileID)
bool operator== (const SoLDMTileID &b) const
bool operator!= (const SoLDMTileID &b) const
bool operator<= (const SoLDMTileID &b) const
bool operator>= (const SoLDMTileID &b) const
bool operator< (const SoLDMTileID &b) const
bool operator> (const SoLDMTileID &b) const
LDM_TILE_ID_TYPE getID () const
SoLDMTileIDoperator++ ()
SoLDMTileID operator++ (int)
SoLDMTileIDoperator-- ()
SoLDMTileID operator-- (int)

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.


Constructor & Destructor Documentation

SoLDMTileID::SoLDMTileID (  )  [inline]

Constructor.

SoLDMTileID::SoLDMTileID ( LDM_TILE_ID_TYPE  tileID  )  [inline]

Constructor from ID value.


Member Function Documentation

LDM_TILE_ID_TYPE SoLDMTileID::getID (  )  const [inline]

Returns the tile ID.

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

Inequality comparison operator.

SoLDMTileID SoLDMTileID::operator++ ( int   )  [inline]

Postfix ++, increment the tile id.

SoLDMTileID & SoLDMTileID::operator++ (  )  [inline]

++ Prefix, increment the tile id

SoLDMTileID SoLDMTileID::operator-- ( int   )  [inline]

Postfix --, increment the tile id.

SoLDMTileID & SoLDMTileID::operator-- (  )  [inline]

-- Prefix, increment the tile id

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

Relational (less than) operator.

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

Relational (less than or equal to) operator.

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

Equality comparison operator.

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

Relational (greater than) operator.

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

Relational (greater than or equal to) operator.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/