public class SoCpuBufferCompressed extends SoCpuBufferObject
See also:
SoBufferPropertiesInterface, SoCpuBufferObject
SoBufferObject.AccessModes
Inventor.ConstructorCommand
READ_ONLY, READ_WRITE, SET, SO_BUFFER_SIZE_ALL
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoCpuBufferCompressed()
Default constructor.
|
SoCpuBufferCompressed(SoDataCompressor compressor)
Constructor with compressor given as parameter.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getMinMax()
Get the min and max values in the buffer, if they are known.
|
long |
getRealSize()
Returns the size of the uncompressed data in bytes.
|
void |
setCompressor(SoDataCompressor compressor)
Set the compressor used to decompress buffer.
|
void |
setMinMax(double min,
double max)
Set the min and max values for this buffer.
|
clearInstance, map, map, map, map, memcpy, memcpy, memcpy, memcpy, setBuffer, setSize, unmap, unmap
createInstance, dispose, getBufferObjectCache, getContext, getMappedBufferObject, getMappingAccessMode, getMappingSize, getMappingStartPosition, getSize, isDisposable, lockBuffer, map, map, map, map, map, map, memcpy, memcpy, memcpy, memcpy, memcpy, memcpy, memcpy, memcpy, setMappedBufferObject, setMappingAccessMode, setMappingZoneInformation, unlockBuffer, unmap, unmap
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SoCpuBufferCompressed()
public SoCpuBufferCompressed(SoDataCompressor compressor)
public void setMinMax(double min, double max)
min
- user variable containing min value
max
- user variable containing max valuepublic long getRealSize()
public void setCompressor(SoDataCompressor compressor)
compressor
- Pointer to the compressor to usepublic double[] getMinMax()
min
- user variable to store min value
max
- user variable to store max valueGenerated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com