13#ifndef SO_MLIMAGE_ELEMENT_H 
   14#define SO_MLIMAGE_ELEMENT_H 
   19#include "SoMLSupportSystem.h" 
   20#include <Inventor/elements/SoReplacedElement.h> 
   21#include <Inventor/SbLinear.h> 
   43    inline SbMLImageProperties(
const SbVec3s& _imageSize, 
const SbVec3f& _voxelSize, 
MLDataType _dataType, 
double _minVoxelValue, 
double _maxVoxelValue, 
const SbMatrix& _worldToVoxelMatrix)
 
 
 
   56   typedef SoReplacedElement inherited;
 
 
Inventor element storing ML image properties in the OpenInventor state.
 
SbMLImageProperties()=default
 
SbMatrix worldToVoxelMatrix
 
SbMLImageProperties(const SbVec3s &_imageSize, const SbVec3f &_voxelSize, MLDataType _dataType, double _minVoxelValue, double _maxVoxelValue, const SbMatrix &_worldToVoxelMatrix)
 
Inventor element storing ML image properties in the Open Inventor state.
 
static void initClass()
Initialize class with runtime type system.
 
static void set(SoState *state, SoNode *node, const SbMLImageProperties &imgProps)
Sets the current ML image properties in the state.
 
SbMLImageProperties _imgProps
 
~SoMLImageElement() override
Destructor.
 
static const SbMLImageProperties & get(SoState *state)
Returns the current ML image properties from the state.
 
MLint32 MLDataType
MLDataType.
 
@ MLint8Type
Enumerator for the signed 8-bit ML integer type.