#include <gcu/gldocument.h>
Inheritance diagram for gcu::GLDocument:
Public Member Functions | |
GLDocument (Application *App) | |
virtual | ~GLDocument () |
virtual void | Draw ()=0 |
double | GetMaxDist (void) |
GLView * | GetView (void) |
Protected Attributes | |
double | m_MaxDist |
GLView * | m_View |
Definition at line 40 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 | ( | ) | [pure virtual] |
Called by GLView::Update to populate its GLList.
Implemented in gcu::Chem3dDoc, and gcu::CrystalDoc.
gcu::GLDocument::GetMaxDist | ( | void | ) | [inline] |
Definition at line 66 of file gldocument.h.
gcu::GLDocument::GetView | ( | void | ) | [inline] |
Reimplemented in gcu::CrystalDoc.
Definition at line 73 of file gldocument.h.
gcu::GLDocument::m_MaxDist [protected] |
The longest distance between any object and the center of the model.
Definition at line 66 of file gldocument.h.
gcu::GLDocument::m_View [protected] |
The associated GLView instance.
Definition at line 73 of file gldocument.h.