Package com.openinventor.ldm
Class SoLDMDataAccess.DataInfoPlane
- java.lang.Object
-
- com.openinventor.ldm.SoLDMDataAccess.DataInfoPlane
-
- Enclosing class:
- SoLDMDataAccess
public class SoLDMDataAccess.DataInfoPlane extends java.lang.Object
Information about data returned for an arbitrary plane intersecting a specified subvolume. The plane and subvolume are specified using the appropriate getData method of the SoLDMDataAccess class. The following figure shows the information that is returned.
-
-
Field Summary
Fields Modifier and Type Field Description SbVec2i32
bufferDimension
Dimension of the 2D data matrix (in voxels).long
bufferSize
Size of buffer (in bytes), used by the application to allocate buffer.int
errorFlag
Error indicatorint
numPolygonPoints
Number of points of the polygon intersecting subvolume.SbVec3i32[]
polygonCoord
Polygon intersecting subvolume in voxel coordinates.SbVec3i32[]
quadCoord
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.
-
Constructor Summary
Constructors Constructor Description DataInfoPlane()
-
-
-
Field Detail
-
errorFlag
public int errorFlag
Error indicator
-
bufferSize
public long bufferSize
Size of buffer (in bytes), used by the application to allocate buffer.
-
bufferDimension
public SbVec2i32 bufferDimension
Dimension of the 2D data matrix (in voxels). The dimension depends on the resolution.
-
numPolygonPoints
public int 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.
-
polygonCoord
public SbVec3i32[] polygonCoord
Polygon intersecting subvolume in voxel coordinates.
-
quadCoord
public SbVec3i32[] quadCoord
Quad corresponding to the returned data in voxel coordinates.
-
uAxis
public int uAxis
Axis corresponding to the first dimension of the returned array. 0 = x, 1 = y, 2 = z.
-
vAxis
public int vAxis
Axis corresponding to the second dimension of the returned array. 0 = x, 1 = y, 2 = z.
-
-