24 return strm<<
"pose: ["<<p.
point<<
";"<<p.
quat<<
"]";
33 return *pose1 == *pose2;
42 strm<<
"{"<<std::endl<<
"\"point\": "<<
json(this->
point)<<
", "<<std::endl
43 <<
"\"quaternion\": "<<
json(this->
quat)<<
", "<<std::endl
51 pResult.reset(
new Pose());
55 pResult->point.reset(
new ISM::Point(pFrame->quat->getEigen().toRotationMatrix().inverse() * (
point->getEigen() - pFrame->point->getEigen())));
58 pResult->quat.reset(
new ISM::Quaternion(
quat->getEigen() * pFrame->quat->getEigen().inverse()));
static PointPtr vectorToPoint(const Eigen::Vector3d &v)
static Eigen::Vector3d getAxisFromQuat(const QuaternionPtr &quat, const Eigen::Vector3d &viewport=Eigen::Vector3d::UnitX())
virtual void serialize(std::ostream &strm) const
std::ostream & operator<<(std::ostream &strm, const ISM::ObjectRelation &r)
bool operator==(const PointPtr &p1, const PointPtr &p2)
boost::shared_ptr< Pose > PosePtr
void convertPoseIntoFrame(const boost::shared_ptr< Pose > &pFrame, boost::shared_ptr< Pose > &pResult)
this namespace contains all generally usable classes.