VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTrackHistorySettingsInterface.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 <vrvCoreQt/vrvCoreQt.h>
13 
14 #include <vrvUtil/signalslib.h>
15 
16 namespace makVrv
17 {
18 
23  {
24  public:
25 
28 
31 
32  private:
37 
38  public:
41 
43  virtual int trackHistoryRibbonLength() const = 0;
44 
46  virtual void setTrackHistoryRibbonLength( int maxSamples ) = 0;
47 
49  virtual void setTrackHistoryRibbonLengthRange(int min, int max, int step) = 0;
50 
52  virtual float trackHistoryRibbonTimeout() const = 0;
53 
55  virtual void setTrackHistoryRibbonTimeout(float duration) = 0;
56 
58  virtual void setTrackHistoryRibbonTimeoutRange(float min, float max, float step) = 0;
59 
61  virtual float trackHistoryRibbonSpacing() const = 0;
62 
64  virtual void setTrackHistoryRibbonSpacing( float spacing ) = 0;
65 
67  virtual bool trackHistoryRibbonInfinite() const = 0;
68 
70  virtual void setTrackHistoryRibbonInfinite( bool isInfinite ) = 0;
71 
73  virtual bool trackHistoryHeightLinesEnabled() const = 0;
74 
76  virtual void setTrackHistoryHeightLinesEnabled(bool enabled) = 0;
77 
79 
81  virtual void setLengthSliderDisabled( bool disabled ) = 0;
82 
85  virtual void setTimeoutSliderDisabled(bool disabled) = 0;
86 
89 
92  boost::signalslib::signal<void (int)> signal_trackHistoryRibbonLengthChanged;
93 
96  boost::signalslib::signal<void(float)> signal_trackHistoryRibbonTimeoutChanged;
97 
100  boost::signalslib::signal<void (float)> signal_trackHistoryRibbonSpacingChanged;
101 
104  boost::signalslib::signal<void (bool)> signal_trackHistoryRibbonInfiniteChanged;
105 
108  boost::signalslib::signal<void(bool)> signal_trackHistoryHeightLinesEnabledChanged;
109 
111 
112  };
113 
114 }
boost::signalslib::signal< void(float)> signal_trackHistoryRibbonSpacingChanged
Signals that the user changed the track history ribbon spacing.
Definition: DtTrackHistorySettingsInterface.h:100
boost::signalslib::signal< void(float)> signal_trackHistoryRibbonTimeoutChanged
Signals that the user changed the track history ribbon segment timeout.
Definition: DtTrackHistorySettingsInterface.h:96
boost::signalslib::signal< void(int)> signal_trackHistoryRibbonLengthChanged
Signals that the user changed the track history ribbon length.
Definition: DtTrackHistorySettingsInterface.h:92
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
boost::signalslib::signal< void(bool)> signal_trackHistoryHeightLinesEnabledChanged
Signals that the user has toggled height lines enabled.
Definition: DtTrackHistorySettingsInterface.h:108
boost::signalslib::signal< void(bool)> signal_trackHistoryRibbonInfiniteChanged
Signals that the user toggled &#39;infinitely long&#39; track history ribbons.
Definition: DtTrackHistorySettingsInterface.h:104
Interface for the track history settings widget. Used by the logic to communicate with the widget...
Definition: DtTrackHistorySettingsInterface.h:22

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)