Base::Placement Class Reference

The Placement class. More...

#include <Placement.h>

List of all members.

Public Member Functions

void fromMatrix (const Matrix4D &m)
const Vector3dgetPosition (void) const
const RotationgetRotation (void) const
Placement inverse () const
void invert ()
void move (const Vector3d &MovVec)
 Placement (const Vector3d &Pos, const Rotation &Rot, const Vector3d &Cnt)
 Placement (const Vector3d &Pos, const Rotation &Rot)
 Placement (const Base::Matrix4D &matrix)
 Placement (const Placement &)
 Placement (void)
 default constructor
void setPosition (const Vector3d &Pos)
void setRotation (const Rotation &Rot)
Matrix4D toMatrix (void) const
 ~Placement ()
 Destruction.



void multVec (const Vector3d &src, Vector3d &dst) const
bool operator!= (const Placement &) const
Placement operator* (const Placement &p) const
Placementoperator*= (const Placement &p)
 Operators.
Placementoperator= (const Placement &)
bool operator== (const Placement &) const

Static Public Member Functions

static Placement slerp (const Placement &p0, const Placement &p1, double t)

Protected Attributes

Vector3< double > _pos
Base::Rotation _rot

Detailed Description

The Placement class.

Definition at line 39 of file Base/Placement.h.


Constructor & Destructor Documentation

Placement::Placement ( void   ) 

default constructor

Definition at line 34 of file Base/Placement.cpp.

Referenced by slerp().

Placement::Placement ( const Placement that  ) 

Definition at line 44 of file Base/Placement.cpp.

References _pos, and _rot.

Placement::Placement ( const Base::Matrix4D matrix  ) 

Definition at line 39 of file Base/Placement.cpp.

References fromMatrix().

Placement::Placement ( const Vector3d Pos,
const Rotation Rot 
)

Definition at line 50 of file Base/Placement.cpp.

References _pos, and _rot.

Placement::Placement ( const Vector3d Pos,
const Rotation Rot,
const Vector3d Cnt 
)

Definition at line 56 of file Base/Placement.cpp.

References _pos, _rot, and Base::Rotation::multVec().

Base::Placement::~Placement (  )  [inline]

Destruction.

Definition at line 49 of file Base/Placement.h.


Member Function Documentation

void Placement::fromMatrix ( const Matrix4D m  ) 
const Vector3d& Base::Placement::getPosition ( void   )  const [inline]
const Rotation& Base::Placement::getRotation ( void   )  const [inline]
Placement Placement::inverse ( void   )  const
void Placement::invert (  ) 
void Placement::move ( const Vector3d MovVec  ) 

Definition at line 96 of file Base/Placement.cpp.

References _pos.

Referenced by Base::PlacementPy::move().

void Placement::multVec ( const Vector3d src,
Vector3d dst 
) const

Definition at line 134 of file Base/Placement.cpp.

References _pos, _rot, and Base::Rotation::multVec().

Referenced by Base::PlacementPy::multVec().

bool Placement::operator!= ( const Placement that  )  const

Definition at line 106 of file Base/Placement.cpp.

Placement Placement::operator* ( const Placement p  )  const

Definition at line 120 of file Base/Placement.cpp.

Placement & Placement::operator*= ( const Placement p  ) 

Operators.

Definition at line 111 of file Base/Placement.cpp.

References _pos, _rot, and Base::Rotation::multVec().

Placement & Placement::operator= ( const Placement New  ) 

Definition at line 127 of file Base/Placement.cpp.

References _pos, and _rot.

bool Placement::operator== ( const Placement that  )  const

Definition at line 101 of file Base/Placement.cpp.

References _pos, and _rot.

void Base::Placement::setPosition ( const Vector3d Pos  )  [inline]
void Base::Placement::setRotation ( const Rotation Rot  )  [inline]
Placement Placement::slerp ( const Placement p0,
const Placement p1,
double  t 
) [static]

Definition at line 140 of file Base/Placement.cpp.

References getPosition(), getRotation(), Placement(), and RobotExample::pos.

Base::Matrix4D Placement::toMatrix ( void   )  const

Member Data Documentation

Vector3<double> Base::Placement::_pos [protected]

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

Generated on Wed Nov 23 19:01:47 2011 for FreeCAD by  doxygen 1.6.1