VR-Vantage
Loading...
Searching...
No Matches
DtAttribute.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright (c) 2026 MAK Technologies, Inc.
3 * All rights reserved.
4 *****************************************************************************/
5
9
10#pragma once
11#include <vrvCore/vrvCore.h>
12#include <vrvCore/DtWidget.h>
13
14#include <vrvUtil/signalslib.h>
15
16namespace makVrv
17{
18
22 {
23 public:
24
27
29 virtual ~DtAttribute();
30
33 const DtAttribute &other) = delete;
34
37 const DtAttribute &other) = delete;
38
39 public:
40
43 virtual void setPosition( float x, float y, float z, float w ) = 0;
44
46 virtual void setOffset( double x, double y );
47
49 virtual void getMinSize( double& xOut, double& yOut ) = 0;
50
52 virtual void setColor( float r, float g, float b, float a ) = 0;
53
55 virtual void setSize( double x, double y ) = 0;
56
58 virtual void setShadowText( bool enabled ) = 0;
59
65 virtual void setFadingEnabled( bool enabled );
66
68 virtual void setVisible( bool visible ) = 0;
69
71 virtual bool visible() const = 0;
72
75 virtual void setLodOutAltitude(double lodOutAltitude) = 0;
76
78 virtual double lodOutAltitude() const = 0;
79
81 virtual void setIsLodOutAltitudeEnabled(bool isEnabled) = 0;
82
84 virtual bool isLodOutAltitudeEnabled() const = 0;
85
88 virtual void setOverlay( unsigned int overlayId ) = 0;
89
92 virtual void setGroup( unsigned int group ) = 0;
93
97 virtual void setForegroundGroup( unsigned int group );
98
102 virtual void setBackgroundGroup( unsigned int group );
103
108 boost::signalslib::signal<void (DtAttribute*,double,double)> signal_sizeChanged;
109
110 };
111
112}
Contains makVrv::DtWidget class.
virtual void setIsLodOutAltitudeEnabled(bool isEnabled)=0
Set whether or not this attribute will use the LOD Out Altitude property.
virtual void setOffset(double x, double y)
Set the offset of the attribute.
virtual void setBackgroundGroup(unsigned int group)
boost::signalslib::signal< void(DtAttribute *, double, double)> signal_sizeChanged
Definition DtAttribute.h:108
virtual void setGroup(unsigned int group)=0
virtual void setOverlay(unsigned int overlayId)=0
virtual void setColor(float r, float g, float b, float a)=0
Set the color of the attribute.
virtual void setFadingEnabled(bool enabled)
virtual void getMinSize(double &xOut, double &yOut)=0
Get the minimum size of the attribute.
virtual void setLodOutAltitude(double lodOutAltitude)=0
virtual double lodOutAltitude() const =0
Get the altitude, in meters, at which this attribute no longer appears.
DtAttribute & operator=(const DtAttribute &other)=delete
Assignment Operator not implemented - Assignment not allowed.
virtual void setVisible(bool visible)=0
Set the attribute visible or hidden.
virtual void setPosition(float x, float y, float z, float w)=0
virtual bool visible() const =0
Get the visibility of the attribute.
DtAttribute(const DtAttribute &other)=delete
Copy Constructor not implemented - Copy not allowed.
virtual ~DtAttribute()
DTOR.
virtual bool isLodOutAltitudeEnabled() const =0
Get whether or not this attribute will use the LOD Out Altitude property.
virtual void setForegroundGroup(unsigned int group)
virtual void setShadowText(bool enabled)=0
Set whether attribute text should have shadows.
virtual void setSize(double x, double y)=0
Set the size of the attribute.
Contains DtCreateSensorFieldOfViewCommand and DtCreateSensorFieldOfViewCommandCreator class declarati...
Definition DtGridLinesSettingsRecord.h:16
Contains DLL export macros.
#define DT_DLL_VRVCORE
Definition vrvCore.h:20