VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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
class
DtVector
;
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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)