#include <gcu/gldocument.h>
Public Member Functions | |
GLDocument (Application *App) | |
virtual | ~GLDocument () |
virtual void | Draw (Matrix const &m) const =0 |
double | GetMaxDist (void) |
GLView * | GetView (void) |
Protected Attributes | |
double | m_MaxDist |
GLView * | m_View |
Definition at line 42 of file gldocument.h.
gcu::GLDocument::GLDocument | ( | Application * | App | ) |
App | the application owning the new document. |
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 |
Implemented in gcu::Chem3dDoc, and gcu::CrystalDoc.
gcu::GLDocument::GetMaxDist | ( | void | ) | [inline] |
Definition at line 70 of file gldocument.h.
gcu::GLDocument::GetView | ( | void | ) | [inline] |
Reimplemented in gcu::CrystalDoc.
Definition at line 77 of file gldocument.h.
gcu::GLDocument::m_MaxDist [protected] |
The longest distance between any object and the center of the model.
Definition at line 70 of file gldocument.h.
gcu::GLDocument::m_View [protected] |
The associated GLView instance.
Definition at line 77 of file gldocument.h.