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) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <boost/thread.hpp>
15 
16 #include <set>
17 
18 namespace osg
19 {
20  class Node;
21 }
22 
23 namespace makVrv
24 {
25  class DtDefinitionCachePayload;
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:
44 
49  static void prepDefinitionForIndirecting(DtModelDefinition& modelDef, DtDe& de,
50  const std::string& lightPointGroup, osg::Node* node,
51  DtDefinitionCachePayload& payload);
52 
53  protected:
55  static void processModelIfNecessary(DtModelDefinition& modelDef, osg::Node* root,
56  DtDe& de, const std::string& lightPointGroup);
57 
60  static void parseModel(DtModelDefinition& modelDef, DtDe& de, osg::Node* root,
61  DtDefinitionCachePayload& payload);
62 
63  protected:
64  static boost::mutex theNodeProcessingSetMutex;
65  static boost::condition_variable theNodeProcessingCondition;
66 
67  typedef std::set<osg::Node*> NodeSet;
69  };
70 }
static NodeSet theNodeProcessingSet
Definition: DtEntityIndirectUtils.h:68
std::set< osg::Node * > NodeSet
Definition: DtEntityIndirectUtils.h:67
#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:44
Definition: DtEntityIndirectUtils.h:29
static boost::mutex theNodeProcessingSetMutex
Definition: DtEntityIndirectUtils.h:64
static boost::condition_variable theNodeProcessingCondition
Definition: DtEntityIndirectUtils.h:65
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:76
Accumulates definition cache entries produced by a background load.
Definition: DtDefinitionCachePayload.h:37

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)