ContactExaminerDlg Class Reference

Dialog for creating, saving, loading and inspecting virtual contacts. More...

#include <contactExaminerDlg.h>

Inheritance diagram for ContactExaminerDlg:
Inheritance graph
[legend]

List of all members.

Public Slots

void clearButton_clicked ()
void exitButton_clicked ()
void loadButton_clicked ()
void markButton_clicked ()
void modeSelected ()
void saveButton_clicked ()
void showGWSButton_clicked ()
void updateQualityButton_clicked ()

Public Member Functions

 ContactExaminerDlg (QWidget *parent=0)
 ~ContactExaminerDlg ()

Private Member Functions

void collectHandContacts ()
void collectObjectContacts ()
void destroy ()
void init ()
void showQuality ()
void updateButtons ()

Private Attributes

GraspmGrasp
HandmHand
std::vector< Contact * > mMarkedContacts
GraspableBodymObject
QualityMeasuremQual
WorldmWorld

Detailed Description

Dialog for creating, saving, loading and inspecting virtual contacts.

This dialog enables a user to create virtual contacts on a hand, save them to a file, load virtual contacts from the file and inspect them. It needs a hand and an actual object; the user must create traditional contacts between the hand and the object, then use this dialog to mark them as virtual. The contacts then continue to exist as virtual contacts even after the object has been moved away. The newly created virtual contacts can then be saved to a file, or previously saved virtual contacts can be loaded from a file.

This dialog can also be used to compute a "virtual" grasp quality of all the virtual contacts on the hand, without need for an object. However, this functionality has not been tested recently. Overall, this dialog is in need of a re-design.

The same functionality can be applied to objects: you can load an object, mark contacts as virtual ot just load pre-saved virtual contacts from a file, and then compute grasp quality without needing a hand at all.

WARNING: this is code under construction, not very robust.

Definition at line 64 of file contactExaminerDlg.h.


Constructor & Destructor Documentation

ContactExaminerDlg::ContactExaminerDlg ( QWidget *  parent = 0  )  [inline]

Definition at line 83 of file contactExaminerDlg.h.

ContactExaminerDlg::~ContactExaminerDlg (  )  [inline]

Definition at line 91 of file contactExaminerDlg.h.


Member Function Documentation

void ContactExaminerDlg::clearButton_clicked (  )  [slot]

Definition at line 209 of file contactExaminerDlg.cpp.

void ContactExaminerDlg::collectHandContacts (  )  [private]

Definition at line 75 of file contactExaminerDlg.cpp.

void ContactExaminerDlg::collectObjectContacts (  )  [private]

Definition at line 109 of file contactExaminerDlg.cpp.

void ContactExaminerDlg::destroy (  )  [private]

Definition at line 226 of file contactExaminerDlg.cpp.

void ContactExaminerDlg::exitButton_clicked (  )  [slot]

Definition at line 173 of file contactExaminerDlg.cpp.

void ContactExaminerDlg::init (  )  [private]

Definition at line 42 of file contactExaminerDlg.cpp.

void ContactExaminerDlg::loadButton_clicked (  )  [slot]

Definition at line 124 of file contactExaminerDlg.cpp.

void ContactExaminerDlg::markButton_clicked (  )  [slot]

Definition at line 63 of file contactExaminerDlg.cpp.

void ContactExaminerDlg::modeSelected (  )  [slot]

Definition at line 240 of file contactExaminerDlg.cpp.

void ContactExaminerDlg::saveButton_clicked (  )  [slot]

Definition at line 142 of file contactExaminerDlg.cpp.

void ContactExaminerDlg::showGWSButton_clicked (  )  [slot]

Definition at line 234 of file contactExaminerDlg.cpp.

void ContactExaminerDlg::showQuality (  )  [private]

Definition at line 192 of file contactExaminerDlg.cpp.

void ContactExaminerDlg::updateButtons (  )  [private]

Definition at line 178 of file contactExaminerDlg.cpp.

void ContactExaminerDlg::updateQualityButton_clicked (  )  [slot]

Definition at line 187 of file contactExaminerDlg.cpp.


Member Data Documentation

Definition at line 71 of file contactExaminerDlg.h.

Definition at line 69 of file contactExaminerDlg.h.

Definition at line 72 of file contactExaminerDlg.h.

Definition at line 70 of file contactExaminerDlg.h.

Definition at line 73 of file contactExaminerDlg.h.

Definition at line 68 of file contactExaminerDlg.h.


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


graspit
Author(s):
autogenerated on Wed Jan 25 11:00:20 2012