VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSubmitViewCallback.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
10 
11 #pragma once
12 
14 
15 #include <osg/Texture2D>
16 #include <osg/Camera>
17 #include <osg/Matrixd>
18 
19 namespace makVrv
20 {
21  class DtDe;
22  class DtVirtualRealityPostProcessor;
23  class DtVirtualRealityDriver;
24  class DtBlitOsgToGlTexture;
25 
30  {
31  private:
34 
37 
39  DtSubmitViewCallback& operator=(const DtSubmitViewCallback&);
40 
41  public:
44 
46  virtual ~DtSubmitViewCallback();
47 
48  // ! \brief has the callback initalised properly
49  bool isInitialized() const;
50 
52  virtual void operator()(osg::RenderInfo& renderInfo) const;
53 
54  protected:
56  virtual void submit(osg::RenderInfo& renderInfo) const = 0;
57 
58 
62 
63  // ! used to flag the contructor initalised everything successfully
65 
70 
72  };
73 }
Contains DLL export macros.
bool myIsInitialized
Definition: DtSubmitViewCallback.h:64
A driver that manages virtual reality HMD and input devices.
Definition: DtVirtualRealityDriver.h:51
#define DT_DLL_VRVVR
Definition: vrvVirtualReality.h:19
DtEye
A virtual reality eye.
Definition: vrvVirtualReality.h:38
DtBlitOsgToGlTexture * myMutableBlitTexture
this is mutable because it needs to be created during the operator() callback which is a const functi...
Definition: DtSubmitViewCallback.h:69
DtVirtualRealityDriver & myDriver
Definition: DtSubmitViewCallback.h:60
DtVirtualRealityPostProcessor & myProcessor
Definition: DtSubmitViewCallback.h:59
DtDe & myDe
Definition: DtSubmitViewCallback.h:71
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
A helper class for blitting between an osg texture and an internal texture identified by its OpenGL i...
Definition: DtBlitOsgToGlTexture.h:26
vrvVirtualReality::DtEye myEye
Definition: DtSubmitViewCallback.h:61
A post processing effect responsible for submitting and mirroring the eye views to the VR subsystem...
Definition: DtVirtualRealityPostProcessor.h:34
An OSG camera callback that will submit the channel to the underlying VR system as an overlay channel...
Definition: DtSubmitViewCallback.h:29

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)