VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAttributeGroupWidget.h
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  **************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/DtWidget.h>
13 #include <vrvUtil/DtUnicode.h>
14 
15 namespace makVrv
16 {
17 
21  {
22  public:
23 
26 
28  virtual ~DtAttributeGroupWidget();
29 
31  virtual void setBackgroundEnabled(bool enabled) = 0;
32 
34  virtual void setBackgroundColor( float r, float g,
35  float b, float a = 1.0f ) = 0;
36 
38  virtual void setOutlineColor( float r, float g,
39  float b, float a = 1.0f ) = 0;
40 
42  virtual void setOutlineWidth(float width) = 0;
43 
45  virtual void setOutlineEnabled(bool enabled) = 0;
46 
48  virtual void setTypeText(unsigned int index,
49  const DtUnicode& attributeName) = 0;
50 
52  virtual void setTypeNumeric(unsigned int index,
53  const DtUnicode& attributeName) = 0;
54 
56  virtual void setTypeValueBar(unsigned int index,
57  const DtUnicode& attributeName) = 0;
58 
65  virtual void setTypeGraph(unsigned int index,
66  const DtUnicode& attributeName, int maxValues) = 0;
67 
69  virtual void setTypeImage(unsigned int index,
70  const DtUnicode& attributeName) = 0;
71 
73  virtual void setTypeValueText(unsigned int index,
74  const DtUnicode& attributeName) = 0;
75 
77  virtual void setTypeNull(unsigned int index) = 0;
78 
80  virtual void setValueImage(unsigned int index,
81  const std::string& imageFilepath) = 0;
82 
84  virtual void setValueGraphPoint(unsigned int index,
85  unsigned int n, float x, float y) = 0;
86 
88  virtual void setValueBarValue(unsigned int index, float val) = 0;
89 
91  virtual void setValueNumeric(unsigned int index, float val) = 0;
92 
94  virtual void setValueTextValue(unsigned int index,
95  const DtUnicode& val) = 0;
96 
100  virtual void setLodOutAltitude(double lodOutAltitude) = 0;
101 
105  virtual void setIsLodOutAltitudeEnabled(bool isLodOutAltitudeEnabled) = 0;
106 
108  virtual void setAttributeVisible(unsigned int index,
109  bool visible) = 0;
110 
113  virtual void setHorizontalCenter(bool center) = 0;
114 
117  virtual void setVerticalCenter(bool center) = 0;
118 
120  virtual void setFontSize(float points) = 0;
121 
123  virtual void setFontFile(const std::string&) = 0;
124 
126  virtual void setShadowText( bool enabled ) = 0;
127 
129  virtual void setBackgroundOrderGroup( unsigned int groupId ) = 0;
130 
131  };
132 
133 }
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
Contains makVrv::DtWidget class.
Class for a widget that displays remote graphics attribute groups.
Definition: DtAttributeGroupWidget.h:20
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
The abstract base class for widgets.
Definition: DtWidget.h:26
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:70

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)