VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtEntityIndirectUtils.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 
11 #pragma once
12 
13 #include <vrvOsg/vrvOsg.h>
14 
15 #include <boost/thread.hpp>
16 
17 #include <set>
18 
19 namespace osg
20 {
21  class Node;
22 }
23 
24 namespace makVrv
25 {
26  class DtModelDefinition;
27  class DtDe;
28 
30  {
31  private:
33  DtEntityIndirectUtils() = delete;
34 
36  virtual ~DtEntityIndirectUtils() = delete;
37 
39  DtEntityIndirectUtils(const DtEntityIndirectUtils& rhs) = delete;
40 
42  DtEntityIndirectUtils& operator=(const DtEntityIndirectUtils& rhs) = delete;
43  public:
45  static void prepDefinitionForIndirecting(DtModelDefinition& modelDef, DtDe& de, const std::string& lightPointGroup);
46 
47  protected:
49  static void processModelIfNecessary(DtModelDefinition& modelDef, osg::Node* root, DtDe& de, const std::string& lightPointGroup);
50 
52  static void parseModel(DtModelDefinition& modelDef, DtDe& de, osg::Node* root);
53 
54  protected:
55  static boost::mutex theNodeProcessingSetMutex;
56  static boost::condition_variable theNodeProcessingCondition;
57 
58  typedef std::set<osg::Node*> NodeSet;
60  };
61 }
static NodeSet theNodeProcessingSet
Definition: DtEntityIndirectUtils.h:59
std::set< osg::Node * > NodeSet
Definition: DtEntityIndirectUtils.h:58
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
A model definition Interaction any number of named parameters, and also can be used to store cached d...
Definition: DtModelDefinition.h:42
Definition: DtEntityIndirectUtils.h:29
static boost::mutex theNodeProcessingSetMutex
Definition: DtEntityIndirectUtils.h:55
static boost::condition_variable theNodeProcessingCondition
Definition: DtEntityIndirectUtils.h:56
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)