1 #include "CameraViewExternals.hh"
3 #include <Base/Debug/Error.hh>
4 #include <Base/Debug/DebugSimple.hh>
6 #ifdef BIAS_HAVE_OPENGL
7 # include <Gui/biasgl.h>
8 #endif //BIAS_HAVE_OPENGL
15 CameraViewExternals::CameraViewExternals()
23 : C(vC), up(vup), viewAt(vviewAt)
29 os<<
"CameraViewExternals : "<<endl
31 <<
"viewAt "<<viewAt<<endl
37 #ifdef BIAS_HAVE_OPENGL
40 glMatrixMode(GL_MODELVIEW);
57 glMatrixMode(GL_MODELVIEW);
59 glPushAttrib(GL_POINT_BIT);
61 static bool blink=
true;
64 glColor3f(1.0, 1.0, 1.0);
66 glColor3f(0.0, 0.0, 0.0);
69 glVertex3dv(&viewAt[0]);
74 #endif // BIAS_HAVE_OPENGL
void DisplayViewAt(const double &size=1.0) const
std::ostream & Print(std::ostream &os=std::cout)