Public Member Functions |
| GLView (gcu::GLDocument *pDoc) throw (std::runtime_error) |
| Constructor.
|
virtual | ~GLView () |
| Destructor.
|
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 |
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) |
GLDocument * | GetDoc (void) |
double | GetRadius (void) |
| Printable () |
virtual | ~Printable () |
virtual bool | SupportsHeaders () |
virtual bool | SupportMultiplePages () |
virtual int | GetPagesNumber () |
void | Print (bool preview) |
void | SetPageSetup (GtkPageSetup *PageSetup) |
GtkPrintSettings * | GetPrintSettings (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 |
PrintScaleType & | GetRefScaleType (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) |
| DialogOwner () |
virtual | ~DialogOwner () |
Dialog * | GetDialog (std::string name) const |
void | ClearDialogs () |
View class based on OpenGL for rendering. Used to display 3d chemical structures such as molecules or crystals cells.
Definition at line 40 of file tk/glview.h.