QwtPlot3D API  0.2.7
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Drawable Class Referenceabstract

#include <qwt3d_drawable.h>

Inheritance diagram for Drawable:
Axis ColorLegend CoordinateSystem Label

Public Member Functions

virtual void draw ()
 
virtual void saveGLState ()
 
virtual void restoreGLState ()
 
void attach (Drawable *)
 
void detach (Drawable *)
 
void detachAll ()
 
virtual void setColor (double r, double g, double b, double a=1)
 
virtual void setColor (Qwt3D::RGBA rgba)
 
Qwt3D::Triple relativePosition (Qwt3D::Triple rel)
 

Protected Member Functions

void Enable (GLenum what, GLboolean val)
 
Qwt3D::Triple ViewPort2World (Qwt3D::Triple win, bool *err=0)
 
Qwt3D::Triple World2ViewPort (Qwt3D::Triple obj, bool *err=0)
 

Protected Attributes

Qwt3D::RGBA color
 
GLdouble modelMatrix [16]
 
GLdouble projMatrix [16]
 
GLint viewport [4]
 

Member Function Documentation

Triple relativePosition ( Qwt3D::Triple  rel)

Don't rely on (use) this in display lists !

References Drawable::ViewPort2World(), and Triple::x.

Referenced by Label::setRelPosition(), and ColorLegend::setRelPosition().

Triple ViewPort2World ( Qwt3D::Triple  win,
bool *  err = 0 
)
protected

simplified glut routine (glUnProject): windows coordinates_p –> object coordinates_p

Don't rely on (use) this in display lists !

References Triple::x.

Referenced by Label::adjust(), Axis::draw(), and Drawable::relativePosition().

Triple World2ViewPort ( Qwt3D::Triple  obj,
bool *  err = 0 
)
protected

simplified glut routine (glProject): object coordinates_p –> windows coordinates_p

Don't rely on (use) this in display lists !

References Triple::x.

Referenced by Label::adjust(), Axis::draw(), and Axis::setLabelColor().


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