VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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
,
bool
suppressTick =
false
);
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
bool
myClamped
;
51
};
52
}
53
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
)