|
ARB
|
#include <RNA3D_OpenGLGraphics.hxx>

Public Member Functions | |
| OpenGLGraphics () | |
| virtual | ~OpenGLGraphics () |
| void | WinToScreenCoordinates (int x, int y, GLdouble *screenPos) |
| void | ScreenToWinCoordinates (int x, int y, GLdouble *winPos) |
| void | PrintString (float x, float y, float z, char *s, void *font) |
| void | init_font (GLuint base, char *f) |
| void | print_string (GLuint base, char *s) |
| void | InitMainFont (char *f) |
| void | SetOpenGLBackGroundColor () |
| ColorRGBf | ConvertGCtoRGB (int gc) |
| void | SetColor (int gc) |
| ColorRGBf | GetColor (int gc) |
| void | DrawBox (float x, float y, float width, float height) |
Public Attributes | |
| int | screenXmax |
| int | screenYmax |
| int | mouseX |
| int | mouseY |
| bool | displayGrid |
| ColorRGBf | ApplicationBGColor |
Definition at line 29 of file RNA3D_OpenGLGraphics.hxx.
| OpenGLGraphics::OpenGLGraphics | ( | ) |
Definition at line 13 of file RNA3D_OpenGLGraphics.cxx.
|
virtual |
Definition at line 18 of file RNA3D_OpenGLGraphics.cxx.
Definition at line 79 of file RNA3D_OpenGLGraphics.cxx.
| void OpenGLGraphics::PrintString | ( | float | x, |
| float | y, | ||
| float | z, | ||
| char * | s, | ||
| void * | font | ||
| ) |
Definition at line 154 of file RNA3D_OpenGLGraphics.cxx.
References font_base, and print_string().
Referenced by Structure3D::ComputeBasePositions(), Structure3D::GenerateBaseDifferencePositionDisplayList(), Structure3D::GenerateHelixNrDispList(), and Structure3D::GenerateInsertionDisplayList().
| void OpenGLGraphics::init_font | ( | GLuint | base, |
| char * | f | ||
| ) |
Definition at line 101 of file RNA3D_OpenGLGraphics.cxx.
References EXIT_FAILURE, and NULp.
Referenced by InitMainFont().
| void OpenGLGraphics::print_string | ( | GLuint | base, |
| char * | s | ||
| ) |
Definition at line 130 of file RNA3D_OpenGLGraphics.cxx.
References EXIT_FAILURE, and font_base.
Referenced by PrintString().
| void OpenGLGraphics::InitMainFont | ( | char * | f | ) |
Definition at line 143 of file RNA3D_OpenGLGraphics.cxx.
References EXIT_FAILURE, font_base, and init_font().
Referenced by InitializeOpenGLWindow().
| void OpenGLGraphics::SetOpenGLBackGroundColor | ( | ) |
Definition at line 22 of file RNA3D_OpenGLGraphics.cxx.
References ApplicationBGColor, AW_get_AreaWidget(), AW_MIDDLE_AREA, AWT_canvas::aww, RNA3D_Global::gl_Canvas, RNA3D_Global::glw, NULp, and RNA3D.
Referenced by RenderOpenGLScene().
Definition at line 44 of file RNA3D_OpenGLGraphics.cxx.
References AW_get_AreaWidget(), AW_map_AreaGC(), AW_MIDDLE_AREA, AWT_canvas::aww, RNA3D_Global::gl_Canvas, and RNA3D.
Referenced by GetColor(), and SetColor().
| void OpenGLGraphics::SetColor | ( | int | gc | ) |
Definition at line 68 of file RNA3D_OpenGLGraphics.cxx.
References ColorRGBf::blue, ConvertGCtoRGB(), ColorRGBf::green, and ColorRGBf::red.
Referenced by Structure3D::GenerateMoleculeSkeleton(), Structure3D::MapSaiToEcoliTemplate(), and Structure3D::MapSearchStringsToEcoliTemplate().
Definition at line 74 of file RNA3D_OpenGLGraphics.cxx.
References ConvertGCtoRGB().
| void OpenGLGraphics::DrawBox | ( | float | x, |
| float | y, | ||
| float | width, | ||
| float | height | ||
| ) |
Definition at line 159 of file RNA3D_OpenGLGraphics.cxx.
| int OpenGLGraphics::screenXmax |
Definition at line 30 of file RNA3D_OpenGLGraphics.hxx.
| int OpenGLGraphics::screenYmax |
Definition at line 30 of file RNA3D_OpenGLGraphics.hxx.
| int OpenGLGraphics::mouseX |
Definition at line 30 of file RNA3D_OpenGLGraphics.hxx.
| int OpenGLGraphics::mouseY |
Definition at line 30 of file RNA3D_OpenGLGraphics.hxx.
| bool OpenGLGraphics::displayGrid |
Definition at line 31 of file RNA3D_OpenGLGraphics.hxx.
| ColorRGBf OpenGLGraphics::ApplicationBGColor |
Definition at line 32 of file RNA3D_OpenGLGraphics.hxx.
Referenced by SetOpenGLBackGroundColor().
1.8.8