DART  6.7.3
dart::gui::osg Namespace Reference

Namespaces

 render
 
 sfs_dnd
 

Classes

struct  PickInfo
 
class  DefaultEventHandler
 
class  InteractiveFrameMouseEvent
 
class  InteractiveToolDnD
 
class  DragAndDrop
 DragAndDrop is a class that facilitates enabling various kinds of dart Entities to be dragged and dropped in an dart::gui::osg environment. More...
 
class  SimpleFrameDnD
 SimpleFrameDnD is a DragAndDrop implementation for SimpleFrame objects. More...
 
class  SimpleFrameShapeDnD
 SimpleFrameShapeDnD is a version of SimpleFrameDnD that allows a specific Shape within the SimpleFrame to be dragged and dropped (although it will carry the entire SimpleFrame with it) More...
 
class  InteractiveFrameDnD
 
class  BodyNodeDnD
 
struct  ImGuiNewFrameCallback
 
struct  ImGuiDrawCallback
 
class  ImGuiHandler
 
class  ImGuiViewer
 
class  ImGuiWidget
 
class  AboutWidget
 
class  InteractiveTool
 
class  InteractiveFrame
 
class  MouseEventHandler
 
class  RealTimeWorldNode
 
class  ShapeFrameNode
 
class  SupportPolygonVisual
 Attach this to a Viewer in order to visualize the support polygon of a Skeleton. More...
 
class  TrackballManipulator
 
class  SaveScreen
 
class  ViewerAttachmentCallback
 
class  ViewerAttachment
 
class  Viewer
 
class  WorldNodeCallback
 
class  WorldNode
 WorldNode class encapsulates a World to be displayed in OpenSceneGraph. More...
 

Typedefs

typedef std::shared_ptr< InteractiveFrameInteractiveFramePtr
 

Enumerations

enum  MouseButton { LEFT_MOUSE = 0 , RIGHT_MOUSE , MIDDLE_MOUSE , NUM_MOUSE_BUTTONS }
 
enum  MouseButtonEvent { BUTTON_PUSH = 0 , BUTTON_DRAG , BUTTON_RELEASE , BUTTON_NOTHING }
 
enum  ConstraintType {
  UNCONSTRAINED = 0 , LINE_CONSTRAINT , PLANE_CONSTRAINT , CUSTOM_CONSTRAINT ,
  NUM_CONSTRAINT_TYPES
}
 

Functions

static bool wasActive (MouseButtonEvent event)
 
static void assignEventToButtons (MouseButtonEvent(&mLastButtonEvent)[NUM_MOUSE_BUTTONS], const ::osgGA::GUIEventAdapter &ea)
 
void ImGui_RenderDrawLists (ImDrawData *draw_data)
 
static void warnAboutUnsuccessfulCast (const std::string &shapeType, const std::string &entityName)
 
static sfs_dnd::iterator getSimpleFrameShapeDnDFromMultimap (dart::dynamics::SimpleFrame *_frame, dart::dynamics::Shape *_shape, std::multimap< dart::dynamics::Shape *, SimpleFrameShapeDnD * > &map)
 

Typedef Documentation

◆ InteractiveFramePtr

Enumeration Type Documentation

◆ ConstraintType

Enumerator
UNCONSTRAINED 
LINE_CONSTRAINT 
PLANE_CONSTRAINT 
CUSTOM_CONSTRAINT 
NUM_CONSTRAINT_TYPES 

◆ MouseButton

Enumerator
LEFT_MOUSE 
RIGHT_MOUSE 
MIDDLE_MOUSE 
NUM_MOUSE_BUTTONS 

◆ MouseButtonEvent

Enumerator
BUTTON_PUSH 
BUTTON_DRAG 
BUTTON_RELEASE 
BUTTON_NOTHING 

Function Documentation

◆ assignEventToButtons()

static void dart::gui::osg::assignEventToButtons ( MouseButtonEvent(&)  mLastButtonEvent[NUM_MOUSE_BUTTONS],
const ::osgGA::GUIEventAdapter &  ea 
)
static

◆ getSimpleFrameShapeDnDFromMultimap()

static sfs_dnd::iterator dart::gui::osg::getSimpleFrameShapeDnDFromMultimap ( dart::dynamics::SimpleFrame _frame,
dart::dynamics::Shape _shape,
std::multimap< dart::dynamics::Shape *, SimpleFrameShapeDnD * > &  map 
)
static

◆ ImGui_RenderDrawLists()

void dart::gui::osg::ImGui_RenderDrawLists ( ImDrawData *  draw_data)

◆ warnAboutUnsuccessfulCast()

static void dart::gui::osg::warnAboutUnsuccessfulCast ( const std::string &  shapeType,
const std::string &  entityName 
)
static

◆ wasActive()

static bool dart::gui::osg::wasActive ( MouseButtonEvent  event)
static