public class SoLDMTileID extends Inventor implements java.lang.Comparable
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.
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoLDMTileID()
Constructor.
|
SoLDMTileID(long tileID)
Constructor from ID value.
|
SoLDMTileID(SoLDMTileID copyFrom) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object obj) |
SoLDMTileID |
decrementAndGet()
|
SoLDMTileID |
decrementAndGet(int name_14976)
Postfix
|
boolean |
equals(java.lang.Object obj) |
long |
getID()
Returns the tile ID.
|
SoLDMTileID |
incrementAndGet()
++ Prefix, increment the tile id
|
SoLDMTileID |
incrementAndGet(int name_14975)
Postfix ++, increment the tile id.
|
void |
setValue(SoLDMTileID copyFrom) |
static SoLDMTileID[] |
toArray(long nativeArray,
long length) |
dispose, getNativeResourceHandle
public SoLDMTileID(SoLDMTileID copyFrom)
public SoLDMTileID()
public SoLDMTileID(long tileID)
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
public void setValue(SoLDMTileID copyFrom)
public static SoLDMTileID[] toArray(long nativeArray, long length)
public long getID()
public SoLDMTileID decrementAndGet()
public SoLDMTileID incrementAndGet(int name_14975)
public SoLDMTileID incrementAndGet()
public SoLDMTileID decrementAndGet(int name_14976)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com