15 #ifndef niftkSingleViewerControls_h
16 #define niftkSingleViewerControls_h
20 #include <niftkDnDDisplayExports.h>
27 class niftkSingleViewerControls;
51 bool AreMagnificationControlsVisible()
const;
54 void SetMagnificationControlsVisible(
bool visible);
57 bool AreMagnificationControlsEnabled()
const;
60 void SetMagnificationControlsEnabled(
bool enabled);
63 bool AreShowOptionsVisible()
const;
66 void SetShowOptionsVisible(
bool visible);
69 bool AreWindowLayoutControlsVisible()
const;
72 void SetWindowLayoutControlsVisible(
bool visible);
75 int GetMaxSlice()
const;
78 void SetMaxSlice(
int maxSliceIndex);
81 int GetSelectedSlice()
const;
84 void SetSelectedSlice(
int sliceIndex);
87 int GetMaxTimeStep()
const;
90 void SetMaxTimeStep(
int maxTimeStep);
93 int GetTimeStep()
const;
96 void SetTimeStep(
int timeStep);
99 double GetMinMagnification()
const;
102 void SetMinMagnification(
double minMagnification);
105 double GetMaxMagnification()
const;
108 void SetMaxMagnification(
double maxMagnification);
111 double GetMagnification()
const;
114 void SetMagnification(
double magnification);
117 void SetSliceTracking(
bool tracking);
120 void SetTimeStepTracking(
bool tracking);
123 void SetMagnificationTracking(
bool tracking);
126 bool IsCursorVisible()
const;
129 void SetCursorVisible(
bool visible);
132 bool AreDirectionAnnotationsVisible()
const;
135 void SetDirectionAnnotationsVisible(
bool visible);
138 bool IsIntensityAnnotationVisible()
const;
141 void SetIntensityAnnotationVisible(
bool visible);
144 bool Is3DWindowVisible()
const;
147 void Set3DWindowVisible(
bool visible);
156 bool AreWindowCursorsBound()
const;
159 void SetWindowCursorsBound(
bool bound);
162 bool AreWindowMagnificationsBound()
const;
165 void SetWindowMagnificationsBound(
bool bound);
170 void SelectedSliceChanged(
int selectedSlice);
173 void TimeStepChanged(
int timeStep);
176 void MagnificationChanged(
double magnification);
179 void ShowCursorChanged(
bool visible);
182 void ShowDirectionAnnotationsChanged(
bool visible);
185 void ShowIntensityAnnotationChanged(
bool visible);
188 void Show3DWindowChanged(
bool visible);
194 void WindowCursorBindingChanged(
bool bound);
197 void WindowMagnificationBindingChanged(
bool bound);
201 void OnSelectedSliceChanged(
double selectedSlice);
202 void OnTimeStepChanged(
double timeStep);
205 void OnAxialWindowRadioButtonToggled(
bool checked);
208 void OnSagittalWindowRadioButtonToggled(
bool checked);
211 void OnCoronalWindowRadioButtonToggled(
bool checked);
214 void On3DWindowRadioButtonToggled(
bool checked);
217 void OnMultiWindowRadioButtonToggled(
bool checked);
220 void OnMultiWindowComboBoxIndexChanged(
int index);
224 Ui::niftkSingleViewerControls* ui;
226 bool m_ShowShowOptions;
227 bool m_ShowWindowLayoutControls;
234 static int const s_MultiWindowLayoutNumber;
GLenum GLsizei const GLuint GLboolean enabled
Definition: glew.h:2537
Definition: niftkSingleViewerControls.h:25
Control panel for the DnD display.
Definition: niftkSingleViewerControls.h:38
WindowLayout
Describes the different render window layouts. So one WindowLayout could have multiple windows of dif...
Definition: niftkDnDDisplayEnums.h:49
GLuint index
Definition: glew.h:1798
WindowLayout GetWindowLayout(const std::string &windowLayoutName)
Definition: niftkDnDDisplayEnums.h:94
Definition: niftkExceptionObject.h:21