VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtPointFeature.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: $ $Revision: $ $State: $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvCore/DtFeature.h>
15 #include <boost/signal.hpp>
16 #include <matrix/vlVector.h>
17 
18 namespace makVrv
19 {
24  {
25  public:
26  friend class DtFeatureSet;
27 
28  virtual std::string generateDisplayName() const;
29 
32  const DtVector& location() const;
33 
35  void setLocation(const DtVector& location);
36 
39  const DtVector& dimensions() const;
40 
43  void setDimensions(const DtVector& dimensions);
44 
46  double rotation() const;
47 
49  void setRotation(double angleRad);
50 
52  boost::signal<void (DtVector&)> signal_locationChanged;
53 
54  protected:
55 
58  DtPointFeature(DtElementID elementId,
59  DFAD::FeatureID featureID, const DtFaccCode& feautureCode,
60  unsigned int sourceId = 0 );
61 
64  virtual ~DtPointFeature();
65 
66  protected:
67 
70  double myRotation;
71  };
72 }
73 

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)