OpenSim::PropertyTransform Class Reference
#include <PropertyTransform.h>
List of all members.
Constructor & Destructor Documentation
PropertyTransform::PropertyTransform |
( |
|
) |
|
OpenSim::PropertyTransform::PropertyTransform |
( |
const std::string & |
aName, |
|
|
const SimTK::Transform & |
aTransform | |
|
) |
| | |
OpenSim::PropertyTransform::PropertyTransform |
( |
const std::string & |
aName, |
|
|
const Array< double > & |
aArray | |
|
) |
| | |
Copy constructor.
- Parameters:
-
virtual OpenSim::PropertyTransform::~PropertyTransform |
( |
|
) |
[inline, virtual] |
Member Function Documentation
Property * PropertyTransform::copy |
( |
|
) |
const [virtual] |
Construct and return a copy of this property.
The property is allocated using the new operator, so the caller is responsible for deleting the returned object.
- Returns:
- Copy of this property.
Reimplemented from OpenSim::PropertyDblArray.
void PropertyTransform::getRotationsAndTranslationsAsArray6 |
( |
double |
aArray[] |
) |
const |
const char * PropertyTransform::getTypeAsString |
( |
|
) |
const [virtual] |
const SimTK::Transform & PropertyTransform::getValueTransform |
( |
|
) |
const [virtual] |
Get a constant reference to the value of this property.
- Returns:
- Reference to the value of this property.
SimTK::Transform & PropertyTransform::getValueTransform |
( |
|
) |
[virtual] |
Get a reference to the value of this property.
Note that the returned reference can be used to change the value of this property.
- Returns:
- Reference to the value of this property.
Assign this property to another.
- Parameters:
-
| aProperty | Property to which to assign this property. |
- Returns:
- Reference to this property.
Reimplemented from OpenSim::PropertyDblArray.
void PropertyTransform::setValue |
( |
int |
aSize, |
|
|
const double |
aArray[] | |
|
) |
| | [virtual] |
Set the value of this property.
- Parameters:
-
| aSize | Size of the specified array. |
| aValue | Array to which this property is to be assigned. |
Reimplemented from OpenSim::PropertyDblArray.
void PropertyTransform::setValue |
( |
const SimTK::Transform & |
aTransform |
) |
[virtual] |
Set the value of this property.
- Parameters:
-
| aArray | Array to which this property is to be assigned. |
void PropertyTransform:: setValue(const Array<double>& aArray) { for(int i=0;i<3; i++) _transform[i] = aArray[i]; } _____________________________________________________________________________ /** Set the value of this property.
- Parameters:
-
| aArray | Array to which this property is to be assigned. |
const string & PropertyTransform::toString |
( |
|
) |
[virtual] |
Get a constant String represeting the value of this property.
- Returns:
- Constant String represeting the value of this property.
Reimplemented from OpenSim::PropertyDblArray.
The documentation for this class was generated from the following files:
- OpenSim/Common/PropertyTransform.h
- OpenSim/Common/PropertyTransform.cpp