VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtEntityIndicatorWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtEntityIndicatorWidget.h,v $ $Revision: 1.23 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtEntityIndicatorWidget_H_
14 #define DtEntityIndicatorWidget_H_
15 
16 #include <vrvCore/vrvCore.h>
17 #include <vrvCore/DtUniqueID.h>
19 #include <vrvCore/DtMouseState.h>
21 
22 #include <boost/signal.hpp>
23 
24 namespace makVrv
25 {
26  class DtAgentManagerInterface;
27  class DtProjectedWidgetModelAgent;
28  class DtWidgetAgent;
29  class DtModelAgent;
30  class DtWidgetInstanceSignaler;
31 
35  {
36  public:
37 
39  unsigned int modelSet,
40  const std::string& normalTheme = "EntityIndicatorTheme",
41  const std::string& pinnedTheme = "EntityIndicatorPinnedTheme",
42  int height = 32, int width = 32);
43 
44  virtual ~DtEntityIndicatorWidget();
45 
47  virtual void setIndicatorActive(bool active);
48 
50  virtual void setColor(float r, float g, float b, float a = 1.);
51 
53  DtModelAgent* model();
54 
56  virtual void setEventsEnabled(bool enabled);
57 
59  DtWidgetEventSignals& eventSignals(DtWidgetSignaler& signaler);
60 
61  protected:
62 
65  DtProjectedWidgetModelAgent* myProjectedWidgetModel;
66  DtWidgetAgent* myWidgetAgent;
67  std::string myNormalTheme;
68  std::string myPinnedTheme;
69  bool mySelected;
71 
72  };
73 }
74 
75 #endif
76 

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)