22 #include <osgEarth/StateSetCache>
23 #include <osgEarth/Layer>
25 #include <osg/observer_ptr>
27 #include <boost/thread/mutex.hpp>
28 #include <boost/thread/condition_variable.hpp>
33 #include <unordered_map>
34 #include <unordered_set>
39 class SubstituteModelFilterNode;
40 class ExtrudeGeometryFilterNode;
51 class DtCellToGeoTypicalIndirectGeoMap;
52 class DtCellToGeoSpecificIndirectGeoMap;
53 class DtIndirectModelsContainer;
54 class DtModelSemanticsMapper;
55 class DtIndirectFeatureGeomHandler;
56 class DtCellIndirectGeo;
57 class DtIndirectModelRegistrationInfo;
59 class DtIndirectModelContainerForHandlers;
60 class DtIndirectFeatureGeomHandlerSignaler;
99 virtual void onDataPremerge(osg::Node* data);
102 virtual void onDataUnloaded(
const osg::Node* data);
105 virtual void slot_postTick();
109 virtual void processSubstituteModelFilterNodes(osg::Node* data);
112 virtual void processExtrudeGeometryFilterNodes(osg::Node* data);
115 virtual void processExtrudeGeometryFilterNode(osgEarth::ExtrudeGeometryFilterNode* pFeatureNode, osg::Node* data);
121 virtual void processSubstituteModelFilterNode(
const osgEarth::SubstituteModelFilterNode* pFeatureNode,
const osg::Node* data);
124 virtual void processSubstituteModelFilterNodeAsGT(
const osgEarth::SubstituteModelFilterNode* pFeatureNode,
const osg::Group* keyNode);
127 virtual void processSubstituteModelFilterNodeAsGS(
const osgEarth::SubstituteModelFilterNode* pFeatureNode,
const osg::Group* keyNode);
131 virtual void processCustomFeatures(osg::Node* data);
137 virtual void setLayerMask(
const osgEarth::Layer* layer)
const;
140 virtual void turnOffIntersectionsIfSoSpecified(
const osgEarth::Layer* layer)
const;
155 osg::observer_ptr<const osgEarth::Layer>
myLayer;
friend DtIndirectFeatureGeomHandlerCreator
creator friend class so it is the only one that can create new DtIndirectFeatureGeomHandlers ...
Definition: DtIndirectFeatureGeomHandler.h:89
Helper for managing a map of feature tile nodes (for a layer) to DtCellGeoSpecificIndirectGeo DtCellG...
Definition: DtCellToGeoSpecificIndirectGeoMap.h:40
DtIndirectModelContainerForHandlers & myIndirectModelContainerForHandlers
Definition: DtIndirectFeatureGeomHandler.h:178
#define DT_DLL_VRVOSGEARTH
Definition: vrvOsgEarth.h:21
const bool myDynamicTerrainInstallerActive
Definition: DtIndirectFeatureGeomHandler.h:172
Helper for managing a map of feature tile nodes (for a layer) to DtCellGeoTypicalIndirectGeo DtCellGe...
Definition: DtCellToGeoTypicalIndirectGeoMap.h:40
osg::ref_ptr< osgEarth::StateSetCache > myStateSetCache
Definition: DtIndirectFeatureGeomHandler.h:168
DtIndirectModelsContainer * myGTModelsContainer
Definition: DtIndirectFeatureGeomHandler.h:159
The signaler object for the makVrv::DtTerrainPatchObject class.
Definition: DtIndirectFeatureGeomHandlerSignaler.h:29
std::function< void(const DtIndirectModelRegistrationInfo &)> myRegisteredModelCallback
Definition: DtIndirectFeatureGeomHandler.h:148
class used to collect geometry coming in via feature_geom and add it to the indirect engine...
Definition: DtIndirectFeatureGeomHandler.h:78
const char * creatorTypeName< DtIndirectFeatureGeomHandler >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtIndirectFeatureGeomHandler.h:70
DtVirtualBaseClassCreator< DtIndirectFeatureGeomHandler, const osgEarth::Layer &, const DtIndirectFadeParameters &, const bool &, const bool & > DtIndirectFeatureGeomHandlerCreator
creator
Definition: DtIndirectFeatureGeomHandler.h:63
DtIndirectFadeParameters myFadeParameters
Definition: DtIndirectFeatureGeomHandler.h:170
class for holding an indirect geometry registrar (which holds the information about how to draw model...
Definition: DtIndirectModelsContainer.h:72
std::string myCurrentSharedDataPath
Definition: DtIndirectFeatureGeomHandler.h:146
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:23
Custom Feature Node.
Definition: CustomFeatureNode.h:43
Contains the CustomFeatureNode class declaration.
const bool myCullFaceEnabled
Definition: DtIndirectFeatureGeomHandler.h:173
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Layer Handlers can request models that can be for a dynamic layer or not for a dynamic layer...
Definition: DtIndirectModelContainerForHandlers.h:35
struct for holding the fade parameters used by the indirect rendering cull compute shader ...
Definition: DtIndirectFadeParameters.h:17
DtIndirectFeatureGeomHandlerSignaler & mySignaler
Definition: DtIndirectFeatureGeomHandler.h:179
Base class to provide boost signal/slot management.
DtCellToGeoSpecificIndirectGeoMap * myCellToGSIndirectGeoMap
GeoSpecific stuff.
Definition: DtIndirectFeatureGeomHandler.h:162
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
DtCellToGeoTypicalIndirectGeoMap * myCellToGTIndirectGeoMap
GeoTypical stuff.
Definition: DtIndirectFeatureGeomHandler.h:158
DtCellToGeoSpecificIndirectGeoMap * myCellToProceduralGSIndirectGeoMap
Procedural stuff. Is also geospecific in the sense that each tile will have its own registrar...
Definition: DtIndirectFeatureGeomHandler.h:166
DtDe & myDe
Definition: DtIndirectFeatureGeomHandler.h:144
DtSignalConnectionManager myConnections
manager for connections
Definition: DtIndirectFeatureGeomHandler.h:176
Contains DLL export macros.
Contains makVrv::DtIndirectFadeParameters class.
osg::observer_ptr< const osgEarth::Layer > myLayer
store by observer ptr here onDataPremerge for a node can get launched (in another thread) just after ...
Definition: DtIndirectFeatureGeomHandler.h:155