Home | Download | Screen shots | Discussion | Documentation | Links |
---|
Inheritance diagram for NodeClass:
Public Methods | |
virtual | ~NodeClass ()=0 throw () |
Destructor. | |
virtual void | initialize (double time) throw () |
NodeClass-specific initialization. | |
virtual void | render (Viewer &viewer) throw () |
NodeClass-specific rendering. | |
virtual const NodeTypePtr | createType (const std::string &id, const NodeInterfaceSet &interfaces)=0 throw (UnsupportedInterface, std::bad_alloc) |
Create a new NodeType. | |
Public Attributes | |
Browser & | browser |
The Browser associated with this NodeClass. | |
Protected Methods | |
NodeClass (Browser &browser) throw () | |
Constructor. |
NodeClass can be thought of as a "supertype" of sorts. A given node implementation can support as many node types as there are unique combinations of the interfaces it supports. The most readily apparent role of the NodeClass object for a node implementation is to serve as a factory for these NodeTypes.
|
Destructor.
|
|
Constructor. A NodeClass is constructed using a Browser. All Node instances that share a particular NodeClass "belong to" the Browser associated with the NodeClass.
|
|
|
NodeClass-specific initialization. This method is called during initialization of a Browser object with a new root Scene. It is called after the individual node instances have been initialized, and before the world starts running.
Reimplemented in BackgroundClass, and FogClass. |
|
NodeClass-specific rendering. The default implementation of this method does nothing.
Reimplemented in BackgroundClass, and FogClass. |
|
The Browser associated with this NodeClass.
|