Go to the documentation of this file.
26 #include <VirtualRobot/Robot.h>
27 #include <VirtualRobot/LinkedCoordinate.h>
28 #include <VirtualRobot/LinkedCoordinate.h>
29 #include <VirtualRobot/VirtualRobot.h>
31 #include <RobotAPI/interface/core/RobotState.h>
46 virtual public FramedOrientedPointBase,
52 FramedOrientedPoint(
const Eigen::Vector3f& position,
const Eigen::Vector3f& normal,
const std::string& frame,
const std::string& agent);
82 VariantDataClassPtr
clone(
const Ice::Current&
c = Ice::emptyCurrent)
const override
86 std::string
output(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
91 bool validate(
const Ice::Current&
c = Ice::emptyCurrent)
override
98 stream <<
"FramedOrientedPoint: " << std::endl << rhs.
output() << std::endl;
103 void serialize(
const armarx::ObjectSerializerBasePtr& serializer, const ::Ice::Current& = Ice::emptyCurrent)
const override;
104 void deserialize(
const armarx::ObjectSerializerBasePtr& serializer, const ::Ice::Current& = Ice::emptyCurrent)
override;
const VariantTypeId Float
FramedPosition getFramedPosition() const
const VariantTypeId FramedOrientedPoint
bool validate(const Ice::Current &c=Ice::emptyCurrent) override
std::string getFrame() const
void deserialize(const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override
void changeFrame(const VirtualRobot::RobotPtr &robot, const std::string &newFrame)
VariantTypeId getType(const Ice::Current &c=Ice::emptyCurrent) const override
std::string output(const Ice::Current &c=Ice::emptyCurrent) const override
Eigen::Vector3f normalToGlobalEigen(const SharedRobotInterfacePrx &referenceRobot) const
void changeToGlobal(const SharedRobotInterfacePrx &referenceRobot)
The FramedPosition class.
FramedDirection getFramedNormal() const
Vertex source(const detail::edge_base< Directed, Vertex > &e, const PCG &)
Eigen::Vector3f positionToGlobalEigen(const SharedRobotInterfacePrx &referenceRobot) const
FramedOrientedPointPtr toRootFrame(const SharedRobotInterfacePrx &referenceRobot) const
FramedDirection is a 3 dimensional direction vector with a reference frame. The reference frame can b...
Eigen::Vector3f positionToRootEigen(const SharedRobotInterfacePrx &referenceRobot) const
void serialize(const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override
std::shared_ptr< Object > ObjectPtr
FramedOrientedPointPtr toGlobal(const SharedRobotInterfacePrx &referenceRobot) const
friend std::ostream & operator<<(std::ostream &stream, const FramedOrientedPoint &rhs)
VariantDataClassPtr clone(const Ice::Current &c=Ice::emptyCurrent) const override
Ice::ObjectPtr ice_clone() const override
Eigen::Vector3f normalToRootEigen(const SharedRobotInterfacePrx &referenceRobot) const
This file offers overloads of toIce() and fromIce() functions for STL container types.
static VariantTypeId addTypeName(const std::string &typeName)
Register a new type for the use in a Variant.
std::shared_ptr< class Robot > RobotPtr