#include <qwt3dBars.h>
|
void | draw (Qwt3D::Triple const &, double w, double h) |
|
Definition at line 44 of file qwt3dBars.h.
void Label3D::draw |
( |
Qwt3D::Triple const & |
pos, |
|
|
double |
w, |
|
|
double |
h |
|
) |
| |
Definition at line 156 of file qwt3dBars.cpp.
168 glVertex3d(pos.x - w, pos.y, posZ + gap);
169 glVertex3d(pos.x + w, pos.y, posZ + gap);
170 glVertex3d(pos.x + w, pos.y, posZ + gap + h);
171 glVertex3d(pos.x - w, pos.y, posZ + gap + h);
173 glColor3d(0.4, 0, 0);
174 glBegin(GL_LINE_LOOP);
175 glVertex3d(pos.x - w, pos.y, posZ + gap);
176 glVertex3d(pos.x + w, pos.y, posZ + gap);
177 glVertex3d(pos.x + w, pos.y, posZ + gap + h);
178 glVertex3d(pos.x - w, pos.y, posZ + gap + h);
181 glVertex3d(pos.x, pos.y, posZ);
182 glVertex3d(pos.x, pos.y, posZ + gap);
The documentation for this class was generated from the following files: