this function calls all opengl statements to draw the plottable all scaling, translation and raotation should be done before this function is called
Implements Impala::Visualization::Plot::Plottable. Definition at line 27 of file Function.h. References BeginSampling(), EndSampling(), Impala::Visualization::Plot::Plot::GetRange(), Impala::Visualization::Plot::Plottable::mMaxX, Impala::Visualization::Plot::Plottable::mMinX, mSampleCount, mZ, Sample(), and Impala::Visualization::Plot::Plottable::SelectColor(). 00028 { 00029 double l,t,r,b; 00030 plot->GetRange(l,t,r,b); 00031 double dx=(r-l)/mSampleCount; 00032 00033 SelectColor(); 00034 00035 BeginSampling(); 00036 glBegin(GL_LINE_STRIP); 00037 for (double x=mMinX ; x<mMaxX ; x+=dx) 00038 glVertex3d(x, Sample(x), mZ); 00039 glEnd(); 00040 EndSampling(); 00041 }
Here is the call graph for this function:
|