Grip-Reloaded
Grip version visualizaiton interface for DART (DynamicAnimationandRoboticsToolkits)
|
Widget containing all the visualization settings widgets all contained in a DockableWidget. More...
#include <VisualizationTab.h>
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 |
Widget containing all the visualization settings widgets all contained in a DockableWidget.
VisualizationTab::VisualizationTab | ( | osgDart::DartNode * | worldNode, |
TreeView * | treeView, | ||
MainWindow * | parent | ||
) |
Q_Object macro for using signals and slots.
Constructs a Visualization_Tab object
void VisualizationTab::slotSetTransparencyValue | ( | int | transparencyValue | ) | [protected, slot] |
Sets the transparency level of a skeleton or BodyNode.
transparencyValue | Current transparency value of the slider |
void VisualizationTab::slotToggleBodyNodeAxesVisibility | ( | bool | checked | ) | [protected, slot] |
Shows/hides the link frames of the skeletons.
checked | Whether or not to show the frames |
void VisualizationTab::slotToggleContactForcesVisibility | ( | bool | checked | ) | [protected, slot] |
Turns on/off visualization of contact forces.
checked | Whether or not to show contact forces return void |
void VisualizationTab::slotToggleJointAxesVisibility | ( | bool | checked | ) | [protected, slot] |
Shows/hides the joint axes of the skeletons.
checked | Whether or not to show the axes |
void VisualizationTab::slotToggleSkeletonCollisionMeshMode | ( | bool | checked | ) | [protected, slot] |
Turns on/off collision mesh render mode for all the skeletons.
checked | Whether or not to render using the collision mesh instead of the visualization mesh |
void VisualizationTab::slotToggleSkeletonCoMVisibility | ( | bool | checked | ) | [protected, slot] |
Shows/hides the center of mass of the skeletons.
checked | Whether or not to show the center of masses |
void VisualizationTab::slotToggleSkeletonProjCoMVisibility | ( | bool | checked | ) | [protected, slot] |
Shows/hides the projected center of mass of the skeletons.
checked | Whether or not to show the projected center of masses |
void VisualizationTab::slotToggleSkeletonWireFrameMode | ( | bool | checked | ) | [protected, slot] |
Turns on/off wireframe mode for all the skeletons.
checked | Whether or not to render using wireframe mode |
void VisualizationTab::update | ( | ) |
Updates the world based on the current visualization settings. This is useful for having newly loaded objects render with the current visualization settings.