OGRE-Next
3.0.0
Object-Oriented Graphics Rendering Engine
|
Marching Cubes implementation like at http://local.wasp.uwa.edu.au/~pbourke/geometry/polygonise/. More...
#include <OgreVolumeIsoSurfaceMC.h>
Public Member Functions | |
IsoSurfaceMC (const Source *src) | |
Constructor. More... | |
virtual void | addMarchingCubesTriangles (const Vector3 *corners, const Vector4 *volumeValues, MeshBuilder *mb) const |
Overridden from IsoSurface. More... | |
virtual void | addMarchingSquaresTriangles (const Vector3 *corners, const Vector4 *volumeValues, const size_t *indices, const Real maxDistance, MeshBuilder *mb) const |
Overridden from IsoSurface. More... | |
Public Member Functions inherited from Ogre::Volume::IsoSurface | |
virtual | ~IsoSurface () |
Additional Inherited Members | |
Static Public Attributes inherited from Ogre::Volume::IsoSurface | |
static const size_t | MS_CORNERS_BACK [4] |
To call Marching Squares with a cube on its back. More... | |
static const size_t | MS_CORNERS_BOTTOM [4] |
To call Marching Squares with a cube on its bottom. More... | |
static const size_t | MS_CORNERS_FRONT [4] |
To call Marching Squares with a cube on its front. More... | |
static const size_t | MS_CORNERS_LEFT [4] |
To call Marching Squares with a cube on its left. More... | |
static const size_t | MS_CORNERS_RIGHT [4] |
To call Marching Squares with a cube on its right. More... | |
static const size_t | MS_CORNERS_TOP [4] |
To call Marching Squares with a cube on its top. More... | |
Marching Cubes implementation like at http://local.wasp.uwa.edu.au/~pbourke/geometry/polygonise/.
|
explicit |
Constructor.
src | The source for the isovalues and normals there. |
|
virtual |
Overridden from IsoSurface.
Implements Ogre::Volume::IsoSurface.
|
virtual |
Overridden from IsoSurface.
Implements Ogre::Volume::IsoSurface.