VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 
DtVector myDimensions
Definition: DtPointFeature.h:69
unsigned int FeatureID
Definition: DtFeature.h:24
double myRotation
Definition: DtPointFeature.h:70
DtVector myLocation
Definition: DtPointFeature.h:68
boost::signal< void(DtVector &)> signal_locationChanged
Signal that the location changed.
Definition: DtPointFeature.h:52
The DtFeatureSet contains all of the features of a particular database.
Definition: DtFeatureSet.h:34
A data type which represents a FACC code.
Definition: DtFaccCode.h:22
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:26
Contains makVrv::DtFeature class.
The point feature is a feature that describes a single location.
Definition: DtPointFeature.h:23
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
This is the base Terrain Feature class which all specific feature types extend.
Definition: DtFeature.h:35
Definition: networkElement.h:29

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)