VR-Forces Development_Version 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
15
#include <matrix/vlVector.h>
16
17
namespace
makVrv
18
{
24
class
DT_DLL_VRVCORE
DtAttachableFanUpdater
:
public
DtAttachableIntervisibilityUpdater
25
{
26
public
:
28
DtAttachableFanUpdater
(
DtDe
& de,
DtElementID
id
);
29
31
virtual
~
DtAttachableFanUpdater
();
32
34
virtual
void
setFanModeSamplingRate(
double
);
35
38
virtual
void
setStartPointOffsetFromCenter(
const
DtVector
&);
39
const
DtVector
& startPointOffsetFromCenter()
const
;
40
41
protected
:
42
43
virtual
void
updateSceneObject(
DtTime
tNow);
44
virtual
bool
doIntersection();
45
47
virtual
DtVector
calculateEndPointFromRadian(
const
DtVector
& start,
double
endZ,
double
radius,
double
degree)
const
;
48
49
protected
:
50
typedef
std::vector<IntersectionInformation>
Intersections
;
51
Intersections
myIntersections
;
52
double
myFanModeSamplingRate
;
53
DtVector
myStartPointOffsetFromCenter
;
54
bool
myForceUpdate
;
55
};
56
}
57
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)