OpenSim::BodyScale Class Reference

A class implementing a set of parameters describing how to scale a body segment. More...

#include <BodyScale.h>

Inheritance diagram for OpenSim::BodyScale:
OpenSim::Object

List of all members.

Public Member Functions

 BodyScale ()
 Default constructor.
 BodyScale (const BodyScale &aBodyScale)
 Copy constructor.
virtual ~BodyScale ()
 Destructor.
virtual Objectcopy () const
 Copy this BodyScale and return a pointer to the copy.
BodyScaleoperator= (const BodyScale &aBodyScale)
 Assignment operator.
void copyData (const BodyScale &aBodyScale)
 Copy data members from one BodyScale to another.
const Array< std::string > & getAxisNames () const
Array< std::string > & getAxisNames ()
void setAxisNames (const Array< std::string > &aAxisNames)

Protected Attributes

PropertyStrArray _axisNamesProp
Array< std::string > & _axisNames

Detailed Description

A class implementing a set of parameters describing how to scale a body segment.

Author:
Peter Loan
Version:
1.0

Constructor & Destructor Documentation

BodyScale::BodyScale (  ) 

Default constructor.

BodyScale::BodyScale ( const BodyScale aBodyScale  ) 

Copy constructor.

Parameters:
aBodyScale BodyScale to be copied.
BodyScale::~BodyScale (  )  [virtual]

Destructor.


Member Function Documentation

Object * BodyScale::copy (  )  const [virtual]

Copy this BodyScale and return a pointer to the copy.

The copy constructor for this class is used.

Returns:
Pointer to a copy of this BodyScale.

Reimplemented from OpenSim::Object.

void BodyScale::copyData ( const BodyScale aBodyScale  ) 

Copy data members from one BodyScale to another.

Parameters:
aBodyScale BodyScale to be copied.
Array<std::string>& OpenSim::BodyScale::getAxisNames (  )  [inline]
const Array<std::string>& OpenSim::BodyScale::getAxisNames (  )  const [inline]
BodyScale & BodyScale::operator= ( const BodyScale aBodyScale  ) 

Assignment operator.

Returns:
Reference to this object.

Reimplemented from OpenSim::Object.

void OpenSim::BodyScale::setAxisNames ( const Array< std::string > &  aAxisNames  )  [inline]

Member Data Documentation

Array<std::string>& OpenSim::BodyScale::_axisNames [protected]

The documentation for this class was generated from the following files:

Generated on Wed Dec 16 15:03:44 2009 for OpenSim by  doxygen 1.6.1