SuperimposeMesh
All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
Superimpose.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016-2019 Istituto Italiano di Tecnologia (IIT)
3  *
4  * This software may be modified and distributed under the terms of the
5  * BSD 3-Clause license. See the accompanying LICENSE file for details.
6  */
7 
8 #ifndef SUPERIMPOSEHAND_H
9 #define SUPERIMPOSEHAND_H
10 
11 #include <string>
12 #include <map>
13 #include <unordered_map>
14 #include <utility>
15 #include <vector>
16 
17 #include <opencv2/core/core.hpp>
18 
19 
21 {
22 public:
23  typedef typename std::vector<double> ModelPose;
24 
25  typedef typename std::multimap<std::string, ModelPose> ModelPoseContainer;
26 
27  typedef typename std::pair<std::string, ModelPose> ModelPoseContainerElement;
28 
29  virtual ~Superimpose() { };
30 
31  virtual bool superimpose(const ModelPoseContainer& objpos_map, const double* cam_x, const double* cam_o, cv::Mat& img) = 0;
32 };
33 
34 #endif /* SUPERIMPOSEHAND_H */
std::vector< double > ModelPose
Definition: Superimpose.h:23
std::pair< std::string, ModelPose > ModelPoseContainerElement
Definition: Superimpose.h:27
virtual bool superimpose(const ModelPoseContainer &objpos_map, const double *cam_x, const double *cam_o, cv::Mat &img)=0
std::multimap< std::string, ModelPose > ModelPoseContainer
Definition: Superimpose.h:25
virtual ~Superimpose()
Definition: Superimpose.h:29