MeVisLab Toolbox Reference
SbMLImageProperties Class Reference

Inventor element storing ML image properties in the OpenInventor state. More...

#include <SoMLImageElement.h>

Public Member Functions

 SbMLImageProperties ()=default
 
 SbMLImageProperties (const SbVec3s &_imageSize, const SbVec3f &_voxelSize, MLDataType _dataType, double _minVoxelValue, double _maxVoxelValue, const SbMatrix &_worldToVoxelMatrix)
 
void setOutOfDate ()
 

Public Attributes

bool isUpToDate = false
 
SbVec3s imageSize = {0, 0, 0 }
 
SbVec3f voxelSize = { 0.f,0.f,0.f }
 
MLDataType dataType = { MLint8Type }
 
double minVoxelValue = 0.0
 
double maxVoxelValue = 0.0
 
SbMatrix worldToVoxelMatrix
 

Detailed Description

Inventor element storing ML image properties in the OpenInventor state.

Open Inventor data type to store ML image properties.

Definition at line 25 of file SoMLImageElement.h.

Constructor & Destructor Documentation

◆ SbMLImageProperties() [1/2]

SbMLImageProperties::SbMLImageProperties ( )
default

◆ SbMLImageProperties() [2/2]

SbMLImageProperties::SbMLImageProperties ( const SbVec3s &  _imageSize,
const SbVec3f &  _voxelSize,
MLDataType  _dataType,
double  _minVoxelValue,
double  _maxVoxelValue,
const SbMatrix &  _worldToVoxelMatrix 
)
inline

Definition at line 43 of file SoMLImageElement.h.

Member Function Documentation

◆ setOutOfDate()

void SbMLImageProperties::setOutOfDate ( )
inline

Definition at line 49 of file SoMLImageElement.h.

References isUpToDate.

Member Data Documentation

◆ dataType

MLDataType SbMLImageProperties::dataType = { MLint8Type }

Definition at line 34 of file SoMLImageElement.h.

◆ imageSize

SbVec3s SbMLImageProperties::imageSize = {0, 0, 0 }

Definition at line 31 of file SoMLImageElement.h.

◆ isUpToDate

bool SbMLImageProperties::isUpToDate = false

Definition at line 29 of file SoMLImageElement.h.

Referenced by setOutOfDate().

◆ maxVoxelValue

double SbMLImageProperties::maxVoxelValue = 0.0

Definition at line 37 of file SoMLImageElement.h.

◆ minVoxelValue

double SbMLImageProperties::minVoxelValue = 0.0

Definition at line 36 of file SoMLImageElement.h.

◆ voxelSize

SbVec3f SbMLImageProperties::voxelSize = { 0.f,0.f,0.f }

Definition at line 32 of file SoMLImageElement.h.

◆ worldToVoxelMatrix

SbMatrix SbMLImageProperties::worldToVoxelMatrix

Definition at line 39 of file SoMLImageElement.h.


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