VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgChannelManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtOsgChannelManager_H_
11 #define DtOsgChannelManager_H_
12 
13 #include <vrvOsg/vrvOsg.h>
17 
18 namespace osgViewer
19 {
20  class CompositeViewer;
21 }
22 
23 namespace makVrv
24 {
25 
26  class DtOsgRenderer;
27 
31  {
32 
33  public:
34 
36  DtOsgChannelManager(DtDe& de,DtWindow* window,
37  DtChannelConfigurations& channelConfigs);
38 
40  virtual ~DtOsgChannelManager();
41 
43  virtual void destroyChannel(const std::string& displayName, const std::string& windowName,
44  const std::string& channelName);
45 
46  osgViewer::CompositeViewer* viewer();
47 
49  virtual void setIncrementalCompileOption(bool enable);
50 
52  virtual void setMaxPagedLODs( int maxPagedLODs );
53 
54  protected:
55 
57  DtChannel* realizeConfiguration(DtChannelConfiguration& config);
58 
60 
61  };
62 
64  {
65  public:
66 
69  virtual DtChannelManager* create(DtDe& anIG, DtWindow* window,
70  DtChannelConfigurations& channelConfigs);
71 
72  };
73 }
74 
75 #endif
76 
Abstract Base class.
Definition: DtWindow.h:25
The DtOsgRenderer is the component responsible for rendering 3D images onto the screen via OpenSceneG...
Definition: DtOsgRenderer.h:87
Contains makVrv::DtChannelManager class.
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Creator for a DtChannelManager.
Definition: DtChannelManager.h:132
Contains DT_VIRTUAL_CTR DT_VIRTUAL_COPY_ASSIGN DT_VIRTUAL_BASE_CTR DT_PURE_VIRTUAL_CTR DT_VIRTUAL_CTR...
DtOsgRenderer * myRenderer
Definition: DtOsgChannelManager.h:59
The abstract Channel Class.
Definition: DtChannel.h:35
Base class for handling DtChannels. Derived classes should override the tick() method and advance the...
Definition: DtChannelManager.h:32
Configuration for a single channel Serialized and sent to remote displays as necessary to configure r...
Definition: DtChannelConfiguration.h:26
Contains DLL export macros.
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:70
This class owns the osgViewer::CompositeViewer.
Definition: DtOsgChannelManager.h:30
Definition: DtOsgChannelManager.h:63
Contains makVrv::DtWindowConfiguration class.

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)