20#include <vrvOsg/DtOsgSensorViewOverlaySection.h>
63 virtual void initialize(makVrv::DtOverlayRenderer& overlayRenderer,
unsigned int channelWidth,
64 unsigned int channelHeight,
unsigned int channelXOffset,
unsigned int channelYOffset)
override;
75 virtual void setChannelSize(
unsigned int channelWidth,
unsigned int channelHeight,
unsigned int channelXOffset,
76 unsigned int channelYOffset)
override;
84 virtual void update(
const makVrv::DtOsgObserverObject& observer,
85 const makVrv::DtSensorFieldOfViewData& state)
override;
186 :
public makVrv::DtOsgSensorViewOverlaySectionCreator
195 virtual makVrv::DtOsgSensorViewOverlaySection*
create(makVrv::DtDe&
de)
override;
202 virtual makVrv::DtOsgSensorViewOverlaySectionCreator*
clone()
const override;
Provides attribute handling system for hierarchical data storage and manipulation.
Definition attributeCallback.h:166
Factory class for creating laser display overlay sections.
Definition osgSensorViewDisplayLaserOverlaySection.h:187
virtual makVrv::DtOsgSensorViewOverlaySectionCreator * clone() const override
Creates a clone of this creator.
virtual makVrv::DtOsgSensorViewOverlaySection * create(makVrv::DtDe &de) override
Creates a new laser display overlay section.
makVrv::DtTextProxy * myText
Text element displaying the laser information.
Definition osgSensorViewDisplayLaserOverlaySection.h:143
virtual void handleLaserCodeChanged(int code)
Handles changes to the laser code setting.
void updateText()
Updates the displayed text based on current laser settings.
virtual ~DtOsgSensorViewDisplayLaserOverlaySection() override
Destructor.
DtOsgSensorViewDisplayLaserOverlaySection(makVrv::DtDe &de)
Protected constructor.
virtual void initialize(makVrv::DtOverlayRenderer &overlayRenderer, unsigned int channelWidth, unsigned int channelHeight, unsigned int channelXOffset, unsigned int channelYOffset) override
Initializes the overlay section.
virtual void handleLaserOnChanged(bool laserOn)
Handles changes to the laser on/off state.
virtual void handleTrackCodeChanged(int code)
Handles changes to the tracking code setting.
static const std::string SectionName
Static constant defining the section name.
Definition osgSensorViewDisplayLaserOverlaySection.h:98
friend class DtOsgSensorViewDisplayLaserOverlaySectionCreator
Friend declaration for creator class.
Definition osgSensorViewDisplayLaserOverlaySection.h:44
DtAttributeCallbackManager myAttributeCallbacks
Member-scope instance of Attribute callback manager.
Definition osgSensorViewDisplayLaserOverlaySection.h:175
bool myShow
Current visibility state for blinking text.
Definition osgSensorViewDisplayLaserOverlaySection.h:169
virtual void update(const makVrv::DtOsgObserverObject &observer, const makVrv::DtSensorFieldOfViewData &state) override
Updates the laser information display.
virtual void setChannelSize(unsigned int channelWidth, unsigned int channelHeight, unsigned int channelXOffset, unsigned int channelYOffset) override
Updates the overlay when the channel size changes.
double myLastTime
Timestamp of the last display update.
Definition osgSensorViewDisplayLaserOverlaySection.h:163
int myTargetCode
Currently selected tracking code.
Definition osgSensorViewDisplayLaserOverlaySection.h:153
virtual const std::string & sectionName() const override
Gets the unique name of this overlay section.
int myLaserCode
Currently selected laser code.
Definition osgSensorViewDisplayLaserOverlaySection.h:148
bool myLaserOn
Flag indicating whether the laser is currently on.
Definition osgSensorViewDisplayLaserOverlaySection.h:158
Defines export macros for the VR-Engage Player Station library.
#define PLAYERSTATION_DLL
Definition export.h:24
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
Definition appLauncherComponent.h:28
makVrv::DtDe * de()
Gets the display element pointer used by the plugin.