VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvCore
DtBoxUpdater.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2012 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
{
20
class
DtProjectedWidgetModel;
21
class
DtOverlayPolygonModel;
22
class
DtChannel;
23
26
class
DT_DLL_VRVCORE
DtBoxUpdater
:
public
DtSceneObjectUpdater
27
{
28
public
:
30
DtBoxUpdater
(
makVrv::DtDe
& de,
makVrv::DtUniqueID
id
);
31
33
virtual
~
DtBoxUpdater
();
34
36
virtual
void
update(
double
simTime );
37
39
virtual
void
setClamped(
bool
);
40
41
protected
:
42
virtual
bool
computeGroundClampingHit(
const
DtVector
& up,
43
const
DtVector
& unclampedPosition,
DtVector
& hitLocation,
DtVector
& hitNormal);
44
46
virtual
DtTaitBryan computeOrientation(
const
DtVector
& pos,
double
topoHeading)
const
;
47
48
protected
:
49
DtVector
myClampedOrigin
;
50
DtTaitBryan
myOrientation
;
51
bool
myClamped
;
52
bool
myOrientationCalculated
;
53
};
54
}
55
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)