Go to the documentation of this file.
28 #ifndef __Ogre_Volume_HalfFloatGridSource_H__
29 #define __Ogre_Volume_HalfFloatGridSource_H__
74 explicit HalfFloatGridSource(
const String &serializedVolumeFile,
const bool trilinearValue =
true,
const bool trilinearGradient =
false,
const bool sobelGradient =
false);
~HalfFloatGridSource(void)
Destructor.
virtual float getVolumeGridValue(size_t x, size_t y, size_t z) const
Overridden from GridSource.
int mDepthTimesHeight
To have a little bit faster data access.
void setMaxClampedAbsoluteDensity(Real maxClampedAbsoluteDensity)
Sets the maximum absolute density value to be written into the data when combining,...
virtual void setVolumeGridValue(int x, int y, int z, float value)
Overridden from GridSource.
Real getMaxClampedAbsoluteDensity(void) const
Gets the maximum absolute density value to be written into the data when combining,...
A volume source from a 16 Bit float 3D grid capable of loading volume serializations.
#define _OgreVolumeExport
uint16 * mData
The raw volume data.
float Real
Software floating point type.
HalfFloatGridSource(const String &serializedVolumeFile, const bool trilinearValue=true, const bool trilinearGradient=false, const bool sobelGradient=false)
Constructur.
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.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.