Class SoFileDataAdapter

  • All Implemented Interfaces:
    SafeDisposable

    @Deprecated(since="2023.2")
    public class SoFileDataAdapter
    extends SoImageDataAdapter
    Deprecated.
    As of Open Inventor 2023.2. ImageViz API is replaced by the new ImageDev toolkit.
    Image data adapter for data in a file. Loads image data from a file. See SoImageDataAdapter for methods to access the data.

    NOTE:SoFileDataAdapter provides access to the image data but does not guarantee that all the data is loaded in memory. Only SoMemoryDataAdapter is guaranteed to do that. As a result, only an SoMemoryDataAdapter (or an SoProxyDataAdapter that is attached to an SoMemoryDataAdapter) is completely safe to use as input for ImageViz filter engines. Many engines will work with data partially in memory, but some, for example SoImageRegistrationTransform, will only work if the image is completely in memory. See the documentation for the specific engines you are using. Conveniently, the utility method SoImageDataAdapterHelper.getAppropriateAdapter() returns an SoMemoryDataAdapter object if there is enough memory to load all the data.

    File format/default:

    FileDataAdapter {

      fileName ""
      maxMemory 500
      //Inherited
      interpretation VALUE
      extent 0,0,0, 1,1,1
      orientation 0 0 0 1
    }

    SoImageDataAdapter, SoMemoryDataAdapter, SoProxyDataAdapter, SoVolumeReaderAdapter, SoImageDataAdapterHelper

    • Constructor Detail

      • SoFileDataAdapter

        public SoFileDataAdapter()
        Deprecated.
        Default constructor.