Reimplemented from BasicGlCamera.
Definition at line 78 of file Q3DCameraWidget.cc.
References _colorB, _colorG, _colorR, _x, _y, _z, i, rotation, rotationy, and transZ.
81 glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
84 glTranslatef(-0.0,-0.0, -5);
85 glTranslatef(0,0,(
float)(
transZ));
87 glRotatef((
float)
rotation, 0.0, 1.0, 0.0);
89 glColor3f(1.0,0.0,0.0);
91 glBegin(GL_TRIANGLES);
92 for (
int i=0;
i<1439;
i++)
94 for (
int j=6;j<250;j++)
98 glVertex3f(
_x[
i*300+j],
_y[
i*300+j],
_z[
i*300+j]);
100 glVertex3f(
_x[
i*300+j+1],
_y[
i*300+j+1],
_z[
i*300+j+1]);
102 glVertex3f(
_x[(
i+1)*300+j],
_y[(
i+1)*300+j],
_z[(
i+1)*300+j]);
105 glVertex3f(
_x[
i*300+j+1],
_y[
i*300+j+1],
_z[
i*300+j+1]);
107 glVertex3f(
_x[(
i+1)*300+j+1],
_y[(
i+1)*300+j+1],
_z[(
i+1)*300+j+1]);
109 glVertex3f(
_x[(
i+1)*300+j],
_y[(
i+1)*300+j],
_z[(
i+1)*300+j]);