OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Class for the generation of the DualGrid. More...
#include <OgreVolumeDualGridGenerator.h>
Public Member Functions | |
DualGridGenerator (void) | |
Constructor. | |
void | generateDualGrid (const OctreeNode *root, IsoSurface *is, MeshBuilder *mb, Real maxMSDistance, const Vector3 &totalFrom, const Vector3 &totalTo, bool saveDualCells) |
Generates the dualgrid of the given octree root node. | |
DualCell | getDualCell (size_t i) const |
Gets a dual cell. | |
size_t | getDualCellCount (void) const |
Gets the amount of generated dual cells. | |
Entity * | getDualGrid (SceneManager *sceneManager) |
Gets the lazily created entity of the dualgrid debug visualization. | |
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 | |
Class for the generation of the DualGrid.
Ogre::Volume::DualGridGenerator::DualGridGenerator | ( | void | ) |
Constructor.
void Ogre::Volume::DualGridGenerator::generateDualGrid | ( | const OctreeNode * | root, |
IsoSurface * | is, | ||
MeshBuilder * | mb, | ||
Real | maxMSDistance, | ||
const Vector3 & | totalFrom, | ||
const Vector3 & | totalTo, | ||
bool | saveDualCells | ||
) |
Generates the dualgrid of the given octree root node.
root | The octree root node. |
is | To contour the dualcells. |
mb | To store the triangles of the contour. |
maxMSDistance | The maximum distance to the isosurface where to generate skirts. |
totalFrom | The global from. |
totalTo | The global to. |
saveDualCells | Whether to save the generated dualcells of the generated dual cells. |
Gets a dual cell.
i | The index of the wanted dual cell. |
Gets the amount of generated dual cells.
Entity * Ogre::Volume::DualGridGenerator::getDualGrid | ( | SceneManager * | sceneManager | ) |
Gets the lazily created entity of the dualgrid debug visualization.
sceneManager | The scenemanager creating the entity. |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info