VR-Forces 4.2 Class Documentation
uiBoundingVolumeElement.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
13 #include <matrix/vlVector.h>
14 
15 class QLabel;
16 class QComboBox;
17 class DtRwVector;
18 class DtUiVectorElement;
19 
20 namespace makVrf
21 {
23 }
24 
26 {
27  Q_OBJECT
28 
29 public:
30 
32  DtUiBoundingVolumeElement(makVrv::DtDe&);
33 
35  virtual ~DtUiBoundingVolumeElement();
36 
37  static DtUiElement* CreatorFunction(makVrv::DtDe&);
38 
39 public:
40  virtual void createControls(QWidget*);
41 
42 protected slots:
43  virtual void onCalculateSupportPointsChanged();
44 
45 protected:
46  virtual void setFromParameters(const std::vector<DtReaderWriter*>& parentRw);
47  virtual void elementChanged();
48  virtual void updateOrigin();
49 
51  virtual void sendUpdatedValues();
52 
53  virtual void processUiEvent(const DtUiElementEvent& e);
54  virtual void cleanup(std::vector<DtReaderWriter*>& rwItems);
55  virtual void bvUpdated(DtUiElement*);
56  virtual void offsetUpdated(DtUiElement*);
57 
58  virtual void calculateSupportPoints();
59 
60 public:
61  std::vector<DtReaderWriter*> myBoundingVolumes;
62  std::vector<DtReaderWriter*> myBoundingVolumeOffsets;
63  std::vector<DtReaderWriter*> myBackupBoundingVolumes;
64  std::vector<DtReaderWriter*> myBackupBoundingVolumeOffsets;
67 
68  QLabel* myOriginLabel;
70 
72 };

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)