RobWorkProject
24.8.23-
|
Utility class for drawable stuff. More...
#include <DrawableUtil.hpp>
Static Public Member Functions | |
static void | transform3DToGLTransform (const rw::math::Transform3D< float > &transform, GLfloat *gltrans) |
copy a RW Transform3D to a GL transform representation More... | |
static void | transform3DToGLTransform (const rw::math::Transform3D< double > &transform, GLfloat *gltrans) |
copy a RW Transform3D to a GL transform representation More... | |
static void | transform3DToGLTransform (const rw::math::Transform3D< double > &transform, GLdouble *gltrans) |
copy a RW Transform3D to a GL transform representation More... | |
static void | multGLTransform (const rw::math::Transform3D< float > &transform) |
multiplies the transform on the gl stack with the rw transform b transform More... | |
static void | multGLTransform (const rw::math::Transform3D< double > &transform) |
multiplies the transform on the gl stack with the rw transform b transform More... | |
static void | drawGLVertex (const rw::math::Vector3D<> &v) |
draw a glVertex3 More... | |
static void | setupHighlightLight () |
sets up the highlighting functionality. Highlighting is enabled by enabling and disabling GL_LIGHT7 when drawing objects. | |
Utility class for drawable stuff.
|
inlinestatic |
draw a glVertex3
v | [in] the Vector3D object |
|
inlinestatic |
multiplies the transform on the gl stack with the rw transform b transform
transform | [in] the Transform3D object |
|
inlinestatic |
multiplies the transform on the gl stack with the rw transform b transform
transform | [in] the Transform3D object |
|
static |
copy a RW Transform3D to a GL transform representation
transform | [in] the Transform3D object |
gltrans | [in] a GLfloat array of size 16 |
|
static |
copy a RW Transform3D to a GL transform representation
transform | [in] the Transform3D object |
gltrans | [in] a GLfloat array of size 16 |
|
static |
copy a RW Transform3D to a GL transform representation
transform | [in] the Transform3D object |
gltrans | [in] a GLfloat array of size 16 |