28 #ifndef __Ogre_Volume_HalfFloatGridSource_H__
29 #define __Ogre_Volume_HalfFloatGridSource_H__
56 virtual float getVolumeGridValue(
size_t x,
size_t y,
size_t z)
const;
60 virtual void setVolumeGridValue(
int x,
int y,
int z,
float value);
74 explicit HalfFloatGridSource(
const String &serializedVolumeFile,
const bool trilinearValue =
true,
const bool trilinearGradient =
false,
const bool sobelGradient =
false);
81 void setMaxClampedAbsoluteDensity(
Real maxClampedAbsoluteDensity);
88 Real getMaxClampedAbsoluteDensity(
void)
const;
A volume source from a 16 Bit float 3D grid capable of loading volume serializations.
float Real
Software floating point type.
int mDepthTimesHeight
To have a little bit faster data access.
Real mMaxClampedAbsoluteDensity
The maximum absolute density value to be written into the data when combining, influencing the compre...
A volume source from a discrete 3d grid.
#define _OgreVolumeExport
uint16 * mData
The raw volume data.