cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
osaOSGHUD.h
Go to the documentation of this file.
1 
2 
3 #ifndef _osaOSGHUD_h
4 #define _osaOSGHUD_h
5 
6 
7 #include <sawOpenSceneGraph/sawOpenSceneGraphConfig.h>
8 
13 
14 
15 class CISST_EXPORT osaOSGHUD : public osg::Camera {
16 
17  friend class osaOSGMono;
18  friend class osaOSGStereo;
19 
20  private:
21 
22  osg::ref_ptr< osg::Node > root;
23  osg::ref_ptr< osgViewer::Viewer > viewer;
24 
25  void Initialize( osg::GraphicsContext* gc );
26 
27  public :
28 
30 
32  osaOSGHUD( osaOSGWorld* world,
33  osaOSGCamera* camera );
34 
35  osaOSGHUD( osaOSGWorld* world,
36  mtsOSGCameraTask* camera );
37 
38  ~osaOSGHUD();
39 
40 
41 #ifdef SAW_OPENSCENEGRAPH_SUPPORTS_OPENCV
42 
43  public:
44 
45  osaOSGCamera::Errno GetRangeData( vctDynamicMatrix<double>& rangedata );
47 
48  osaOSGCamera::Errno GetRGBImage( cv::Mat& rgb );
49  osaOSGCamera::Errno GetDepthImage( cv::Mat& depth );
50 
51 #endif
52 
53 };
54 
55 #endif
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
An nArray object of dynamic size.
Definition: vctDynamicNArray.h:122
Declaration of vctDynamicNArray.
Definition: mtsOSGCameraTask.h:28
Definition: osaOSGWorld.h:24
Definition: osaOSGStereo.h:11
Definition: osaOSGHUD.h:15
Errno
Definition: osaOSGCamera.h:33
Definition: osaOSGMono.h:13
std::string Mat
Definition: svlTypes.h:72
friend class osaOSGHUD
Definition: osaOSGCamera.h:29
virtual void Initialize(const std::string &name=std::string())
Definition: osaOSGCamera.h:27