|
golib
0.5
|
OpenGL scene class. More...
#include <scene.h>
Public Member Functions | |
| bool | render () |
| bool | add (goAutoPtr< goGL::DrawableObject > o) |
| bool | removeObject (int i) |
| virtual bool | writeASCII (FILE *f) const |
| virtual bool | readASCII (FILE *f) |
| virtual bool | writeASCII (const char *filename) const |
| virtual bool | readASCII (const char *filename) |
| goSize_t | getObjectCount () const |
| goAutoPtr< goGL::DrawableObject > | getObject (goSize_t i) |
| goSize_t | getLightCount () const |
| goAutoPtr< goGL::Light > | getLight (goSize_t i) |
| goAutoPtr< goGL::Camera > | getCamera () |
| const goVectorf & | getClearColour () const |
| void | setClearColour (const goVectorf &cc) |
| const goVectorf & | getAmbient () const |
| void | setAmbient (const goVectorf &a) |
Public Member Functions inherited from goGL::Object | |
| Object (const Object &o) | |
| Object & | operator= (const Object &o) |
| void | setRotation (goFloat angle, goFloat x, goFloat y, goFloat z) |
| void | setRotation (const goVectorf &r) |
| void | setRotation (goFloat angle, const goVectorf &n) |
| void | setScale (goFloat x, goFloat y, goFloat z) |
| void | setScale (const goVectorf &t) |
| void | setTranslation (goFloat x, goFloat y, goFloat z) |
| void | setTranslation (const goVectorf &t) |
| const goVectorf & | getRotation () const |
| const goVectorf & | getScale () const |
| const goVectorf & | getTranslation () const |
Public Member Functions inherited from goObjectBase | |
| goObjectBase () | |
| Constructor. | |
| virtual | ~goObjectBase () |
| Destructor. More... | |
| const char * | getClassName () const |
| Returns the class name. More... | |
| int | getClassID () const |
| virtual goSize_t | memoryUsage () const |
| Returns the size of this object or some measure of its memory consumption. More... | |
| void | setObjectName (const char *name) |
| Set name string for an object. More... | |
| void | setObjectName (const goString &name) |
| Set name string for an object. More... | |
| const goString & | getObjectName () const |
| Get the object name. More... | |
| virtual bool | writeObjectFile (FILE *) const |
| Write object to a file. More... | |
| virtual bool | readObjectFile (FILE *) |
| Read object from a file. More... | |
| void | connectObject (goObjectBase *object) |
| Connects an object to this object. More... | |
| void | disconnectObject (const goObjectBase *object) |
| Disconnects an object from this object. | |
| virtual bool | callObjectMethod (int methodID, goObjectMethodParameters *param=NULL) |
| Call an object method by identifier. More... | |
| virtual bool | queueObjectMethod (int methodID, goObjectMethodParameters *param=NULL, bool blocking=false) |
| Enqueue a method call to an internal list of methods. More... | |
| bool | callQueuedMethods () |
| Call all queued methods. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from goObjectBase | |
| void | setClassID (int id) |
| Sets the class name. | |
| void | printClassMessage (const char *msg) |
| Sets the class name. More... | |
| void | printClassMessage (goString &msg) |
| Prints an informational message to the calling console. More... | |
| void | sendObjectMessage (int messageID, void *data=NULL) |
| Sends a message to all connected objects. | |
| void | sendObjectMessage (goObjectBase *object, int messageID, void *data=NULL) |
| Sends a message to a specific object. | |
| virtual void | receiveObjectMessage (const goObjectMessage &message) |
| Receive a message. More... | |
OpenGL scene class.