VR-Vantage API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Tutorials
File List
File Members
include
vrvCore
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
{
23
class
DT_DLL_VRVCORE
DtEdgeFeature
:
public
DtFeature
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
{
66
DtVector
myPosition
;
67
};
68
69
typedef
std::vector<Point>
PointList
;
70
71
PointList
myPoints
;
72
};
73
}
74
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)