Class 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 class SoVolumeConverter 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
    • Constructor Detail

      • SoBaseLDMConverter

        public SoBaseLDMConverter()
        Constructor.
    • 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 that SoBaseLDMConverter 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 '.'