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 DtOsgCullVisitor;
37 class DtTritonDrawable;
39 class DtCoordinateConverter;
77 virtual void setPlanarReflectionEnabled(
bool enabled);
82 virtual void enableReflection(
bool enabled);
85 virtual void removePlanarReflection();
93 virtual DtPlanarReflectionCamera* getOrCreatePlanarReflection(osg::RenderInfo& renderInfo,
double seaLevel,
bool& isNewReflection);
102 virtual void updateReflectionMatrix(
const osg::Vec3& currentPosition,
double seaLevel);
105 virtual const osg::Matrixd& reflectionMatrix(
void)
const;
108 virtual const osg::Plane& reflectionPlane(
void)
const;
118 const osg::Matrix & localToWorld,
const osg::Vec3& currentPos,
double seaLevel);
121 virtual void slot_coordinateSystemChanged();
124 virtual void slot_planarReflectionTextureSizeChanged(
void);
126 virtual void slot_oceanPlanarReflectionsEnabledChanged();
friend DtTritonPlanarReflectionManagerCreator
friend class so only the creator can create this class
Definition: DtTritonPlanarReflectionManager.h:57
The DtOsgRenderer is the component responsible for rendering 3D images onto the screen via OpenSceneG...
Definition: DtOsgRenderer.h:92
osg::ref_ptr< DtPlanarReflectionCamera > myPlanarReflectionCamera
Definition: DtTritonPlanarReflectionManager.h:134
DtCoordinateConverter is the base class for 'local (cig) to geocentric' converters.
Definition: DtCoordinateConverter.h:25
DtDe & myDe
Definition: DtTritonPlanarReflectionManager.h:132
Definition: featureContext.h:36
osg::Plane myReflectionPlane
Definition: DtTritonPlanarReflectionManager.h:136
osg::Matrixd myReflectionMatrix
Definition: DtTritonPlanarReflectionManager.h:137
A camera for rendering Triton's planar reflection texture.
Definition: DtPlanarReflectionCamera.h:27
DtSignalConnectionManager myConnections
Definition: DtTritonPlanarReflectionManager.h:140
Declares the DtPlanarReflectionCamera class.
Contains DLL export macros.
DtOsgCullVisitor will inspect the camera to see which visual mode is active. If the visual mode is a ...
Definition: DtOsgCullVisitor.h:27
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:42
DtVector myLastGeocentricReference
Definition: DtTritonPlanarReflectionManager.h:138
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:49
class for managing the planar reflections used by triton drawable.
Definition: DtTritonPlanarReflectionManager.h:52
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