LegacyRGBOpenPoseEstimation.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
26 #include <VisionX/interface/components/PointCloudAndImageAndCalibrationProviderInterface.h>
27 
29 
30 namespace visionx
31 {
33  public OpenPoseEstimationComponent,
35  {
36  public:
37  std::string getDefaultName() const override
38  {
39  return "LegacyRGBOpenPoseEstimation";
40  }
41 
43 
44  protected:
45  virtual void onInitImageProcessor() override;
46  virtual void onConnectImageProcessor() override;
47  virtual void onDisconnectImageProcessor() override;
48  virtual void onExitImageProcessor() override;
49  virtual void process() override;
50 
51  private:
52  std::string providerName = "";
53  };
54 }
visionx::LegacyRGBOpenPoseEstimation::onExitImageProcessor
virtual void onExitImageProcessor() override
Exit the ImapeProcessor component.
Definition: LegacyRGBOpenPoseEstimation.cpp:79
visionx::LegacyRGBOpenPoseEstimation::onDisconnectImageProcessor
virtual void onDisconnectImageProcessor() override
Implement this method in the ImageProcessor in order execute parts when the component looses network ...
Definition: LegacyRGBOpenPoseEstimation.cpp:72
visionx
ArmarX headers.
Definition: OpenPoseStressTest.h:38
visionx::ImageProcessor
The ImageProcessor class provides an interface for access to ImageProviders via Ice and shared memory...
Definition: ImageProcessor.h:87
visionx::LegacyRGBOpenPoseEstimation::onConnectImageProcessor
virtual void onConnectImageProcessor() override
Implement this method in the ImageProcessor in order execute parts when the component is fully initia...
Definition: LegacyRGBOpenPoseEstimation.cpp:48
visionx::LegacyRGBOpenPoseEstimation::onInitImageProcessor
virtual void onInitImageProcessor() override
Setup the vision component.
Definition: LegacyRGBOpenPoseEstimation.cpp:39
visionx::LegacyRGBOpenPoseEstimation::createPropertyDefinitions
virtual armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: LegacyRGBOpenPoseEstimation.cpp:30
visionx::LegacyRGBOpenPoseEstimation::process
virtual void process() override
Process the vision component.
Definition: LegacyRGBOpenPoseEstimation.cpp:84
ImageProcessor.h
visionx::LegacyRGBOpenPoseEstimation::getDefaultName
std::string getDefaultName() const override
Retrieve default name of component.
Definition: LegacyRGBOpenPoseEstimation.h:37
IceUtil::Handle< class PropertyDefinitionContainer >
OpenPoseEstimationComponent.h
visionx::LegacyRGBOpenPoseEstimation
Definition: LegacyRGBOpenPoseEstimation.h:32