VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
uiPositionElement.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 #include "vrfutil/rwInt.h"
16 #include "vrfutil/rwReal.h"
17 
18 #include <matrix/vlVector.h>
19 
22 
24 {
25 public:
26 
29 
31  virtual ~DtUiPositionElement();
32 
33  virtual void createControls(QWidget*);
34  virtual void setFromParameters(const std::vector<DtReaderWriter*>& parentRw);
35 
36  virtual void processUiEvent(const DtUiElementEvent&);
37 
38  virtual const DtString& parameterName() const;
39 
41 
42 protected:
43  virtual void elementChanged();
44 
45  virtual void sendEvent();
46 
48  virtual void setPosition(const DtVector&);
49  virtual DtVector relativePosition(const DtString& relativeTo) const;
50 
51  virtual void aboutToShow();
52 
53 protected:
54 
57 
58  typedef std::map<DtString, DtVector> RelativePositions;
60 
62 };

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)