Class for the generation of the DualGrid.
More...
#include <OgreVolumeDualGridGenerator.h>
Class for the generation of the DualGrid.
◆ DualGridGenerator()
Ogre::Volume::DualGridGenerator::DualGridGenerator |
( |
| ) |
|
◆ 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 |
|
inline |
Gets a dual cell.
- Parameters
-
i | The index of the wanted dual cell. |
- Returns
- The dual cell.
◆ getDualCellCount()
size_t Ogre::Volume::DualGridGenerator::getDualCellCount |
( |
| ) |
const |
|
inline |
Gets the amount of generated dual cells.
- Returns
- The amount of generated dual cells.
◆ getDualGrid()
Entity* Ogre::Volume::DualGridGenerator::getDualGrid |
( |
SceneManager * |
sceneManager | ) |
|
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.
The documentation for this class was generated from the following file: