Marching Cubes implementation like at http://local.wasp.uwa.edu.au/~pbourke/geometry/polygonise/.
More...
#include <OgreVolumeIsoSurfaceMC.h>
◆ IsoSurfaceMC()
Ogre::Volume::IsoSurfaceMC::IsoSurfaceMC |
( |
const Source * |
src | ) |
|
|
explicit |
Constructor.
- Parameters
-
src | The source for the isovalues and normals there. |
◆ addMarchingCubesTriangles()
virtual void Ogre::Volume::IsoSurfaceMC::addMarchingCubesTriangles |
( |
const Vector3 * |
corners, |
|
|
const Vector4 * |
volumeValues, |
|
|
MeshBuilder * |
mb |
|
) |
| const |
|
virtual |
◆ addMarchingSquaresTriangles()
virtual void Ogre::Volume::IsoSurfaceMC::addMarchingSquaresTriangles |
( |
const Vector3 * |
corners, |
|
|
const Vector4 * |
volumeValues, |
|
|
const size_t * |
indices, |
|
|
const Real |
maxDistance, |
|
|
MeshBuilder * |
mb |
|
) |
| const |
|
virtual |
◆ MS_CORNERS_FRONT
const size_t Ogre::Volume::IsoSurface::MS_CORNERS_FRONT[4] |
|
staticinherited |
To call Marching Squares with a cube on its front.
◆ MS_CORNERS_BACK
const size_t Ogre::Volume::IsoSurface::MS_CORNERS_BACK[4] |
|
staticinherited |
To call Marching Squares with a cube on its back.
◆ MS_CORNERS_LEFT
const size_t Ogre::Volume::IsoSurface::MS_CORNERS_LEFT[4] |
|
staticinherited |
To call Marching Squares with a cube on its left.
◆ MS_CORNERS_RIGHT
const size_t Ogre::Volume::IsoSurface::MS_CORNERS_RIGHT[4] |
|
staticinherited |
To call Marching Squares with a cube on its right.
◆ MS_CORNERS_TOP
const size_t Ogre::Volume::IsoSurface::MS_CORNERS_TOP[4] |
|
staticinherited |
To call Marching Squares with a cube on its top.
◆ MS_CORNERS_BOTTOM
const size_t Ogre::Volume::IsoSurface::MS_CORNERS_BOTTOM[4] |
|
staticinherited |
To call Marching Squares with a cube on its bottom.
The documentation for this class was generated from the following file: