Class SoDataExtract


  • public class SoDataExtract
    extends Inventor
    Data extraction algorithms for buffers. The Data extract module provides basic algorithms for extracting a specific subset of the data from a buffer. For example, extracting an axis aligned slice from a buffer that contains an LDM volume data tile.

    Examples:

    See Also:
    SoAlgorithms, SoArithmetic, SoConversion, SoConvolution, SoSeismic
    • Constructor Summary

      Constructors 
      Constructor Description
      SoDataExtract()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int copyPlane​(SoBufferObject inputTile, int tileDimX, int tileDimY, int tileDimZ, int originX, int originY, int originZ, int datumSize, int bufDimX, int qminX, int qminY, int qminZ, int qmaxX, int qmaxY, int qmaxZ, float normI, float normJ, float normK, float distance, int xAxis, int yAxis, int zAxis, SoBufferObject outputBuffer)
      Copy a plane.
      int copyTile​(SoBufferObject inputTile, int tileDimx, int tileDimy, int tileDimz, int originX, int originY, int originZ, int datumSize, int bufDimX, int bufDimY, int bufDimZ, int vMinX, int vMinY, int vMinZ, int vMaxX, int vMaxY, int vMaxZ, SoBufferObject outputBuffer)
      Copy a tile.
      int getXSliceFromTile​(SoBufferObject inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoBufferObject outputSlice)
      Extract an X axis slice
      Given a buffer containing an LDM volume data tile, extract the Nth slice of data along the X axis, where slices are numbered 0 to dimx-1.
      int getYSliceFromTile​(SoBufferObject inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoBufferObject outputSlice)
      Extract an X axis slice
      Given a buffer containing an LDM volume data tile, extract the Nth slice of data along the X axis, where slices are numbered 0 to dimx-1.
      int getZSliceFromTile​(SoBufferObject inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoBufferObject outputSlice)
      Extract an X axis slice
      Given a buffer containing an LDM volume data tile, extract the Nth slice of data along the X axis, where slices are numbered 0 to dimx-1.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SoDataExtract

        public SoDataExtract()
        Constructor.
    • Method Detail

      • getXSliceFromTile

        public int getXSliceFromTile​(SoBufferObject inputTile,
                                     int dimx,
                                     int dimy,
                                     int dimz,
                                     int datumSize,
                                     int slice,
                                     SoBufferObject outputSlice)
        Extract an X axis slice
        Given a buffer containing an LDM volume data tile, extract the Nth slice of data along the X axis, where slices are numbered 0 to dimx-1.
      • copyTile

        public int copyTile​(SoBufferObject inputTile,
                            int tileDimx,
                            int tileDimy,
                            int tileDimz,
                            int originX,
                            int originY,
                            int originZ,
                            int datumSize,
                            int bufDimX,
                            int bufDimY,
                            int bufDimZ,
                            int vMinX,
                            int vMinY,
                            int vMinZ,
                            int vMaxX,
                            int vMaxY,
                            int vMaxZ,
                            SoBufferObject outputBuffer)
        Copy a tile.
      • getZSliceFromTile

        public int getZSliceFromTile​(SoBufferObject inputTile,
                                     int dimx,
                                     int dimy,
                                     int dimz,
                                     int datumSize,
                                     int slice,
                                     SoBufferObject outputSlice)
        Extract an X axis slice
        Given a buffer containing an LDM volume data tile, extract the Nth slice of data along the X axis, where slices are numbered 0 to dimx-1.
      • copyPlane

        public int copyPlane​(SoBufferObject inputTile,
                             int tileDimX,
                             int tileDimY,
                             int tileDimZ,
                             int originX,
                             int originY,
                             int originZ,
                             int datumSize,
                             int bufDimX,
                             int qminX,
                             int qminY,
                             int qminZ,
                             int qmaxX,
                             int qmaxY,
                             int qmaxZ,
                             float normI,
                             float normJ,
                             float normK,
                             float distance,
                             int xAxis,
                             int yAxis,
                             int zAxis,
                             SoBufferObject outputBuffer)
        Copy a plane.
      • getYSliceFromTile

        public int getYSliceFromTile​(SoBufferObject inputTile,
                                     int dimx,
                                     int dimy,
                                     int dimz,
                                     int datumSize,
                                     int slice,
                                     SoBufferObject outputSlice)
        Extract an X axis slice
        Given a buffer containing an LDM volume data tile, extract the Nth slice of data along the X axis, where slices are numbered 0 to dimx-1.