The Gnome Chemistry Utils  0.14.7
Public Member Functions | List of all members
gcugtk::Chem3dView Class Reference

#include <gcugtk/chem3dview.h>

Inheritance diagram for gcugtk::Chem3dView:
gcugtk::GLView gcu::GLView gcugtk::Printable gcu::DialogOwner

Public Member Functions

 Chem3dView (Chem3dDoc *doc)
 
virtual ~Chem3dView ()
 
void SetWindow (Chem3dWindow *val)
 
Chem3dWindowGetWindow (void)
 
- Public Member Functions inherited from gcugtk::GLView
 GLView (gcu::GLDocument *pDoc) throw (std::runtime_error)
 Constructor. More...
 
virtual ~GLView ()
 Destructor. More...
 
GtkWidget * GetWidget ()
 
GtkWindow * GetGtkWindow ()
 
void Update ()
 
void DoPrint (GtkPrintOperation *print, GtkPrintContext *context, int page) const
 
GdkPixbuf * BuildPixbuf (unsigned width, unsigned height, bool use_bg) const
 
- Public Member Functions inherited from gcu::GLView
 GLView (GLDocument *pDoc) throw (std::runtime_error)
 Constructor. More...
 
void SetRotation (double psi, double theta, double phi)
 
void SaveAsImage (std::string const &filename, char const *type, std::map< std::string, std::string > &options, unsigned width, unsigned height, bool use_bg) const
 
void RenderToCairo (cairo_t *cr, unsigned width, unsigned height, bool use_bg) const
 
void SetAngle (double val)
 
double GetAngle (void) const
 
double & GetRefAngle (void)
 
void SetPsi (double val)
 
double GetPsi (void) const
 
double & GetRefPsi (void)
 
void SetPhi (double val)
 
double GetPhi (void) const
 
double & GetRefPhi (void)
 
void SetTheta (double val)
 
double GetTheta (void) const
 
double & GetRefTheta (void)
 
void SetRed (float val)
 
float GetRed (void) const
 
float & GetRefRed (void)
 
void SetGreen (float val)
 
float GetGreen (void) const
 
float & GetRefGreen (void)
 
void SetBlue (float val)
 
float GetBlue (void) const
 
float & GetRefBlue (void)
 
void SetAlpha (float val)
 
float GetAlpha (void) const
 
float & GetRefAlpha (void)
 
GLDocumentGetDoc (void)
 
double GetRadius (void)
 
- Public Member Functions inherited from gcugtk::Printable
 Printable ()
 
virtual ~Printable ()
 
virtual bool SupportsHeaders ()
 
virtual bool SupportMultiplePages ()
 
virtual int GetPagesNumber ()
 
void Print (bool preview)
 
void SetPageSetup (GtkPageSetup *PageSetup)
 
GtkPrintSettings * GetPrintSettings (void) const
 
GtkPageSetup * GetPageSetup (void) const
 
void SetUnit (GtkUnit val)
 
GtkUnit GetUnit (void) const
 
GtkUnit & GetRefUnit (void)
 
void SetHeaderHeight (double val)
 
double GetHeaderHeight (void) const
 
double & GetRefHeaderHeight (void)
 
void SetFooterHeight (double val)
 
double GetFooterHeight (void) const
 
double & GetRefFooterHeight (void)
 
void SetHorizCentered (bool val)
 
bool GetHorizCentered (void) const
 
bool & GetRefHorizCentered (void)
 
void SetVertCentered (bool val)
 
bool GetVertCentered (void) const
 
bool & GetRefVertCentered (void)
 
void SetScaleType (PrintScaleType val)
 
PrintScaleType GetScaleType (void) const
 
PrintScaleTypeGetRefScaleType (void)
 
void SetScale (double val)
 
double GetScale (void) const
 
double & GetRefScale (void)
 
void SetHorizFit (bool val)
 
bool GetHorizFit (void) const
 
bool & GetRefHorizFit (void)
 
void SetVertFit (bool val)
 
bool GetVertFit (void) const
 
bool & GetRefVertFit (void)
 
void SetHPages (int val)
 
int GetHPages (void) const
 
int & GetRefHPages (void)
 
void SetVPages (int val)
 
int GetVPages (void) const
 
int & GetRefVPages (void)
 
void SetHasBackground (bool val)
 
bool GetHasBackground (void) const
 
bool & GetRefHasBackground (void)
 
void SetPrintBackground (bool val)
 
bool GetPrintBackground (void) const
 
bool & GetRefPrintBackground (void)
 
- Public Member Functions inherited from gcu::DialogOwner
 DialogOwner ()
 
virtual ~DialogOwner ()
 
DialogGetDialog (std::string name) const
 
void ClearDialogs ()
 

Additional Inherited Members

- Protected Member Functions inherited from gcugtk::GLView
virtual bool GLBegin ()
 
virtual void GLEnd ()
 
- Protected Member Functions inherited from gcu::GLView
void Rotate (gdouble x, gdouble y)
 
- Protected Attributes inherited from gcugtk::GLView
GtkWidget * m_Widget
 
- Protected Attributes inherited from gcu::GLView
Matrix m_Euler
 
double m_Lastx
 
double m_Lasty
 
int m_WindowHeight
 
int m_WindowWidth
 
double m_Height
 
double m_Width
 
double m_Near
 
double m_Far
 
double m_Radius
 

Detailed Description

View class for a molecule.

Definition at line 41 of file chem3dview.h.

Constructor & Destructor Documentation

gcugtk::Chem3dView::Chem3dView ( Chem3dDoc doc)
Parameters
docthe document for the view.

Default constructor

virtual gcugtk::Chem3dView::~Chem3dView ( )
virtual

Default destructor

Member Function Documentation

gcugtk::Chem3dView::GetWindow ( void  )
inline
Returns
the view window.

Definition at line 65 of file chem3dview.h.

gcugtk::Chem3dView::SetWindow ( Chem3dWindow val)
inline
Parameters
valthe new window for the view.

Sets the view window.

Definition at line 65 of file chem3dview.h.


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