updates objetcs and renders the scene More...
#include <SceneManager.h>
Public Member Functions | |
SceneManager (std::shared_ptr< Camera > camera) | |
void | render () |
Automatically chooses the right shader for the appropriate object type and renders the object. | |
void | setVolume (VolumeData volumedata) |
loads the volumedata as 3d texture | |
void | setAlpha (bool state) |
defines if alpha channel of volume (saliency/background subtraction data) is used to set transparency | |
void | setHue (bool state) |
defines if hue selection to set transparency is used | |
void | setHueValue (float val) |
sets the hue value for hue selection | |
void | setInvert (bool state) |
defines if the alpha channel is inverted | |
void | setOpacityValue (float val) |
sets the opacity of transparent elements | |
updates objetcs and renders the scene
This class is responsible for updating all objects and rendering the scene.