Abstract IsoSurface.
More...
#include <OgreVolumeIsoSurface.h>
|
virtual | ~IsoSurface (void) |
|
virtual void | addMarchingCubesTriangles (const Vector3 *corners, const Vector4 *volumeValues, MeshBuilder *mb) const =0 |
| Adds triangles to a MeshBuilder via Marching Cubes.
|
|
virtual void | addMarchingSquaresTriangles (const Vector3 *corners, const Vector4 *volumeValues, const size_t *indices, const Real maxDistance, MeshBuilder *mb) const =0 |
| Adds triangles to a MeshBuilder via Marching Squares.
|
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info
|
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new
|
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info
|
|
|
static const size_t | MS_CORNERS_BACK [4] |
| To call Marching Squares with a cube on its back.
|
|
static const size_t | MS_CORNERS_BOTTOM [4] |
| To call Marching Squares with a cube on its bottom.
|
|
static const size_t | MS_CORNERS_FRONT [4] |
| To call Marching Squares with a cube on its front.
|
|
static const size_t | MS_CORNERS_LEFT [4] |
| To call Marching Squares with a cube on its left.
|
|
static const size_t | MS_CORNERS_RIGHT [4] |
| To call Marching Squares with a cube on its right.
|
|
static const size_t | MS_CORNERS_TOP [4] |
| To call Marching Squares with a cube on its top.
|
|
|
const Source * | mSrc |
| To get the isovalue and normal.
|
|
Abstract IsoSurface.
Definition at line 40 of file OgreVolumeIsoSurface.h.
◆ IsoSurface()
Ogre::Volume::IsoSurface::IsoSurface |
( |
const Source * | src | ) |
|
|
explicitprotected |
◆ ~IsoSurface()
virtual Ogre::Volume::IsoSurface::~IsoSurface |
( |
void | | ) |
|
|
virtual |
◆ addMarchingCubesTriangles()
virtual void Ogre::Volume::IsoSurface::addMarchingCubesTriangles |
( |
const Vector3 * | corners, |
|
|
const Vector4 * | volumeValues, |
|
|
MeshBuilder * | mb ) const |
|
pure virtual |
◆ addMarchingSquaresTriangles()
virtual void Ogre::Volume::IsoSurface::addMarchingSquaresTriangles |
( |
const Vector3 * | corners, |
|
|
const Vector4 * | volumeValues, |
|
|
const size_t * | indices, |
|
|
const Real | maxDistance, |
|
|
MeshBuilder * | mb ) const |
|
pure virtual |
Adds triangles to a MeshBuilder via Marching Squares.
- Parameters
-
corners | The corners of the cube where one side is to be triangulated. |
volumeValues | The cached volume values, one Vector4 consists of gradient (x, y, z) and density (w). If 0 is given, it will be calculated. |
indices | The four corners of the cube (== one side) to triangulate. |
maxDistance | The maximum distance to the surface where triangles are generated. |
mb | The MeshBuilder to add the triangles to. |
Implemented in Ogre::Volume::IsoSurfaceMC.
Referenced by Ogre::Volume::DualGridGenerator::addDualCell().
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/3]
template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t | sz, |
|
|
const char * | file, |
|
|
int | line, |
|
|
const char * | func ) |
|
inherited |
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t | sz, |
|
|
const char * | file, |
|
|
int | line, |
|
|
const char * | func ) |
|
inherited |
◆ ISO_LEVEL
const Real Ogre::Volume::IsoSurface::ISO_LEVEL |
|
staticprotected |
◆ MS_CORNERS_BACK
const size_t Ogre::Volume::IsoSurface::MS_CORNERS_BACK[4] |
|
static |
◆ MS_CORNERS_BOTTOM
const size_t Ogre::Volume::IsoSurface::MS_CORNERS_BOTTOM[4] |
|
static |
◆ MS_CORNERS_FRONT
const size_t Ogre::Volume::IsoSurface::MS_CORNERS_FRONT[4] |
|
static |
◆ MS_CORNERS_LEFT
const size_t Ogre::Volume::IsoSurface::MS_CORNERS_LEFT[4] |
|
static |
◆ MS_CORNERS_RIGHT
const size_t Ogre::Volume::IsoSurface::MS_CORNERS_RIGHT[4] |
|
static |
◆ MS_CORNERS_TOP
const size_t Ogre::Volume::IsoSurface::MS_CORNERS_TOP[4] |
|
static |
◆ mSrc
const Source* Ogre::Volume::IsoSurface::mSrc |
|
protected |
The documentation for this class was generated from the following file: