OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::Volume::IsoSurfaceMC Class Reference

Marching Cubes implementation like at http://local.wasp.uwa.edu.au/~pbourke/geometry/polygonise/. More...

#include <OgreVolumeIsoSurfaceMC.h>

+ Inheritance diagram for Ogre::Volume::IsoSurfaceMC:

Public Member Functions

 IsoSurfaceMC (const Source *src)
 Constructor.
 
virtual void addMarchingCubesTriangles (const Vector3 *corners, const Vector4 *volumeValues, MeshBuilder *mb) const
 Overridden from IsoSurface.
 
virtual void addMarchingSquaresTriangles (const Vector3 *corners, const Vector4 *volumeValues, const size_t *indices, const Real maxDistance, MeshBuilder *mb) const
 Overridden from IsoSurface.
 
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 *)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info
 
voidoperator new (size_t sz, void *ptr)
 placement operator new
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info
 

Static Public Attributes

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.
 

Detailed Description

Marching Cubes implementation like at http://local.wasp.uwa.edu.au/~pbourke/geometry/polygonise/.

Constructor & Destructor Documentation

◆ IsoSurfaceMC()

Ogre::Volume::IsoSurfaceMC::IsoSurfaceMC ( const Source src)
explicit

Constructor.

Parameters
srcThe source for the isovalues and normals there.

Member Function Documentation

◆ addMarchingCubesTriangles()

virtual void Ogre::Volume::IsoSurfaceMC::addMarchingCubesTriangles ( const Vector3 corners,
const Vector4 volumeValues,
MeshBuilder mb 
) const
virtual

Overridden from IsoSurface.

Implements Ogre::Volume::IsoSurface.

◆ addMarchingSquaresTriangles()

virtual void Ogre::Volume::IsoSurfaceMC::addMarchingSquaresTriangles ( const Vector3 corners,
const Vector4 volumeValues,
const size_t indices,
const Real  maxDistance,
MeshBuilder mb 
) const
virtual

Overridden from IsoSurface.

Implements Ogre::Volume::IsoSurface.

◆ operator delete() [1/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void ptr)
inlineinherited

◆ operator delete() [2/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void ptr,
const char ,
int  ,
const char  
)
inlineinherited

◆ operator delete() [3/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void ptr,
void  
)
inlineinherited

◆ operator delete[]() [1/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void ptr)
inlineinherited

◆ operator delete[]() [2/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void ptr,
const char ,
int  ,
const char  
)
inlineinherited

◆ operator new() [1/3]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

◆ operator new() [2/3]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char file,
int  line,
const char func 
)
inlineinherited

operator new, with debug line info

◆ operator new() [3/3]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void ptr 
)
inlineinherited

placement operator new

◆ operator new[]() [1/2]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

◆ operator new[]() [2/2]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char file,
int  line,
const char func 
)
inlineinherited

array operator new, with debug line info

Member Data Documentation

◆ 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_BOTTOM

const size_t Ogre::Volume::IsoSurface::MS_CORNERS_BOTTOM[4]
staticinherited

To call Marching Squares with a cube on its bottom.

◆ 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_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.


The documentation for this class was generated from the following file: