#include <Medical/Analysis/medicalCPUDataCompose/MedicalCPUDataCompositor.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
MedicalCPUDataCompositor () | |
virtual | ~MedicalCPUDataCompositor () |
virtual void | compose (int numVolumeData, const SbVec3i32 &tileDimension, int *vdid, SoBufferObject **inputBuffer, SoBufferObject *outputBuffer) |
virtual void | compose (int numDataSet, const SbVec3i32 &tileDimension, int *vdid, SoBufferObject **inputBuffer, SoDataCompositor::DataType *dataTypes, SoBufferObject *outputBuffer) |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static void | initClass () |
static void | exitClass () |
Public Attributes | |
SoSFBool | useCudaIfAvailable |
MedicalCPUDataCompositor::MedicalCPUDataCompositor | ( | ) |
virtual MedicalCPUDataCompositor::~MedicalCPUDataCompositor | ( | ) | [virtual] |
virtual void MedicalCPUDataCompositor::compose | ( | int | numDataSet, | |
const SbVec3i32 & | tileDimension, | |||
int * | vdid, | |||
SoBufferObject ** | inputBuffer, | |||
SoDataCompositor::DataType * | dataTypes, | |||
SoBufferObject * | outputBuffer | |||
) | [virtual] |
Same as the compose method described above with one additional parameter: dataTypes is an array of SoDataSet::dataType giving the data type of each input buffer (e.g., inputBuffer[0] is of data type dataTypes[0]).
This compose method is called if the convert field is set to FALSE. In this case LDM does not automatically convert data to the final data type, and the application is responsible for doing the conversion if necessary.
NOTE: For compatibility purposes, if this method is not redefined then the version with void* parameters instead of SoBufferObject* will be used.
Reimplemented from SoDataCompositor.
virtual void MedicalCPUDataCompositor::compose | ( | int | numDataSet, | |
const SbVec3i32 & | tileDimension, | |||
int * | vdid, | |||
SoBufferObject ** | inputBuffer, | |||
SoBufferObject * | outputBuffer | |||
) | [virtual] |
The compose method can be overridden in a subclass to specify a custom composition.
Inputs are:
NOTE: For compatibility purposes, if this method is not redefined then the version with void* parameters instead of SoBufferObject* will be used.
Reimplemented from SoDataCompositor.
static void MedicalCPUDataCompositor::exitClass | ( | ) | [static] |
reset static members of this class
Reimplemented from SoDataCompositor.
static SoType MedicalCPUDataCompositor::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoDataCompositor.
virtual SoType MedicalCPUDataCompositor::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoDataCompositor.
static void MedicalCPUDataCompositor::initClass | ( | ) | [static] |
init static members of this class
Reimplemented from SoDataCompositor.