public class SoMemoryDataAdapter extends SoImageDataAdapter
SoImageDataAdapter
for methods to access the data.
File format/default:
MemoryDataAdapter {
extent | 0,0,0, 1,1,1 |
See also:
SoImageDataAdapter
, SoFileDataAdapter
, SoVolumeReaderAdapter
Modifier and Type | Class and Description |
---|---|
static class |
SoMemoryDataAdapter.LayerOrganizations
Layer organization.
|
SoImageDataAdapter.Interpretations
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
static int |
CONTIGUOUS_PER_LAYER
Deprecated.
|
static int |
CONTIGUOUS_PER_PIXEL
Deprecated.
|
static int |
CONTIGUOUS_PER_PLANE
Deprecated.
|
static int |
CONTIGUOUS_PER_VOLUME
Deprecated.
|
BINARY, extent, interpretation, LABEL, orientation, VALUE
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoMemoryDataAdapter()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static SoMemoryDataAdapter |
createMemoryDataAdapter(SbVec4i32 dimension,
SbImageDataType imageInfos,
SoMemoryDataAdapter.LayerOrganizations organization,
SoBufferObject data)
Factory method that creates an adapter from an existing block of memory.
|
SoBufferObject |
getBufferObject()
Returns the buffer object containing the image data.
|
getColumnDirection, getDataAccessor, getExtent, getImageDataType, getIndexToPhysicalTransformation, getInterpretation, getOrigin, getPlaneDirection, getRowDirection, getSize, getVoxelSize, setDirection, setInterpretation, setOrigin, setVoxelSize
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int CONTIGUOUS_PER_PIXEL
SoMemoryDataAdapter.LayerOrganizations.CONTIGUOUS_PER_PIXEL
instead.@Deprecated public static final int CONTIGUOUS_PER_LAYER
SoMemoryDataAdapter.LayerOrganizations.CONTIGUOUS_PER_LAYER
instead.@Deprecated public static final int CONTIGUOUS_PER_PLANE
SoMemoryDataAdapter.LayerOrganizations.CONTIGUOUS_PER_PLANE
instead.@Deprecated public static final int CONTIGUOUS_PER_VOLUME
SoMemoryDataAdapter.LayerOrganizations.CONTIGUOUS_PER_VOLUME
instead.public SoMemoryDataAdapter()
Please use createMemoryDataAdapter()
to create a Memory adapter from existing block of memory.
public SoBufferObject getBufferObject()
public static SoMemoryDataAdapter createMemoryDataAdapter(SbVec4i32 dimension, SbImageDataType imageInfos, SoMemoryDataAdapter.LayerOrganizations organization, SoBufferObject data)
SoMemoryDataAdapter
stores its data in CONTIGUOUS_PER_PIXEL. Data may be copied and reorganized if LayerOrganization is not CONTIGUOUS_PER_PIXEL.
dimension
- Dimension of the buffer (width, height, depth, timestep).
imageInfos
- Define the format type of data.
organization
- Define the organization of layers.
data
- Buffer object to map. If NULL a buffer is automatically allocated and its values are initialized to 0.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com