RGBDPoseEstimationWithMemoryWriter.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 VisionX::RGBDOpenPoseEstimation
17 * @author Fabian Peller <fabian.peller@kit.edu>
18 * @date 2020
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22#pragma once
23
24// ArmarX
28
30#include <VisionX/interface/components/PointCloudAndImageAndCalibrationProviderInterface.h>
33
34namespace armarx
35{
40 {
41 public:
42 /// @see armarx::ManagedIceObject::getDefaultName()
43 std::string getDefaultName() const override;
44
45 /// Get the component's default name.
46 static std::string GetDefaultName();
47
49
50 void reportEntities() override;
51
52 protected:
53 virtual void onInitImageProcessor() override;
54 virtual void onConnectImageProcessor() override;
55 virtual void onDisconnectImageProcessor() override;
56 virtual void onExitImageProcessor() override;
57 virtual void process() override;
58
59 private:
60 static const std::string defaultName;
61
62 struct Properties
63 {
64 std::string providerName = "";
65 bool enableMemory = true;
66 armarx::armem::MemoryID humanMemory{"Human/Pose"};
67 } properties;
68
70 };
71} // namespace armarx
virtual void onConnectImageProcessor() override
Implement this method in the ImageProcessor in order execute parts when the component is fully initia...
virtual void onExitImageProcessor() override
Exit the ImapeProcessor component.
virtual armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
virtual void process() override
Process the vision component.
virtual void onInitImageProcessor() override
Setup the vision component.
static std::string GetDefaultName()
Get the component's default name.
virtual void onDisconnectImageProcessor() override
Implement this method in the ImageProcessor in order execute parts when the component looses network ...
The ImageProcessor class provides an interface for access to ImageProviders via Ice and shared memory...
client::plugins::PluginUser ClientPluginUser
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.