VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtBlinkingObjectManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 
14 #include <list>
15 
16 #include <matrix/vlVector.h>
17 
18 namespace makVrv
19 {
20  class DtSetVisibilityInterface;
21 
26  {
27  public:
28 
30  DtBlinkingObjectManager( double currentTime);
31 
33  virtual ~DtBlinkingObjectManager();
34 
38  virtual void startBlinking(DtSetVisibilityInterface* blinkTarget, double interval = 0.3);
39 
43  virtual void stopBlinking(DtSetVisibilityInterface* blinkTarget);
44 
46  virtual void tick(double currentTime);
47 
48  protected:
50  {
52  double blinkInterval;
53  double lastBlink;
55  };
56 
57  typedef std::list<BlinkTargetParameters> BlinkTargetCollection;
58 
60  double myLastTime;
61  };
62 }
double myLastTime
Definition: DtBlinkingObjectManager.h:60
Interface for classes with settable visibility, such as a 3D model or 2D graphic. ...
Definition: DtSetVisibilityInterface.h:22
The blinking object manager. Causes managed objects to blink by toggling their visibility at a specif...
Definition: DtBlinkingObjectManager.h:25
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
BlinkTargetCollection myBlinkTargets
Definition: DtBlinkingObjectManager.h:59
std::list< BlinkTargetParameters > BlinkTargetCollection
Definition: DtBlinkingObjectManager.h:57
Contains DLL export macros.

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)