23 #ifndef DOXYGEN_NOTFOR_DEVEL 
   24 #include <tulip/tulipconf.h> 
   25 #include <tulip/Color.h> 
   26 #include <tulip/Coord.h> 
   27 #include <tulip/Size.h> 
   28 #include <tulip/Matrix.h> 
   34 #if defined(__APPLE__) 
   35 #include <OpenGL/gl.h> 
   44 typedef Matrix<float, 4> MatrixGL;
 
   45 TLP_GL_SCOPE 
void glTest(
const std::string &message = std::string(
"(no description)"));
 
   46 TLP_GL_SCOPE 
void setColor(
const Color &c);
 
   47 TLP_GL_SCOPE 
void setColor(GLfloat *);
 
   48 TLP_GL_SCOPE 
void setMaterial(
const Color &c);
 
   49 TLP_GL_SCOPE 
bool cameraIs3D();
 
   54 TLP_GL_SCOPE Coord projectPoint(
const Coord &obj,
 
   56                                 const Vector<int, 4> &viewport);
 
   61 TLP_GL_SCOPE Coord unprojectPoint(
const Coord &obj,
 
   63                                   const tlp::Vector<int, 4> &viewport);
 
   64 TLP_GL_SCOPE GLfloat projectSize(
const BoundingBox& bb,
 
   65                                  const MatrixGL &, 
const MatrixGL &,
const Vector<int, 4> &viewport);
 
   66 TLP_GL_SCOPE GLfloat projectSize(
const Coord& position,
const Size& size,
 
   67                                  const MatrixGL &, 
const MatrixGL &,
const Vector<int, 4> &viewport);
 
   68 TLP_GL_SCOPE 
float calculateAABBSize(
const BoundingBox& bb,
const Coord& eye,
const Matrix<float, 4>& transformMatrix,
const Vector<int, 4>& globalViewport,
const Vector<int, 4>& currentViewport);
 
   69 TLP_GL_SCOPE 
float calculate2DLod(
const BoundingBox& bb,
const Vector<int, 4>& globalViewport,
const Vector<int, 4>& currentViewport);
 
   72 #endif //DOXYGEN_NOTFOR_DEVEL