Data extraction algorithms for OpenCL buffers More...
#include <Inventor/OpenCL/algorithms/SoDataExtract.h>
Public Member Functions | |
SoOpenCLDataExtract () | |
virtual int | getXSliceFromTile (SoBufferObject *inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoBufferObject *outputSlice) |
virtual int | getYSliceFromTile (SoBufferObject *inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoBufferObject *outputSlice) |
virtual int | getZSliceFromTile (SoBufferObject *inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoBufferObject *outputSlice) |
virtual 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) |
virtual 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) |
int | getXSliceFromTile (SoOpenCLBufferObject *inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoOpenCLBufferObject *outputSlice) |
int | getYSliceFromTile (SoOpenCLBufferObject *inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoOpenCLBufferObject *outputSlice) |
int | getZSliceFromTile (SoOpenCLBufferObject *inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoOpenCLBufferObject *outputSlice) |
int | copyTile (SoOpenCLBufferObject *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, SoOpenCLBufferObject *outputBuffer) |
int | copyPlane (SoOpenCLBufferObject *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, SoOpenCLBufferObject *outputBuffer) |
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.
NOTE: The classes in this module do not exist in Open Inventor 10.0 and later.Examples:
SoOpenCLDataExtract::SoOpenCLDataExtract | ( | ) |
Constructor.
int SoOpenCLDataExtract::copyPlane | ( | SoOpenCLBufferObject * | 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, | |||
SoOpenCLBufferObject * | outputBuffer | |||
) |
Copy plane from OPENCL buffer.
virtual int SoOpenCLDataExtract::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 | |||
) | [virtual] |
Copy plane.
Reimplemented from SoDataExtract.
int SoOpenCLDataExtract::copyTile | ( | SoOpenCLBufferObject * | 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, | |||
SoOpenCLBufferObject * | outputBuffer | |||
) |
Copy tile from OPENCL buffer.
virtual int SoOpenCLDataExtract::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 | |||
) | [virtual] |
Copy tile.
Reimplemented from SoDataExtract.
int SoOpenCLDataExtract::getXSliceFromTile | ( | SoOpenCLBufferObject * | inputTile, | |
int | dimx, | |||
int | dimy, | |||
int | dimz, | |||
int | datumSize, | |||
int | slice, | |||
SoOpenCLBufferObject * | outputSlice | |||
) |
Extract X axis slice from OPENCL buffer.
virtual int SoOpenCLDataExtract::getXSliceFromTile | ( | SoBufferObject * | inputTile, | |
int | dimx, | |||
int | dimy, | |||
int | dimz, | |||
int | datumSize, | |||
int | slice, | |||
SoBufferObject * | outputSlice | |||
) | [virtual] |
Extract X axis slice.
Reimplemented from SoDataExtract.
int SoOpenCLDataExtract::getYSliceFromTile | ( | SoOpenCLBufferObject * | inputTile, | |
int | dimx, | |||
int | dimy, | |||
int | dimz, | |||
int | datumSize, | |||
int | slice, | |||
SoOpenCLBufferObject * | outputSlice | |||
) |
Extract Y axis slice from OPENCL buffer.
virtual int SoOpenCLDataExtract::getYSliceFromTile | ( | SoBufferObject * | inputTile, | |
int | dimx, | |||
int | dimy, | |||
int | dimz, | |||
int | datumSize, | |||
int | slice, | |||
SoBufferObject * | outputSlice | |||
) | [virtual] |
Extract Y axis slice.
Reimplemented from SoDataExtract.
int SoOpenCLDataExtract::getZSliceFromTile | ( | SoOpenCLBufferObject * | inputTile, | |
int | dimx, | |||
int | dimy, | |||
int | dimz, | |||
int | datumSize, | |||
int | slice, | |||
SoOpenCLBufferObject * | outputSlice | |||
) |
Extract Z axis slice from OPENCL buffer.
virtual int SoOpenCLDataExtract::getZSliceFromTile | ( | SoBufferObject * | inputTile, | |
int | dimx, | |||
int | dimy, | |||
int | dimz, | |||
int | datumSize, | |||
int | slice, | |||
SoBufferObject * | outputSlice | |||
) | [virtual] |
Extract Z axis slice.
Reimplemented from SoDataExtract.