20 #include <matrix/vlVector.h>
22 #include <osg/ref_ptr>
23 #include <osg/observer_ptr>
25 #include <osg/Matrixd>
26 #include <osg/Matrixf>
36 class DtTritonDrawable;
38 class DtCoordinateConverter;
76 virtual void setPlanarReflectionEnabled(
bool enabled);
81 virtual void enableReflection(
bool enabled);
84 virtual void removePlanarReflection();
90 virtual DtPlanarReflectionCamera* getOrCreatePlanarReflection(osg::RenderInfo& renderInfo,
double seaLevel,
bool& isNewReflection);
99 virtual void updateReflectionMatrix(
const osg::Vec3& currentPosition,
double seaLevel);
102 virtual const osg::Matrixd& reflectionMatrix(
void)
const;
105 virtual const osg::Plane& reflectionPlane(
void)
const;
115 const osg::Matrix & localToWorld,
const osg::Vec3& currentPos,
double seaLevel);
118 virtual void slot_coordinateSystemChanged();
121 virtual void slot_planarReflectionTextureSizeChanged(
void);
123 virtual void slot_oceanPlanarReflectionsEnabledChanged();
friend DtTritonPlanarReflectionManagerCreator
friend class so only the creator can create this class
Definition: DtTritonPlanarReflectionManager.h:56
The DtOsgRenderer is the component responsible for rendering 3D images onto the screen via OpenSceneG...
Definition: DtOsgRenderer.h:91
osg::ref_ptr< DtPlanarReflectionCamera > myPlanarReflectionCamera
Definition: DtTritonPlanarReflectionManager.h:128
DtCoordinateConverter is the base class for 'local (cig) to geocentric' converters.
Definition: DtCoordinateConverter.h:25
DtDe & myDe
Definition: DtTritonPlanarReflectionManager.h:126
Definition: featureContext.h:36
osg::Plane myReflectionPlane
Definition: DtTritonPlanarReflectionManager.h:130
osg::Matrixd myReflectionMatrix
Definition: DtTritonPlanarReflectionManager.h:131
A camera for rendering Triton's planar reflection texture.
Definition: DtPlanarReflectionCamera.h:27
DtSignalConnectionManager myConnections
Definition: DtTritonPlanarReflectionManager.h:134
Declares the DtPlanarReflectionCamera class.
Contains DLL export macros.
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:23
#define DT_DLL_VRVTRITON
Definition: vrvTriton.h:19
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtVirtualBaseClassCreator< DtTritonPlanarReflectionManager > DtTritonPlanarReflectionManagerCreator
creator
Definition: DtTritonPlanarReflectionManager.h:41
DtVector myLastGeocentricReference
Definition: DtTritonPlanarReflectionManager.h:132
Base class to provide boost signal/slot management.
const char * creatorTypeName< DtTritonPlanarReflectionManager >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtTritonPlanarReflectionManager.h:48
class for managing the planar reflections used by triton drawable.
Definition: DtTritonPlanarReflectionManager.h:51
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