ObjectMemoryEditor.h
Go to the documentation of this file.
1 #pragma once
2 
7 
9 
12 #include "InteractionObserver.h"
13 
14 namespace armarx
15 {
17  virtual public armarx::Component,
19  virtual public armarx::ArVizComponentPluginUser,
22  {
23  public:
24  std::string getDefaultName() const override;
25 
26  protected:
28  void onInitComponent() override;
29  void onConnectComponent() override;
30  void onDisconnectComponent() override;
31  void onExitComponent() override;
32 
33  public:
34  objpose::ProviderInfo getProviderInfo(const Ice::Current& = Ice::emptyCurrent) override;
35  objpose::provider::RequestObjectsOutput requestObjects(const objpose::provider::RequestObjectsInput& input, const Ice::Current&) override;
36 
37  private:
38  void run();
39 
40  armarx::ObjectFinder objectFinder;
41  objpose::ProviderInfo providerInfo;
42 
43  float objectScaling = 1.01F;
44  float confidenceThreshold = 0.0F;
45 
47  };
48 } // namespace armarx
ArVizComponentPlugin.h
armarx::ObjectMemoryEditor::getDefaultName
std::string getDefaultName() const override
Retrieve default name of component.
Definition: ObjectMemoryEditor.cpp:25
armarx::ObjectMemoryEditor::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition: ObjectMemoryEditor.cpp:30
ObjectPoseProviderPlugin.h
armarx::ObjectMemoryEditor
Definition: ObjectMemoryEditor.h:16
ObjectPoseClientPlugin.h
armarx::ObjectMemoryEditor::getProviderInfo
objpose::ProviderInfo getProviderInfo(const Ice::Current &=Ice::emptyCurrent) override
Definition: ObjectMemoryEditor.cpp:98
armarx::ObjectPoseProviderPluginUser
Provides an objpose::ObjectPoseTopicPrx objectPoseTopic as member variable.
Definition: ObjectPoseProviderPlugin.h:43
armarx::ObjectPoseClientPluginUser
Provides an objpose::ObjectPoseTopicPrx objectPoseTopic as member variable.
Definition: ObjectPoseClientPlugin.h:67
armarx::ObjectFinder
Used to find objects in the ArmarX objects repository [1] (formerly [2]).
Definition: ObjectFinder.h:23
armarx::ObjectMemoryEditor::requestObjects
objpose::provider::RequestObjectsOutput requestObjects(const objpose::provider::RequestObjectsInput &input, const Ice::Current &) override
Definition: ObjectMemoryEditor.cpp:103
InteractionObserver.h
armarx::ArVizComponentPluginUser
Provides a ready-to-use ArViz client arviz as member variable.
Definition: ArVizComponentPlugin.h:36
armarx::aron::input
ReaderT::InputType & input
Definition: rw.h:19
armarx::ObjectMemoryEditor::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition: ObjectMemoryEditor.cpp:47
DebugObserverComponentPlugin.h
TaskUtil.h
Component.h
armarx::Component
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition: Component.h:95
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::DebugObserverComponentPluginUser
Definition: DebugObserverComponentPlugin.h:82
armarx::ObjectMemoryEditor::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: ObjectMemoryEditor.cpp:12
armarx::ObjectMemoryEditor::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition: ObjectMemoryEditor.cpp:62
armarx::ObjectMemoryEditor::onDisconnectComponent
void onDisconnectComponent() override
Hook for subclass.
Definition: ObjectMemoryEditor.cpp:58
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
ObjectFinder.h