Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

S5scene Class Reference

#include <S5scene.h>

List of all members.

Public Types

enum  TextureQuality { TEXTURE_OFF = 0, TEXTURE_POINT_SAMPLE = 1, TEXTURE_NORMAL = 2 }
enum  RunningState { RUNNING, STARTING, PAUSED }

Static Public Methods

void init ()
void done ()
void loadDefaultScene ()
void loadScene (const char *)
void clearScene ()
TextureQuality getTextureQuality ()
void setTextureQuality (TextureQuality q)
bool isTexturesOff ()
bool insertObject (S5object *object)
bool insertObject (S5object *object, SoGroup *sceneRoot)
bool insertObjectSomewhere (S5object *object, float sceneRadius, int attempts=10)
bool insertObjectSomewhere (S5object *object, SoGroup *sceneRoot, float sceneRadius, int attempts=10)
bool positionObjectSomewhere (S5object *object, float sceneRadius, int attempts=10)
void addCamera (S5camera *camera)
void insertCamera (S5camera *camera, int index)
void removeCamera (S5camera *camera)
void removeAllCameras ()
SoGroup * getCamerasGroup ()
SoNode * getSceneGraph ()
void setSceneGraph (SoNode *node)
bool getRunningState ()
void setRunningState (const bool run)
RunningState getRunningStateInternal ()
SoSceneManager * getSceneManager ()
S5inputgetUserInput ()
bool timeTick (SbTime deltaTime)

Static Protected Methods

void constructHidenScene ()
void timeTickSensorCB (void *data, SoSensor *sensor)
void updateComplexity ()

Static Protected Attributes

SoSceneManager * sceneManager
SoGroup * internalSceneGraphRoot
SoGroup * camerasGroup
SoNode * sceneGraph
S5inputuserInput
RunningState runningState
int startingCountdown
TextureQuality textureQuality


Member Enumeration Documentation

enum S5scene::RunningState
 

Enumeration values:
RUNNING 
STARTING 
PAUSED 

enum S5scene::TextureQuality
 

Enumeration values:
TEXTURE_OFF 
TEXTURE_POINT_SAMPLE 
TEXTURE_NORMAL 


Member Function Documentation

void S5scene::addCamera S5camera   camera [static]
 

void S5scene::clearScene   [static]
 

void S5scene::constructHidenScene   [static, protected]
 

void S5scene::done   [static]
 

SoGroup* S5scene::getCamerasGroup   [inline, static]
 

bool S5scene::getRunningState   [inline, static]
 

RunningState S5scene::getRunningStateInternal   [inline, static]
 

SoNode* S5scene::getSceneGraph   [inline, static]
 

SoSceneManager* S5scene::getSceneManager   [inline, static]
 

TextureQuality S5scene::getTextureQuality   [inline, static]
 

S5input* S5scene::getUserInput   [inline, static]
 

void S5scene::init   [static]
 

void S5scene::insertCamera S5camera   camera,
int    index
[static]
 

bool S5scene::insertObject S5object   object,
SoGroup *    sceneRoot
[static]
 

bool S5scene::insertObject S5object   object [inline, static]
 

bool S5scene::insertObjectSomewhere S5object   object,
SoGroup *    sceneRoot,
float    sceneRadius,
int    attempts = 10
[static]
 

bool S5scene::insertObjectSomewhere S5object   object,
float    sceneRadius,
int    attempts = 10
[inline, static]
 

bool S5scene::isTexturesOff   [inline, static]
 

void S5scene::loadDefaultScene   [static]
 

void S5scene::loadScene const char *    [static]
 

bool S5scene::positionObjectSomewhere S5object   object,
float    sceneRadius,
int    attempts = 10
[static]
 

void S5scene::removeAllCameras   [static]
 

void S5scene::removeCamera S5camera   camera [static]
 

void S5scene::setRunningState const bool    run [static]
 

void S5scene::setSceneGraph SoNode *    node [static]
 

void S5scene::setTextureQuality TextureQuality    q [static]
 

bool S5scene::timeTick SbTime    deltaTime [static]
 

void S5scene::timeTickSensorCB void *    data,
SoSensor *    sensor
[static, protected]
 

void S5scene::updateComplexity   [static, protected]
 


Member Data Documentation

SoGroup* S5scene::camerasGroup [static, protected]
 

SoGroup* S5scene::internalSceneGraphRoot [static, protected]
 

RunningState S5scene::runningState [static, protected]
 

SoNode* S5scene::sceneGraph [static, protected]
 

SoSceneManager* S5scene::sceneManager [static, protected]
 

int S5scene::startingCountdown [static, protected]
 

TextureQuality S5scene::textureQuality [static, protected]
 

S5input* S5scene::userInput [static, protected]
 


The documentation for this class was generated from the following file:
Generated on Sun Feb 17 21:42:36 2002 for Sector 5 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001