igor::iScene Class Reference

#include <iScene.h>

Public Member Functions

const iaStringgetName () const
 
void setName (const iaString &name)
 
iNodePtr getRoot () const
 
const std::vector< iNodeLightPtr > & getLights () const
 
const std::vector< iNodeRenderPtr > & getRenderables () const
 
void handle ()
 
void addToDataUpdateQueue (iNodePtr node)
 
const std::vector< iNodeID > & getSelection () const
 
void setSelection (const std::vector< iNodeID > &selection)
 
void clearSelection ()
 

Friends

class iNode
 
class iNodeCamera
 
class iNodeLight
 
class iNodeVolume
 
class iNodeModel
 
class iNodeVisitorUpdateTransform
 
class iSceneFactory
 
class iNodeRender
 
class iNodeLODTrigger
 
class iNodeLODSwitch
 
class iRenderEngine
 

Detailed Description

the scene graph

Member Function Documentation

◆ addToDataUpdateQueue()

void igor::iScene::addToDataUpdateQueue ( iNodePtr  node)

adds node to data update queue

TODO why is this here?

    \param node the node to add

◆ clearSelection()

void igor::iScene::clearSelection ( )

clear current selection

◆ getLights()

const std::vector< iNodeLightPtr > & igor::iScene::getLights ( ) const
Returns
list of registerred lights

◆ getName()

const iaString & igor::iScene::getName ( ) const
Returns
scene name

◆ getRenderables()

const std::vector< iNodeRenderPtr > & igor::iScene::getRenderables ( ) const
Returns
list of render-ables

does only contain render-ables that are not volumes

◆ getRoot()

iNodePtr igor::iScene::getRoot ( ) const
Returns
root node

◆ getSelection()

const std::vector< iNodeID > & igor::iScene::getSelection ( ) const
Returns
list of selected nodes

◆ handle()

void igor::iScene::handle ( )

cyclic update of scene.

handles transformation updates and resulting changes in octree. data that was loaded will now be added to scene

◆ setName()

void igor::iScene::setName ( const iaString name)

stes name of scene

Parameters
namenew name of scene

◆ setSelection()

void igor::iScene::setSelection ( const std::vector< iNodeID > &  selection)

sets the current selection

Friends And Related Function Documentation

◆ iNode

friend class iNode
friend

◆ iNodeCamera

friend class iNodeCamera
friend

◆ iNodeLight

friend class iNodeLight
friend

◆ iNodeLODSwitch

friend class iNodeLODSwitch
friend

◆ iNodeLODTrigger

friend class iNodeLODTrigger
friend

◆ iNodeModel

friend class iNodeModel
friend

◆ iNodeRender

friend class iNodeRender
friend

◆ iNodeVisitorUpdateTransform

friend class iNodeVisitorUpdateTransform
friend

◆ iNodeVolume

friend class iNodeVolume
friend

◆ iRenderEngine

friend class iRenderEngine
friend

◆ iSceneFactory

friend class iSceneFactory
friend

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