VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAttributeGroupObject.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MaK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 #pragma once
6 
11 
12 #include <vlutil/vlString.h>
13 
15 
20 
23 #include <vl/environmentalPointRecord.h>
24 
25 
26 namespace vrvControlToolkit
27 {
28  class DtAttributeGroupTemplateObject;
29 
37  {
38  public:
58  DtAttributeGroupObject(DtExerciseConn* exConn, unsigned id,
60  const DtVdc3DAttachPoint& attachment,
61  const DtVector32& enuOffset = DtVector32::zero(),
62  DtVdcColor color = DtVdcColor::DtVdcWhite, bool flashing = false);
63 
64  // \brief Virtual destructor
65  virtual ~DtAttributeGroupObject();
66 
67  private:
73 
78 
82  DtAttributeGroupObject& operator=(const DtAttributeGroupObject& rhs);
83 
84 
85  public:
91  virtual DtAttributeGroupTemplateObject* attributeGroupTemplate() const;
92 
99  virtual const DtVdc3DAttachPoint& attachment() const;
100 
105  virtual void setAttachment(const DtVdc3DAttachPoint& attachment);
106 
112  virtual const DtVector32& offset() const;
113 
118  virtual void setOffset(const DtVector32& enuOffset);
119 
125  virtual const DtVdcColor& color() const;
126 
132  virtual void setColor (const DtVdcColor& color);
133 
140  virtual bool flashing() const;
141 
148  virtual void setFlashing(bool flashing);
149 
157  virtual DtString bmpAttributeValue(const DtString& attName) const;
158 
168  virtual void setBmpAttributeValue(const DtString& attName, const DtString& filename);
169 
178  virtual double numericAttributeValue(const DtString& attName) const;
179 
189  virtual void setNumericAttributeValue(const DtString& attName, double xVal);
190 
201  virtual double valueBarAttributeValue(const DtString& attName) const;
202 
215  virtual void setValueBarAttributeValue(const DtString& attName, double xVal);
216 
227  virtual double graphAttributeValueX(const DtString& attName) const;
228 
240  virtual void setGraphAttributeValueX(const DtString& attName, double xVal);
241 
250  virtual double graphAttributeValueY(const DtString& attName) const;
251 
261  virtual void setGraphAttributeValueY(const DtString& attName, double yVal);
262 
272  virtual DtVdcAttributeValueMap& attributeValueMap();
273 
274  virtual void setRemoteGraphicSet(const std::string& setName);
275 
284  virtual void update();
285 
286  protected:
287  virtual void createAttributes();
288  virtual void destroyAttributes();
289  virtual void copyAttributes(const DtVdcAttributeValueMap& valueMap);
290 
291  protected:
292  DtEnvironmentalPointRecord myPointRecord;
295 
297  DtVector32 myEnuOffset;
302  };
303 }
DtEnvironmentalPointRecord myPointRecord
Definition: DtAttributeGroupObject.h:292
DtDrawControlObject.h contains the class definition for DtDrawControlObject, the base class from whic...
Definition: attributeStateRecord.h:28
DtVdcColor myColor
Definition: DtAttributeGroupObject.h:298
Contains the Dt3DGraphicalObjectStateRecord class declaration.
DtVdc3DAttachPoint myAttachment
Definition: DtAttributeGroupObject.h:296
An instance of an attribute group (and corresponding attribute values)
Definition: DtAttributeGroupObject.h:36
Dt3DGraphicalObjectStateRecord myGraphicObjectStateRecord
Definition: DtAttributeGroupObject.h:293
static const DtVdcColor DtVdcWhite
Constant for the color White.
Definition: DtVdcColor.h:186
std::map< DtString, DtVdcAttributeValue * > DtVdcAttributeValueMap
Definition: DtAttributeValue.h:85
DtVector32 myEnuOffset
Definition: DtAttributeGroupObject.h:297
DtAttributeStateRecord myAttributeStateRecord
Definition: DtAttributeGroupObject.h:294
DtAttributeValue.h contains the class definition for DtAttributeValue, which is a container for an at...
DtVdcAttributeValueMap myValueMap
Definition: DtAttributeGroupObject.h:301
DtVdcColor represents colors for Draw Control Objects.
Definition: DtVdcColor.h:21
DtDrawControlObject is the base class from which all Draw Control Objects are derived.
Definition: DtDrawControlObject.h:35
bool myFlashing
Definition: DtAttributeGroupObject.h:299
#define DT_DLL_VRVDRAWCONTROL
Definition: vrvDrawControl.h:15
Contains the DtAttributeStateRecord class declaration.
Dt3DGraphicalObjectStateRecord implements the 3d graphical object state record for the remote graphic...
Definition: 3dGraphicalObjectStateRecord.h:42
DtVdc3DAttachPoint.h contains the class definition for DtVdc3DAttachPoint, which functions as a discr...
An Attribute Group Template.
Definition: DtAttributeGroupTemplateObject.h:38
voidpf uLong offset
Definition: ioapi.h:42
DtAttributeGroupTemplateObject * myAttributeGroupTemplate
Definition: DtAttributeGroupObject.h:300
DtVdcColor.h contains the class definition for DtVdcColor, which is used to represent colors for all ...
DtVdc3DAttachPoint represents the 3 methods for attaching a 3D draw control object in 3-space...
Definition: DtVdc3DAttachPoint.h:33

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)