VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtEntity2dImageFacade.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <vrvUtil/DtUnicode.h>
14 
15 namespace makVrv
16 {
17  class DtProjectedWidgetModelAgent;
18  class DtWidgetAgent;
19 
24  {
25  public:
26 
29  DtElementID id, bool distribute = false);
30 
32  DtEntity2dImageFacade(DtAgentManagerInterface& sceneInterface, int modelSet,
33  DtElementID id, bool distribute = false);
34 
35 
37  virtual ~DtEntity2dImageFacade();
38 
41 
42 
44 
45 
46  virtual void setIconModelDefinition( const std::string& def );
47  virtual std::string iconModelDefinition() const;
49 
51 
52 
53 
54  virtual void setDestroyedIconModelDefinition( const std::string& def );
55  virtual std::string destroyedIconModelDefinition() const;
57 
59 
60 
61  virtual void setScale( float scale );
62  float scale() const;
64 
66 
67 
68  virtual void setImageSize( int sizeX, int sizeY );
69  virtual void getImageSize( int& sizeX, int& sizeY );
71 
73 
74  protected:
75 
76  virtual void updateIcon();
77 
78  protected:
79  DtProjectedWidgetModelAgent* myProjectIconModelAgent;
80  DtWidgetAgent* myIcon;
81  DtWidgetAgent* myDestroyedIcon;
82  float myScale;
83 
84  unsigned int myIconGroup;
85  unsigned int myDestroyedIconGroup;
86 
87  int mySizeX;
88  int mySizeY;
89 
90  std::string myIconModelDefinition;
92  };
93 }
94 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)