VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtPointFeature.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 <boost/signal.hpp>
16
#include <matrix/vlVector.h>
17
18
namespace
makVrv
19
{
23
class
DT_DLL_VRVCORE
DtPointFeature
:
public
DtFeature
24
{
25
public
:
26
friend
class
DtFeatureSet
;
27
28
virtual
std::string generateDisplayName()
const
;
29
32
const
DtVector
& location()
const
;
33
35
void
setLocation(
const
DtVector
& location);
36
39
const
DtVector
& dimensions()
const
;
40
43
void
setDimensions(
const
DtVector
& dimensions);
44
46
double
rotation()
const
;
47
49
void
setRotation(
double
angleRad);
50
52
boost::signal<void (DtVector&)>
signal_locationChanged
;
53
54
protected
:
55
58
DtPointFeature
(
DtElementID
elementId,
59
DFAD::FeatureID
featureID,
const
DtFaccCode
& feautureCode,
60
unsigned
int
sourceId = 0 );
61
64
virtual
~
DtPointFeature
();
65
66
protected
:
67
68
DtVector
myLocation
;
69
DtVector
myDimensions
;
70
double
myRotation
;
71
};
72
}
73
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)