Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkNavigationDataPlayer.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkNavigationDataPlayer_h
14 #define mitkNavigationDataPlayer_h
15 
17 
18 namespace mitk {
27  class MITKIGT_EXPORT NavigationDataPlayer : public NavigationDataPlayerBase
28  {
29  public:
31  itkFactorylessNewMacro(Self);
32  itkCloneMacro(Self);
33 
34  enum PlayerState { PlayerStopped, PlayerRunning, PlayerPaused };
36 
40  void UpdateOutputInformation() override;
41 
49  void StartPlaying();
50 
56  void StopPlaying();
57 
61  void Pause();
62 
66  void Resume();
67 
68  PlayerState GetCurrentPlayerState();
69 
70  TimeStampType GetTimeStampSinceStart();
71 
72  protected:
74  ~NavigationDataPlayer() override;
75 
79  void GenerateData() override;
80 
82 
87 
92 
94  };
95 } // namespace mitk
96 
97 #endif
mitk::NavigationDataPlayer::PlayerStopped
@ PlayerStopped
Definition: mitkNavigationDataPlayer.h:34
mitkNavigationDataPlayerBase.h
mitk::NavigationDataPlayer::m_StartPlayingTimeStamp
TimeStampType m_StartPlayingTimeStamp
The start time of the playing. Set in the method mitk::NavigationDataPlayer::StartPlaying().
Definition: mitkNavigationDataPlayer.h:86
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::NavigationDataPlayer::m_TimeStampSinceStart
TimeStampType m_TimeStampSinceStart
Definition: mitkNavigationDataPlayer.h:93
mitk::NavigationDataPlayer::PlayerState
PlayerState
Definition: mitkNavigationDataPlayer.h:34
mitk::NavigationDataPlayer
This class is used to play recorded (see mitkNavigationDataRecorder class) NavigationDataSets.
Definition: mitkNavigationDataPlayer.h:27
mitk::NavigationDataPlayer::TimeStampType
mitk::NavigationData::TimeStampType TimeStampType
Definition: mitkNavigationDataPlayer.h:35
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::NavigationData::TimeStampType
double TimeStampType
type that holds the time at which the data was recorded in milliseconds
Definition: mitkNavigationData.h:60
mitk::NavigationDataPlayer::m_CurPlayerState
PlayerState m_CurPlayerState
Definition: mitkNavigationDataPlayer.h:81
mitk::NavigationDataPlayerBase
Base class for using mitk::NavigationData as a filter source. Subclasses can play objects of mitk::Na...
Definition: mitkNavigationDataPlayerBase.h:29
mitk::NavigationDataPlayer::m_PauseTimeStamp
TimeStampType m_PauseTimeStamp
Stores the time when a pause began.
Definition: mitkNavigationDataPlayer.h:91