VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtEllipseUpdater.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtEllipseUpdater.h,v $ $Revision: 1.19 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvCore/vrvCore.h
>
16
#include <
vrvCore/DtSceneObjectUpdater.h
>
17
#include <matrix/vlTaitBryan.h>
18
19
#include <matrix/vlVector.h>
20
21
namespace
makVrv
22
{
26
class
DT_DLL_VRVCORE
DtEllipseUpdater
:
public
DtSceneObjectUpdater
27
{
28
public
:
29
31
DtEllipseUpdater
(
makVrv::DtDe
& de,
makVrv::DtUniqueID
id
,
bool
suppressTick =
false
);
32
34
virtual
~
DtEllipseUpdater
();
35
37
virtual
void
update(
double
simTime );
38
39
virtual
void
setOrientationDelta(
double
);
40
42
virtual
void
setClamped(
bool
);
43
46
virtual
void
setPosition(
int
,
const
DtVector
&);
47
48
protected
:
49
50
virtual
bool
computeGroundClampingHit(
const
DtVector
& up,
51
const
DtVector
& unclampedPosition,
DtVector
& hitLocation,
DtVector
& hitNormal);
52
54
virtual
DtTaitBryan computeOrientation(
const
DtVector
& pos,
55
double
topoHeading)
const
;
56
57
protected
:
58
DtVector
myOrigin
;
59
DtVector
myClampedOrigin
;
60
61
double
myOrientationDelta
;
62
63
bool
mySceneObjectChanged
;
64
bool
myClamped
;
65
};
66
}
67
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)