glVertex  5.5.2
Public Member Functions | List of all members
lgl_SceneGraphScene Class Reference

scene class container for a scene graph More...

#include <glvertex_scene.h>

Inheritance diagram for lgl_SceneGraphScene:
Inheritance graph
[legend]

Public Member Functions

 lgl_SceneGraphScene (lgl_Node *root=NULL)
 ctor
 
lgl_NodegetSceneGraph ()
 get scene graph
 
void setSceneGraph (lgl_Node *root)
 set scene graph
 
bool isShadowPlaneEnabled ()
 is the shadow plane enabled?
 
void enableShadowPlane (bool on)
 enable the shadow plane
 
vec3 getShadowPlaneOrigin ()
 get shadow plane origin position
 
vec3 getShadowPlaneNormal ()
 get shadow plane normal vector
 
vec3 getShadowPlaneDirection ()
 get shadow plane light direction
 
void setShadowPlane (vec3 p, vec3 n, vec3 d)
 set shadow plane
 
void setShadowColor (vec4 c)
 set shadow color
 
void enableViewCulling (int minsize=0)
 enable view culling
 
void disableViewCulling ()
 disable view culling
 
double getTime ()
 get current time
 
void restart ()
 restart time
 
bool paused ()
 is the scene paused?
 
void pause (bool yes=true)
 pause the scene
 
void toggle_animation ()
 toggle the animation
 
int viewportWidth ()
 get the current viewport width
 
int viewportHeight ()
 get the current viewport height
 
double viewportAspect ()
 get the current viewport aspect
 
void update ()
 trigger an update
 
void provideNextScene (lgl_Scene *next)
 provide scene that will replace the actual one on next frame
 

Detailed Description

scene class container for a scene graph


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