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

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

#include <LDM/SoLDMDataAccess.h>

Public Attributes

ErrorValue errorFlag
 Error indicator.
 
int64_t bufferSize
 Size of the requested data in bytes.
 
SbVec2i32 bufferDimension
 Dimension of the 2D data matrix (in voxels).
 
int numPolygonPoints
 Number of points of the polygon intersecting subvolume.
 
SbVec3i32 polygonCoord [6]
 Polygon intersecting subvolume in voxel coordinates.
 
SbVec3i32 quadCoord [4]
 Quad corresponding to the returned data in voxel coordinates.
 
int uAxis
 Axis corresponding to the first dimension of the returned array.
 
int vAxis
 Axis corresponding to the second dimension of the returned array.
 

Detailed Description

Information about data returned for an arbitrary plane.

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

The following figure shows the information that is returned.

Definition at line 456 of file SoLDMDataAccess.h.

Member Data Documentation

◆ bufferDimension

SbVec2i32 SoLDMDataAccess::DataInfoPlane::bufferDimension

Dimension of the 2D data matrix (in voxels).

The dimension depends on the resolution.

Definition at line 465 of file SoLDMDataAccess.h.

◆ bufferSize

int64_t SoLDMDataAccess::DataInfoPlane::bufferSize

Size of the requested data in bytes.

Used by the application to allocate buffer.

Definition at line 463 of file SoLDMDataAccess.h.

◆ errorFlag

ErrorValue SoLDMDataAccess::DataInfoPlane::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 461 of file SoLDMDataAccess.h.

◆ numPolygonPoints

int SoLDMDataAccess::DataInfoPlane::numPolygonPoints

Number of points of the polygon intersecting subvolume.

The polygon will have 3, 4, 5, or 6 vertices depending on how the plane intersects the subvolume.

Definition at line 470 of file SoLDMDataAccess.h.

◆ polygonCoord

SbVec3i32 SoLDMDataAccess::DataInfoPlane::polygonCoord[6]

Polygon intersecting subvolume in voxel coordinates.

Definition at line 472 of file SoLDMDataAccess.h.

◆ quadCoord

SbVec3i32 SoLDMDataAccess::DataInfoPlane::quadCoord[4]

Quad corresponding to the returned data in voxel coordinates.

Definition at line 474 of file SoLDMDataAccess.h.

◆ uAxis

int SoLDMDataAccess::DataInfoPlane::uAxis

Axis corresponding to the first dimension of the returned array.

0 = x, 1 = y, 2 = z.

Definition at line 478 of file SoLDMDataAccess.h.

◆ vAxis

int SoLDMDataAccess::DataInfoPlane::vAxis

Axis corresponding to the second dimension of the returned array.

0 = x, 1 = y, 2 = z.

Definition at line 482 of file SoLDMDataAccess.h.


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