VR-Forces 4.2 Class Documentation
editingWindow.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
10 #include <vrvCore/DtUniqueID.h>
11 #include <vrvCore/DtDe.h>
12 #include <vlpi/disEnums.h>
13 #include <vrfExtProtocol/objType.h>
14 #include <QWidget>
15 
16 class DtDisplayWidget;
17 class QComboBox;
18 
19 namespace makVrf
20 {
21  class DtVrfObjectFacadeInterface;
22 }
23 class DtEditingWindowDe : public makVrv::DtDe
24 {
25 public:
26 
27  DtEditingWindowDe(makVrv::DtDe& rootDe);
28 
29  virtual makVrv::DtDe::InitializationResult initialize();
30 
31  virtual void postInitialize();
32 
33  virtual ~DtEditingWindowDe();
34 
35 protected:
36  makVrv::DtDe& myRootDe;
37 };
38 
42 {
43  Q_OBJECT
44 
45 public:
46 
48  DtEditingWindow(makVrv::DtDe&, QWidget* p);
49 
51  DtEditingWindow(makVrv::DtDe&);
52 
53  virtual ~DtEditingWindow();
54 
55  bool showBoundingBoxes() const;
56 
57  virtual void setViewModeCombo(QComboBox*);
58 
60  virtual void setForceId(DtForceType id);
61 
62  virtual void resetToGlobalView();
63 
64  virtual void toggleBoundingBoxes();
65 
66  virtual int numChildren();
67 
68  virtual void disable();
69 
70  virtual void turnOnGridLines(bool);
71 
72  static void initialize();
73 
74  virtual DtObjectType selectedObjectType() const;
75 
76  virtual void cleanupFacades();
77 
78 public slots:
79  virtual void setShowBoundingBoxes(bool);
80 
81 protected slots:
82  virtual void changeViewMode();
83 
84 protected:
85  virtual void timedResetToGlobalView();
86 
87 protected:
88  DtForceType myForceId;
89  typedef std::map<makVrv::DtUniqueID, makVrf::DtVrfObjectFacadeInterface*> EntityMap;
91 
92  makVrv::DtDe* myEditingWindowDe;
95  makVrv::DtDe& myDe;
96 };

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)