VR-Forces 5.0.1 Developer's Guide
 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) 2020 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(DtChannel* channel) override;
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 
The abstract creator for the abstract DtScreenCaptureUtility class.
Definition: DtScreenCapture.h:81
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains makVrv::DtDe class.
The abstract Channel Class.
Definition: DtChannel.h:35
Contains makVrv::DtVirtualBaseClass class.
Contains makVrv::DtScreenCapture class.
Contains makVrv::DtObserver class.
IMGUI_API void Image(ImTextureID user_texture_id, const ImVec2 &size, const ImVec2 &uv0=ImVec2(0, 0), const ImVec2 &uv1=ImVec2(1, 1), const ImVec4 &tint_col=ImVec4(1, 1, 1, 1), const ImVec4 &border_col=ImVec4(0, 0, 0, 0))
The abstract creator for the abstract DtScreenCaptureUtility class.
Definition: DtOsgScreenCapture.h:51
Contains makVrv::DtChannel class.
Definition: DtOsgScreenCapture.h:24
unsigned int GLenum
Definition: DtGlTextureBufferObject.h:18
Definition: DtScreenCapture.h:24
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)