28 #ifndef __Ogre_Volume_IsoSurface_H__
29 #define __Ogre_Volume_IsoSurface_H__
59 static const size_t MS_CORNERS_FRONT[4];
62 static const size_t MS_CORNERS_BACK[4];
65 static const size_t MS_CORNERS_LEFT[4];
68 static const size_t MS_CORNERS_RIGHT[4];
71 static const size_t MS_CORNERS_TOP[4];
74 static const size_t MS_CORNERS_BOTTOM[4];
100 virtual void addMarchingSquaresTriangles(
const Vector3 *corners,
const Vector4 *volumeValues,
const size_t *indices,
const Real maxDistance,
MeshBuilder *mb)
const = 0;
4-dimensional homogeneous vector.
float Real
Software floating point type.
static const Real ISO_LEVEL
The value where our isosurface is.
Standard 3-dimensional vector.
const Source * mSrc
To get the isovalue and normal.
Abstract class defining the density function.
#define _OgreVolumeExport
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
Class to build up a mesh with vertices and indices.