EnvironmentalPrimitive.h
Go to the documentation of this file.
1 /*
2 * This file is part of ArmarX.
3 *
4 * ArmarX is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * ArmarX is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * @package MemoryX::Core
17 * @author Peter Kaiser <peter dot kaiser at kit dot edu>
18 * @date 2014
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22 
23 #pragma once
24 
26 
27 #include <MemoryX/interface/core/EntityBase.h>
29 #include <MemoryX/interface/memorytypes/MemoryEntities.h>
30 
32 
34 
35 namespace memoryx::VariantType
36 {
37  const armarx::VariantTypeId EnvironmentalPrimitive = armarx::Variant::addTypeName("::memoryx::EnvironmentalPrimitiveBase");
38  const armarx::VariantTypeId PlanePrimitive = armarx::Variant::addTypeName("::memoryx::PlanePrimitiveBase");
39  const armarx::VariantTypeId SpherePrimitive = armarx::Variant::addTypeName("::memoryx::SpherePrimitiveBase");
40  const armarx::VariantTypeId CylinderPrimitive = armarx::Variant::addTypeName("::memoryx::CylinderPrimitiveBase");
41  const armarx::VariantTypeId ConePrimitive = armarx::Variant::addTypeName("::memoryx::ConePrimitiveBase");
42  const armarx::VariantTypeId BoxPrimitive = armarx::Variant::addTypeName("::memoryx::BoxPrimitiveBase");
43  const armarx::VariantTypeId HigherSemanticStructure = armarx::Variant::addTypeName("::memoryx::HigherSemanticStructureBase");
44 }
45 
46 namespace memoryx
47 {
50 
52  virtual public EnvironmentalPrimitiveBase,
53  virtual public Entity
54  {
55  public:
56  EnvironmentalPrimitive(const std::string& name = "", const std::string& id = "", const std::string& shape = "");
57 
58  std::string getShape(const Ice::Current& c = Ice::emptyCurrent) const override;
59 
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;
62 
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;
65 
66  PointList getInliers(const Ice::Current& c = Ice::emptyCurrent) const override;
67  void setInliers(const PointList& inliers, const Ice::Current& c = Ice::emptyCurrent) override;
68 
69  PointList getGraspPoints(const Ice::Current& c = Ice::emptyCurrent) const override;
70  void setGraspPoints(const PointList& graspPoints, const Ice::Current& c = Ice::emptyCurrent) override;
71 
72  float getProbability(const Ice::Current& c = Ice::emptyCurrent) const override;
73  void setProbability(float probability, const Ice::Current& c = Ice::emptyCurrent) override;
74 
75  float getCircularityProbability(const Ice::Current& c = Ice::emptyCurrent) const override;
76  void setCircularityProbability(float probability, const Ice::Current& c = Ice::emptyCurrent) override;
77 
78  float getLength(const Ice::Current& c = Ice::emptyCurrent) const override;
79  void setLength(float length, const Ice::Current& c = Ice::emptyCurrent) override;
80 
81  int getLabel(const Ice::Current& c = Ice::emptyCurrent) const override;
82  void setLabel(int label, const Ice::Current& c = Ice::emptyCurrent) override;
83 
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;
86 
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;
89 
90  Ice::ObjectPtr ice_clone() const override;
91  EnvironmentalPrimitivePtr clone(const Ice::Current& c = Ice::emptyCurrent) const;
92 
93  protected:
94  void setShape(const std::string& shape, const Ice::Current& c = Ice::emptyCurrent) override;
95  };
96 
97 
98  class PlanePrimitive;
100 
102  virtual public PlanePrimitiveBase,
103  virtual public EnvironmentalPrimitive
104  {
105  public:
106  PlanePrimitive(const std::string& name = "", const std::string& id = "");
107  PlanePrimitive(std::vector<float>& coeffs);
108 
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;
111 
112  float getPlaneDistance(const Ice::Current& c = Ice::emptyCurrent) const override;
113  void setPlaneDistance(float distance, const Ice::Current& c = Ice::emptyCurrent) override;
114 
115  Ice::ObjectPtr ice_clone() const override;
116  PlanePrimitivePtr clone(const Ice::Current& c = Ice::emptyCurrent) const;
117  };
118 
119  class SpherePrimitive;
121 
123  virtual public SpherePrimitiveBase,
124  virtual public EnvironmentalPrimitive
125  {
126  public:
127  SpherePrimitive(const std::string& name = "", const std::string& id = "");
128  SpherePrimitive(std::vector<float>& coeffs);
129 
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;
132 
133  float getSphereRadius(const Ice::Current& c = Ice::emptyCurrent) const override;
134  void setSphereRadius(float radius, const Ice::Current& c = Ice::emptyCurrent) override;
135 
136  Ice::ObjectPtr ice_clone() const override;
137  SpherePrimitivePtr clone(const Ice::Current& c = Ice::emptyCurrent) const;
138  };
139 
140  class CylinderPrimitive;
142 
144  virtual public CylinderPrimitiveBase,
145  virtual public EnvironmentalPrimitive
146  {
147  public:
148  CylinderPrimitive(const std::string& name = "", const std::string& id = "");
149  CylinderPrimitive(std::vector<float>& coeffs);
150 
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;
153 
154  armarx::Vector3BasePtr getCylinderAxisDirection(const Ice::Current& c = Ice::emptyCurrent) const override;
155  void setCylinderAxisDirection(const armarx::Vector3BasePtr& axis, const Ice::Current& c = Ice::emptyCurrent) override;
156 
157  float getCylinderRadius(const Ice::Current& c = Ice::emptyCurrent) const override;
158  void setCylinderRadius(float radius, const Ice::Current& c = Ice::emptyCurrent) override;
159 
160  Ice::ObjectPtr ice_clone() const override;
161  CylinderPrimitivePtr clone(const Ice::Current& c = Ice::emptyCurrent) const;
162  };
163 
164 
165  class ConePrimitive;
167 
169  virtual public ConePrimitiveBase,
170  virtual public EnvironmentalPrimitive
171  {
172 
173  public:
174  ConePrimitive(const std::string& name = "", const std::string& id = "");
175  ConePrimitive(std::vector<float>& coeffs);
176 
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;
179 
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;
182 
183  float getConeOpeningAngle(const Ice::Current&) const override;
184  void setConeOpeningAngle(float angle, const Ice::Current& c = Ice::emptyCurrent) override;
185 
186  Ice::ObjectPtr ice_clone() const override;
187  ConePrimitivePtr clone(const Ice::Current& c = Ice::emptyCurrent) const;
188  };
189 
190 
191  class BoxPrimitive;
193 
195  virtual public BoxPrimitiveBase,
196  virtual public EnvironmentalPrimitive
197  {
198 
199  public:
200  BoxPrimitive(const std::string& name = "", const std::string& id = "");
201 
202  EntityRefList getBoxSides(const Ice::Current& c = Ice::emptyCurrent) const override;
203  void setBoxSides(const EntityRefList& sides, const Ice::Current& c = Ice::emptyCurrent) override;
204 
205  Ice::ObjectPtr ice_clone() const override;
206  BoxPrimitivePtr clone(const Ice::Current& c = Ice::emptyCurrent) const;
207 
208  };
209 
210 
213 
215  virtual public HigherSemanticStructureBase,
216  virtual public EnvironmentalPrimitive
217  {
218 
219  public:
220  HigherSemanticStructure(const std::string& name = "", const std::string& id = "");
221 
222  EntityRefList getPrimitives(const Ice::Current& c = Ice::emptyCurrent) const override;
223  void setPrimitives(const EntityRefList& primitives, const Ice::Current& c = Ice::emptyCurrent) override;
224 
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;
227 
228  Ice::ObjectPtr ice_clone() const override;
229  HigherSemanticStructurePtr clone(const Ice::Current& c = Ice::emptyCurrent) const;
230  };
231 
232 
233 
234 }
235 
236 
memoryx::CylinderPrimitive::CylinderPrimitive
CylinderPrimitive(const std::string &name="", const std::string &id="")
Definition: EnvironmentalPrimitive.cpp:327
memoryx::ConePrimitive
Definition: EnvironmentalPrimitive.h:168
memoryx::EnvironmentalPrimitive::setPose
void setPose(const armarx::FramedPoseBasePtr &pose, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:62
memoryx::PlanePrimitive::PlanePrimitive
PlanePrimitive(const std::string &name="", const std::string &id="")
Definition: EnvironmentalPrimitive.cpp:237
memoryx::EnvironmentalPrimitive::getShape
std::string getShape(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:42
memoryx::HigherSemanticStructure::getPrimitives
EntityRefList getPrimitives(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:495
memoryx::EnvironmentalPrimitive::setTime
void setTime(const armarx::TimestampBasePtr &time, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:194
memoryx::PlanePrimitive::ice_clone
Ice::ObjectPtr ice_clone() const override
Definition: EnvironmentalPrimitive.cpp:270
memoryx::PlanePrimitive::clone
PlanePrimitivePtr clone(const Ice::Current &c=Ice::emptyCurrent) const
Definition: EnvironmentalPrimitive.cpp:275
memoryx::CylinderPrimitive::getCylinderAxisDirection
armarx::Vector3BasePtr getCylinderAxisDirection(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:357
memoryx::BoxPrimitive
Definition: EnvironmentalPrimitive.h:194
memoryx::SpherePrimitive::clone
SpherePrimitivePtr clone(const Ice::Current &c=Ice::emptyCurrent) const
Definition: EnvironmentalPrimitive.cpp:320
Pose.h
memoryx::EnvironmentalPrimitive::clone
EnvironmentalPrimitivePtr clone(const Ice::Current &c=Ice::emptyCurrent) const
Definition: EnvironmentalPrimitive.cpp:225
memoryx::VariantType
Definition: Affordance.h:32
memoryx::SpherePrimitive::getSphereCenter
armarx::Vector3BasePtr getSphereCenter(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:295
memoryx::HigherSemanticStructure::setPrimitives
void setPrimitives(const EntityRefList &primitives, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:507
memoryx::EnvironmentalPrimitive::getCircularityProbability
float getCircularityProbability(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:159
memoryx
VirtualRobot headers.
Definition: CommonPlacesTester.cpp:48
c
constexpr T c
Definition: UnscentedKalmanFilterTest.cpp:43
memoryx::ConePrimitive::ice_clone
Ice::ObjectPtr ice_clone() const override
Definition: EnvironmentalPrimitive.cpp:432
memoryx::SpherePrimitive::setSphereRadius
void setSphereRadius(float radius, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:310
memoryx::ConePrimitive::getConeApex
armarx::Vector3BasePtr getConeApex(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:402
memoryx::ConePrimitive::getConeAxisDirection
armarx::Vector3BasePtr getConeAxisDirection(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:412
memoryx::EnvironmentalPrimitive::EnvironmentalPrimitive
EnvironmentalPrimitive(const std::string &name="", const std::string &id="", const std::string &shape="")
Definition: EnvironmentalPrimitive.cpp:34
memoryx::ConePrimitive::ConePrimitive
ConePrimitive(const std::string &name="", const std::string &id="")
Definition: EnvironmentalPrimitive.cpp:389
memoryx::EnvironmentalPrimitive::getTime
armarx::TimestampBasePtr getTime(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:189
memoryx::ConePrimitive::getConeOpeningAngle
float getConeOpeningAngle(const Ice::Current &) const override
Definition: EnvironmentalPrimitive.cpp:422
memoryx::ConePrimitive::setConeApex
void setConeApex(const armarx::Vector3BasePtr &apex, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:407
memoryx::EnvironmentalPrimitive::getPose
armarx::FramedPoseBasePtr getPose(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:57
memoryx::EnvironmentalPrimitive
Definition: EnvironmentalPrimitive.h:51
IceInternal::Handle
Definition: forward_declarations.h:8
memoryx::CylinderPrimitive::setCylinderPoint
void setCylinderPoint(const armarx::Vector3BasePtr &point, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:352
EntityRef.h
memoryx::SpherePrimitive::ice_clone
Ice::ObjectPtr ice_clone() const override
Definition: EnvironmentalPrimitive.cpp:315
memoryx::HigherSemanticStructure
Definition: EnvironmentalPrimitive.h:214
memoryx::BoxPrimitive::setBoxSides
void setBoxSides(const EntityRefList &sides, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:463
memoryx::EnvironmentalPrimitive::setCircularityProbability
void setCircularityProbability(float probability, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:164
memoryx::PlanePrimitive::setPlaneNormal
void setPlaneNormal(const armarx::Vector3BasePtr &normal, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:255
memoryx::EnvironmentalPrimitive::getLabel
int getLabel(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:179
memoryx::EnvironmentalPrimitive::setProbability
void setProbability(float probability, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:154
memoryx::EnvironmentalPrimitive::getSampling
armarx::MatrixFloatBasePtr getSampling(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:199
memoryx::EnvironmentalPrimitive::getProbability
float getProbability(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:149
memoryx::CylinderPrimitive::ice_clone
Ice::ObjectPtr ice_clone() const override
Definition: EnvironmentalPrimitive.cpp:377
memoryx::EnvironmentalPrimitive::getLength
float getLength(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:169
memoryx::CylinderPrimitive::setCylinderRadius
void setCylinderRadius(float radius, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:372
armarx::VariantTypeId
Ice::Int VariantTypeId
Definition: Variant.h:44
memoryx::PlanePrimitive::setPlaneDistance
void setPlaneDistance(float distance, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:265
memoryx::HigherSemanticStructure::clone
HigherSemanticStructurePtr clone(const Ice::Current &c=Ice::emptyCurrent) const
Definition: EnvironmentalPrimitive.cpp:538
memoryx::SpherePrimitive::SpherePrimitive
SpherePrimitive(const std::string &name="", const std::string &id="")
Definition: EnvironmentalPrimitive.cpp:282
memoryx::PlanePrimitive::getPlaneNormal
armarx::Vector3BasePtr getPlaneNormal(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:250
memoryx::HigherSemanticStructure::setLabels
void setLabels(const Ice::StringSeq &labels, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:519
memoryx::EnvironmentalPrimitive::setGraspPoints
void setGraspPoints(const PointList &graspPoints, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:88
memoryx::CylinderPrimitive::setCylinderAxisDirection
void setCylinderAxisDirection(const armarx::Vector3BasePtr &axis, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:362
memoryx::BoxPrimitive::clone
BoxPrimitivePtr clone(const Ice::Current &c=Ice::emptyCurrent) const
Definition: EnvironmentalPrimitive.cpp:481
memoryx::SpherePrimitive::getSphereRadius
float getSphereRadius(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:305
memoryx::CylinderPrimitive::getCylinderRadius
float getCylinderRadius(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:367
memoryx::EnvironmentalPrimitive::setInliers
void setInliers(const PointList &inliers, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:130
Entity.h
memoryx::HigherSemanticStructure::HigherSemanticStructure
HigherSemanticStructure(const std::string &name="", const std::string &id="")
Definition: EnvironmentalPrimitive.cpp:489
memoryx::HigherSemanticStructure::getLabels
Ice::StringSeq getLabels(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:525
memoryx::SpherePrimitive::setSphereCenter
void setSphereCenter(const armarx::Vector3BasePtr &center, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:300
angle
double angle(const Point &a, const Point &b, const Point &c)
Definition: point.hpp:100
memoryx::ConePrimitive::setConeAxisDirection
void setConeAxisDirection(const armarx::Vector3BasePtr &axis, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:417
memoryx::EnvironmentalPrimitive::getGraspPoints
PointList getGraspPoints(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:67
memoryx::BoxPrimitive::ice_clone
Ice::ObjectPtr ice_clone() const override
Definition: EnvironmentalPrimitive.cpp:476
distance
double distance(const Point &a, const Point &b)
Definition: point.hpp:88
memoryx::ConePrimitive::setConeOpeningAngle
void setConeOpeningAngle(float angle, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:427
armarx::aron::type::ObjectPtr
std::shared_ptr< Object > ObjectPtr
Definition: Object.h:36
memoryx::PlanePrimitive
Definition: EnvironmentalPrimitive.h:101
memoryx::BoxPrimitive::BoxPrimitive
BoxPrimitive(const std::string &name="", const std::string &id="")
Definition: EnvironmentalPrimitive.cpp:445
memoryx::EnvironmentalPrimitive::setShape
void setShape(const std::string &shape, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:231
memoryx::Entity
Definition: Entity.h:246
memoryx::EnvironmentalPrimitive::setOBBDimensions
void setOBBDimensions(const armarx::Vector3BasePtr &dimensions, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:52
memoryx::CylinderPrimitive::clone
CylinderPrimitivePtr clone(const Ice::Current &c=Ice::emptyCurrent) const
Definition: EnvironmentalPrimitive.cpp:382
Variant.h
memoryx::EnvironmentalPrimitive::getOBBDimensions
armarx::Vector3BasePtr getOBBDimensions(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:47
memoryx::EnvironmentalPrimitive::getInliers
PointList getInliers(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:109
memoryx::EnvironmentalPrimitive::setSampling
void setSampling(const armarx::MatrixFloatBasePtr &sampling, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:210
memoryx::CylinderPrimitive::getCylinderPoint
armarx::Vector3BasePtr getCylinderPoint(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:347
memoryx::BoxPrimitive::getBoxSides
EntityRefList getBoxSides(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:451
armarx::Variant::addTypeName
static VariantTypeId addTypeName(const std::string &typeName)
Register a new type for the use in a Variant.
Definition: Variant.cpp:751
memoryx::ConePrimitive::clone
ConePrimitivePtr clone(const Ice::Current &c=Ice::emptyCurrent) const
Definition: EnvironmentalPrimitive.cpp:437
memoryx::HigherSemanticStructure::ice_clone
Ice::ObjectPtr ice_clone() const override
Definition: EnvironmentalPrimitive.cpp:533
memoryx::EnvironmentalPrimitive::setLabel
void setLabel(int label, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:184
memoryx::CylinderPrimitive
Definition: EnvironmentalPrimitive.h:143
memoryx::EnvironmentalPrimitive::ice_clone
Ice::ObjectPtr ice_clone() const override
Definition: EnvironmentalPrimitive.cpp:220
memoryx::EnvironmentalPrimitive::setLength
void setLength(float length, const Ice::Current &c=Ice::emptyCurrent) override
Definition: EnvironmentalPrimitive.cpp:174
memoryx::SpherePrimitive
Definition: EnvironmentalPrimitive.h:122
memoryx::PlanePrimitive::getPlaneDistance
float getPlaneDistance(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: EnvironmentalPrimitive.cpp:260