DART  6.10.1
dart::gui Namespace Reference

Namespaces

 glut
 
 osg
 

Classes

class  OpenGLRenderInterface
 
class  RenderInterface
 
class  Trackball
 

Typedefs

using GlutWindow = ::dart::gui::glut::Window
 
using GraphWindow = ::dart::gui::glut::GraphWindow
 
using MotionBlurSimWindow = ::dart::gui::glut::MotionBlurSimWindow
 
using SimWindow = ::dart::gui::glut::SimWindow
 
using SoftSimWindow = ::dart::gui::glut::SoftSimWindow
 
using Win2D = ::dart::gui::glut::Win2D
 
using Win3D = ::dart::gui::glut::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)
 
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)
 
Eigen::Vector3d computeNormal (const Eigen::Vector3d &v1, const Eigen::Vector3d &v2, const Eigen::Vector3d &v3)
 

Typedef Documentation

◆ GlutWindow

◆ GraphWindow

◆ MotionBlurSimWindow

◆ SimWindow

◆ SoftSimWindow

◆ Win2D

◆ Win3D

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

◆ computeNormal()

Eigen::Vector3d dart::gui::computeNormal ( const Eigen::Vector3d &  v1,
const Eigen::Vector3d &  v2,
const Eigen::Vector3d &  v3 
)

◆ 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 = true 
)
Deprecated:
Deprecated in 6.6.

Please use dart::gui::glut::drawStringOnScreen() instead in dart/gui/glut/GLUTFuncs.hpp file.