Open Inventor Release 2024.1.1
 
Loading...
Searching...
No Matches
SoLDMDataAccess::DataInfoBox Struct Reference

Information about data returned for an arbitrary box (subvolume). More...

#include <LDM/SoLDMDataAccess.h>

Public Attributes

ErrorValue errorFlag
 Error indicator.
 
int64_t bufferSize
 Size of the requested data in bytes.
 
SbVec3i32 bufferDimension
 Dimensions of the 3D data (in voxels).
 

Detailed Description

Information about data returned for an arbitrary box (subvolume).

Used with the SoLDMDataAccess::getData(int, const SbBox3i32&, SoBufferObject*) method.

The following figure shows the information that is returned.

Definition at line 332 of file SoLDMDataAccess.h.

Member Data Documentation

◆ bufferDimension

SbVec3i32 SoLDMDataAccess::DataInfoBox::bufferDimension

Dimensions of the 3D data (in voxels).

It depends on the resolution. It is equal to the subvolume if resolution = 0.

Definition at line 343 of file SoLDMDataAccess.h.

◆ bufferSize

int64_t SoLDMDataAccess::DataInfoBox::bufferSize

Size of the requested data in bytes.

Used by the application to allocate buffer.

Definition at line 339 of file SoLDMDataAccess.h.

◆ errorFlag

ErrorValue SoLDMDataAccess::DataInfoBox::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 337 of file SoLDMDataAccess.h.


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