Grip-Reloaded
Grip version visualizaiton interface for DART (DynamicAnimationandRoboticsToolkits)
Signals | Public Member Functions | Protected Slots | Protected Attributes
VisualizationTab Class Reference

Widget containing all the visualization settings widgets all contained in a DockableWidget. More...

#include <VisualizationTab.h>

List of all members.

Signals

void signalSendMessage (QString msg)

Public Member Functions

 VisualizationTab (osgDart::DartNode *worldNode, TreeView *treeView, MainWindow *parent)
 Q_Object macro for using signals and slots.
 ~VisualizationTab ()
 Destructs a Visualization_Tab object.
void update ()
 Updates the world based on the current visualization settings. This is useful for having newly loaded objects render with the current visualization settings.

Protected Slots

void slotToggleJointAxesVisibility (bool checked)
 Shows/hides the joint axes of the skeletons.
void slotToggleBodyNodeAxesVisibility (bool checked)
 Shows/hides the link frames of the skeletons.
void slotToggleSkeletonCoMVisibility (bool checked)
 Shows/hides the center of mass of the skeletons.
void slotToggleSkeletonProjCoMVisibility (bool checked)
 Shows/hides the projected center of mass of the skeletons.
void slotToggleSkeletonWireFrameMode (bool checked)
 Turns on/off wireframe mode for all the skeletons.
void slotToggleSkeletonCollisionMeshMode (bool checked)
 Turns on/off collision mesh render mode for all the skeletons.
void slotSetTransparencyValue (int transparencyValue)
 Sets the transparency level of a skeleton or BodyNode.
void slotToggleContactForcesVisibility (bool checked)
 Turns on/off visualization of contact forces.
void slotSetTransparencySliderFromSelectedItem ()
void slotSetSelectedTreeViewItem ()

Protected Attributes

Ui::VisualizationTab_ui
 Ui object that contains all the widgets of the tab.
MainWindow_parent
 Parent.
osgDart::DartNode_worldNode
 osgDart::DartNode pointer in order to change visualization options of the the world
TreeView_treeView
 Tree_View pointer for getting the current object.
TreeViewReturn_selectedTreeViewItem

Detailed Description

Widget containing all the visualization settings widgets all contained in a DockableWidget.


Constructor & Destructor Documentation

VisualizationTab::VisualizationTab ( osgDart::DartNode worldNode,
TreeView treeView,
MainWindow parent 
)

Q_Object macro for using signals and slots.

Constructs a Visualization_Tab object


Member Function Documentation

void VisualizationTab::slotSetTransparencyValue ( int  transparencyValue) [protected, slot]

Sets the transparency level of a skeleton or BodyNode.

Parameters:
transparencyValueCurrent transparency value of the slider
Returns:
void
void VisualizationTab::slotToggleBodyNodeAxesVisibility ( bool  checked) [protected, slot]

Shows/hides the link frames of the skeletons.

Parameters:
checkedWhether or not to show the frames
Returns:
void
void VisualizationTab::slotToggleContactForcesVisibility ( bool  checked) [protected, slot]

Turns on/off visualization of contact forces.

Parameters:
checkedWhether or not to show contact forces return void
void VisualizationTab::slotToggleJointAxesVisibility ( bool  checked) [protected, slot]

Shows/hides the joint axes of the skeletons.

Parameters:
checkedWhether or not to show the axes
Returns:
void
void VisualizationTab::slotToggleSkeletonCollisionMeshMode ( bool  checked) [protected, slot]

Turns on/off collision mesh render mode for all the skeletons.

Parameters:
checkedWhether or not to render using the collision mesh instead of the visualization mesh
Returns:
void
void VisualizationTab::slotToggleSkeletonCoMVisibility ( bool  checked) [protected, slot]

Shows/hides the center of mass of the skeletons.

Parameters:
checkedWhether or not to show the center of masses
Returns:
void
void VisualizationTab::slotToggleSkeletonProjCoMVisibility ( bool  checked) [protected, slot]

Shows/hides the projected center of mass of the skeletons.

Parameters:
checkedWhether or not to show the projected center of masses
Returns:
void
void VisualizationTab::slotToggleSkeletonWireFrameMode ( bool  checked) [protected, slot]

Turns on/off wireframe mode for all the skeletons.

Parameters:
checkedWhether or not to render using wireframe mode
Returns:
void

Updates the world based on the current visualization settings. This is useful for having newly loaded objects render with the current visualization settings.

Returns:
void

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator