Fawkes API
Fawkes Development Version
types.h
1
2
/***************************************************************************
3
* skel_if_observer.h - Skeleton interface observer
4
*
5
* Created: Sat Apr 02 18:14:37 2011 (RoboCup German Open 2011, Magdeburg)
6
* Copyright 2006-2011 Tim Niemueller [www.niemueller.de]
7
*
8
****************************************************************************/
9
10
/* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Library General Public License for more details.
19
*
20
* Read the full text in the LICENSE.GPL file in the doc directory.
21
*/
22
23
#ifndef _PLUGINS_OPENNI_UTILS_TYPES_H_
24
#define _PLUGINS_OPENNI_UTILS_TYPES_H_
25
26
#include <map>
27
#include <string>
28
29
namespace
fawkes
{
30
class
HumanSkeletonInterface;
31
class
HumanSkeletonProjectionInterface;
32
class
ObjectPositionInterface;
33
34
namespace
openni {
35
36
/** User info to pass to draw_skeletons(). */
37
typedef
struct
38
{
39
fawkes::HumanSkeletonInterface
* skel_if;
/**< Skeleton interface. */
40
fawkes::HumanSkeletonProjectionInterface
*proj_if;
/**< Projection interface. */
41
} UserInfo;
42
43
/** Map from name to user info. */
44
typedef
std::map<std::string, UserInfo> UserMap;
45
46
/** Hand info to pass to draw_skeletons(). */
47
typedef
struct
48
{
49
fawkes::ObjectPositionInterface
*hand_if;
/**< Hand pos interface. */
50
}
HandInfo
;
51
52
/** Map from name to hand info. */
53
typedef
std::map<std::string, HandInfo> HandMap;
54
55
}
// namespace openni
56
}
// end namespace fawkes
57
58
#endif
fawkes::HumanSkeletonInterface
Definition:
HumanSkeletonInterface.h:39
fawkes::HumanSkeletonProjectionInterface
Definition:
HumanSkeletonProjectionInterface.h:39
fawkes
fawkes::openni::HandInfo
Hand info to pass to draw_skeletons().
Definition:
types.h:53
fawkes::ObjectPositionInterface
Definition:
ObjectPositionInterface.h:39
src
plugins
openni
utils
types.h
Generated by
1.8.17