VR-Forces 4.8 Class Documentation
 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 /******************************************************************************
6 ** $RCSfile: $ $Revision: $ $State: $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvCore/DtFeature.h>
15 #include <matrix/vlVector.h>
16 #include <vector>
17 
18 namespace makVrv
19 {
24  {
25  public:
26  friend class DtFeatureSet;
27 
28  virtual std::string generateDisplayName() const;
29 
31  void addPoint(const DtVector& position);
32 
35  void insertPoint(unsigned int index, const DtVector& position);
36 
38  void removePoint(unsigned int index);
39 
41  unsigned int numberOfPoints() const;
42 
45  const DtVector& pointLocation(unsigned int index) const;
46 
49  void setPointLocation(unsigned int index,const DtVector& pos);
50 
51  protected:
52 
55  DtEdgeFeature(DtElementID elementId,DFAD::FeatureID featureID, const DtFaccCode& feautureCode,
56  unsigned int sourceId = 0 );
57 
60  virtual ~DtEdgeFeature();
61 
62  protected:
63 
64  struct Point
65  {
67  };
68 
69  typedef std::vector<Point> PointList;
70 
72  };
73 }
74 
unsigned int FeatureID
Definition: DtFeature.h:24
The edge feature is a feature that describes a vector feature, typically several connected line segme...
Definition: DtEdgeFeature.h:23
The DtFeatureSet contains all of the features of a particular database.
Definition: DtFeatureSet.h:34
std::vector< Point > PointList
Definition: DtEdgeFeature.h:69
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.
DtVector myPosition
Definition: DtEdgeFeature.h:66
#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: DtEdgeFeature.h:64
PointList myPoints
Definition: DtEdgeFeature.h:71

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)