17#include <vrvOsg/DtOsgSensorViewOverlaySection.h>
28class DtOverlayRenderer;
80 virtual void initialize(makVrv::DtOverlayRenderer& overlayRenderer,
unsigned int windowWidth,
81 unsigned int windowHeight,
unsigned int channelXOffset,
unsigned int channelYOffset)
override;
92 virtual void setChannelSize(
unsigned int windowWidth,
unsigned int windowHeight,
unsigned int channelXOffset,
93 unsigned int channelYOffset)
override;
101 virtual void update(
const makVrv::DtOsgObserverObject& observer,
102 const makVrv::DtSensorFieldOfViewData& state)
override;
124 : DtOsgSensorViewOverlaySection(
de)
143 :
public makVrv::DtOsgSensorViewOverlaySectionCreator
152 virtual makVrv::DtOsgSensorViewOverlaySection*
create(makVrv::DtDe&
de)
override
162 virtual makVrv::DtOsgSensorViewOverlaySectionCreator*
clone()
const override
Factory class for creating date/time overlay sections.
Definition osgSensorViewDateTimeOverlaySection.h:144
virtual makVrv::DtOsgSensorViewOverlaySection * create(makVrv::DtDe &de) override
Creates a new date/time overlay section.
Definition osgSensorViewDateTimeOverlaySection.h:152
virtual makVrv::DtOsgSensorViewOverlaySectionCreator * clone() const override
Creates a clone of this creator.
Definition osgSensorViewDateTimeOverlaySection.h:162
Overlay section that displays current date and time in sensor views.
Definition osgSensorViewDateTimeOverlaySection.h:38
makVrv::DtTextProxy * myText
Text element displaying the date and time.
Definition osgSensorViewDateTimeOverlaySection.h:133
const double DefaultFontSize
Default font size for the date/time text in points.
Definition osgSensorViewDateTimeOverlaySection.h:50
const double TextBoxWidth
Width of the text box as a fraction of display width.
Definition osgSensorViewDateTimeOverlaySection.h:53
virtual void initialize(makVrv::DtOverlayRenderer &overlayRenderer, unsigned int windowWidth, unsigned int windowHeight, unsigned int channelXOffset, unsigned int channelYOffset) override
Initializes the overlay section.
const double TextHorizLocation
Horizontal position of the text as a fraction of display width (0.0-1.0)
Definition osgSensorViewDateTimeOverlaySection.h:42
const double TextBoxHeight
Height of the text box as a fraction of display height.
Definition osgSensorViewDateTimeOverlaySection.h:56
DtOsgSensorViewDateTimeOverlaySection(makVrv::DtDe &de)
Protected constructor.
Definition osgSensorViewDateTimeOverlaySection.h:123
static const std::string SectionName
Static constant defining the section name.
Definition osgSensorViewDateTimeOverlaySection.h:115
virtual const std::string & sectionName() const override
Gets the unique name of this overlay section.
virtual void setChannelSize(unsigned int windowWidth, unsigned int windowHeight, unsigned int channelXOffset, unsigned int channelYOffset) override
Updates the overlay when the channel size changes.
const double TextVertLocation
Vertical position of the text as a fraction of display height (0.0-1.0)
Definition osgSensorViewDateTimeOverlaySection.h:47
friend class DtOsgSensorViewDateTimeOverlaySectionCreator
Friend declaration for creator class.
Definition osgSensorViewDateTimeOverlaySection.h:62
virtual void update(const makVrv::DtOsgObserverObject &observer, const makVrv::DtSensorFieldOfViewData &state) override
Updates the date and time display.
virtual ~DtOsgSensorViewDateTimeOverlaySection() override
Destructor.
Defines export macros for the VR-Engage Player Station library.
#define PLAYERSTATION_DLL
Definition export.h:24
Definition appLauncherComponent.h:28
makVrv::DtDe * de()
Gets the display element pointer used by the plugin.