Click or drag to resize
SoLDMTopoOctree Class

Octree topology queries.

Inheritance Hierarchy

Namespace: OIV.LDM
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public class SoLDMTopoOctree : SoNetBase

The SoLDMTopoOctree type exposes the following members.

Constructors
  NameDescription
Public methodSoLDMTopoOctree

Constructor.

Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetFileID

Given a tileID, returns the corresponding fileID.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetLevelMax

Return the level max of the Octree.

Public methodGetLongNumTileIDs Obsolete.

Public methodGetNumFileIDs

Returns the number of fileIDs in the volume.

Public methodGetNumTileIDs

Public methodGetTileID(Int32)

Given a fileID, returns the corresponding tileID.

Public methodGetTileID(SbVec3i32, Int32)

Given the position of a voxel/cell (i,j,k) and the resolution level, returns the tile ID of the corresponding tile.

Public methodGetTilePos

Returns the bounding box, in voxel/cell coordinates, of the specified tile.

Public methodGetTileSize

Return the tilesize used to setup this octree.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInit(SbVec3i32, Int32)
Calls Init(dimension, tileDim, System.Int32(0)).
Public methodInit(SbVec3i32, Int32, Int32)

Initialize with the properties of the data set.

Public methodIsEmpty

Returns false if the octree is empty.

Public methodLevel(Int64)

Returns the resolution level of the given tile Id Note: Octree must be initialized.

Public methodLevel(SoLDMTileID)

Returns the resolution level of the given tile Id Note: Octree must be initialized.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

The SoLDMTopoOctree class provides information about the hierarchy of LDM tiles used for a given dataset, based on the dataset dimensions.

For example you can query the total number of LDM tiles in the data set. You can also query the ID of the tile that contains a specified voxel/cell in the data set and conversely you can query the extent of a specified tile in voxel/cell coordinates.

In VolumeViz LDM every tile has both a tileID and a fileID. The tileID is the unique identifier of a tile in the (conceptual) complete, symmetrical hierarchy. The fileID is the index of a tile in a sequential numbering of all the tiles that actually contain data. The tileID is normally used to identify tiles in an application, but the fileID is used, for example, when calling the readTile method in an SoVolumeReader class. In a cubical volume (all three dimensions the same), there are equal numbers of tileIDs and fileIDs, but in most volumes there are many fewer fileIDs than tileIDs.

See Also