NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Control panel for the DnD display. More...
Signals | |
void | SelectedSliceChanged (int selectedSlice) |
Emitted when the selected slice has changed. More... | |
void | TimeStepChanged (int timeStep) |
Emitted when the selected time step has changed. More... | |
void | MagnificationChanged (double magnification) |
Emitted when the selected magnification has changed. More... | |
void | ShowCursorChanged (bool visible) |
Emitted when the show cursor option has changed. More... | |
void | ShowDirectionAnnotationsChanged (bool visible) |
Emitted when the show direction annotations option has changed. More... | |
void | ShowIntensityAnnotationChanged (bool visible) |
Emitted when the show intensity annotation option has changed. More... | |
void | Show3DWindowChanged (bool visible) |
Emitted when the show 3D window option has changed. More... | |
void | WindowLayoutChanged (WindowLayout windowLayout) |
Emitted when the select layout has changed. More... | |
void | WindowCursorBindingChanged (bool bound) |
Emitted when the window cursor binding option has changed. More... | |
void | WindowMagnificationBindingChanged (bool bound) |
Emitted when the window magnification binding option has changed. More... | |
Public Member Functions | |
SingleViewerControls (QWidget *parent=0) | |
Constructs the SingleViewerControls object. More... | |
virtual | ~SingleViewerControls () |
Destructs the SingleViewerControls object. More... | |
bool | AreMagnificationControlsVisible () const |
Tells if the magnification controls are visible. More... | |
void | SetMagnificationControlsVisible (bool visible) |
Shows or hides the magnification controls. More... | |
bool | AreMagnificationControlsEnabled () const |
Tells if the magnification controls are enabled. More... | |
void | SetMagnificationControlsEnabled (bool enabled) |
Enables or disables the magnification controls. More... | |
bool | AreShowOptionsVisible () const |
Tells if the show options (cursor, directions, 3D window) are visible. More... | |
void | SetShowOptionsVisible (bool visible) |
Shows or hides the show options (cursor, directions, 3D window). More... | |
bool | AreWindowLayoutControlsVisible () const |
Tells if the window layout controls are visible. More... | |
void | SetWindowLayoutControlsVisible (bool visible) |
Shows or hides the window layout controls. More... | |
int | GetMaxSlice () const |
Gets the maximal slice index that is the number of slices - 1. More... | |
void | SetMaxSlice (int maxSliceIndex) |
Sets the maximal value of the slice index controls to the given number. More... | |
int | GetSelectedSlice () const |
Gets the selected slice index. More... | |
void | SetSelectedSlice (int sliceIndex) |
Sets the slice index controls to the given number. More... | |
int | GetMaxTimeStep () const |
Gets the maximal time step that is the number of time steps - 1. More... | |
void | SetMaxTimeStep (int maxTimeStep) |
Sets the maximal value of the time step controls to the given number. More... | |
int | GetTimeStep () const |
Gets the selected time step. More... | |
void | SetTimeStep (int timeStep) |
Sets the time step controls to the given time step. More... | |
double | GetMinMagnification () const |
Gets the minimum magnification. More... | |
void | SetMinMagnification (double minMagnification) |
Sets the minimum magnification. More... | |
double | GetMaxMagnification () const |
Gets the maximum magnification. More... | |
void | SetMaxMagnification (double maxMagnification) |
Sets the maximum magnification. More... | |
double | GetMagnification () const |
Gets the selected magnification. More... | |
void | SetMagnification (double magnification) |
Sets the magnification controls to the given magnification. More... | |
void | SetSliceTracking (bool tracking) |
Sets the slice index slider to be tracking. More... | |
void | SetTimeStepTracking (bool tracking) |
Sets the time step slider to be tracking. More... | |
void | SetMagnificationTracking (bool tracking) |
Sets the magnification slider to be tracking. More... | |
bool | IsCursorVisible () const |
Returns true if the show cursor check box is set, otherwise false. More... | |
void | SetCursorVisible (bool visible) |
Sets the show cursor check box to the given value. More... | |
bool | AreDirectionAnnotationsVisible () const |
Returns true if the show orientation directions check box is set, otherwise false. More... | |
void | SetDirectionAnnotationsVisible (bool visible) |
Sets the show orientation direction check box to the given value. More... | |
bool | IsIntensityAnnotationVisible () const |
Returns true if the show intensity check box is set, otherwise false. More... | |
void | SetIntensityAnnotationVisible (bool visible) |
Sets the show intensity check box to the given value. More... | |
bool | Is3DWindowVisible () const |
Returns true if the show 3D window check box is set, otherwise false. More... | |
void | Set3DWindowVisible (bool visible) |
Sets the show 3D window option check box to the given value. More... | |
WindowLayout | GetWindowLayout () const |
Gets the selected render window layout. More... | |
void | SetWindowLayout (WindowLayout windowlayout) |
Sets the render window layout controls to the given layout. More... | |
bool | AreWindowCursorsBound () const |
Returns true if the cursors are bound across the windows of a viewer, otherwise false. More... | |
void | SetWindowCursorsBound (bool bound) |
Sets the bind window cursors check box to the given value. More... | |
bool | AreWindowMagnificationsBound () const |
Returns true if the magnification is bound across the windows of a viewer, otherwise false. More... | |
void | SetWindowMagnificationsBound (bool bound) |
Sets the bind window magnifications check box to the given value. More... | |
Protected Slots | |
void | OnSelectedSliceChanged (double selectedSlice) |
void | OnTimeStepChanged (double timeStep) |
void | OnAxialWindowRadioButtonToggled (bool checked) |
Called when the axial window radio button is toggled. More... | |
void | OnSagittalWindowRadioButtonToggled (bool checked) |
Called when the sagittal window radio button is toggled. More... | |
void | OnCoronalWindowRadioButtonToggled (bool checked) |
Called when the coronal window radio button is toggled. More... | |
void | On3DWindowRadioButtonToggled (bool checked) |
Called when the 3D window radio button is toggled. More... | |
void | OnMultiWindowRadioButtonToggled (bool checked) |
Called when the multiple window radio button is toggled. More... | |
void | OnMultiWindowComboBoxIndexChanged (int index) |
Called when a window layout is selected in the the combo box. More... | |
Control panel for the DnD display.
|
explicit |
Constructs the SingleViewerControls object.
|
virtual |
Destructs the SingleViewerControls object.
bool niftk::SingleViewerControls::AreDirectionAnnotationsVisible | ( | ) | const |
Returns true if the show orientation directions check box is set, otherwise false.
bool niftk::SingleViewerControls::AreMagnificationControlsEnabled | ( | ) | const |
Tells if the magnification controls are enabled.
bool niftk::SingleViewerControls::AreMagnificationControlsVisible | ( | ) | const |
Tells if the magnification controls are visible.
bool niftk::SingleViewerControls::AreShowOptionsVisible | ( | ) | const |
Tells if the show options (cursor, directions, 3D window) are visible.
bool niftk::SingleViewerControls::AreWindowCursorsBound | ( | ) | const |
Returns true if the cursors are bound across the windows of a viewer, otherwise false.
bool niftk::SingleViewerControls::AreWindowLayoutControlsVisible | ( | ) | const |
Tells if the window layout controls are visible.
bool niftk::SingleViewerControls::AreWindowMagnificationsBound | ( | ) | const |
Returns true if the magnification is bound across the windows of a viewer, otherwise false.
double niftk::SingleViewerControls::GetMagnification | ( | ) | const |
Gets the selected magnification.
double niftk::SingleViewerControls::GetMaxMagnification | ( | ) | const |
Gets the maximum magnification.
int niftk::SingleViewerControls::GetMaxSlice | ( | ) | const |
Gets the maximal slice index that is the number of slices - 1.
int niftk::SingleViewerControls::GetMaxTimeStep | ( | ) | const |
Gets the maximal time step that is the number of time steps - 1.
double niftk::SingleViewerControls::GetMinMagnification | ( | ) | const |
Gets the minimum magnification.
int niftk::SingleViewerControls::GetSelectedSlice | ( | ) | const |
Gets the selected slice index.
int niftk::SingleViewerControls::GetTimeStep | ( | ) | const |
Gets the selected time step.
WindowLayout niftk::SingleViewerControls::GetWindowLayout | ( | ) | const |
Gets the selected render window layout.
bool niftk::SingleViewerControls::Is3DWindowVisible | ( | ) | const |
Returns true if the show 3D window check box is set, otherwise false.
bool niftk::SingleViewerControls::IsCursorVisible | ( | ) | const |
Returns true if the show cursor check box is set, otherwise false.
bool niftk::SingleViewerControls::IsIntensityAnnotationVisible | ( | ) | const |
Returns true if the show intensity check box is set, otherwise false.
|
signal |
Emitted when the selected magnification has changed.
|
protectedslot |
Called when the 3D window radio button is toggled.
|
protectedslot |
Called when the axial window radio button is toggled.
|
protectedslot |
Called when the coronal window radio button is toggled.
Called when a window layout is selected in the the combo box.
|
protectedslot |
Called when the multiple window radio button is toggled.
|
protectedslot |
Called when the sagittal window radio button is toggled.
|
protectedslot |
|
protectedslot |
Emitted when the selected slice has changed.
void niftk::SingleViewerControls::Set3DWindowVisible | ( | bool | visible | ) |
Sets the show 3D window option check box to the given value.
void niftk::SingleViewerControls::SetCursorVisible | ( | bool | visible | ) |
Sets the show cursor check box to the given value.
void niftk::SingleViewerControls::SetDirectionAnnotationsVisible | ( | bool | visible | ) |
Sets the show orientation direction check box to the given value.
void niftk::SingleViewerControls::SetIntensityAnnotationVisible | ( | bool | visible | ) |
Sets the show intensity check box to the given value.
void niftk::SingleViewerControls::SetMagnification | ( | double | magnification | ) |
Sets the magnification controls to the given magnification.
void niftk::SingleViewerControls::SetMagnificationControlsEnabled | ( | bool | enabled | ) |
Enables or disables the magnification controls.
void niftk::SingleViewerControls::SetMagnificationControlsVisible | ( | bool | visible | ) |
Shows or hides the magnification controls.
void niftk::SingleViewerControls::SetMagnificationTracking | ( | bool | tracking | ) |
Sets the magnification slider to be tracking.
void niftk::SingleViewerControls::SetMaxMagnification | ( | double | maxMagnification | ) |
Sets the maximum magnification.
Sets the maximal value of the slice index controls to the given number.
Sets the maximal value of the time step controls to the given number.
void niftk::SingleViewerControls::SetMinMagnification | ( | double | minMagnification | ) |
Sets the minimum magnification.
Sets the slice index controls to the given number.
void niftk::SingleViewerControls::SetShowOptionsVisible | ( | bool | visible | ) |
Shows or hides the show options (cursor, directions, 3D window).
void niftk::SingleViewerControls::SetSliceTracking | ( | bool | tracking | ) |
Sets the slice index slider to be tracking.
Sets the time step controls to the given time step.
void niftk::SingleViewerControls::SetTimeStepTracking | ( | bool | tracking | ) |
Sets the time step slider to be tracking.
void niftk::SingleViewerControls::SetWindowCursorsBound | ( | bool | bound | ) |
Sets the bind window cursors check box to the given value.
void niftk::SingleViewerControls::SetWindowLayout | ( | WindowLayout | windowlayout | ) |
Sets the render window layout controls to the given layout.
void niftk::SingleViewerControls::SetWindowLayoutControlsVisible | ( | bool | visible | ) |
Shows or hides the window layout controls.
void niftk::SingleViewerControls::SetWindowMagnificationsBound | ( | bool | bound | ) |
Sets the bind window magnifications check box to the given value.
|
signal |
Emitted when the show 3D window option has changed.
|
signal |
Emitted when the show cursor option has changed.
|
signal |
Emitted when the show direction annotations option has changed.
|
signal |
Emitted when the show intensity annotation option has changed.
Emitted when the selected time step has changed.
|
signal |
Emitted when the window cursor binding option has changed.
|
signal |
Emitted when the select layout has changed.
|
signal |
Emitted when the window magnification binding option has changed.