RobWorkProject  24.8.23-
Static Public Member Functions | List of all members
DrawableUtil Class Reference

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.
 

Detailed Description

Utility class for drawable stuff.

Member Function Documentation

◆ drawGLVertex()

static void drawGLVertex ( const rw::math::Vector3D<> &  v)
inlinestatic

draw a glVertex3

Parameters
v[in] the Vector3D object

◆ multGLTransform() [1/2]

static void multGLTransform ( const rw::math::Transform3D< double > &  transform)
inlinestatic

multiplies the transform on the gl stack with the rw transform b transform

Parameters
transform[in] the Transform3D object

◆ multGLTransform() [2/2]

static void multGLTransform ( const rw::math::Transform3D< float > &  transform)
inlinestatic

multiplies the transform on the gl stack with the rw transform b transform

Parameters
transform[in] the Transform3D object

◆ transform3DToGLTransform() [1/3]

static void transform3DToGLTransform ( const rw::math::Transform3D< double > &  transform,
GLdouble *  gltrans 
)
static

copy a RW Transform3D to a GL transform representation

Parameters
transform[in] the Transform3D object
gltrans[in] a GLfloat array of size 16

◆ transform3DToGLTransform() [2/3]

static void transform3DToGLTransform ( const rw::math::Transform3D< double > &  transform,
GLfloat *  gltrans 
)
static

copy a RW Transform3D to a GL transform representation

Parameters
transform[in] the Transform3D object
gltrans[in] a GLfloat array of size 16

◆ transform3DToGLTransform() [3/3]

static void transform3DToGLTransform ( const rw::math::Transform3D< float > &  transform,
GLfloat *  gltrans 
)
static

copy a RW Transform3D to a GL transform representation

Parameters
transform[in] the Transform3D object
gltrans[in] a GLfloat array of size 16

The documentation for this class was generated from the following file: