VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfGuiCore
vrfAttachableEntityFanUpdater.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2018 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
6
#pragma once
7
8
#include <
vrfGuiCore/vrfGuiCore.h
>
9
#include <
vrvCore/DtAttachableEntityFanUpdater.h
>
10
#include <
vrfGuiCore/backendIntervisibilityChecker.h
>
11
#include <vlutil/vlPerformanceStats.h>
12
13
namespace
makVrf
14
{
16
class
DT_DLL_VRFGUICORE
DtVrfAttachableEntityFanUpdaterCreator
:
public
makVrv::DtAttachableEntityFanUpdaterCreator
17
{
18
public
:
19
DtVrfAttachableEntityFanUpdaterCreator
();
20
virtual
~
DtVrfAttachableEntityFanUpdaterCreator
();
21
22
virtual
makVrv::DtAttachableEntityFanUpdater
* create(
makVrv::DtDe
&,
makVrv::DtElementID
id
);
23
};
24
26
class
DT_DLL_VRFGUICORE
DtVrfAttachableEntityFanUpdater
:
public
makVrv::DtAttachableEntityFanUpdater
,
27
public
DtBackendIntervisibilityChecker
28
{
29
public
:
30
DtVrfAttachableEntityFanUpdater
(
makVrv::DtDe
& de,
makVrv::DtElementID
id
);
31
virtual
~
DtVrfAttachableEntityFanUpdater
();
32
33
protected
:
34
virtual
bool
doIntersection();
35
virtual
void
requestLineOfSightCheck(
const
DtVector
& start,
const
DtVector
& end);
36
virtual
void
update(
DtTime
tNow);
37
virtual
makVrv::DtUniqueID
lineOfSightKey()
const
;
38
virtual
void
slot_optionsChanged(
makVrv::DtUniqueID
,
DtVrfExtendedIntervisibilitySettingsData::IntervisibilitySettings
);
39
virtual
void
setEntityFanUpdateRate(
double
d );
40
virtual
bool
internalDoIntersection(
bool
& anythingChanged);
41
virtual
void
sceneObjectRemoved(
makVrv::DtUniqueID
sceneObjectId);
42
virtual
void
updateIntersections();
43
44
protected
:
45
double
myTimeSinceLastUpdate
;
46
DtTimedSection
myUpdateTimer
;
47
};
48
}
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)