NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Control panel for the DnD display. More...
Signals | |
void | ViewerNumberChanged (int rows, int columns) |
Emitted when the selected number of viewers has been changed. More... | |
void | ViewerPositionBindingChanged (bool bound) |
Emitted when the viewer position binding option has been changed. More... | |
void | ViewerCursorBindingChanged (bool bound) |
Emitted when the viewer cursor binding option has been changed. More... | |
void | ViewerMagnificationBindingChanged (bool bound) |
Emitted when the viewer magnification binding option has been changed. More... | |
void | ViewerWindowLayoutBindingChanged (bool bound) |
Emitted when the viewer window layout binding option has been changed. More... | |
void | ViewerGeometryBindingChanged (bool bound) |
Emitted when the viewer geometry binding option has been changed. More... | |
void | DropTypeChanged (DnDDisplayDropType dropType) |
Emitted when the selected drop type has been changed. More... | |
void | DropAccumulateChanged (bool accumulate) |
Emitted when the drop accumulate option has been changed. More... | |
Signals inherited from niftk::SingleViewerControls | |
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 | |
MultiViewerControls (QWidget *parent=0) | |
Constructs the MultiViewerControls object. More... | |
virtual | ~MultiViewerControls () |
Destructs the MultiViewerControls object. More... | |
bool | AreViewerNumberControlsVisible () const |
Tells if the viewer number controls are visible. More... | |
void | SetViewerNumberControlsVisible (bool visible) |
Shows or hides the viewer number controls. More... | |
bool | AreDropTypeControlsVisible () const |
Tells if the drop type controls are visible. More... | |
void | SetDropTypeControlsVisible (bool visible) |
Shows or hides the drop type controls. More... | |
bool | AreSingleViewerControlsEnabled () const |
Tells if the single viewer controls are enabled. More... | |
void | SetSingleViewerControlsEnabled (bool enabled) |
Enables or disables the single viewer controls. More... | |
bool | AreMultiViewerControlsEnabled () const |
Tells if the multi viewer controls are enabled. More... | |
void | SetMultiViewerControlsEnabled (bool enabled) |
Enables or disables the multi viewer controls. More... | |
int | GetViewerRows () const |
Gets the number of rows of the viewers. More... | |
int | GetViewerColumns () const |
Gets the number of rows of the viewers. More... | |
void | SetViewerNumber (int rows, int columns) |
Sets the number of the rows and columns of viewers to the given numbers. More... | |
int | GetMaxViewerRows () const |
Gets the maximal number of rows of the viewers. More... | |
int | GetMaxViewerColumns () const |
Gets the maximal number of columns of the viewers. More... | |
void | SetMaxViewerNumber (int rows, int columns) |
Sets the maximal number of the rows and columns of viewers to the given numbers. More... | |
bool | AreViewerPositionsBound () const |
Returns true if the selected position of the viewers is bound, otherwise false. More... | |
void | SetViewerPositionsBound (bool bound) |
Sets the bind viewer positions check box to the given value. More... | |
bool | AreViewerCursorsBound () const |
Returns true if the cursor of the viewers is bound, otherwise false. More... | |
void | SetViewerCursorsBound (bool bound) |
Sets the bind viewer cursors check box to the given value. More... | |
bool | AreViewerMagnificationsBound () const |
Returns true if the magnification of the viewers are bound, otherwise false. More... | |
void | SetViewerMagnificationsBound (bool bound) |
Sets the bind viewer magnifications check box to the given value. More... | |
bool | AreViewerWindowLayoutsBound () const |
Returns true if the window layout of the viewers is bound, otherwise false. More... | |
void | SetViewerWindowLayoutsBound (bool bound) |
Sets the bind viewer window layouts check box to the given value. More... | |
bool | AreViewerGeometriesBound () const |
Returns true if the geometry of the viewers is bound, otherwise false. More... | |
void | SetViewerGeometriesBound (bool bound) |
Sets the bind viewer geometries check box to the given value. More... | |
DnDDisplayDropType | GetDropType () const |
Gets the selected drop type. More... | |
void | SetDropType (DnDDisplayDropType dropType) |
Sets the drop type controls to the given drop type. More... | |
Public Member Functions inherited from niftk::SingleViewerControls | |
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... | |
Additional Inherited Members | |
Protected Slots inherited from niftk::SingleViewerControls | |
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 MultiViewerControls object.
|
virtual |
Destructs the MultiViewerControls object.
bool niftk::MultiViewerControls::AreDropTypeControlsVisible | ( | ) | const |
Tells if the drop type controls are visible.
bool niftk::MultiViewerControls::AreMultiViewerControlsEnabled | ( | ) | const |
Tells if the multi viewer controls are enabled.
bool niftk::MultiViewerControls::AreSingleViewerControlsEnabled | ( | ) | const |
Tells if the single viewer controls are enabled.
bool niftk::MultiViewerControls::AreViewerCursorsBound | ( | ) | const |
Returns true if the cursor of the viewers is bound, otherwise false.
bool niftk::MultiViewerControls::AreViewerGeometriesBound | ( | ) | const |
Returns true if the geometry of the viewers is bound, otherwise false.
bool niftk::MultiViewerControls::AreViewerMagnificationsBound | ( | ) | const |
Returns true if the magnification of the viewers are bound, otherwise false.
bool niftk::MultiViewerControls::AreViewerNumberControlsVisible | ( | ) | const |
Tells if the viewer number controls are visible.
bool niftk::MultiViewerControls::AreViewerPositionsBound | ( | ) | const |
Returns true if the selected position of the viewers is bound, otherwise false.
bool niftk::MultiViewerControls::AreViewerWindowLayoutsBound | ( | ) | const |
Returns true if the window layout of the viewers is bound, otherwise false.
|
signal |
Emitted when the drop accumulate option has been changed.
|
signal |
Emitted when the selected drop type has been changed.
DnDDisplayDropType niftk::MultiViewerControls::GetDropType | ( | ) | const |
Gets the selected drop type.
int niftk::MultiViewerControls::GetMaxViewerColumns | ( | ) | const |
Gets the maximal number of columns of the viewers.
int niftk::MultiViewerControls::GetMaxViewerRows | ( | ) | const |
Gets the maximal number of rows of the viewers.
int niftk::MultiViewerControls::GetViewerColumns | ( | ) | const |
Gets the number of rows of the viewers.
int niftk::MultiViewerControls::GetViewerRows | ( | ) | const |
Gets the number of rows of the viewers.
void niftk::MultiViewerControls::SetDropType | ( | DnDDisplayDropType | dropType | ) |
Sets the drop type controls to the given drop type.
void niftk::MultiViewerControls::SetDropTypeControlsVisible | ( | bool | visible | ) |
Shows or hides the drop type controls.
Sets the maximal number of the rows and columns of viewers to the given numbers.
void niftk::MultiViewerControls::SetMultiViewerControlsEnabled | ( | bool | enabled | ) |
Enables or disables the multi viewer controls.
void niftk::MultiViewerControls::SetSingleViewerControlsEnabled | ( | bool | enabled | ) |
Enables or disables the single viewer controls.
void niftk::MultiViewerControls::SetViewerCursorsBound | ( | bool | bound | ) |
Sets the bind viewer cursors check box to the given value.
void niftk::MultiViewerControls::SetViewerGeometriesBound | ( | bool | bound | ) |
Sets the bind viewer geometries check box to the given value.
void niftk::MultiViewerControls::SetViewerMagnificationsBound | ( | bool | bound | ) |
Sets the bind viewer magnifications check box to the given value.
Sets the number of the rows and columns of viewers to the given numbers.
void niftk::MultiViewerControls::SetViewerNumberControlsVisible | ( | bool | visible | ) |
Shows or hides the viewer number controls.
void niftk::MultiViewerControls::SetViewerPositionsBound | ( | bool | bound | ) |
Sets the bind viewer positions check box to the given value.
void niftk::MultiViewerControls::SetViewerWindowLayoutsBound | ( | bool | bound | ) |
Sets the bind viewer window layouts check box to the given value.
|
signal |
Emitted when the viewer cursor binding option has been changed.
|
signal |
Emitted when the viewer geometry binding option has been changed.
|
signal |
Emitted when the viewer magnification binding option has been changed.
Emitted when the selected number of viewers has been changed.
|
signal |
Emitted when the viewer position binding option has been changed.
|
signal |
Emitted when the viewer window layout binding option has been changed.