Go to the documentation of this file.
31 #include <MemoryX/interface/core/EntityBase.h>
32 #include <MemoryX/interface/memorytypes/MemoryEntities.h>
61 const std::string&
id =
"",
62 const std::string& shape =
"");
64 std::string
getShape(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
66 armarx::Vector3BasePtr
69 const Ice::Current&
c = Ice::emptyCurrent)
override;
71 armarx::FramedPoseBasePtr
getPose(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
72 void setPose(
const armarx::FramedPoseBasePtr& pose,
73 const Ice::Current&
c = Ice::emptyCurrent)
override;
75 PointList
getInliers(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
77 const Ice::Current&
c = Ice::emptyCurrent)
override;
79 PointList
getGraspPoints(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
81 const Ice::Current&
c = Ice::emptyCurrent)
override;
83 float getProbability(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
84 void setProbability(
float probability,
const Ice::Current&
c = Ice::emptyCurrent)
override;
88 const Ice::Current&
c = Ice::emptyCurrent)
override;
90 float getLength(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
91 void setLength(
float length,
const Ice::Current&
c = Ice::emptyCurrent)
override;
93 int getLabel(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
94 void setLabel(
int label,
const Ice::Current&
c = Ice::emptyCurrent)
override;
96 armarx::TimestampBasePtr
getTime(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
97 void setTime(
const armarx::TimestampBasePtr& time,
98 const Ice::Current&
c = Ice::emptyCurrent)
override;
100 armarx::MatrixFloatBasePtr
101 getSampling(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
102 void setSampling(
const armarx::MatrixFloatBasePtr& sampling,
103 const Ice::Current&
c = Ice::emptyCurrent)
override;
109 void setShape(
const std::string& shape,
const Ice::Current&
c = Ice::emptyCurrent)
override;
119 PlanePrimitive(
const std::string& name =
"",
const std::string&
id =
"");
122 armarx::Vector3BasePtr
123 getPlaneNormal(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
125 const Ice::Current&
c = Ice::emptyCurrent)
override;
127 float getPlaneDistance(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
138 virtual public SpherePrimitiveBase,
142 SpherePrimitive(
const std::string& name =
"",
const std::string&
id =
"");
145 armarx::Vector3BasePtr
148 const Ice::Current&
c = Ice::emptyCurrent)
override;
150 float getSphereRadius(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
151 void setSphereRadius(
float radius,
const Ice::Current&
c = Ice::emptyCurrent)
override;
161 virtual public CylinderPrimitiveBase,
168 armarx::Vector3BasePtr
171 const Ice::Current&
c = Ice::emptyCurrent)
override;
173 armarx::Vector3BasePtr
176 const Ice::Current&
c = Ice::emptyCurrent)
override;
179 void setCylinderRadius(
float radius,
const Ice::Current&
c = Ice::emptyCurrent)
override;
193 ConePrimitive(
const std::string& name =
"",
const std::string&
id =
"");
196 armarx::Vector3BasePtr
197 getConeApex(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
198 void setConeApex(
const armarx::Vector3BasePtr& apex,
199 const Ice::Current&
c = Ice::emptyCurrent)
override;
201 armarx::Vector3BasePtr
204 const Ice::Current&
c = Ice::emptyCurrent)
override;
221 BoxPrimitive(
const std::string& name =
"",
const std::string&
id =
"");
223 EntityRefList
getBoxSides(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
225 const Ice::Current&
c = Ice::emptyCurrent)
override;
236 virtual public HigherSemanticStructureBase,
243 EntityRefList
getPrimitives(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
245 const Ice::Current&
c = Ice::emptyCurrent)
override;
247 Ice::StringSeq
getLabels(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
248 void setLabels(
const Ice::StringSeq& labels,
249 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
state::Type center(state::Type previous)
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