VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtObjectFacadeInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtObjectFacadeInterface.h,v $ $Revision: 1.7 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtObjectFacadeInterface_H_
14 #define DtObjectFacadeInterface_H_
15 
16 #include <vrvCore/vrvCore.h>
17 #include <vrvCore/DtUniqueID.h>
18 #include <vrvCore/DtMouseState.h>
19 
20 #include <boost/signal.hpp>
21 
22 namespace makVrv
23 {
24  class DtStateVisualizer;
25 
29  {
30  public:
31 
33  virtual ~DtObjectFacadeInterface();
34 
36  virtual void setModelDefinition(const std::string& modelDefinition) = 0;
37 
39  virtual void setIndicatorModelDefinitions(
40  const std::string& normalTheme,
41  const std::string& activeTheme,
42  const std::string& selectedTheme,
43  const std::string& multiSelectedTheme) = 0;
44 
46  virtual DtUniqueID uniqueID() const = 0;
47 
49  virtual void setIndicatorsEnabled(bool enabled) = 0;
50 
52  virtual void setIndicatorsOnSelect(bool enabled) = 0;
53 
55  virtual void setHatLineVisible( bool visible ) = 0;
56 
58  virtual void setVisible(bool visible) = 0;
59 
61  virtual void setColor(float r,float g,float b,float a) = 0;
62 
64  virtual void setSelected(bool selected) = 0;
65 
67  virtual bool selected() const = 0;
68 
70  virtual DtStateVisualizer* visualizer(const std::string&) = 0;
71 
73 
74 
75  typedef boost::signal<void (
76  DtMouseState& mouseState, const DtUniqueID& id,
77  const std::string& displayEngineName,
78  const std::string& windowName, const std::string& channelName)>
80 
83 
86 
90  };
91 }
92 
93 #endif
94 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)