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
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
);
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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)