VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtAttachableFanUpdater.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/DtAttachableIntervisibilityUpdater.h
>
14
#include <
vrvCore/DtIntersector.h
>
15
16
class
DtVector
;
17
18
namespace
makVrv
19
{
25
class
DT_DLL_VRVCORE
DtAttachableFanUpdater
:
public
DtAttachableIntervisibilityUpdater
26
{
27
public
:
29
DtAttachableFanUpdater
(
DtDe
& de,
DtElementID
id
,
bool
doNotAddToMgr =
false
);
30
32
virtual
~
DtAttachableFanUpdater
();
33
35
virtual
void
setFanModeSamplingRate(
double
);
36
39
virtual
void
setStartPointOffsetFromCenter(
const
DtVector
&);
40
const
DtVector
& startPointOffsetFromCenter()
const
;
41
42
protected
:
43
44
virtual
void
updateSceneObject(DtTime tNow);
45
virtual
bool
doIntersection();
46
48
virtual
DtVector
calculateEndPointFromRadian(
const
DtVector
& start,
double
endZ,
double
radius,
double
degree)
const
;
49
50
protected
:
51
typedef
std::vector<IntersectionInformation>
Intersections
;
52
Intersections
myIntersections
;
53
double
myFanModeSamplingRate
;
54
DtVector
myStartPointOffsetFromCenter
;
55
bool
myForceUpdate
;
56
};
57
}
58
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
)