Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
SoLDMDataAccess::DataInfoLine Struct Reference

Information about data returned for an arbitrary line. More...

#include <LDM/SoLDMDataAccess.h>

Public Attributes

ErrorValue errorFlag
 Error indicator.
 
int64_t bufferSize
 Size of the requested data in bytes.
 
int bufferDimension
 Dimension of the 1D array of data (in voxels).
 
SbVec3i32 lineCoord [2]
 First and last point of the segment of data in voxel coordinates.
 

Detailed Description

Information about data returned for an arbitrary line.

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

The following figure shows the information that is returned.

Definition at line 377 of file SoLDMDataAccess.h.

Member Data Documentation

◆ bufferDimension

int SoLDMDataAccess::DataInfoLine::bufferDimension

Dimension of the 1D array of data (in voxels).

The dimension depends on the resolution.

Definition at line 386 of file SoLDMDataAccess.h.

◆ bufferSize

int64_t SoLDMDataAccess::DataInfoLine::bufferSize

Size of the requested data in bytes.

Used by the application to allocate buffer.

Definition at line 384 of file SoLDMDataAccess.h.

◆ errorFlag

ErrorValue SoLDMDataAccess::DataInfoLine::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 382 of file SoLDMDataAccess.h.

◆ lineCoord

SbVec3i32 SoLDMDataAccess::DataInfoLine::lineCoord[2]

First and last point of the segment of data in voxel coordinates.

Definition at line 388 of file SoLDMDataAccess.h.


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