LinearPredictionsVisu.h
Go to the documentation of this file.
1 #pragma once
2 
3 
7 
9 
12 
13 
15 {
16 
17  /// Visualization control for linear predictions for objects.
19  {
20  bool showGhost = false;
21  float ghostAlpha = 0.7;
22 
23  bool showFrame = false;
24  bool showArrow = false;
25 
26  float timeOffsetSeconds = 1;
27  float timeWindowSeconds = 2;
28 
29  void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string& prefix);
30 
31  bool showAny() const;
32  void draw(viz::Layer& layer,
33  std::function<viz::Object(const std::string& key)> makeObjectFn,
34  const objpose::ObjectPose& objectPose,
35  const std::map<DateTime, objpose::ObjectPose>& poseHistory,
36  bool inGlobalFrame) const;
37 
38 
39  struct RemoteGui
40  {
43 
46 
49 
51 
52  void setup(const LinearPredictions& data);
54  };
55 
56  };
57 
58 
59 }
armarx::armem::server::obj::instance::visu::LinearPredictions::showAny
bool showAny() const
Definition: LinearPredictionsVisu.cpp:36
armarx::armem::server::obj::instance::visu::LinearPredictions::RemoteGui::timeWindowSeconds
armarx::RemoteGui::Client::FloatSpinBox timeWindowSeconds
Definition: LinearPredictionsVisu.h:48
armarx::armem::server::obj::instance::visu::LinearPredictions::RemoteGui::showFrame
armarx::RemoteGui::Client::CheckBox showFrame
Definition: LinearPredictionsVisu.h:44
armarx::armem::server::obj::instance::visu::LinearPredictions::RemoteGui::group
armarx::RemoteGui::Client::GroupBox group
Definition: LinearPredictionsVisu.h:50
armarx::armem::server::obj::instance::visu::LinearPredictions::RemoteGui
Definition: LinearPredictionsVisu.h:39
DateTime.h
armarx::armem::server::obj::instance::visu::LinearPredictions::showArrow
bool showArrow
Definition: LinearPredictionsVisu.h:24
armarx::armem::server::obj::instance::visu::LinearPredictions::RemoteGui::showGhost
armarx::RemoteGui::Client::CheckBox showGhost
Definition: LinearPredictionsVisu.h:41
armarx::armem::server::obj::instance::visu::LinearPredictions::draw
void draw(viz::Layer &layer, std::function< viz::Object(const std::string &key)> makeObjectFn, const objpose::ObjectPose &objectPose, const std::map< DateTime, objpose::ObjectPose > &poseHistory, bool inGlobalFrame) const
Definition: LinearPredictionsVisu.cpp:41
Layer.h
armarx::viz::Object
Definition: Elements.h:321
armarx::armem::server::obj::instance::visu::LinearPredictions::showGhost
bool showGhost
Definition: LinearPredictionsVisu.h:20
armarx::armem::server::obj::instance::visu::LinearPredictions::defineProperties
void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string &prefix)
Definition: LinearPredictionsVisu.cpp:18
data
uint8_t data[1]
Definition: EtherCATFrame.h:68
armarx::armem::server::obj::instance::visu::LinearPredictions::RemoteGui::update
void update(LinearPredictions &data)
Definition: LinearPredictionsVisu.cpp:136
armarx::RemoteGui::Client::GroupBox
Definition: Widgets.h:193
armarx::armem::server::obj::instance::visu::LinearPredictions::showFrame
bool showFrame
Definition: LinearPredictionsVisu.h:23
armarx::armem::server::obj::instance::visu::LinearPredictions::timeWindowSeconds
float timeWindowSeconds
Definition: LinearPredictionsVisu.h:27
armarx::armem::server::obj::instance::visu::LinearPredictions::RemoteGui::setup
void setup(const LinearPredictions &data)
Definition: LinearPredictionsVisu.cpp:90
forward_declarations.h
armarx::armem::server::obj::instance::visu::LinearPredictions::RemoteGui::showArrow
armarx::RemoteGui::Client::CheckBox showArrow
Definition: LinearPredictionsVisu.h:45
armarx::Logging
Base Class for all Logging classes.
Definition: Logging.h:232
armarx::armem::server::obj::instance::visu::LinearPredictions
Visualization control for linear predictions for objects.
Definition: LinearPredictionsVisu.h:18
armarx::armem::server::obj::instance::visu
Definition: LinearPredictionsVisu.cpp:15
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::armem::server::obj::instance::visu::LinearPredictions::RemoteGui::ghostAlpha
armarx::RemoteGui::Client::FloatSpinBox ghostAlpha
Definition: LinearPredictionsVisu.h:42
armarx::armem::server::obj::instance::visu::LinearPredictions::timeOffsetSeconds
float timeOffsetSeconds
Definition: LinearPredictionsVisu.h:26
forward_declarations.h
armarx::armem::server::obj::instance::visu::LinearPredictions::ghostAlpha
float ghostAlpha
Definition: LinearPredictionsVisu.h:21
armarx::RemoteGui::Client::CheckBox
Definition: Widgets.h:129
Widgets.h
Logging.h
armarx::viz::Layer
Definition: Layer.h:12
armarx::RemoteGui::Client::FloatSpinBox
Definition: Widgets.h:93
armarx::objpose::ObjectPose
An object pose as stored by the ObjectPoseStorage.
Definition: ObjectPose.h:36
armarx::armem::server::obj::instance::visu::LinearPredictions::RemoteGui::timeOffsetSeconds
armarx::RemoteGui::Client::FloatSpinBox timeOffsetSeconds
Definition: LinearPredictionsVisu.h:47