18#include <vrvOsg/DtOsgSensorViewOverlaySection.h>
29class DtOverlayRenderer;
82 virtual void initialize(makVrv::DtOverlayRenderer& overlayRenderer,
unsigned int channelWidth,
83 unsigned int channelHeight,
unsigned int channelXOffset,
unsigned int channelYOffset)
override;
94 virtual void setChannelSize(
unsigned int channelWidth,
unsigned int channelHeight,
unsigned int channelXOffset,
95 unsigned int channelYOffset)
override;
104 virtual void update(
const makVrv::DtOsgObserverObject& observer,
105 const makVrv::DtSensorFieldOfViewData& state)
override;
127 : DtOsgSensorViewOverlaySection(
de)
156 virtual makVrv::DtOsgSensorViewOverlaySection*
create(makVrv::DtDe&
de)
override
166 virtual makVrv::DtOsgSensorViewOverlaySectionCreator*
clone()
const override
Factory class for creating recording status overlay sections.
Definition osgSensorViewRecOverlaySection.h:148
virtual makVrv::DtOsgSensorViewOverlaySection * create(makVrv::DtDe &de) override
Creates a new recording status overlay section.
Definition osgSensorViewRecOverlaySection.h:156
virtual makVrv::DtOsgSensorViewOverlaySectionCreator * clone() const override
Creates a clone of this creator.
Definition osgSensorViewRecOverlaySection.h:166
Overlay section that displays recording status in sensor views.
Definition osgSensorViewRecOverlaySection.h:40
const double TextVertLocation
Vertical position of the text as a fraction of display height (0.0-1.0)
Definition osgSensorViewRecOverlaySection.h:49
const double TextBoxWidth
Width of the text box as a fraction of display width.
Definition osgSensorViewRecOverlaySection.h:55
makVrv::DtTextProxy * myText
Text element displaying the recording status.
Definition osgSensorViewRecOverlaySection.h:138
const double TextHorizLocation
Horizontal position of the text as a fraction of display width (0.0-1.0)
Definition osgSensorViewRecOverlaySection.h:44
virtual const std::string & sectionName() const override
Gets the unique name of this overlay section.
static const std::string SectionName
Static constant defining the section name.
Definition osgSensorViewRecOverlaySection.h:118
DtOsgSensorViewRecOverlaySection(makVrv::DtDe &de)
Protected constructor.
Definition osgSensorViewRecOverlaySection.h:126
friend class DtOsgSensorViewRecOverlaySectionCreator
Friend declaration for creator class.
Definition osgSensorViewRecOverlaySection.h:64
virtual void update(const makVrv::DtOsgObserverObject &observer, const makVrv::DtSensorFieldOfViewData &state) override
Updates the recording status display.
virtual void initialize(makVrv::DtOverlayRenderer &overlayRenderer, unsigned int channelWidth, unsigned int channelHeight, unsigned int channelXOffset, unsigned int channelYOffset) override
Initializes the overlay section.
const double DefaultFontSize
Default font size for the recording status text in points.
Definition osgSensorViewRecOverlaySection.h:52
virtual void setChannelSize(unsigned int channelWidth, unsigned int channelHeight, unsigned int channelXOffset, unsigned int channelYOffset) override
Updates the overlay when the channel size changes.
const double TextBoxHeight
Height of the text box as a fraction of display height.
Definition osgSensorViewRecOverlaySection.h:58
virtual ~DtOsgSensorViewRecOverlaySection() 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.