CDraw3D.h File Reference

Implements OpenGL drawing macros. More...

#include "math/CMaths.h"

Go to the source code of this file.

Namespaces

 chai3d
 

Functions

void chai3d::cLookAt (const cVector3d &a_eye, const cVector3d &a_at, const cVector3d &a_up)
 This function aligns the current z-axis with a reference frame (similar to function gluLookAt). More...
 
void chai3d::cDrawFrame (const double &a_scale=1.0)
 This function draws an x-y-z frame. More...
 
void chai3d::cDrawFrame (const double &a_axisLengthScale, const double &a_axisThicknessScale)
 This function draws an x-y-z frame. More...
 
void chai3d::cDrawWireBox (const double &a_xMin, const double &a_xMax, const double &a_yMin, const double &a_yMax, const double &a_zMin, const double &a_zMax)
 This function draws a box using lines. More...
 
void chai3d::cDrawSphere (const double &a_radius, const unsigned int a_numSlices=10, const unsigned int a_numStacks=10)
 This function draws a sphere. More...
 
void chai3d::cDrawArrow (const cVector3d &a_arrowStart, const cVector3d &a_arrowTip, const double a_width=0.05)
 This function draws an arrow on the z-axis using a cone and a cylinder. More...
 
void chai3d::cDrawSolidTorus (const double &a_innerRadius, const double &a_outerRadius, const int a_sides, const int a_rings)
 This function draws a torus. More...