#include <gcu/gldocument.h>
Public Member Functions | |
GLDocument (Application *App) | |
virtual | ~GLDocument () |
virtual void | Draw (Matrix const &m) const =0 |
This class is a base class for documents representing 3d objects.
Definition at line 42 of file gldocument.h.
gcu::GLDocument::GLDocument | ( | Application * | App | ) |
App | the application owning the new document. |
Default constructor.
virtual gcu::GLDocument::~GLDocument | ( | ) | [virtual] |
Default destructor.
virtual void gcu::GLDocument::Draw | ( | Matrix const & | m | ) | const [pure virtual] |
m | the Matrix giving the current model orientation |
Called by GLView::Update to render the model.
Implemented in gcu::Chem3dDoc, and gcu::CrystalDoc.