25 class DtOsgLightPointManager;
42 LightPointInfo(
int type, std::string group,
const osg::Vec3d& pos,
const osg::Matrix3& sectorLocalToLp,
float phase)
43 : myLightPointType(type)
44 , myLightPointGroup(group)
46 , mySectorLocalToLp(sectorLocalToLp)
72 virtual void traverse(osg::NodeVisitor& nv);
77 virtual void updateDrawable(
const osg::Camera* camera,
int frameNum,
double simTime,
const osg::Matrixd &modelViewMatrix,
78 osgUtil::CullVisitor* cv,
int groupId,
bool shouldCull,
const DtIndirectFadeParameters& fadeParameters,
float posScale,
float radiusScale,
bool isInstancedReflection =
false);
84 virtual void addTypedLightPoint(
const osg::Vec3d& pos,
int type,
const std::string&
id,
85 const osg::Vec3& rotation,
float phaseShift);
94 virtual void setLightPointsEnabled(
bool enabled);
97 virtual bool lightPointsEnabled();
100 virtual void setGroupId(
int id);
103 virtual int groupId();
108 virtual void freeNodeIdIfNecessary(
unsigned int maxNodeIds);
111 virtual osg::BoundingSphere computeBound()
const;
114 virtual void setLightPointTexture(
osg::Texture* texture);
117 virtual void releaseGLObjects(osg::State* state = 0)
const;
121 virtual void applyMatrixToLightPoints(osg::Matrix& adjustmentMatrix);
Diagonal crossing liens.
Definition: DtTacticalGraphicUtilities.h:93
GLuint64 myMutableTextureId
Definition: DtLightPointNode.h:155
DtOsgLightPointManager * myLightPointManager
Definition: DtLightPointNode.h:137
struct for holding the fade parameters used by the indirect rendering cull compute shader ...
Definition: DtGpuCullingAndLodDefines.h:21
LightPointInfo(int type, std::string group, const osg::Vec3d &pos, const osg::Matrix3 §orLocalToLp, float phase)
constructor for filling the structure with data
Definition: DtLightPointNode.h:42
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
std::vector< LightPointInfo > LightPointIntList
Definition: DtLightPointNode.h:59
Definition: featureContext.h:37
int myFrameNum
Definition: DtLightPointNode.h:144
osg::Vec3d myPosition
Definition: DtLightPointNode.h:54
osg::Matrix3 mySectorLocalToLp
Definition: DtLightPointNode.h:55
std::string myLightPointGroup
Definition: DtLightPointNode.h:53
DtIndirectFadeParameters myFadeParameters
Definition: DtLightPointNode.h:157
static int theFrameNum
Definition: DtLightPointNode.h:163
osg::BoundingBox myMutableBoundingBox
Definition: DtLightPointNode.h:133
DtOsgLightPointManager registers LightPoint nodes so their TBO can be created and updated in a single...
Definition: DtOsgLightPointManager.h:85
int myCurrentInstance
Definition: DtLightPointNode.h:146
LightPointIntList myLightPointTypeList
Definition: DtLightPointNode.h:135
Contains makVrv::DtLightPointDrawable class.
osg::ref_ptr< osg::Texture > myLightPointTexture
Definition: DtLightPointNode.h:153
int myGroupId
Definition: DtLightPointNode.h:151
static const osg::Camera * theLastCamera
Definition: DtLightPointNode.h:164
Derived from osg::Node and is a replacement for the osgSim::LightPointNode represents a group of ligh...
Definition: DtLightPointNode.h:33
Declarations for classes used in DtICullingAndLOD.
float myPhaseShift
Definition: DtLightPointNode.h:56
float myFirstFrameTime
Definition: DtLightPointNode.h:159
bool myLightPointsEnabled
Definition: DtLightPointNode.h:149
structure for holding all the information required to describe a single light point.
Definition: DtLightPointNode.h:38
Contains DLL export macros.
int myLightPointType
Definition: DtLightPointNode.h:52
int myAddedInstances
Definition: DtLightPointNode.h:147
osg::ref_ptr< DtLightPointDrawable > myLightPointDrawable
Definition: DtLightPointNode.h:139
const osg::Camera * myLastCamera
Definition: DtLightPointNode.h:143
std::vector< int > myNodeIds
Definition: DtLightPointNode.h:141