VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)