#include <LaparoscopicRigidTypes.h>

Public Types | |
| typedef Real | value_type |
Public Member Functions | |
| Coord (const Real &posTranslation, const Quat &orient) | |
| Coord () | |
| void | clear () |
| void | operator+= (const Deriv &a) |
| Coord | operator+ (const Deriv &a) const |
| void | operator+= (const Coord &a) |
| void | operator*= (Real a) |
| Coord | operator* (Real a) const |
| Real | operator* (const Coord &a) const |
| dot product (FF: WHAT???? ) | |
| Real & | getTranslation () |
| Quat & | getOrientation () |
| const Real & | getTranslation () const |
| const Quat & | getOrientation () const |
| void | multRight (const Coord &c) |
| Apply a transformation with respect to itself. | |
| Coord | mult (const Coord &c) const |
| compute the product with another frame on the right | |
| Vector3 | vectorToChild (const Vector3 &v) const |
| compute the projection of a vector from the parent frame to the child | |
Static Public Member Functions | |
| static Coord | identity () |
Private Attributes | |
| Real | translation |
| Quat | orientation |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const Coord &c) |
| std::istream & | operator>> (std::istream &in, Coord &c) |
Definition at line 124 of file LaparoscopicRigidTypes.h.
Definition at line 131 of file LaparoscopicRigidTypes.h.
| sofa::defaulttype::LaparoscopicRigid3Types::Coord::Coord | ( | const Real & | posTranslation, | |
| const Quat & | orient | |||
| ) | [inline] |
Definition at line 132 of file LaparoscopicRigidTypes.h.
| sofa::defaulttype::LaparoscopicRigid3Types::Coord::Coord | ( | ) | [inline] |
| void sofa::defaulttype::LaparoscopicRigid3Types::Coord::clear | ( | ) | [inline] |
Definition at line 136 of file LaparoscopicRigidTypes.h.
References sofa::helper::Quater< Real >::clear(), orientation, and translation.
Referenced by Coord().
| const Quat& sofa::defaulttype::LaparoscopicRigid3Types::Coord::getOrientation | ( | void | ) | const [inline] |
| Quat& sofa::defaulttype::LaparoscopicRigid3Types::Coord::getOrientation | ( | void | ) | [inline] |
Definition at line 191 of file LaparoscopicRigidTypes.h.
References orientation.
Referenced by sofa::defaulttype::DataTypeInfo< LaparoscopicRigidTypes::Coord >::getValue(), mult(), multRight(), and sofa::defaulttype::DataTypeInfo< LaparoscopicRigidTypes::Coord >::setValue().
| const Real& sofa::defaulttype::LaparoscopicRigid3Types::Coord::getTranslation | ( | ) | const [inline] |
| Real& sofa::defaulttype::LaparoscopicRigid3Types::Coord::getTranslation | ( | ) | [inline] |
Definition at line 190 of file LaparoscopicRigidTypes.h.
References translation.
Referenced by sofa::defaulttype::DataTypeInfo< LaparoscopicRigidTypes::Coord >::getValue(), multRight(), operator+=(), and sofa::defaulttype::DataTypeInfo< LaparoscopicRigidTypes::Coord >::setValue().
| static Coord sofa::defaulttype::LaparoscopicRigid3Types::Coord::identity | ( | ) | [inline, static] |
Definition at line 205 of file LaparoscopicRigidTypes.h.
compute the product with another frame on the right
Definition at line 218 of file LaparoscopicRigidTypes.h.
References getOrientation(), orientation, and translation.
| void sofa::defaulttype::LaparoscopicRigid3Types::Coord::multRight | ( | const Coord & | c | ) | [inline] |
Apply a transformation with respect to itself.
Definition at line 211 of file LaparoscopicRigidTypes.h.
References getOrientation(), getTranslation(), orientation, and translation.
| Real sofa::defaulttype::LaparoscopicRigid3Types::Coord::operator* | ( | const Coord & | a | ) | const [inline] |
dot product (FF: WHAT???? )
Definition at line 183 of file LaparoscopicRigidTypes.h.
References orientation, and translation.
Definition at line 175 of file LaparoscopicRigidTypes.h.
| void sofa::defaulttype::LaparoscopicRigid3Types::Coord::operator*= | ( | Real | a | ) | [inline] |
| Coord sofa::defaulttype::LaparoscopicRigid3Types::Coord::operator+ | ( | const Deriv & | a | ) | const [inline] |
Definition at line 148 of file LaparoscopicRigidTypes.h.
References sofa::defaulttype::LaparoscopicRigid3Types::Deriv::getVOrientation(), sofa::defaulttype::LaparoscopicRigid3Types::Deriv::getVTranslation(), sofa::helper::Quater< Real >::normalize(), orientation, translation, and sofa::helper::Quater< Real >::vectQuatMult().
| void sofa::defaulttype::LaparoscopicRigid3Types::Coord::operator+= | ( | const Coord & | a | ) | [inline] |
Definition at line 160 of file LaparoscopicRigidTypes.h.
References getTranslation(), and translation.
| void sofa::defaulttype::LaparoscopicRigid3Types::Coord::operator+= | ( | const Deriv & | a | ) | [inline] |
Definition at line 138 of file LaparoscopicRigidTypes.h.
References sofa::defaulttype::LaparoscopicRigid3Types::Deriv::getVOrientation(), sofa::defaulttype::LaparoscopicRigid3Types::Deriv::getVTranslation(), sofa::helper::Quater< Real >::normalize(), orientation, translation, and sofa::helper::Quater< Real >::vectQuatMult().
| Vector3 sofa::defaulttype::LaparoscopicRigid3Types::Coord::vectorToChild | ( | const Vector3 & | v | ) | const [inline] |
compute the projection of a vector from the parent frame to the child
Definition at line 225 of file LaparoscopicRigidTypes.h.
References sofa::helper::Quater< Real >::inverseRotate(), and orientation.
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const Coord & | c | |||
| ) | [friend] |
Definition at line 194 of file LaparoscopicRigidTypes.h.
| std::istream& operator>> | ( | std::istream & | in, | |
| Coord & | c | |||
| ) | [friend] |
Definition at line 199 of file LaparoscopicRigidTypes.h.
Definition at line 129 of file LaparoscopicRigidTypes.h.
Referenced by clear(), getOrientation(), mult(), multRight(), operator*(), operator+(), operator+=(), and vectorToChild().
Definition at line 128 of file LaparoscopicRigidTypes.h.
Referenced by clear(), getTranslation(), mult(), multRight(), operator*(), operator*=(), operator+(), and operator+=().
1.5.7.1