VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtEntityInfoWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtEntityInfoWidget.h,v $ $Revision: 1.10 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtEntityInfoWidget_H_
14 #define DtEntityInfoWidget_H_
15 
16 #include <vrvCore/vrvCore.h>
17 #include <vrvUtil/DtUnicode.h>
18 
19 namespace makVrv
20 {
21  class DtAgentManagerInterface;
22  class DtProjectedWidgetModelAgent;
23  class DtWidgetAgent;
24  class DtWidgetLabelAgent;
25  class DtModelAgent;
26 
31  {
32  public:
33 
36  unsigned int modelSet,
37  const std::string& infoWidgetModelDef);
38 
40  virtual ~DtEntityInfoWidget();
41 
43  virtual void setText(const DtUnicode& text);
44 
46  virtual void setGroup(unsigned int group);
47 
49  DtModelAgent* model();
50 
52  virtual void setColor(float r,float g,float b,float a);
53 
54  protected:
55 
57  DtProjectedWidgetModelAgent* myProjectedWidgetModelAgent;
58  DtWidgetLabelAgent* myWidgetLabelAgent;
59  };
60 }
61 
62 #endif
63 
A unicode string.
Definition: DtUnicode.h:33
DtAgentManagerInterface & mySceneInterface
Definition: DtEntityInfoWidget.h:56
DtWidgetLabelAgent * myWidgetLabelAgent
Definition: DtEntityInfoWidget.h:58
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtEntityInfoWidget is the object proxy for 2D distributed entity info (label) objects.
Definition: DtEntityInfoWidget.h:30
The abstract interface necessary for agents.
Definition: DtAgentManagerInterface.h:36
DtProjectedWidgetModelAgent * myProjectedWidgetModelAgent
Definition: DtEntityInfoWidget.h:57
Contains DLL export macros.

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)