NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Signals | Public Member Functions | Protected Slots | List of all members
niftk::SingleViewerControls Class Reference

Control panel for the DnD display. More...

Inheritance diagram for niftk::SingleViewerControls:
Inheritance graph
[legend]
Collaboration diagram for niftk::SingleViewerControls:
Collaboration graph
[legend]

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...
 

Detailed Description

Control panel for the DnD display.

Constructor & Destructor Documentation

niftk::SingleViewerControls::SingleViewerControls ( QWidget *  parent = 0)
explicit

Constructs the SingleViewerControls object.

niftk::SingleViewerControls::~SingleViewerControls ( )
virtual

Destructs the SingleViewerControls object.

Member Function Documentation

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.

void niftk::SingleViewerControls::MagnificationChanged ( double  magnification)
signal

Emitted when the selected magnification has changed.

void niftk::SingleViewerControls::On3DWindowRadioButtonToggled ( bool  checked)
protectedslot

Called when the 3D window radio button is toggled.

void niftk::SingleViewerControls::OnAxialWindowRadioButtonToggled ( bool  checked)
protectedslot

Called when the axial window radio button is toggled.

void niftk::SingleViewerControls::OnCoronalWindowRadioButtonToggled ( bool  checked)
protectedslot

Called when the coronal window radio button is toggled.

void niftk::SingleViewerControls::OnMultiWindowComboBoxIndexChanged ( int  index)
protectedslot

Called when a window layout is selected in the the combo box.

void niftk::SingleViewerControls::OnMultiWindowRadioButtonToggled ( bool  checked)
protectedslot

Called when the multiple window radio button is toggled.

void niftk::SingleViewerControls::OnSagittalWindowRadioButtonToggled ( bool  checked)
protectedslot

Called when the sagittal window radio button is toggled.

void niftk::SingleViewerControls::OnSelectedSliceChanged ( double  selectedSlice)
protectedslot
void niftk::SingleViewerControls::OnTimeStepChanged ( double  timeStep)
protectedslot
void niftk::SingleViewerControls::SelectedSliceChanged ( int  selectedSlice)
signal

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.

void niftk::SingleViewerControls::SetMaxSlice ( int  maxSliceIndex)

Sets the maximal value of the slice index controls to the given number.

void niftk::SingleViewerControls::SetMaxTimeStep ( int  maxTimeStep)

Sets the maximal value of the time step controls to the given number.

void niftk::SingleViewerControls::SetMinMagnification ( double  minMagnification)

Sets the minimum magnification.

void niftk::SingleViewerControls::SetSelectedSlice ( int  sliceIndex)

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.

void niftk::SingleViewerControls::SetTimeStep ( int  timeStep)

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.

void niftk::SingleViewerControls::Show3DWindowChanged ( bool  visible)
signal

Emitted when the show 3D window option has changed.

void niftk::SingleViewerControls::ShowCursorChanged ( bool  visible)
signal

Emitted when the show cursor option has changed.

void niftk::SingleViewerControls::ShowDirectionAnnotationsChanged ( bool  visible)
signal

Emitted when the show direction annotations option has changed.

void niftk::SingleViewerControls::ShowIntensityAnnotationChanged ( bool  visible)
signal

Emitted when the show intensity annotation option has changed.

void niftk::SingleViewerControls::TimeStepChanged ( int  timeStep)
signal

Emitted when the selected time step has changed.

void niftk::SingleViewerControls::WindowCursorBindingChanged ( bool  bound)
signal

Emitted when the window cursor binding option has changed.

void niftk::SingleViewerControls::WindowLayoutChanged ( WindowLayout  windowLayout)
signal

Emitted when the select layout has changed.

void niftk::SingleViewerControls::WindowMagnificationBindingChanged ( bool  bound)
signal

Emitted when the window magnification binding option has changed.


The documentation for this class was generated from the following files: