VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtLightManagerGroup.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
15 #include <osg/Group>
16 
17 namespace makVrv
18 {
23  class DT_DLL_VRVOSG DtLightManagerGroup : public osg::Group
24  {
25  public:
28 
30  virtual ~DtLightManagerGroup();
31  private:
32 
34  DtLightManagerGroup() = delete;
36  DtLightManagerGroup(const DtLightManagerGroup& rhs) = delete;
38  DtLightManagerGroup& operator=(const DtLightManagerGroup& rhs) = delete;
39 
40  public:
42  virtual void accept(osg::NodeVisitor& nv) override;
43 
45  virtual osg::BoundingSphere computeBound() const override;
46 
48  virtual void setStateSetModes(osg::StateSet& stateSet, osg::StateAttribute::GLModeValue) const;
49 
51  virtual void setLocalStateSetModes(osg::StateAttribute::GLModeValue val);
52 
53  virtual void setThreadSafeRefUnref(bool threadSafe);
54 
55  virtual void enableLighting(osg::ref_ptr<osg::Camera> camera, bool enable);
56  protected:
59  };
60 
61 }
62 
A group node which applies lights maintained in the DtOsgLightManager at the top of the render graph...
Definition: DtLightManagerGroup.h:23
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains makVrv::DtLightManagerStateAttribute class.
osg::ref_ptr< DtLightManagerStateAttribute > myLightManagerStateAttribute
Definition: DtLightManagerGroup.h:58
DtDe & myDe
Definition: DtLightManagerGroup.h:57
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:72

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)