VR-Forces 4.8 Class Documentation
 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) 2015 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 OpenGLSwap from the EasyBlend SDK to perform warp & blend
27  {
28  public:
30  DtScalableSwapCallback(DtDe* de) : myDe(de) {};
31 
32  void swapBuffersImplementation(osg::GraphicsContext *);
33 
34  protected:
36  };
37 
40 
42  : public DtOsgChannel
43  {
44  public:
45 
49 
50 
52  virtual ~DtScalableOsgChannel();
53 
55  virtual void updateProjection();
56 
57  protected:
58 
60  DtScalableOsgChannel(DtDe& de, DtWindow* window,
61  DtChannelConfiguration& channelConfig);
62 
64  void makeObserverToCameraMatrix( osg::Vec3d& orient,
65  osg::Matrixd& offsetObserverToCamera, osg::Matrixd& observerToCamera );
66  void makeObserverToCameraMatrix( osg::Quat& qObserverToWorld,
67  osg::Matrixd& offsetObserverToCamera, osg::Matrixd& observerToCamera );
68 
70  virtual bool initialize();
71 
72  protected:
74  };
75 
79  public DtChannelCreator
80  {
81  public:
83  virtual DtChannel* create(DtDe& de, DtWindow* window,
84  DtChannelConfiguration& config);
85  };
86  }
87 }
Abstract Base class.
Definition: DtWindow.h:25
Contains makVrv::DtOsgChannel class.
osg::ref_ptr< DtScalableSwapCallback > mySwapCallback
Definition: DtScalableOsgChannel.h:73
Definition: DtScalableOsgChannel.h:25
Contains DLL export macros.
Definition: featureContext.h:37
The channel creator for the abstract channel class.
Definition: DtScalableOsgChannel.h:78
The abstract channel creator for the abstract channel class.
Definition: DtChannel.h:161
DtDe * myDe
Definition: DtScalableOsgChannel.h:35
This class provides the OSG-specific implementation of a DtChannel.
Definition: DtOsgChannel.h:75
Integration of DtOsgChannel with Scalable SDK.
Definition: DtScalableOsgChannel.h:41
The abstract Channel Class.
Definition: DtChannel.h:29
DtScalableSwapCallback(DtDe *de)
CTOR.
Definition: DtScalableOsgChannel.h:30
Configuration for a single channel Serialized and sent to remote displays as necessary to configure r...
Definition: DtChannelConfiguration.h:26
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
#define DT_DLL_VRVSCALABLEDISPLAY
Definition: vrvScalableDisplay.h:20

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)