VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtScalableOsgChannel.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (c) 2024 MAK Technologies, Inc.
3  * All rights reserved.
4  ******************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 #include <vrvOsg/DtOsgChannel.h>
15 
16 namespace makVrv
17 {
18  class DtOsgWindow;
19  class DtWindowManager;
20  class DtWindowConfiguration;
21 
22  namespace vrvScalableDisplay
23  {
24  // Calls EasyBlendSDK_TransformInputToOutput from the EasyBlend SDK
25  // to perform warp & blend
28  {
29  public:
31  DtScalableSwapCallback(DtDe* de) : myDe(de) {};
32 
33  void swapBuffersImplementation(osg::GraphicsContext *) override;
34 
35  protected:
37  };
38 
41 
43  : public DtOsgChannel
44  {
45  public:
46 
50 
51 
53  virtual ~DtScalableOsgChannel();
54 
56  virtual void updateProjection() override;
57 
58  protected:
59 
61  DtScalableOsgChannel(DtDe& de, DtWindow* window,
62  DtChannelConfiguration& channelConfig);
63 
65  void makeObserverToCameraMatrix( osg::Vec3d& orient,
66  osg::Matrixd& offsetObserverToCamera, osg::Matrixd& observerToCamera ) override;
67  void makeObserverToCameraMatrix( osg::Quat& qObserverToWorld,
68  osg::Matrixd& offsetObserverToCamera, osg::Matrixd& observerToCamera ) override;
69 
71  virtual bool initialize() override;
72 
73  protected:
75  };
76 
80  public DtChannelCreator
81  {
82  public:
84  virtual DtChannel* create(DtDe& de, DtWindow* window,
85  DtChannelConfiguration& config) override;
86  };
87  }
88 }
Abstract Base class.
Definition: DtWindow.h:25
Contains makVrv::DtOsgChannel class.
osg::ref_ptr< DtScalableSwapCallback > mySwapCallback
Definition: DtScalableOsgChannel.h:74
Definition: DtScalableOsgChannel.h:26
Contains DLL export macros.
Definition: featureContext.h:37
The channel creator for the abstract channel class.
Definition: DtScalableOsgChannel.h:79
The abstract channel creator for the abstract channel class.
Definition: DtChannel.h:192
DtDe * myDe
Definition: DtScalableOsgChannel.h:36
This class provides the OSG-specific implementation of a DtChannel.
Definition: DtOsgChannel.h:55
Integration of DtOsgChannel with Scalable SDK.
Definition: DtScalableOsgChannel.h:42
The abstract Channel Class.
Definition: DtChannel.h:35
DtScalableSwapCallback(DtDe *de)
CTOR.
Definition: DtScalableOsgChannel.h:31
Configuration for a single channel Serialized and sent to remote displays as necessary to configure r...
Definition: DtChannelConfiguration.h:24
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:72
#define DT_DLL_VRVSCALABLEDISPLAY
Definition: vrvScalableDisplay.h:20

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)