pgl
PrimitiveOpenGL3Dprimitivelibrary
Public Member Functions | Public Attributes | List of all members
pgl::Scene Class Reference

Root node of the scene graph. More...

#include <pgl.h>

Inheritance diagram for pgl::Scene:
Inheritance graph
[legend]
Collaboration diagram for pgl::Scene:
Collaboration graph
[legend]

Public Member Functions

virtual void draw ()
 Draw scene.
 
- Public Member Functions inherited from pgl::Node
template<class T >
T * attach (T *child)
 Add child to list of sub-objects. More...
 

Public Attributes

Vector3 color
 Background color.
 
- Public Attributes inherited from pgl::Node
std::vector< Node * > children
 Sub-objects.
 

Detailed Description

Root node of the scene graph.

A Scene is a special Node that clears the image and starts the drawing process. It makes little sense to attach it to another Node.


The documentation for this class was generated from the following file: