23 #include <osg/Drawable>
24 #include <osg/Texture2D>
30 class DtHeightMapManager;
31 class DtTerrainPatchObject;
32 class DtCoordinateSystem;
71 virtual void setupHeightMap(
void);
74 virtual float heightMapResolution()
const;
78 virtual void updateHeightCamera(
unsigned int frameNum,
const osg::Vec3d& currentPosition);
81 virtual void enableHeightMapCamera(
bool enable);
84 virtual bool heightCameraEnabled()
const;
87 virtual const osg::Matrix& heightMapMatrix()
const;
93 virtual osg::Camera* heightCamera();
96 virtual void postDrawFBOCallback(osg::RenderInfo& renderInfo);
99 virtual bool heightMapChanged(
void)
const;
102 virtual const osg::View* osgView(
void)
const;
106 virtual void clearHeightmap();
109 virtual void updateHeightMapMatrix();
112 virtual osg::Matrixd oglRevDepthOrtho(
double left,
double right,
113 double bottom,
double top,
114 double zNear,
double zFar);
119 virtual void computeBasis(
const osg::Vec3d& inGeocentricPos, osg::Matrixd& rotOut);
123 virtual void slot_oceanHeightMapTextureSizeChanged(
int pixels);
126 virtual void slot_oceanHeightMapResolutionChanged(
float resolution);
132 virtual void slot_wireframeModeChanged();
135 virtual void slot_coordinateSystemChanged();
138 virtual int heightMapTextureSize()
const;
141 virtual void slot_preTick(
void);
170 bool myHeightMapChanged =
false;
This represents an arbitrary user pointer/data within DtKeyedData.
Definition: DtKeyedData.h:95
Contains makVrv::DtDrawFBOCallback class.
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
osg::Matrixd myHeightReferenceBasis
Definition: DtHeightMapManager.h:145
float myResolution
Definition: DtHeightMapManager.h:149
double myLastUpdateTime
Definition: DtHeightMapManager.h:151
bool myForceUpdate
Definition: DtHeightMapManager.h:148
A DtTerrainPatchObject contains the methods for loading a file as a terrain. When loading a file as a...
Definition: DtTerrainPatchObject.h:35
osg::View * myOsgView
Definition: DtHeightMapManager.h:164
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:22
osg::Vec3d myLastHeightReferencePos
Definition: DtHeightMapManager.h:144
osg::ref_ptr< osg::Camera > myHeightCamera
Definition: DtHeightMapManager.h:159
friend DtHeightMapManagerCreator
Definition: DtHeightMapManager.h:55
osg::ref_ptr< osg::Texture2D > myDepthTexture
Definition: DtHeightMapManager.h:156
unsigned int myHeightUpdateFrame
Definition: DtHeightMapManager.h:147
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtVirtualBaseClassCreator< DtHeightMapManager, const std::string &, osg::View *& > DtHeightMapManagerCreator
creator
Definition: DtHeightMapManager.h:35
int myHeightMapDimension
Definition: DtHeightMapManager.h:158
bool mySavedPerfOverlayOn
Definition: DtHeightMapManager.h:150
osg::ref_ptr< osg::Texture2D > myHeightMap
Definition: DtHeightMapManager.h:155
osg::Matrix myHeightMapMatrix
Definition: DtHeightMapManager.h:157
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:40
Base class to provide boost signal/slot management.
DtSignalConnectionManager myConnections
Definition: DtHeightMapManager.h:161
A class to manage automatic periodic updating of a height map generated from the database dynamically...
Definition: DtHeightMapManager.h:47
Contains DLL export macros.
const char * creatorTypeName< DtHeightMapManager >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtHeightMapManager.h:42
const unsigned int myHeightCameraNodeMask
Definition: DtHeightMapManager.h:172
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:72
const bool myShadingRateIsSupported
Definition: DtHeightMapManager.h:153
osg::Vec3d myLastHeightUpdatePos
Definition: DtHeightMapManager.h:146
Contains the DtKeyedData class declaration.