Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoLDMDataAccess::DataInfo Struct Reference

Information about returned data when directly accessing the data rather than copying the data. More...

#include <LDM/SoLDMDataAccess.h>

Public Attributes

ErrorValue errorFlag
 Error indicator.
 
SoLDMTileID tileID
 LDM tile ID of the tile that contains the data at tilePosition.
 
SbVec3i32 tileDimension
 Dimensions of the data tile in voxels.
 
SbBox3i32 tilePosition
 Position of the data tile in voxel coordinates (min = lower left back corner, max = upper right front corner).
 
int64_t bufferSize
 Size of the data tile in bytes.
 
void * tileData
 Pointer to the data tile, valid until the releaseData() method of SoLDMDataAccess is called or the associated SoVolumeData is destroyed
 

Detailed Description

Information about returned data when directly accessing the data rather than copying the data.

Used with the SoLDMDataAccess::getData(int, const SbVec3i32&) method.

Definition at line 491 of file SoLDMDataAccess.h.

Member Data Documentation

◆ bufferSize

int64_t SoLDMDataAccess::DataInfo::bufferSize

Size of the data tile in bytes.

Definition at line 505 of file SoLDMDataAccess.h.

◆ errorFlag

ErrorValue SoLDMDataAccess::DataInfo::errorFlag

Error indicator.

Use enum ErrorValue. Note that even when errorFlag is CORRECT, bufferSize may be zero meaning no data was returned.

Definition at line 496 of file SoLDMDataAccess.h.

◆ tileData

void* SoLDMDataAccess::DataInfo::tileData

Pointer to the data tile, valid until the releaseData() method of SoLDMDataAccess is called or the associated SoVolumeData is destroyed

Definition at line 510 of file SoLDMDataAccess.h.

◆ tileDimension

SbVec3i32 SoLDMDataAccess::DataInfo::tileDimension

Dimensions of the data tile in voxels.

Definition at line 500 of file SoLDMDataAccess.h.

◆ tileID

SoLDMTileID SoLDMDataAccess::DataInfo::tileID

LDM tile ID of the tile that contains the data at tilePosition.

Definition at line 498 of file SoLDMDataAccess.h.

◆ tilePosition

SbBox3i32 SoLDMDataAccess::DataInfo::tilePosition

Position of the data tile in voxel coordinates (min = lower left back corner, max = upper right front corner).

Definition at line 503 of file SoLDMDataAccess.h.


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