MedicalCPUDataCompositor Class Reference

#include <Medical/Analysis/medicalCPUDataCompose/MedicalCPUDataCompositor.h>

Inheritance diagram for MedicalCPUDataCompositor:
SoDataCompositor SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

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

Detailed Description


Constructor & Destructor Documentation

MedicalCPUDataCompositor::MedicalCPUDataCompositor (  ) 
virtual MedicalCPUDataCompositor::~MedicalCPUDataCompositor (  )  [virtual]

Member Function Documentation

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:

  • numDataSet is the number of data sets to compose.
  • tileDimension specifies the dimension of the tile (same for each data set).
  • vdid is an array of integers giving the id of each data set (set by the dataSetId field of the SoDataSet node).
  • inputBuffer is an array of buffers containing the tile of each data set. For example, inputBuffer[0] is the data corresponding to the data set with id vdid[0] . Each tile has already been converted to the final data type (dataType field) if necessary.
  • outputBuffer is the buffer to fill with the composed data (allocated by LDM, filled in by the compose method). The outputBuffer is of type dataType (number of bytes returned by getDataSize).

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.


Member Data Documentation


The documentation for this class was generated from the following file:

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/