Segment.h
Go to the documentation of this file.
1#pragma once
2
3#include <mutex>
4#include <string>
5
7
14
16{
17 class ObjectClass;
18}
19
21{
22
24 {
25 public:
27 virtual ~Segment() override;
28
29
31 const std::string& prefix = "") override;
32 void init() override;
33 void connect(viz::Client arviz);
34
35
36 void loadByObjectFinder(const std::string& objectsPackage);
37 void loadByObjectFinder(const ObjectFinder& finder);
38 void loadByObjectFinder();
39
41
42 void visualizeClass(const MemoryID& entityID, bool showAABB = true, bool showOOBB = true);
43
44
45 arondto::ObjectClass objectClassFromInfo(const ObjectInfo& info);
46
47
48 private:
49 ObjectFinder objectFinder;
50
51 viz::Client arviz;
52 FloorVis floorVis;
53
54 struct Properties
55 {
56 std::string objectsPackage = ObjectFinder::DefaultObjectsPackageName;
57 bool loadFromObjectsPackage = true;
58 };
59
60 Properties p;
61
62
63 public:
101 };
102
103} // namespace armarx::armem::server::obj::clazz
Used to find objects in the ArmarX objects repository [1] (formerly [2]).
static const std::string DefaultObjectsPackageName
Accessor for the object files.
Definition ObjectInfo.h:37
Helps connecting a Memory server to the Ice interface.
void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string &prefix="") override
Definition Segment.cpp:39
void visualizeClass(const MemoryID &entityID, bool showAABB=true, bool showOOBB=true)
Definition Segment.cpp:147
arondto::ObjectClass objectClassFromInfo(const ObjectInfo &info)
Definition Segment.cpp:212
Segment(armem::server::MemoryToIceAdapter &iceMemory)
Definition Segment.cpp:26
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
armarx::RemoteGui::Client::CheckBox infiniteHistory
Definition Segment.h:74
armarx::RemoteGui::Client::GroupBox group
Definition Segment.h:70
armarx::RemoteGui::Client::IntSpinBox maxHistorySize
Definition Segment.h:73
armarx::RemoteGui::Client::Button reloadButton
Definition Segment.h:72
armarx::RemoteGui::Client::GroupBox group
Definition Segment.h:86
armarx::RemoteGui::Client::ComboBox showComboBox
Definition Segment.h:89
armarx::RemoteGui::Client::GroupBox group
Definition Segment.h:66