QualEpsilon Class Reference

The epsilon quality measure. More...

#include <quality.h>

Inheritance diagram for QualEpsilon:
Inheritance graph
[legend]

List of all members.

Public Member Functions

double evaluate ()
double evaluate3D ()
const char * getType () const
 QualEpsilon (Grasp *g, QString n, const char *gwsType)
 QualEpsilon (qmDlgDataT *data)
 ~QualEpsilon ()

Static Public Member Functions

static void buildParamArea (qmDlgDataT *qmData)
static const char * getClassType ()

Private Attributes

GWSgws
 A pointer to the GWS that this qm should use for its calculation.

Static Private Attributes

static const char * type = "Epsilon"
 The string identifying this qm type.

Detailed Description

The epsilon quality measure.

The epsilon quality measure measures the size of the largest Task Wrench Space (TWS_ that can fit within the unit Grasp Wrench Space (GWS). In the case of the ball TWS, the measure because simply the euclidean distance from the wrench space origin to the closest point on the hull bouandary. This is a worst case grasp quality measure. The parameters for this quality measure are: The GWS type The TWS type

Definition at line 122 of file quality.h.


Constructor & Destructor Documentation

QualEpsilon::QualEpsilon ( qmDlgDataT data  ) 

Adds the GWS specified by the combo box in the parameter area of the dialog box to the grasp associated with this qm. The grasp will take care of creating it if it doesn't already exist.

Definition at line 136 of file quality.cpp.

QualEpsilon::QualEpsilon ( Grasp g,
QString  n,
const char *  gwsType 
)

Definition at line 142 of file quality.cpp.

QualEpsilon::~QualEpsilon (  ) 

Removes the GWS used for this qm from the grasp. The grasp will delete it if necessary.

Definition at line 150 of file quality.cpp.


Member Function Documentation

void QualEpsilon::buildParamArea ( qmDlgDataT qmData  )  [static]

Builds an epsilon qm parameter area within the quality measure dialog box. This includes building a QT combo box for the GWS selection and one for the TWS selection. However, currently there is only one possible TWS. In the future, there may be ways to define others.

Reimplemented from QualityMeasure.

Definition at line 220 of file quality.cpp.

double QualEpsilon::evaluate (  )  [virtual]

Returns the minimum distance from the origin to any of the hyperplanes defining the boundary of the GWS.

Implements QualityMeasure.

Definition at line 163 of file quality.cpp.

double QualEpsilon::evaluate3D (  )  [virtual]

Implements QualityMeasure.

Definition at line 190 of file quality.cpp.

static const char* QualEpsilon::getClassType (  )  [inline, static]

Returns the type of this class expressed as a string.

Definition at line 143 of file quality.h.

const char* QualEpsilon::getType (  )  const [inline, virtual]

Returns the type of this quality measure expressed as a string

Implements QualityMeasure.

Definition at line 135 of file quality.h.


Member Data Documentation

GWS* QualEpsilon::gws [private]

A pointer to the GWS that this qm should use for its calculation.

Definition at line 124 of file quality.h.

const char * QualEpsilon::type = "Epsilon" [static, private]

The string identifying this qm type.

Definition at line 127 of file quality.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:23 2012