Class for the generation of the DualGrid.
More...
#include <OgreVolumeDualGridGenerator.h>
|
| | 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
|
| |
|
| void | addDualCell (const Vector3 &c0, const Vector3 &c1, const Vector3 &c2, const Vector3 &c3, const Vector3 &c4, const Vector3 &c5, const Vector3 &c6, const Vector3 &c7) |
| | Adds a dualcell.
|
| |
| void | addDualCell (const Vector3 &c0, const Vector3 &c1, const Vector3 &c2, const Vector3 &c3, const Vector3 &c4, const Vector3 &c5, const Vector3 &c6, const Vector3 &c7, Vector4 *values) |
| | Adds a dualcell with precalculated values.
|
| |
| void | createBorderCells (const OctreeNode *n0, const OctreeNode *n1, const OctreeNode *n2, const OctreeNode *n3, const OctreeNode *n4, const OctreeNode *n5, const OctreeNode *n6, const OctreeNode *n7) |
| |
| void | edgeProcX (const OctreeNode *n0, const OctreeNode *n1, const OctreeNode *n2, const OctreeNode *n3) |
| | edgeProc with variing X of the nodes, see the paper for edgeProc().
|
| |
| void | edgeProcY (const OctreeNode *n0, const OctreeNode *n1, const OctreeNode *n2, const OctreeNode *n3) |
| | edgeProc with variing Y of the nodes, see the paper for edgeProc().
|
| |
| void | edgeProcZ (const OctreeNode *n0, const OctreeNode *n1, const OctreeNode *n2, const OctreeNode *n3) |
| | edgeProc with variing Z of the nodes, see the paper for edgeProc().
|
| |
| void | faceProcXY (const OctreeNode *n0, const OctreeNode *n1) |
| |
| void | faceProcXZ (const OctreeNode *n0, const OctreeNode *n1) |
| |
| void | faceProcZY (const OctreeNode *n0, const OctreeNode *n1) |
| |
| void | nodeProc (const OctreeNode *n) |
| |
| void | vertProc (const OctreeNode *n0, const OctreeNode *n1, const OctreeNode *n2, const OctreeNode *n3, const OctreeNode *n4, const OctreeNode *n5, const OctreeNode *n6, const OctreeNode *n7) |
| |
Class for the generation of the DualGrid.
Definition at line 67 of file OgreVolumeDualGridGenerator.h.
◆ DualGridGenerator()
| Ogre::Volume::DualGridGenerator::DualGridGenerator |
( |
void | | ) |
|
◆ addDualCell() [1/2]
Adds a dualcell.
- Parameters
-
| c0 | The first corner. |
| c1 | The second corner. |
| c2 | The third corner. |
| c3 | The fourth corner. |
| c4 | The fifth corner. |
| c5 | The sixth corner. |
| c6 | The seventh corner. |
Definition at line 117 of file OgreVolumeDualGridGenerator.h.
◆ addDualCell() [2/2]
◆ createBorderCells()
◆ edgeProcX()
edgeProc with variing X of the nodes, see the paper for edgeProc().
Direction of parameters: Z+, Y around the clock (n0, n3, n7, n4 for example of the parent cell)
- Parameters
-
| n0 | The first node. |
| n1 | The second node. |
| n2 | The third node. |
| n3 | The fourth node. |
◆ edgeProcY()
edgeProc with variing Y of the nodes, see the paper for edgeProc().
Direction of parameters: X+, Z around the clock (n0, n1, n2, n3 for example of the parent cell)
- Parameters
-
| n0 | The first node. |
| n1 | The second node. |
| n2 | The third node. |
| n3 | The fourth node. |
◆ edgeProcZ()
edgeProc with variing Z of the nodes, see the paper for edgeProc().
Direction of parameters: X+, Y around the clock (n7, n6, n2, n3 for example of the parent cell)
- Parameters
-
| n0 | The first node. |
| n1 | The second node. |
| n2 | The third node. |
| n3 | The fourth node. |
◆ faceProcXY()
◆ faceProcXZ()
◆ faceProcZY()
◆ generateDualGrid()
Generates the dualgrid of the given octree root node.
- Parameters
-
| 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. |
◆ getDualCell()
| DualCell Ogre::Volume::DualGridGenerator::getDualCell |
( |
size_t | i | ) |
const |
◆ getDualCellCount()
| size_t Ogre::Volume::DualGridGenerator::getDualCellCount |
( |
void | | ) |
const |
◆ getDualGrid()
Gets the lazily created entity of the dualgrid debug visualization.
- Parameters
-
| sceneManager | The scenemanager creating the entity. |
- Returns
- The entity. Might be null if no dualcells are available.
◆ nodeProc()
◆ 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]
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
◆ vertProc()
◆ mDualCells
| VecDualCell Ogre::Volume::DualGridGenerator::mDualCells |
|
protected |
◆ mDualGrid
| Entity* Ogre::Volume::DualGridGenerator::mDualGrid |
|
protected |
◆ mDualGridI
| size_t Ogre::Volume::DualGridGenerator::mDualGridI |
|
staticprotected |
◆ mIs
◆ mMaxMSDistance
| Real Ogre::Volume::DualGridGenerator::mMaxMSDistance |
|
protected |
◆ mMb
◆ mRoot
◆ mSaveDualCells
| bool Ogre::Volume::DualGridGenerator::mSaveDualCells |
|
protected |
◆ mTotalFrom
| Vector3 Ogre::Volume::DualGridGenerator::mTotalFrom |
|
protected |
◆ mTotalTo
| Vector3 Ogre::Volume::DualGridGenerator::mTotalTo |
|
protected |
The documentation for this class was generated from the following file: