VR-Forces Developer's Guide
 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) 2022 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 DtVirtualRealityProvider;
25  class DtSwapChain;
26 
31  {
32  private:
35 
38 
40  DtSubmitViewCallback& operator=(const DtSubmitViewCallback&);
41 
42  public:
45 
47  virtual ~DtSubmitViewCallback();
48 
49  // ! \brief has the callback initalised properly
50  bool isInitialized() const;
51 
53  virtual void operator()(osg::RenderInfo& renderInfo) const;
54 
55  protected:
57  virtual void submit(osg::RenderInfo& renderInfo) const;
58 
62 
63  // ! used to flag the contructor initalised everything successfully
65 
68 
70 
72  };
73 }
DtVirtualRealityProvider * myProvider
Definition: DtSubmitViewCallback.h:61
Contains DLL export macros.
bool myIsInitialized
Definition: DtSubmitViewCallback.h:64
A driver that manages virtual reality HMD and input devices.
Definition: DtVirtualRealityDriver.h:54
#define DT_DLL_VRVVR
Definition: vrvVirtualReality.h:19
DtEye
A virtual reality eye.
Definition: vrvVirtualReality.h:37
Base implementation of a texture swapchain.
Definition: DtSwapChain.h:37
An abstract interface that provides VR System API services. Providers are created and provided to the...
Definition: DtVirtualRealityProvider.h:47
DtVirtualRealityDriver & myDriver
Definition: DtSubmitViewCallback.h:60
DtSwapChain * mySwapChain
Definition: DtSubmitViewCallback.h:69
DtVirtualRealityPostProcessor & myProcessor
Definition: DtSubmitViewCallback.h:59
DtDe & myDe
Definition: DtSubmitViewCallback.h:71
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:76
vrvVirtualReality::DtEye myEye
the eye this callback is handling
Definition: DtSubmitViewCallback.h:67
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:30

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)