VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtEdgeFeature.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCore/DtFeature.h>
12 #include <matrix/vlVector.h>
13 #include <vector>
14 
15 namespace makVrv
16 {
21  {
22  public:
23  friend class DtFeatureSet;
24 
25  virtual std::string generateDisplayName() const;
26 
28  void addPoint(const DtVector& position);
29 
32  void insertPoint(unsigned int index, const DtVector& position);
33 
35  void removePoint(unsigned int index);
36 
38  unsigned int numberOfPoints() const;
39 
42  const DtVector& pointLocation(unsigned int index) const;
43 
46  void setPointLocation(unsigned int index,const DtVector& pos);
47 
48  protected:
49 
52  DtEdgeFeature(DtElementID elementId,DFAD::FeatureID featureID, const DtFaccCode& feautureCode,
53  unsigned int sourceId = 0 );
54 
57  virtual ~DtEdgeFeature();
58 
59  protected:
60 
61  struct Point
62  {
64  };
65 
66  typedef std::vector<Point> PointList;
67 
69  };
70 }
71 
unsigned int FeatureID
Definition: DtFeature.h:21
The edge feature is a feature that describes a vector feature, typically several connected line segme...
Definition: DtEdgeFeature.h:20
The DtFeatureSet contains all of the features of a particular database. These features include point...
Definition: DtFeatureSet.h:35
std::vector< Point > PointList
Definition: DtEdgeFeature.h:66
A data type which represents a FACC code.
Definition: DtFaccCode.h:19
Contains makVrv::DtFeature class.
DtVector myPosition
Definition: DtEdgeFeature.h:63
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
This is the base Terrain Feature class which all specific feature types extend. This feature has a po...
Definition: DtFeature.h:32
Definition: DtEdgeFeature.h:61
PointList myPoints
Definition: DtEdgeFeature.h:68

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)