VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)