VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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
26  public osg::GraphicsContext::SwapCallback
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  virtual bool initialize();
65 
66  protected:
67  osg::ref_ptr<DtScalableSwapCallback> mySwapCallback;
68  };
69 
73  public DtChannelCreator
74  {
75  public:
77  virtual DtChannel* create(DtDe& de, DtWindow* window,
78  DtChannelConfiguration& config);
79  };
80  }
81 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)