The Gnome Chemistry Utils 0.13.3
Public Member Functions | Protected Attributes
gcu::GLDocument Class Reference

#include <gcu/gldocument.h>

Inheritance diagram for gcu::GLDocument:
gcu::Document gcu::Object gcu::DialogOwner gcr::Document gcu::Chem3dDoc

List of all members.

Public Member Functions

 GLDocument (Application *App)
virtual ~GLDocument ()
virtual void Draw (Matrix const &m) const =0
double GetMaxDist (void)
GLViewGetView (void)

Protected Attributes

double m_MaxDist
GLViewm_View

Detailed Description

This class is a base class for documents representing 3d objects.

Definition at line 42 of file gldocument.h.


Constructor & Destructor Documentation

gcu::GLDocument::GLDocument ( Application App)
Parameters:
Appthe application owning the new document.

Default constructor.

virtual gcu::GLDocument::~GLDocument ( ) [virtual]

Default destructor.


Member Function Documentation

virtual void gcu::GLDocument::Draw ( Matrix const &  m) const [pure virtual]
Parameters:
mthe 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]
Returns:
the longest distance between any object and the center of the model.

Definition at line 70 of file gldocument.h.

gcu::GLDocument::GetView ( void  ) [inline]
Returns:
the associated GLView instance.

Reimplemented in gcr::Document.

Definition at line 77 of file gldocument.h.


Member Data Documentation

The longest distance between any object and the center of the model.

Definition at line 70 of file gldocument.h.

The associated GLView instance.

Definition at line 77 of file gldocument.h.


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