MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkNavigationDataPlayer.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found in the LICENSE file.
10
11============================================================================*/
12
13#ifndef mitkNavigationDataPlayer_h
14#define mitkNavigationDataPlayer_h
15
17
18namespace mitk {
27 class MITKIGT_EXPORT NavigationDataPlayer : public NavigationDataPlayerBase
28 {
29 public:
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
Base class for using mitk::NavigationData as a filter source. Subclasses can play objects of mitk::Na...
This class is used to play recorded (see mitkNavigationDataRecorder class) NavigationDataSets.
mitk::NavigationData::TimeStampType TimeStampType
TimeStampType m_StartPlayingTimeStamp
The start time of the playing. Set in the method mitk::NavigationDataPlayer::StartPlaying().
TimeStampType m_PauseTimeStamp
Stores the time when a pause began.
mitkClassMacro(NavigationDataPlayer, NavigationDataPlayerBase)
double TimeStampType
type that holds the time at which the data was recorded in milliseconds
IGT Exceptions.