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. | |
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.
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.
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.
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.
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.
SbVec3i32 SoLDMDataAccess::DataInfoPlane::polygonCoord[6] |
Polygon intersecting subvolume in voxel coordinates.
Definition at line 472 of file SoLDMDataAccess.h.
SbVec3i32 SoLDMDataAccess::DataInfoPlane::quadCoord[4] |
Quad corresponding to the returned data in voxel coordinates.
Definition at line 474 of file SoLDMDataAccess.h.
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.
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.