Data extraction algorithms for CUDA buffers More...
#include <Inventor/cuda/algorithms/SoDataExtract.h>
Public Member Functions | |
SoCudaDataExtract () | |
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 (SoCudaBufferObject *inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoCudaBufferObject *outputSlice) |
int | getYSliceFromTile (SoCudaBufferObject *inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoCudaBufferObject *outputSlice) |
int | getZSliceFromTile (SoCudaBufferObject *inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoCudaBufferObject *outputSlice) |
int | copyTile (SoCudaBufferObject *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, SoCudaBufferObject *outputBuffer) |
int | copyPlane (SoCudaBufferObject *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, SoCudaBufferObject *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:
SoCudaDataExtract::SoCudaDataExtract | ( | ) |
Constructor.
int SoCudaDataExtract::copyPlane | ( | SoCudaBufferObject * | 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, | |||
SoCudaBufferObject * | outputBuffer | |||
) |
Copy plane from CUDA buffer.
virtual int SoCudaDataExtract::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 SoCudaDataExtract::copyTile | ( | SoCudaBufferObject * | 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, | |||
SoCudaBufferObject * | outputBuffer | |||
) |
Copy tile from CUDA buffer.
virtual int SoCudaDataExtract::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 SoCudaDataExtract::getXSliceFromTile | ( | SoCudaBufferObject * | inputTile, | |
int | dimx, | |||
int | dimy, | |||
int | dimz, | |||
int | datumSize, | |||
int | slice, | |||
SoCudaBufferObject * | outputSlice | |||
) |
Extract X axis slice from CUDA buffer.
virtual int SoCudaDataExtract::getXSliceFromTile | ( | SoBufferObject * | inputTile, | |
int | dimx, | |||
int | dimy, | |||
int | dimz, | |||
int | datumSize, | |||
int | slice, | |||
SoBufferObject * | outputSlice | |||
) | [virtual] |
Extract X axis slice.
Reimplemented from SoDataExtract.
int SoCudaDataExtract::getYSliceFromTile | ( | SoCudaBufferObject * | inputTile, | |
int | dimx, | |||
int | dimy, | |||
int | dimz, | |||
int | datumSize, | |||
int | slice, | |||
SoCudaBufferObject * | outputSlice | |||
) |
Extract Y axis slice from CUDA buffer.
virtual int SoCudaDataExtract::getYSliceFromTile | ( | SoBufferObject * | inputTile, | |
int | dimx, | |||
int | dimy, | |||
int | dimz, | |||
int | datumSize, | |||
int | slice, | |||
SoBufferObject * | outputSlice | |||
) | [virtual] |
Extract Y axis slice.
Reimplemented from SoDataExtract.
int SoCudaDataExtract::getZSliceFromTile | ( | SoCudaBufferObject * | inputTile, | |
int | dimx, | |||
int | dimy, | |||
int | dimz, | |||
int | datumSize, | |||
int | slice, | |||
SoCudaBufferObject * | outputSlice | |||
) |
Extract Z axis slice from CUDA buffer.
virtual int SoCudaDataExtract::getZSliceFromTile | ( | SoBufferObject * | inputTile, | |
int | dimx, | |||
int | dimy, | |||
int | dimz, | |||
int | datumSize, | |||
int | slice, | |||
SoBufferObject * | outputSlice | |||
) | [virtual] |
Extract Z axis slice.
Reimplemented from SoDataExtract.