2012-09-16 12:33:11 +00:00
|
|
|
/**
|
|
|
|
@file
|
|
|
|
@brief Displaying of a matched 3D scene
|
|
|
|
@author Kai Lingemann. Institute of Computer Science, University of Osnabrueck, Germany.
|
|
|
|
@author Andreas Nuechter. Institute of Computer Science, University of Osnabrueck, Germany.
|
|
|
|
*/
|
|
|
|
|
2012-10-24 09:22:27 +00:00
|
|
|
#ifndef __SHOW_ICC__
|
|
|
|
#define __SHOW_ICC__
|
2012-09-16 12:33:11 +00:00
|
|
|
/**
|
|
|
|
sets the OpenGL point,
|
|
|
|
(z axis is inverted in OpenGL)
|
|
|
|
*/
|
2012-10-24 09:22:27 +00:00
|
|
|
inline void setGLPoint(GLdouble pX, GLdouble pY, GLdouble pZ)
|
2012-09-16 12:33:11 +00:00
|
|
|
{
|
|
|
|
// pZ *= -1.0;
|
|
|
|
glVertex3d(pX, pY, pZ);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
sets the OpenGL point,
|
|
|
|
(z axis is inverted in OpenGL)
|
|
|
|
*/
|
2012-10-24 09:22:27 +00:00
|
|
|
inline void setGLPoint(GLdouble* p)
|
2012-09-16 12:33:11 +00:00
|
|
|
{
|
|
|
|
GLdouble pZ = 1.0 * p[2];
|
|
|
|
|
|
|
|
glVertex3d(p[0], p[1], pZ);
|
|
|
|
}
|
2012-10-24 09:22:27 +00:00
|
|
|
#endif
|