The Gnome Chemistry Utils 0.13.3
|
#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 |
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 gcr::Document.
gcu::GLDocument::GetMaxDist | ( | void | ) | [inline] |
Definition at line 70 of file gldocument.h.
gcu::GLDocument::GetView | ( | void | ) | [inline] |
Reimplemented in gcr::Document.
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.