QualVolume Class Reference

The volume quality measure. More...

#include <quality.h>

Inheritance diagram for QualVolume:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

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 = "Volume"
 The string identifying this qm type.

Detailed Description

The volume quality measure.

The volume quality measure measures the volume of the unit Grasp Wrench Space (GWS). This is an average case grasp quality measure. The parameter for this quality measure is: The GWS type

Definition at line 153 of file quality.h.


Constructor & Destructor Documentation

QualVolume::QualVolume ( 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 273 of file quality.cpp.

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

Definition at line 279 of file quality.cpp.

QualVolume::~QualVolume (  ) 

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

Definition at line 289 of file quality.cpp.


Member Function Documentation

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

Builds a volume qm parameter area within the quality measure dialog box. This is simply building a QT combo box for the GWS selection.

Reimplemented from QualityMeasure.

Definition at line 320 of file quality.cpp.

double QualVolume::evaluate (  )  [virtual]

Returns the volume of the GWS. The GWS is responsible for computing its volume when it is updated.

Implements QualityMeasure.

Definition at line 302 of file quality.cpp.

double QualVolume::evaluate3D (  )  [virtual]

Implements QualityMeasure.

Definition at line 309 of file quality.cpp.

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

Returns the type of this class expressed as a string.

Definition at line 174 of file quality.h.

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

Returns the type of this quality measure expressed as a string

Implements QualityMeasure.

Definition at line 166 of file quality.h.


Member Data Documentation

GWS* QualVolume::gws [private]

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

Definition at line 155 of file quality.h.

const char * QualVolume::type = "Volume" [static, private]

The string identifying this qm type.

Definition at line 158 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:24 2012