89 GLdouble polygonMode[2];
90 glGetDoublev(GL_POLYGON_MODE, polygonMode);
91 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
96 glMatrixMode(GL_MODELVIEW);
115 glMatrixMode(GL_PROJECTION);
120 glOrtho(0, width, 0.0, height, 0.0, 1.0);
123 glMatrixMode(GL_MODELVIEW);
140 glMatrixMode(GL_PROJECTION);
144 glMatrixMode(GL_MODELVIEW);
149 glPolygonMode(GL_FRONT_AND_BACK, polygonMode[0]);
static const OColor BLACK
static const OColor WHITE
double _y
y coordinate of OCoord3D
double _z
z coordinate of OCoord3D
double _x
x coordinate of OCoord3D
bool load(const char *filename)
void drawText(const std::string &msg, const OColor &color, double x, double y) const
void drawRectangle(const OPoint3D &point0, const OPoint3D &point1, const OPoint3D &point2, const OPoint3D &point3, const OColor &oColor, bool bFalse=false) const
OGLRectangle * m_pOGLRectangleRightToDisplay
OGLRectangle * m_pOGLRectangleLeftToDisplay
OGLFont * m_pOGLFont0ToDisplay
virtual ~OGLScalarBarElement()
static LPOSizeManager get()