28#ifndef __Ogre_Volume_HalfFloatGridSource_H__
29#define __Ogre_Volume_HalfFloatGridSource_H__
#define _OgreVolumeExport
Reference-counted shared pointer, used for objects where implicit destruction is required.
A volume source from a discrete 3d grid.
A volume source from a 16 Bit float 3D grid capable of loading volume serializations.
uint16 * mData
The raw volume data.
void setMaxClampedAbsoluteDensity(Real maxClampedAbsoluteDensity)
Sets the maximum absolute density value to be written into the data when combining,...
int mDepthTimesHeight
To have a little bit faster data access.
Real getMaxClampedAbsoluteDensity(void) const
Gets the maximum absolute density value to be written into the data when combining,...
Real mMaxClampedAbsoluteDensity
The maximum absolute density value to be written into the data when combining, influencing the compre...
virtual float getVolumeGridValue(size_t x, size_t y, size_t z) const
Overridden from GridSource.
HalfFloatGridSource(const String &serializedVolumeFile, const bool trilinearValue=true, const bool trilinearGradient=false, const bool sobelGradient=false)
Constructur.
virtual void setVolumeGridValue(int x, int y, int z, float value)
Overridden from GridSource.
~HalfFloatGridSource(void)
Destructor.