DART  6.6.2
dart::gui Namespace Reference

Namespaces

 osg
 

Classes

class  GlutWindow
 
class  GraphWindow
 
class  MotionBlurSimWindow
 
class  OpenGLRenderInterface
 
class  RenderInterface
 
class  SimWindow
 
class  SoftSimWindow
 
class  Trackball
 
class  Win2D
 
class  Win3D
 

Enumerations

enum  DecoBufferType { BT_Front , BT_Back }
 
enum  DecoColorChannel {
  CC_R , CC_G , CC_B , CC_A ,
  CC_RGB , CC_RGBA
}
 
enum  DecoDrawType {
  DT_WireFrame , DT_SolidPolygon , DT_FrontPolygon , DT_BackPolygon ,
  DT_Max
}
 

Functions

void drawStringOnScreen (float _x, float _y, const std::string &_s, bool _bigFont=true)
 
void drawArrow3D (const Eigen::Vector3d &_pt, const Eigen::Vector3d &_dir, const double _length, const double _thickness, const double _arrowThickness=-1)
 
void drawArrow2D (const Eigen::Vector2d &_pt, const Eigen::Vector2d &_vec, double _thickness)
 
void drawProgressBar (int _currFrame, int _totalFrame)
 
void drawOpenCylinderConnectingTwoSpheres (OpenGLRenderInterface *ri, const std::pair< double, Eigen::Vector3d > &sphere0, const std::pair< double, Eigen::Vector3d > &sphere1, int slices, int stacks)
 
static void drawOpenDome (double radius, int slices, int stacks)
 
void accFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearPlane, GLdouble farPlane, GLdouble pixdx, GLdouble pixdy, GLdouble eyedx, GLdouble eyedy, GLdouble focus)
 
void accPerspective (GLdouble fovy, GLdouble aspect, GLdouble nearPlane, GLdouble farPlane, GLdouble pixdx, GLdouble pixdy, GLdouble eyedx, GLdouble eyedy, GLdouble focus)
 

Enumeration Type Documentation

◆ DecoBufferType

Enumerator
BT_Front 
BT_Back 

◆ DecoColorChannel

Enumerator
CC_R 
CC_G 
CC_B 
CC_A 
CC_RGB 
CC_RGBA 

◆ DecoDrawType

Enumerator
DT_WireFrame 
DT_SolidPolygon 
DT_FrontPolygon 
DT_BackPolygon 
DT_Max 

Function Documentation

◆ accFrustum()

void dart::gui::accFrustum ( GLdouble  left,
GLdouble  right,
GLdouble  bottom,
GLdouble  top,
GLdouble  nearPlane,
GLdouble  farPlane,
GLdouble  pixdx,
GLdouble  pixdy,
GLdouble  eyedx,
GLdouble  eyedy,
GLdouble  focus 
)

◆ accPerspective()

void dart::gui::accPerspective ( GLdouble  fovy,
GLdouble  aspect,
GLdouble  nearPlane,
GLdouble  farPlane,
GLdouble  pixdx,
GLdouble  pixdy,
GLdouble  eyedx,
GLdouble  eyedy,
GLdouble  focus 
)

◆ drawArrow2D()

void dart::gui::drawArrow2D ( const Eigen::Vector2d &  _pt,
const Eigen::Vector2d &  _vec,
double  _thickness 
)

◆ drawArrow3D()

void dart::gui::drawArrow3D ( const Eigen::Vector3d &  _pt,
const Eigen::Vector3d &  _dir,
const double  _length,
const double  _thickness,
const double  _arrowThickness 
)

◆ drawOpenCylinderConnectingTwoSpheres()

void dart::gui::drawOpenCylinderConnectingTwoSpheres ( OpenGLRenderInterface ri,
const std::pair< double, Eigen::Vector3d > &  sphere0,
const std::pair< double, Eigen::Vector3d > &  sphere1,
int  slices,
int  stacks 
)

◆ drawOpenDome()

static void dart::gui::drawOpenDome ( double  radius,
int  slices,
int  stacks 
)
static

◆ drawProgressBar()

void dart::gui::drawProgressBar ( int  _currFrame,
int  _totalFrame 
)

◆ drawStringOnScreen()

void dart::gui::drawStringOnScreen ( float  _x,
float  _y,
const std::string &  _s,
bool  _bigFont 
)