VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgLightManagerTcsUserData.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <vrvCore/DtKeyedData.h>
15 
16 
18 #include <vrvMath/DtOctree.h>
20 
21 #include <unordered_set>
22 
23 namespace makVrv
24 {
27  {
28  public:
29  DtOsgLightManagerTcsUserData(DtDe& de, const std::string& name);
31  private:
36 
37  public:
40 
41  // Scratch pad of frustum affecting lights
42  std::vector<const DtLight*> myFrustumAffectingLights;
43 
44  // Scratch pad of actually active lights. subset of myFrustumAffectingLights.
45  std::vector<const DtLight*> myActiveLights;
46 
47  std::unordered_set<const DtLight*> myLightsTraversedViaCullVisitor;
48  public:
49  };
50 
53 
55  template <>
56  inline const char* creatorTypeName<DtOsgLightManagerTcsUserData>(void) { return "DtOsgLightManagerTcsUserDataCreator"; }
57 }
This represents an arbitrary user pointer/data within DtKeyedData.
Definition: DtKeyedData.h:95
std::vector< const DtLight * > myFrustumAffectingLights
Definition: DtOsgLightManagerTcsUserData.h:42
Octree_64::NodeVector myVisibleOctreeNodes
Scratch pad of visible nodes.
Definition: DtOsgLightManagerTcsUserData.h:39
DtOsgLightManagerTcsUserData & operator=(const DtOsgLightManagerTcsUserData &rhs)=delete
const char * creatorTypeName< DtOsgLightManagerTcsUserData >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtOsgLightManagerTcsUserData.h:56
DtVirtualBaseClassCreator< DtOsgLightManagerTcsUserData, const std::string & > DtOsgLightManagerTcsUserDataCreator
creator
Definition: DtOsgLightManagerTcsUserData.h:52
std::vector< const DtLight * > myActiveLights
Definition: DtOsgLightManagerTcsUserData.h:45
This class represents the per context, per camera data and operations on it via the DtOsgLightManager...
Definition: DtOsgLightManagerTcsUserData.h:26
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:23
DtOctree class.
Light class.
std::vector< DtOctreeNode< T > * > NodeVector
Definition: DtOctree.h:79
std::unordered_set< const DtLight * > myLightsTraversedViaCullVisitor
Definition: DtOsgLightManagerTcsUserData.h:47
OctreeNode forward declarations.
DtOsgLightManagerTcsUserData()=delete
not allowed
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
Contains the DtKeyedData class declaration.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)