VR-Forces 4.8 Class Documentation
 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) 2012 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 setOutlineEnabled(bool enabled) = 0;
39 
41  virtual void setTypeText(unsigned int index,
42  const DtUnicode& attributeName) = 0;
43 
45  virtual void setTypeNumeric(unsigned int index,
46  const DtUnicode& attributeName) = 0;
47 
49  virtual void setTypeValueBar(unsigned int index,
50  const DtUnicode& attributeName) = 0;
51 
58  virtual void setTypeGraph(unsigned int index,
59  const DtUnicode& attributeName, int maxValues) = 0;
60 
62  virtual void setTypeImage(unsigned int index,
63  const DtUnicode& attributeName) = 0;
64 
66  virtual void setTypeValueText(unsigned int index,
67  const DtUnicode& attributeName) = 0;
68 
70  virtual void setTypeNull(unsigned int index) = 0;
71 
73  virtual void setValueImage(unsigned int index,
74  const std::string& imageFilepath) = 0;
75 
77  virtual void setValueGraphPoint(unsigned int index,
78  unsigned int n, float x, float y) = 0;
79 
81  virtual void setValueBarValue(unsigned int index, float val) = 0;
82 
84  virtual void setValueNumeric(unsigned int index, float val) = 0;
85 
87  virtual void setValueTextValue(unsigned int index,
88  const DtUnicode& val) = 0;
89 
91  virtual void setAttributeVisible(unsigned int index,
92  bool visible) = 0;
93 
96  virtual void setHorizontalCenter(bool center) = 0;
97 
100  virtual void setVerticalCenter(bool center) = 0;
101 
103  virtual void setFontSize(float points) = 0;
104 
106  virtual void setFontFile(const std::string&) = 0;
107 
109  virtual void setShadowText( bool enabled ) = 0;
110 
113  virtual void setBackgroundOrderGroup( unsigned int groupId ) = 0;
114 
115  };
116 
117 }
A unicode string.
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:23
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)