Go to the documentation of this file.
5 #include <RobotAPI/libraries/armem_objects/aron/ObjectClass.aron.generated.h>
20 properties.
define(defs, prefix);
53 arondto::ObjectClass
data;
60 const std::string& name,
61 const arondto::ObjectClass& objectClass)
65 .
file(objectClass.simoxXmlPath.package, objectClass.simoxXmlPath.path)
72 defs->optional(
show, prefix +
"Show",
"Whether to show the floor.");
73 defs->optional(
entityName, prefix +
"EntityName",
"Object class entity of the floor.");
74 defs->optional(
layerName, prefix +
"LayerName",
"Layer to draw the floor on.");
75 defs->optional(
height, prefix +
"Height",
76 "Height (z) of the floor plane. \n"
77 "Set slightly below 0 to avoid z-fighting when drawing planes on the ground.");
CommitResult commit(StagedCommit const &commit)
EntityT * findEntity(const std::string &entityName)
void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string &prefix="")
Client-side working entity instance.
auto & getLatestSnapshot(int snapshotIndex=0)
Retrieve the latest entity snapshot.
Object & file(std::string const &project, std::string const &filename)
void setArViz(armarx::viz::Client arviz)
void define(armarx::PropertyDefinitionsPtr defs, const std::string &prefix="")
void add(ElementT const &element)
DerivedT & position(float x, float y, float z)
armarx::viz::Object makeFloorObject(const wm::Entity &classEntity)
void updateFloorObject(const wm::CoreSegment &classCoreSegment)
Draw a the floor as a simox object.
Layer layer(std::string const &name) const
const DataT & data() const