ygObject derived from ygGeometry

Description: loads and transforms models from any one of the accepted Performer model formats

notes:
Category: Geometry
Author: Dave Pape
11/01/01
10/15/02 Dave Pape - add optional cache flag to "file" msg, "reload" message, and included cache-state in netfilename
09/01/04 Alex Hill - derived from ygGeometry class and added functionality to create a parent ygTransform when necessary
Revision: 06/28/05 Alex Hill - added functionality to dereference uncached object attributes

    Messages
file string, [bool] load the given filename_ with optional caching
cache bool set the default object caching mode
reload reload the currently loaded object
showLocal [bool] set whether the object is drawn locally
position create a parent ygTransform and pass the message
orientation create a parent ygTransform and pass the message
size create a parent ygTransform and pass the message
updateInterval create a parent ygTransform and pass the message
reliableKey create a parent ygTransform and pass the message
    Comments

constructor ygObject

destructor ~ygObject

method reset

1 set cache to true

method message

1 load the given filename_ with optional caching
2 set the default object caching mode
3 reload the currently loaded object
4 set whether the object is drawn locally
5 create a parent ygTransform and pass the message

method loadFile

1 if object has been loaded then remove it as a child
2 if cache mode is true then retrieve from object cache
3 else, load the file using pfdLoadFile
4 if loading was successful
4.1 rename pfGeode to ygObject name
4.2 add object as a child
4.3 set intersection traversal mask
5 if loading failed, don't save any file name

method filename