The FramedPose class. More...

#include <RobotAPI/libraries/core/FramedPose.h>

+ Inheritance diagram for FramedPose:

Public Member Functions

void changeFrame (const SharedRobotInterfacePrx &referenceRobot, const std::string &newFrame)
 
void changeFrame (const VirtualRobot::Robot &referenceRobot, const std::string &newFrame)
 
void changeFrame (const VirtualRobot::RobotPtr &referenceRobot, const std::string &newFrame)
 
void changeToGlobal (const SharedRobotInterfacePrx &referenceRobot)
 
void changeToGlobal (const VirtualRobot::Robot &referenceRobot)
 
void changeToGlobal (const VirtualRobot::RobotPtr &referenceRobot)
 
VariantDataClassPtr clone (const Ice::Current &c=Ice::emptyCurrent) const override
 
void deserialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override
 
 FramedPose ()
 
 FramedPose (const armarx::Vector3BasePtr pos, const armarx::QuaternionBasePtr ori, const std::string &frame, const std::string &agent)
 
 FramedPose (const Eigen::Matrix3f &m, const Eigen::Vector3f &v, const std::string &frame, const std::string &agent)
 
 FramedPose (const Eigen::Matrix4f &m, const std::string &frame, const std::string &agent)
 
 FramedPose (const Eigen::Vector3f &pos, const Eigen::Quaternionf &ori, const std::string &frame, const std::string &agent)
 
 FramedPose (const FramedPose &pose)
 
std::string getFrame () const
 
FramedOrientationPtr getOrientation () const
 
FramedPositionPtr getPosition () const
 
VariantTypeId getType (const Ice::Current &c=Ice::emptyCurrent) const override
 
Ice::ObjectPtr ice_clone () const override
 
FramedPoseoperator= (const armarx::FramedPose &)=default
 
std::string output (const Ice::Current &c=Ice::emptyCurrent) const override
 
void serialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override
 
FramedPosePtr toFrame (const SharedRobotInterfacePrx &referenceRobot, const std::string &newFrame) const
 
FramedPosePtr toFrame (const VirtualRobot::Robot &referenceRobot, const std::string &newFrame) const
 
FramedPosePtr toFrame (const VirtualRobot::RobotPtr &referenceRobot, const std::string &newFrame) const
 
Eigen::Matrix4f toFrameEigen (const SharedRobotInterfacePrx &referenceRobot, const std::string &newFrame) const
 
Eigen::Matrix4f toFrameEigen (const VirtualRobot::Robot &referenceRobot, const std::string &newFrame) const
 
Eigen::Matrix4f toFrameEigen (const VirtualRobot::RobotPtr &referenceRobot, const std::string &newFrame) const
 
FramedPosePtr toGlobal (const SharedRobotInterfacePrx &referenceRobot) const
 
FramedPosePtr toGlobal (const VirtualRobot::Robot &referenceRobot) const
 
FramedPosePtr toGlobal (const VirtualRobot::RobotPtr &referenceRobot) const
 
Eigen::Matrix4f toGlobalEigen (const SharedRobotInterfacePrx &referenceRobot) const
 
Eigen::Matrix4f toGlobalEigen (const VirtualRobot::Robot &referenceRobot) const
 
Eigen::Matrix4f toGlobalEigen (const VirtualRobot::RobotPtr &referenceRobot) const
 
Eigen::Matrix4f toRootEigen (const SharedRobotInterfacePrx &referenceRobot) const
 
Eigen::Matrix4f toRootEigen (const VirtualRobot::Robot &referenceRobot) const
 
Eigen::Matrix4f toRootEigen (const VirtualRobot::RobotPtr &referenceRobot) const
 
FramedPosePtr toRootFrame (const SharedRobotInterfacePrx &referenceRobot) const
 
FramedPosePtr toRootFrame (const VirtualRobot::Robot &referenceRobot) const
 
FramedPosePtr toRootFrame (const VirtualRobot::RobotPtr &referenceRobot) const
 
bool validate (const Ice::Current &c=Ice::emptyCurrent) override
 
- Public Member Functions inherited from Pose
VariantDataClassPtr clone (const Ice::Current &=Ice::emptyCurrent) const override
 
void deserialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override
 
VariantTypeId getType (const Ice::Current &=Ice::emptyCurrent) const override
 
Ice::ObjectPtr ice_clone () const override
 
void operator= (const Eigen::Matrix4f &matrix)
 
Poseoperator= (const Pose &)=default
 
std::string output (const Ice::Current &=Ice::emptyCurrent) const override
 
 Pose ()
 
 Pose (const armarx::Vector3BasePtr pos, const armarx::QuaternionBasePtr ori)
 
 Pose (const Eigen::Matrix3f &, const Eigen::Vector3f &)
 
 Pose (const Eigen::Matrix4f &)
 
 Pose (const Eigen::Vector3f &, const Eigen::Quaternionf &)
 
 Pose (const Pose &source)
 
void serialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override
 
virtual Eigen::Matrix4f toEigen () const
 
bool validate (const Ice::Current &=Ice::emptyCurrent) override
 

Static Public Member Functions

static VirtualRobot::LinkedCoordinate createLinkedCoordinate (const VirtualRobot::RobotPtr &virtualRobot, const FramedPositionPtr &position, const FramedOrientationPtr &orientation)
 

Friends

bool operator!= (const FramedPose &pose1, const FramedPose &pose2)
 
std::ostream & operator<< (std::ostream &stream, const FramedPose &rhs)
 
bool operator== (const FramedPose &pose1, const FramedPose &pose2)
 

Additional Inherited Members

- Protected Member Functions inherited from Pose
void ice_postUnmarshal () override
 
void init ()
 

Detailed Description

The FramedPose class.

Definition at line 258 of file FramedPose.h.

Constructor & Destructor Documentation

◆ FramedPose() [1/6]

Definition at line 347 of file FramedPose.cpp.

+ Here is the caller graph for this function:

◆ FramedPose() [2/6]

FramedPose ( const FramedPose pose)

Definition at line 353 of file FramedPose.cpp.

◆ FramedPose() [3/6]

FramedPose ( const Eigen::Matrix3f &  m,
const Eigen::Vector3f &  v,
const std::string &  frame,
const std::string &  agent 
)

Definition at line 364 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ FramedPose() [4/6]

FramedPose ( const Eigen::Matrix4f &  m,
const std::string &  frame,
const std::string &  agent 
)

Definition at line 371 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ FramedPose() [5/6]

FramedPose ( const Eigen::Vector3f &  pos,
const Eigen::Quaternionf ori,
const std::string &  frame,
const std::string &  agent 
)

Definition at line 385 of file FramedPose.cpp.

◆ FramedPose() [6/6]

FramedPose ( const armarx::Vector3BasePtr  pos,
const armarx::QuaternionBasePtr  ori,
const std::string &  frame,
const std::string &  agent 
)

Definition at line 378 of file FramedPose.cpp.

Member Function Documentation

◆ changeFrame() [1/3]

void changeFrame ( const SharedRobotInterfacePrx referenceRobot,
const std::string &  newFrame 
)

Definition at line 406 of file FramedPose.cpp.

+ Here is the caller graph for this function:

◆ changeFrame() [2/3]

void changeFrame ( const VirtualRobot::Robot &  referenceRobot,
const std::string &  newFrame 
)

Definition at line 423 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ changeFrame() [3/3]

void changeFrame ( const VirtualRobot::RobotPtr referenceRobot,
const std::string &  newFrame 
)

Definition at line 417 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ changeToGlobal() [1/3]

void changeToGlobal ( const SharedRobotInterfacePrx referenceRobot)

Definition at line 467 of file FramedPose.cpp.

+ Here is the caller graph for this function:

◆ changeToGlobal() [2/3]

void changeToGlobal ( const VirtualRobot::Robot &  referenceRobot)

Definition at line 478 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ changeToGlobal() [3/3]

void changeToGlobal ( const VirtualRobot::RobotPtr referenceRobot)

Definition at line 473 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ clone()

VariantDataClassPtr clone ( const Ice::Current &  c = Ice::emptyCurrent) const
override

Definition at line 1210 of file FramedPose.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createLinkedCoordinate()

VirtualRobot::LinkedCoordinate createLinkedCoordinate ( const VirtualRobot::RobotPtr virtualRobot,
const FramedPositionPtr position,
const FramedOrientationPtr orientation 
)
static

Definition at line 1133 of file FramedPose.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deserialize()

void deserialize ( const armarx::ObjectSerializerBasePtr &  serializer,
const ::Ice::Current &  = Ice::emptyCurrent 
)
override

Definition at line 590 of file FramedPose.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getFrame()

std::string getFrame ( ) const

Definition at line 393 of file FramedPose.cpp.

+ Here is the caller graph for this function:

◆ getOrientation()

FramedOrientationPtr getOrientation ( ) const

Definition at line 575 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ getPosition()

FramedPositionPtr getPosition ( ) const

Definition at line 569 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ getType()

VariantTypeId getType ( const Ice::Current &  c = Ice::emptyCurrent) const
override

Definition at line 1215 of file FramedPose.cpp.

◆ ice_clone()

Ice::ObjectPtr ice_clone ( ) const
override

Definition at line 1205 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ operator=()

FramedPose& operator= ( const armarx::FramedPose )
default

◆ output()

std::string output ( const Ice::Current &  c = Ice::emptyCurrent) const
override

Definition at line 398 of file FramedPose.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ serialize()

void serialize ( const armarx::ObjectSerializerBasePtr &  serializer,
const ::Ice::Current &  = Ice::emptyCurrent 
) const
override

Definition at line 581 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ toFrame() [1/3]

FramedPosePtr toFrame ( const SharedRobotInterfacePrx referenceRobot,
const std::string &  newFrame 
) const

Definition at line 1179 of file FramedPose.cpp.

+ Here is the caller graph for this function:

◆ toFrame() [2/3]

FramedPosePtr toFrame ( const VirtualRobot::Robot &  referenceRobot,
const std::string &  newFrame 
) const

◆ toFrame() [3/3]

FramedPosePtr toFrame ( const VirtualRobot::RobotPtr referenceRobot,
const std::string &  newFrame 
) const

Definition at line 1185 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ toFrameEigen() [1/3]

Eigen::Matrix4f toFrameEigen ( const SharedRobotInterfacePrx referenceRobot,
const std::string &  newFrame 
) const

Definition at line 1193 of file FramedPose.cpp.

◆ toFrameEigen() [2/3]

Eigen::Matrix4f toFrameEigen ( const VirtualRobot::Robot &  referenceRobot,
const std::string &  newFrame 
) const

◆ toFrameEigen() [3/3]

Eigen::Matrix4f toFrameEigen ( const VirtualRobot::RobotPtr referenceRobot,
const std::string &  newFrame 
) const

Definition at line 1200 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ toGlobal() [1/3]

FramedPosePtr toGlobal ( const SharedRobotInterfacePrx referenceRobot) const

Definition at line 500 of file FramedPose.cpp.

+ Here is the caller graph for this function:

◆ toGlobal() [2/3]

FramedPosePtr toGlobal ( const VirtualRobot::Robot &  referenceRobot) const

Definition at line 510 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ toGlobal() [3/3]

FramedPosePtr toGlobal ( const VirtualRobot::RobotPtr referenceRobot) const

Definition at line 505 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ toGlobalEigen() [1/3]

Eigen::Matrix4f toGlobalEigen ( const SharedRobotInterfacePrx referenceRobot) const

Definition at line 517 of file FramedPose.cpp.

+ Here is the caller graph for this function:

◆ toGlobalEigen() [2/3]

Eigen::Matrix4f toGlobalEigen ( const VirtualRobot::Robot &  referenceRobot) const

Definition at line 527 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ toGlobalEigen() [3/3]

Eigen::Matrix4f toGlobalEigen ( const VirtualRobot::RobotPtr referenceRobot) const

Definition at line 522 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ toRootEigen() [1/3]

Eigen::Matrix4f toRootEigen ( const SharedRobotInterfacePrx referenceRobot) const

Definition at line 551 of file FramedPose.cpp.

+ Here is the caller graph for this function:

◆ toRootEigen() [2/3]

Eigen::Matrix4f toRootEigen ( const VirtualRobot::Robot &  referenceRobot) const

Definition at line 561 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ toRootEigen() [3/3]

Eigen::Matrix4f toRootEigen ( const VirtualRobot::RobotPtr referenceRobot) const

Definition at line 556 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ toRootFrame() [1/3]

FramedPosePtr toRootFrame ( const SharedRobotInterfacePrx referenceRobot) const

Definition at line 534 of file FramedPose.cpp.

+ Here is the caller graph for this function:

◆ toRootFrame() [2/3]

FramedPosePtr toRootFrame ( const VirtualRobot::Robot &  referenceRobot) const

Definition at line 544 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ toRootFrame() [3/3]

FramedPosePtr toRootFrame ( const VirtualRobot::RobotPtr referenceRobot) const

Definition at line 539 of file FramedPose.cpp.

+ Here is the call graph for this function:

◆ validate()

bool validate ( const Ice::Current &  c = Ice::emptyCurrent)
override

Definition at line 1220 of file FramedPose.cpp.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const FramedPose pose1,
const FramedPose pose2 
)
friend

Definition at line 1237 of file FramedPose.cpp.

◆ operator<<

std::ostream& operator<< ( std::ostream &  stream,
const FramedPose rhs 
)
friend

Definition at line 1225 of file FramedPose.cpp.

◆ operator==

bool operator== ( const FramedPose pose1,
const FramedPose pose2 
)
friend

Definition at line 1231 of file FramedPose.cpp.


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