VR-Forces 4.6.1 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
vrvCore
DtBlinkingObjectManager.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtBlinkingObjectManager.h,v $ $Revision: 1.14 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvCore/vrvCore.h
>
16
17
#include <list>
18
#include <boost/signals.hpp>
19
20
#include <matrix/vlVector.h>
21
22
namespace
makVrv
23
{
24
class
DtSetVisibilityInterface;
25
29
class
DT_DLL_VRVCORE
DtBlinkingObjectManager
30
{
31
public
:
32
34
DtBlinkingObjectManager
(
double
currentTime);
35
37
virtual
~
DtBlinkingObjectManager
();
38
42
virtual
void
startBlinking(
DtSetVisibilityInterface
* blinkTarget,
double
interval = 0.3);
43
47
virtual
void
stopBlinking(
DtSetVisibilityInterface
* blinkTarget);
48
50
virtual
void
tick(
double
currentTime);
51
52
protected
:
53
struct
BlinkTargetParameters
54
{
55
DtSetVisibilityInterface
*
blinkTarget
;
56
double
blinkInterval
;
57
double
lastBlink
;
58
bool
lastVisibilitySetting
;
59
};
60
61
typedef
std::list<BlinkTargetParameters>
BlinkTargetCollection
;
62
63
BlinkTargetCollection
myBlinkTargets
;
64
double
myLastTime
;
65
};
66
}
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)