Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void Impala::Visualization::Plot::Plot::Axis::DrawRulers ( double *  start,
double *  end,
int  axis 
) [inline]

Definition at line 396 of file Plot.h.

References GetTick(), and mTickCount.

00397         {
00398             double a[3];
00399             double b[3];
00400             int i;
00401             for(i=0 ; i<3 ; i++)
00402             {
00403                 a[i] = start[i];
00404                 b[i] = end[i];
00405             }
00406             glColor3d(.7,.7,.7);
00407             glBegin(GL_LINES);
00408             for(i=0 ; i<mTickCount ; i++)
00409             {
00410                 a[axis] = b[axis] = GetTick(i);
00411                 glVertex3dv(a);
00412                 glVertex3dv(b);
00413             }
00414             glEnd();
00415         }

Here is the call graph for this function:


Generated on Fri Mar 19 11:52:57 2010 for ImpalaSrc by  doxygen 1.5.1