GWSProjDlg Class Reference

Creates and controls the grasp wrench space projection dialog box. More...

#include <gwsProjDlg.h>

Inheritance diagram for GWSProjDlg:
Inheritance graph
[legend]

List of all members.

Public Slots

virtual void coordBoxClicked (int buttonNum)

Public Member Functions

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

Public Attributes

std::set< int > whichFixed
 Holds the set of indexes of the coordinates that are currently fixed.

Protected Attributes

QButtonGroup * coordButtonGroup
 A pointer to the group of 6 check boxes.

Detailed Description

Creates and controls the grasp wrench space projection dialog box.

Using this interface the user can create a 3-dimensional projection of the 6D grasp wrench space (GWS). The dialog has 6 check boxes, one for each of the 3 force and 3 torque coordinates. For each coordinate there is also a box to enter the fixed projection value. Once the user has chosen 3 coordinates to fix they may create a projection of the GWS by clicking OK.

Definition at line 47 of file gwsProjDlg.h.


Constructor & Destructor Documentation

GWSProjDlg::GWSProjDlg ( QWidget *  parent = 0  ) 

Constructs a GWSProjDlg which is a child of parent, with the name name and widget flags set to fl.

The dialog will by default be modeless, unless you set modal to TRUE to construct a modal dialog.

A combo box, created to allow the user to choose the type of GWS that the projection will be created from, is populated with items from the GWS type list.

A button group with 6 check boxes in it is also created to allow the user to choose the coordinates that are fixed.

Definition at line 68 of file gwsProjDlg.cpp.

GWSProjDlg::~GWSProjDlg (  ) 

Stub destructor.

Definition at line 119 of file gwsProjDlg.cpp.


Member Function Documentation

void GWSProjDlg::coordBoxClicked ( int  buttonNum  )  [virtual, slot]

When one of the 6 coordinate check boxes is clicked, this checks to see how many are already selected. It only allows a box to be checked if there are fewer than 3 boxes already checked. If there are 3 checked, the OK button is enabled, otherwise it is disabled. whichFixed keeps track of the indexes of the currently selected check boxes.

Definition at line 99 of file gwsProjDlg.cpp.


Member Data Documentation

QButtonGroup* GWSProjDlg::coordButtonGroup [protected]

A pointer to the group of 6 check boxes.

Definition at line 63 of file gwsProjDlg.h.

std::set<int> GWSProjDlg::whichFixed

Holds the set of indexes of the coordinates that are currently fixed.

Definition at line 56 of file gwsProjDlg.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:22 2012