VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCellGeoSpecificIndirectGeo.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
16 
17 #include <tbb/atomic.h>
18 
19 #define DTCELLGEOSPECIFICINDIRECTGEO_CONSTRUCT_DESTRUCT_DEBUG 0
20 
21 namespace makVrv
22 {
23  struct DtIndirectFadeParameters;
24 
28  {
29  public:
32  DtIndirectGeometryCreator& indirectGeomCreator,
33  DtIndirectGeoComputeBoundCallbackCreator& indirectGeoCallbackCreator,
34  DtIndirectVisitorControlGroupCreator& indirectGeoIntersectionGroupCreator,
35  bool includeIntersectionGeoInNodePath,
36  bool terrainPatch,
37  const DtIndirectFadeParameters& fadeParameters);
38 
41 
46  virtual void addInstance(const osg::Matrixd& instanceXForm,
47  const std::string& modelName,
48  const osg::NodePath& nodePath = osg::NodePath(),
50  bool addToIntersectionGroup = true,
52  );
53 
60  virtual void addInstance(const osg::Matrixd& instanceXForm,
61  const osg::Node* modelNode,
62  const std::string& modelNameSuffix,
63  const osg::NodePath& nodePath = osg::NodePath(),
65  bool addToIntersectionGroup = true,
67  bool cullFaceEnabled = true,
68  const DtIndirectPolygonOffset& polygonOffset = DtIndirectPolygonOffset(0, 0)
69  );
70 
71  protected:
72 #if DTCELLGEOSPECIFICINDIRECTGEO_CONSTRUCT_DESTRUCT_DEBUG
73  static tbb::atomic<int> myRefCount;
74 #endif
75 
76  private:
79  };
80 }
struct for holding the fade parameters used by the indirect rendering cull compute shader ...
Definition: DtGpuCullingAndLodDefines.h:21
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
creator for DtIndirectGeometry
Definition: DtIndirectGeometry.h:325
std::deque< NodeSwitchInfoPair > DequeNodeSwitchInfoPairs
Definition: DtIndirectSwitchManager.h:72
creator for DtIndirectVisitorControlGroup
Definition: DtIndirectVisitorControlGroup.h:56
creator for osg::Drawable::ComputeBoundingBoxCallback
Definition: DtIndirectGeoComputeBoundCallback.h:54
Helper for managing indirect geometry, its intersection group and registrar corresponding to a &#39;tile ...
Definition: DtCellIndirectGeo.h:41
Helper for managing indirect geometry, its intersection group and registrar corresponding to a &#39;tile ...
Definition: DtCellGeoSpecificIndirectGeo.h:27
Contains makVrv::DtIndirectLodManager class.
Contains the DtCellIndirectGeo class declaration.
non virtual container class for defining a polygon offset state
Definition: DtIndirectPolygonOffset.h:18
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
std::deque< IndirectLodInfo > DequeIndirectLodInfos
Definition: DtIndirectLodManager.h:95
Contains the DtIndirectPolygonOffset class declaration.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)