Home | Download | Screen shots | Discussion | Documentation | Links |
---|
Inheritance diagram for BackgroundClass:
Public Methods | |
BackgroundClass (Browser &browser) | |
Constructor. | |
virtual | ~BackgroundClass () throw () |
Destructor. | |
void | setFirst (Background &background) throw () |
Set the first Background node in the world. | |
bool | hasFirst () const throw () |
Check to see if the first node has been set. | |
void | bind (Background &background, double timestamp) throw (std::bad_alloc) |
Push a Background on the top of the bound node stack. | |
void | unbind (Background &background, double timestamp) throw () |
Remove a Background from the bound node stack. | |
virtual void | initialize (double timestamp) throw () |
NodeClass-specific initialization. | |
virtual void | render (Viewer &viewer) throw () |
NodeClass-specific rendering. | |
virtual const NodeTypePtr | createType (const std::string &id, const NodeInterfaceSet &) throw (UnsupportedInterface, std::bad_alloc) |
Create a NodeType. | |
Private Attributes | |
Background * | first |
std::vector< NodePtr > | boundNodes |
|
Constructor.
|
|
Destructor.
|
|
Push a Background on the top of the bound node stack.
|
|
Create a NodeType.
Implements NodeClass. |
|
Check to see if the first node has been set. This method is used by Background::initializeImpl.
|
|
NodeClass-specific initialization.
Reimplemented from NodeClass. |
|
NodeClass-specific rendering. Render the active Background node.
Reimplemented from NodeClass. |
|
Set the first Background node in the world. The first Background node in the world is used as the initial background. This method is used by Background::initializeImpl.
|
|
Remove a Background from the bound node stack.
|