Go to the documentation of this file.
27 #include <MemoryX/interface/core/EntityBase.h>
29 #include <MemoryX/interface/memorytypes/MemoryEntities.h>
52 virtual public EnvironmentalPrimitiveBase,
56 EnvironmentalPrimitive(
const std::string& name =
"",
const std::string&
id =
"",
const std::string& shape =
"");
58 std::string
getShape(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
60 armarx::Vector3BasePtr
getOBBDimensions(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
61 void setOBBDimensions(
const armarx::Vector3BasePtr& dimensions,
const Ice::Current&
c = Ice::emptyCurrent)
override;
63 armarx::FramedPoseBasePtr
getPose(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
64 void setPose(
const armarx::FramedPoseBasePtr& pose,
const Ice::Current&
c = Ice::emptyCurrent)
override;
66 PointList
getInliers(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
67 void setInliers(
const PointList& inliers,
const Ice::Current&
c = Ice::emptyCurrent)
override;
69 PointList
getGraspPoints(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
70 void setGraspPoints(
const PointList& graspPoints,
const Ice::Current&
c = Ice::emptyCurrent)
override;
72 float getProbability(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
73 void setProbability(
float probability,
const Ice::Current&
c = Ice::emptyCurrent)
override;
78 float getLength(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
79 void setLength(
float length,
const Ice::Current&
c = Ice::emptyCurrent)
override;
81 int getLabel(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
82 void setLabel(
int label,
const Ice::Current&
c = Ice::emptyCurrent)
override;
84 armarx::TimestampBasePtr
getTime(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
85 void setTime(
const armarx::TimestampBasePtr& time,
const Ice::Current&
c = Ice::emptyCurrent)
override;
87 armarx::MatrixFloatBasePtr
getSampling(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
88 void setSampling(
const armarx::MatrixFloatBasePtr& sampling,
const Ice::Current&
c = Ice::emptyCurrent)
override;
94 void setShape(
const std::string& shape,
const Ice::Current&
c = Ice::emptyCurrent)
override;
102 virtual public PlanePrimitiveBase,
106 PlanePrimitive(
const std::string& name =
"",
const std::string&
id =
"");
109 armarx::Vector3BasePtr
getPlaneNormal(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
110 void setPlaneNormal(
const armarx::Vector3BasePtr& normal,
const Ice::Current&
c = Ice::emptyCurrent)
override;
112 float getPlaneDistance(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
123 virtual public SpherePrimitiveBase,
127 SpherePrimitive(
const std::string& name =
"",
const std::string&
id =
"");
130 armarx::Vector3BasePtr
getSphereCenter(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
131 void setSphereCenter(
const armarx::Vector3BasePtr& center,
const Ice::Current&
c = Ice::emptyCurrent)
override;
133 float getSphereRadius(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
134 void setSphereRadius(
float radius,
const Ice::Current&
c = Ice::emptyCurrent)
override;
144 virtual public CylinderPrimitiveBase,
151 armarx::Vector3BasePtr
getCylinderPoint(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
152 void setCylinderPoint(
const armarx::Vector3BasePtr& point,
const Ice::Current&
c = Ice::emptyCurrent)
override;
158 void setCylinderRadius(
float radius,
const Ice::Current&
c = Ice::emptyCurrent)
override;
169 virtual public ConePrimitiveBase,
174 ConePrimitive(
const std::string& name =
"",
const std::string&
id =
"");
177 armarx::Vector3BasePtr
getConeApex(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
178 void setConeApex(
const armarx::Vector3BasePtr& apex,
const Ice::Current&
c = Ice::emptyCurrent)
override;
180 armarx::Vector3BasePtr
getConeAxisDirection(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
181 void setConeAxisDirection(
const armarx::Vector3BasePtr& axis,
const Ice::Current&
c = Ice::emptyCurrent)
override;
195 virtual public BoxPrimitiveBase,
200 BoxPrimitive(
const std::string& name =
"",
const std::string&
id =
"");
202 EntityRefList
getBoxSides(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
203 void setBoxSides(
const EntityRefList& sides,
const Ice::Current&
c = Ice::emptyCurrent)
override;
215 virtual public HigherSemanticStructureBase,
222 EntityRefList
getPrimitives(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
223 void setPrimitives(
const EntityRefList& primitives,
const Ice::Current&
c = Ice::emptyCurrent)
override;
225 Ice::StringSeq
getLabels(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
226 void setLabels(
const Ice::StringSeq& labels,
const Ice::Current&
c = Ice::emptyCurrent)
override;
CylinderPrimitive(const std::string &name="", const std::string &id="")
void setPose(const armarx::FramedPoseBasePtr &pose, const Ice::Current &c=Ice::emptyCurrent) override
PlanePrimitive(const std::string &name="", const std::string &id="")
std::string getShape(const Ice::Current &c=Ice::emptyCurrent) const override
EntityRefList getPrimitives(const Ice::Current &c=Ice::emptyCurrent) const override
void setTime(const armarx::TimestampBasePtr &time, const Ice::Current &c=Ice::emptyCurrent) override
Ice::ObjectPtr ice_clone() const override
PlanePrimitivePtr clone(const Ice::Current &c=Ice::emptyCurrent) const
armarx::Vector3BasePtr getCylinderAxisDirection(const Ice::Current &c=Ice::emptyCurrent) const override
SpherePrimitivePtr clone(const Ice::Current &c=Ice::emptyCurrent) const
EnvironmentalPrimitivePtr clone(const Ice::Current &c=Ice::emptyCurrent) const
armarx::Vector3BasePtr getSphereCenter(const Ice::Current &c=Ice::emptyCurrent) const override
void setPrimitives(const EntityRefList &primitives, const Ice::Current &c=Ice::emptyCurrent) override
float getCircularityProbability(const Ice::Current &c=Ice::emptyCurrent) const override
Ice::ObjectPtr ice_clone() const override
void setSphereRadius(float radius, const Ice::Current &c=Ice::emptyCurrent) override
armarx::Vector3BasePtr getConeApex(const Ice::Current &c=Ice::emptyCurrent) const override
armarx::Vector3BasePtr getConeAxisDirection(const Ice::Current &c=Ice::emptyCurrent) const override
EnvironmentalPrimitive(const std::string &name="", const std::string &id="", const std::string &shape="")
ConePrimitive(const std::string &name="", const std::string &id="")
armarx::TimestampBasePtr getTime(const Ice::Current &c=Ice::emptyCurrent) const override
float getConeOpeningAngle(const Ice::Current &) const override
void setConeApex(const armarx::Vector3BasePtr &apex, const Ice::Current &c=Ice::emptyCurrent) override
armarx::FramedPoseBasePtr getPose(const Ice::Current &c=Ice::emptyCurrent) const override
void setCylinderPoint(const armarx::Vector3BasePtr &point, const Ice::Current &c=Ice::emptyCurrent) override
Ice::ObjectPtr ice_clone() const override
void setBoxSides(const EntityRefList &sides, const Ice::Current &c=Ice::emptyCurrent) override
void setCircularityProbability(float probability, const Ice::Current &c=Ice::emptyCurrent) override
void setPlaneNormal(const armarx::Vector3BasePtr &normal, const Ice::Current &c=Ice::emptyCurrent) override
int getLabel(const Ice::Current &c=Ice::emptyCurrent) const override
void setProbability(float probability, const Ice::Current &c=Ice::emptyCurrent) override
armarx::MatrixFloatBasePtr getSampling(const Ice::Current &c=Ice::emptyCurrent) const override
float getProbability(const Ice::Current &c=Ice::emptyCurrent) const override
Ice::ObjectPtr ice_clone() const override
float getLength(const Ice::Current &c=Ice::emptyCurrent) const override
void setCylinderRadius(float radius, const Ice::Current &c=Ice::emptyCurrent) override
void setPlaneDistance(float distance, const Ice::Current &c=Ice::emptyCurrent) override
HigherSemanticStructurePtr clone(const Ice::Current &c=Ice::emptyCurrent) const
SpherePrimitive(const std::string &name="", const std::string &id="")
armarx::Vector3BasePtr getPlaneNormal(const Ice::Current &c=Ice::emptyCurrent) const override
void setLabels(const Ice::StringSeq &labels, const Ice::Current &c=Ice::emptyCurrent) override
void setGraspPoints(const PointList &graspPoints, const Ice::Current &c=Ice::emptyCurrent) override
void setCylinderAxisDirection(const armarx::Vector3BasePtr &axis, const Ice::Current &c=Ice::emptyCurrent) override
BoxPrimitivePtr clone(const Ice::Current &c=Ice::emptyCurrent) const
float getSphereRadius(const Ice::Current &c=Ice::emptyCurrent) const override
float getCylinderRadius(const Ice::Current &c=Ice::emptyCurrent) const override
void setInliers(const PointList &inliers, const Ice::Current &c=Ice::emptyCurrent) override
HigherSemanticStructure(const std::string &name="", const std::string &id="")
Ice::StringSeq getLabels(const Ice::Current &c=Ice::emptyCurrent) const override
void setSphereCenter(const armarx::Vector3BasePtr ¢er, const Ice::Current &c=Ice::emptyCurrent) override
double angle(const Point &a, const Point &b, const Point &c)
void setConeAxisDirection(const armarx::Vector3BasePtr &axis, const Ice::Current &c=Ice::emptyCurrent) override
PointList getGraspPoints(const Ice::Current &c=Ice::emptyCurrent) const override
Ice::ObjectPtr ice_clone() const override
double distance(const Point &a, const Point &b)
void setConeOpeningAngle(float angle, const Ice::Current &c=Ice::emptyCurrent) override
std::shared_ptr< Object > ObjectPtr
BoxPrimitive(const std::string &name="", const std::string &id="")
void setShape(const std::string &shape, const Ice::Current &c=Ice::emptyCurrent) override
void setOBBDimensions(const armarx::Vector3BasePtr &dimensions, const Ice::Current &c=Ice::emptyCurrent) override
CylinderPrimitivePtr clone(const Ice::Current &c=Ice::emptyCurrent) const
armarx::Vector3BasePtr getOBBDimensions(const Ice::Current &c=Ice::emptyCurrent) const override
PointList getInliers(const Ice::Current &c=Ice::emptyCurrent) const override
void setSampling(const armarx::MatrixFloatBasePtr &sampling, const Ice::Current &c=Ice::emptyCurrent) override
armarx::Vector3BasePtr getCylinderPoint(const Ice::Current &c=Ice::emptyCurrent) const override
EntityRefList getBoxSides(const Ice::Current &c=Ice::emptyCurrent) const override
static VariantTypeId addTypeName(const std::string &typeName)
Register a new type for the use in a Variant.
ConePrimitivePtr clone(const Ice::Current &c=Ice::emptyCurrent) const
Ice::ObjectPtr ice_clone() const override
void setLabel(int label, const Ice::Current &c=Ice::emptyCurrent) override
Ice::ObjectPtr ice_clone() const override
void setLength(float length, const Ice::Current &c=Ice::emptyCurrent) override
float getPlaneDistance(const Ice::Current &c=Ice::emptyCurrent) const override