#include <gcu/chem3ddoc.h>

Public Member Functions | |
| Chem3dDoc () | |
| Chem3dDoc (Application *App, GLView *View) | |
| virtual | ~Chem3dDoc () |
| void | Draw (Matrix &m) |
| bool | IsEmpty () |
| void | Load (char const *uri, char const *mime_type) |
| void | LoadData (char const *data, char const *mime_type) |
| const char * | GetTitle () |
| void | OnExportVRML (std::string const &filename) |
Definition at line 59 of file chem3ddoc.h.
| gcu::Chem3dDoc::Chem3dDoc | ( | ) |
Default constructor
| gcu::Chem3dDoc::Chem3dDoc | ( | Application * | App, | |
| GLView * | View | |||
| ) |
| App | the application. | |
| View,: | an optional already existing GLView instance. |
| virtual gcu::Chem3dDoc::~Chem3dDoc | ( | ) | [virtual] |
Default destructor
| void gcu::Chem3dDoc::Draw | ( | Matrix & | m | ) | [virtual] |
| m | the Matrix giving the current model orientation |
Implements gcu::GLDocument.
| bool gcu::Chem3dDoc::IsEmpty | ( | ) | [inline] |
Definition at line 86 of file chem3ddoc.h.
| void gcu::Chem3dDoc::Load | ( | char const * | uri, | |
| char const * | mime_type | |||
| ) |
| uri | the uri of the molecule file. | |
| mime_type | the mime type of the molecule file. |
| void gcu::Chem3dDoc::LoadData | ( | char const * | data, | |
| char const * | mime_type | |||
| ) |
| data | the inline data. | |
| mime_type | the mime type of the data. |
| const char* gcu::Chem3dDoc::GetTitle | ( | ) | [inline] |
Reimplemented from gcu::Document.
Definition at line 107 of file chem3ddoc.h.
| void gcu::Chem3dDoc::OnExportVRML | ( | std::string const & | filename | ) |
| filename | the name of the vrml file to which the data should be written. |
1.5.4