Package com.openinventor.ldm.converters
Class SoBaseLDMConverter
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.ldm.converters.SoConverter
-
- com.openinventor.ldm.converters.SoBaseLDMConverter
-
- Direct Known Subclasses:
SoVolumeConverter
public class SoBaseLDMConverter extends SoConverter
Base class for converting data sets into the LDM format. This is the base class for converting existing volume data sets into the LDM (Large Data Management) format. Normally you will use, for example, the derived classSoVolumeConverter
to convert volume data.The LDM converter classes provide many powerful features. Information common to all converter classes is documented in
SoConverter
, including:- Command line parsing for easy creation of stand-alone converter programs.
- Checkpoint and restart for interrupted conversions.
- Multiple subsampling algorithms for creating low resolution tiles.
- Automatic loading of any supported data format (see
SoVolumeData
). - Conversion of any data format by providing a custom reader (see
SoVolumeReader
). - Optional data compression to reduce disk space.
- Optional data type conversion, e.g. float to byte.
- See Also:
SoConverter
,SoVolumeConverter
,SoVolumeReader
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.ldm.converters.SoConverter
SoConverter.ConverterErrors
-
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 Constructor Description SoBaseLDMConverter()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SoVolumeReader
getReader(java.lang.String filename, java.lang.String fileExt)
Returns a custom reader according to the given filename and extension.-
Methods inherited from class com.openinventor.ldm.converters.SoConverter
convert, convert, convert
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
getReader
public SoVolumeReader getReader(java.lang.String filename, java.lang.String fileExt)
Returns a custom reader according to the given filename and extension. Returns NULL by default, meaning thatSoBaseLDMConverter
is configured to run with a predefined reader not a custom one. The method must be overridden in a derived class to return a user-defined custom reader.- Parameters:
filename
- part of the filename without extension.fileExt
- part of the filename after the last '.'
-
-