VR-Forces 5.0.3 Developer's Guide
 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) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCore/DtFeature.h>
12 #include <vrvUtil/signalslib.h>
13 #include <matrix/vlVector.h>
14 
15 namespace makVrv
16 {
21  {
22  public:
23  friend class DtFeatureSet;
24 
25  virtual std::string generateDisplayName() const;
26 
29  const DtVector& location() const;
30 
32  void setLocation(const DtVector& location);
33 
36  const DtVector& dimensions() const;
37 
40  void setDimensions(const DtVector& dimensions);
41 
43  double rotation() const;
44 
46  void setRotation(double angleRad);
47 
49  boost::signalslib::signal<void (DtVector&)> signal_locationChanged;
50 
51  protected:
52 
55  DtPointFeature(DtElementID elementId,
56  DFAD::FeatureID featureID, const DtFaccCode& feautureCode,
57  unsigned int sourceId = 0 );
58 
61  virtual ~DtPointFeature();
62 
63  protected:
64 
67  double myRotation;
68  };
69 }
70 
DtVector myDimensions
Definition: DtPointFeature.h:66
unsigned int FeatureID
Definition: DtFeature.h:21
double myRotation
Definition: DtPointFeature.h:67
DtVector myLocation
Definition: DtPointFeature.h:65
The DtFeatureSet contains all of the features of a particular database. These features include point...
Definition: DtFeatureSet.h:35
A data type which represents a FACC code.
Definition: DtFaccCode.h:19
Contains makVrv::DtFeature class.
The point feature is a feature that describes a single location. Typically an object at that location...
Definition: DtPointFeature.h:20
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
boost::signalslib::signal< void(DtVector &)> signal_locationChanged
Signal that the location changed.
Definition: DtPointFeature.h:49
This is the base Terrain Feature class which all specific feature types extend. This feature has a po...
Definition: DtFeature.h:32
Definition: networkElement.h:29

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)