ygWorld derived from ygNode Example Source Header

Description: the class that loads scene files and maintains the scene graph

notes:
Category: Foundation
Author: Dave Pape
11/01/01
10/01/02 Alex Hill - added pfChanged and setPFChanged
08/01/03 Alex Hill - changed ygSound references to use ygSoundServer
09/01/04 Alex Hill - added create, delete, and debug messages
06/28/05 Alex Hill - adjusted timing calculation to compenstate for long load times
02/01/06 Alex Hill - changed derivation to ygNode and added frame count message delay queue
Revision: 07/01/06 Alex Hill - fixed bug initializing timing

    Messages
quit [bool] quit the application
load file, node load the given filename below optional node
save file, node save the scene to given filename below optional node
create string, [string] create a new child node with optional name
delete node, [bool] delete the scene below optional node and optional retain root node
editType class, node set the debug state of a node type from optional node down
setdebug string, [string] set the debug state of a node type from optional node down
unsetdebug string, [string] unset the debug state of a node type from optional node down
graph string, integer graph the scene from optional node and to optional depth
viewer [string] assume the viewpoint of another user
    Events
load generate load event for alerts
save generate save event for alerts
    Debugs
SentMessages
    Comments

method frameTime_

method frameDeltaTime_

method frameNumber_

method world_

constructor ygWorld

destructor ~ygWorld

method createRoot

method setRoot

method root

method pfscene

method viewer

method reset

1 reset viewer
2 call resetTree recursively on all localroot children

method app

method frame

1 prevent loss of time from long delays

method scheduleMessage

method sendMessage

method message

1 quit the application
2 load the given filename below optional node
2.0.1 generate load event for alerts
3 save the scene to given filename below optional node
3.0.1 generate save event for alerts
4 create a new child node with optional name
5 delete the scene below optional node and optional retain root node
5.1 do not allow localroot to be deleted
6 set the debug state of a node type from optional node down
6.0.1 allways find grid nodes
6.0.1 allways find grid nodes
7 set the debug state of a node type from optional node down
8 unset the debug state of a node type from optional node down
9 graph the scene from optional node and to optional depth
10 assume the viewpoint of another user

method addUser

method removeUser

method numUsers

method user

method setClip

method setSkyColor

method fogOff

method setFog

method deleteFromNode

method deleteLocalScene

method deleteTree

method saveToFile

method loadFromFile

method saveTree

method sendClassMessage

method quit

method updateDebug

method createDebugNode

method makeSphereGeoset