0.44.0
|
#include <iRenderEngine.h>
Public Member Functions | |
iRenderEngine ()=default | |
virtual | ~iRenderEngine ()=default |
void | setBoundingBoxVisible (bool boundingBox=true) |
bool | isBoundingBoxVisible () const |
void | setOctreeVisible (bool octree=true) |
bool | isOctreeVisible () const |
void | setColorIDRendering (bool enabled=true) |
bool | isColorIDRendering () const |
void | setScene (iScenePtr scene) |
iScenePtr | getScene () const |
void | setCamera (iNodeID cameraID) |
iNodeID | getCamera () const |
void | render () |
does control the render loop
|
default |
does nothing
|
virtualdefault |
does nothing
iNodeID igor::iRenderEngine::getCamera | ( | ) | const |
iScenePtr igor::iRenderEngine::getScene | ( | ) | const |
bool igor::iRenderEngine::isBoundingBoxVisible | ( | ) | const |
bool igor::iRenderEngine::isColorIDRendering | ( | ) | const |
bool igor::iRenderEngine::isOctreeVisible | ( | ) | const |
void igor::iRenderEngine::render | ( | ) |
culls and renders
void igor::iRenderEngine::setBoundingBoxVisible | ( | bool | boundingBox = true | ) |
defines if bounding boxes are shown or not
boundingBox | if true bounding boxes are shown |
void igor::iRenderEngine::setCamera | ( | iNodeID | cameraID | ) |
sets current camera by id
cameraID | the camery id |
void igor::iRenderEngine::setColorIDRendering | ( | bool | enabled = true | ) |
sets if the nodes should be rendered with solely their colorid
enabled | if true nodes will be rendered with their color id |
void igor::iRenderEngine::setOctreeVisible | ( | bool | octree = true | ) |
defines if octree is shown or not
octree | if true octree is shown |
void igor::iRenderEngine::setScene | ( | iScenePtr | scene | ) |
sets the scene to render with
scene | scene to render |