Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members

GLScene::GLSceneObject Class Reference

#include <glscene.h>

Inheritance diagram for GLScene::GLSceneObject:

ReferenceCounted ReferenceCounted GLScene::GLSceneNode GLScene::GLSceneNode List of all members.

Public Member Functions

 GLSceneObject (SceneNode *par=NULL)
virtual SceneNodegetParent (void)
virtual void render (void)=0
 GLSceneObject (SceneNode *par=NULL)
virtual SceneNodegetParent (void)
virtual void render (void)=0

Protected Attributes

SceneNodeparent
SceneNodeparent

Friends

class GLSceneGraphManager
class GLSceneNode

Detailed Description

This is a much better basis for the scenegraph


Constructor & Destructor Documentation

GLScene::GLSceneObject::GLSceneObject SceneNode par = NULL  ) 
 

Hooks on to the parents sceneObjects list if not NULL and becomes an RCPointer. So make sure you never ever, ever call this with an RCPointer for the return you want a segmentation fault when an invalid adress is deleted. As soon as I finish a DblReferencCounted pointer class and a memory manager and it works 100%, it will be OK though, unless that is too slow

GLScene::GLSceneObject::GLSceneObject SceneNode par = NULL  ) 
 

Hooks on to the parents sceneObjects list if not NULL and becomes an RCPointer. So make sure you never ever, ever call this with an RCPointer for the return you want a segmentation fault when an invalid adress is deleted. As soon as I finish a DblReferencCounted pointer class and a memory manager and it works 100%, it will be OK though, unless that is too slow


Member Function Documentation

virtual void GLScene::GLSceneObject::render void   )  [pure virtual]
 

Only method that must be implemented by a subclass that does actual rendering.

Implemented in GLScene::GLBezierCurve, GLScene::GLSceneNode, GLScene::GLBezierCurve, and GLScene::GLSceneNode.

virtual void GLScene::GLSceneObject::render void   )  [pure virtual]
 

Only method that must be implemented by a subclass that does actual rendering.

Implemented in GLScene::GLBezierCurve, GLScene::GLSceneNode, GLScene::GLBezierCurve, and GLScene::GLSceneNode.


The documentation for this class was generated from the following files:
Generated on Wed Feb 4 23:11:34 2004 by doxygen 1.3.3