igor::iRenderEngine Class Reference

#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 ()
 

Detailed Description

does control the render loop

Constructor & Destructor Documentation

◆ iRenderEngine()

igor::iRenderEngine::iRenderEngine ( )
default

does nothing

◆ ~iRenderEngine()

virtual igor::iRenderEngine::~iRenderEngine ( )
virtualdefault

does nothing

Member Function Documentation

◆ getCamera()

iNodeID igor::iRenderEngine::getCamera ( ) const
Returns
current camera id

◆ getScene()

iScenePtr igor::iRenderEngine::getScene ( ) const
Returns
pointer to scene

◆ isBoundingBoxVisible()

bool igor::iRenderEngine::isBoundingBoxVisible ( ) const
Returns
true if bounding boxes are shown

◆ isColorIDRendering()

bool igor::iRenderEngine::isColorIDRendering ( ) const
Returns
if nodes will be rendered with their color id

◆ isOctreeVisible()

bool igor::iRenderEngine::isOctreeVisible ( ) const
Returns
true if octree is shown

◆ render()

void igor::iRenderEngine::render ( )

culls and renders

◆ setBoundingBoxVisible()

void igor::iRenderEngine::setBoundingBoxVisible ( bool  boundingBox = true)

defines if bounding boxes are shown or not

Parameters
boundingBoxif true bounding boxes are shown

◆ setCamera()

void igor::iRenderEngine::setCamera ( iNodeID  cameraID)

sets current camera by id

Parameters
cameraIDthe camery id

◆ setColorIDRendering()

void igor::iRenderEngine::setColorIDRendering ( bool  enabled = true)

sets if the nodes should be rendered with solely their colorid

Parameters
enabledif true nodes will be rendered with their color id

◆ setOctreeVisible()

void igor::iRenderEngine::setOctreeVisible ( bool  octree = true)

defines if octree is shown or not

Parameters
octreeif true octree is shown

◆ setScene()

void igor::iRenderEngine::setScene ( iScenePtr  scene)

sets the scene to render with

Parameters
scenescene to render

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