VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgScreenCapture.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
7 
8 #pragma once
9 
10 #include <vrvOsg/vrvOsg.h>
11 #include <vrvCore/DtDe.h>
12 #include <vrvCore/DtChannel.h>
15 #include <string>
16 #include <vrvCore/DtObserver.h>
17 #include <osgDB/ReadFile>
18 #include <osgDB/Registry>
19 #include <osgDB/WriteFile>
20 
21 namespace makVrv
22 {
23 
25  : public DtScreenCapture
26  {
27 
29 
30  public:
31 
33  virtual ~DtOsgScreenCapture();
34 
35 
37  virtual void takeScreenCapture(const DtChannel* channel) ;
38 
40  virtual void readImage(osg::Image* image, int x, int y, int z, int h, GLenum format, GLenum type) const;
41 
42  protected:
43 
46 
47  };
48 
52  {
53 
54  public:
55 
57  virtual DtScreenCapture* create(DtDe& de);
58 
59  };
60 }
61 
62 
63 
64 

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)