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
DtBoxUpdater.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/vrvCore.h
>
13
#include <
vrvCore/DtSceneObjectUpdater.h
>
14
#include <matrix/vlTaitBryan.h>
15
16
#include <matrix/vlVector.h>
17
18
namespace
makVrv
19
{
24
class
DT_DLL_VRVCORE
DtBoxUpdater
:
public
DtSceneObjectUpdater
25
{
26
public
:
28
DtBoxUpdater
(
makVrv::DtDe
& de,
makVrv::DtUniqueID
id
);
29
31
virtual
~
DtBoxUpdater
();
32
34
virtual
void
update(
double
simTime );
35
37
virtual
void
setClamped(
bool
);
38
39
protected
:
40
virtual
bool
computeGroundClampingHit(
const
DtVector
& up,
41
const
DtVector
& unclampedPosition,
DtVector
& hitLocation,
DtVector
& hitNormal);
42
44
virtual
DtTaitBryan computeOrientation(
const
DtVector
& pos,
double
topoHeading)
const
;
45
48
virtual
void
setOutputPosition(
const
DtVector
& position );
49
50
protected
:
51
DtVector
myClampedOrigin
;
52
DtTaitBryan
myOrientation
;
53
bool
myClamped
;
54
bool
myOrientationCalculated
;
55
};
56
}
57
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
)