Package com.openinventor.ldm.compressors
Class SoGzipDataCompressor
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.ldm.compressors.SoDataCompressor
com.openinventor.ldm.compressors.SoGzipDataCompressor
Gzip data compression.
This class implements a compression scheme based on zlib. It is a lossless compression and can be used on any data set type.
The setCompressionLevel method (inherited from SoDataCompressor
or in SoConverterParameters
) accepts values between 0 and 9. 0 gives no compression, 9 gives best compression but slower speed. Default is 3.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.openinventor.ldm.compressors.SoDataCompressor
allocateCompressedBuffer, crc32, getAppropriateCompressor, getCompressedBuffer, getCompressionFormatName, getCompressionLevel, isLossless, setCompressionLevel
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Constructor Details
-
SoGzipDataCompressor
public SoGzipDataCompressor()Constructor.
-