vtkSlicerToolbarGUI Class Reference

#include <vtkSlicerToolbarGUI.h>

Inheritance diagram for vtkSlicerToolbarGUI:
vtkSlicerComponentGUI vtkKWObject

List of all members.

Public Member Functions

virtual void AddGUIObservers ()
virtual void AddMRMLObservers ()
virtual void BuildGUI (vtkKWFrame *f, double *bgColor)
virtual void BuildGUI (vtkKWFrame *f)
virtual void BuildGUI (void)
virtual void Enter ()
virtual void Exit ()
virtual void HideCompareViewCustomLayoutFrame ()
void ModifyAll3DWidgetsLock (int lockFlag)
virtual void PopUpCompareViewCustomLayoutFrame (int whichLayout)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ProcessGUIEvents (vtkObject *caller, unsigned long event, void *callData)
virtual void ProcessLogicEvents (vtkObject *caller, unsigned long event, void *callData)
virtual void ProcessMRMLEvents (vtkObject *caller, unsigned long event, void *callData)
virtual void ReconfigureGUIFonts ()
virtual void RemoveGUIObservers ()
virtual void RemoveMRMLObservers ()
virtual void ResumeViewRockOrSpin (int mode)
void SetAndObserveInteractionNode (vtkMRMLInteractionNode *node)
virtual void SetApplicationGUI (vtkSlicerApplicationGUI *appGUI)
virtual void SetInteractionNode (vtkMRMLInteractionNode *node)
virtual void SetLayoutMenubuttonValueToCurrentLayout ()
virtual void SetLayoutMenubuttonValueToLayout (int layout)
virtual int StopViewRockOrSpin ()
virtual void UpdateLayoutMenu ()
 vtkGetObjectMacro (InteractionNode, vtkMRMLInteractionNode)
 vtkGetObjectMacro (CompareViewLightboxColumnEntry, vtkKWEntry)
 vtkGetObjectMacro (CompareViewLightboxRowEntry, vtkKWEntry)
 vtkGetObjectMacro (MouseTransformViewButton, vtkKWRadioButton)
 vtkGetObjectMacro (MousePlaceButton, vtkKWRadioButton)
 vtkGetObjectMacro (MousePickButton, vtkKWRadioButton)
 vtkGetObjectMacro (MousePlaceOptionsButton, vtkKWMenuButton)
 vtkGetObjectMacro (MousePickOptionsButton, vtkKWMenuButton)
 vtkGetObjectMacro (RedoIconButton, vtkKWPushButton)
 vtkGetObjectMacro (UndoIconButton, vtkKWPushButton)
 vtkGetObjectMacro (ChooseLayoutIconMenuButton, vtkKWMenuButton)
 vtkGetObjectMacro (LoadSceneIconButton, vtkKWMenuButton)
 vtkGetObjectMacro (SaveSceneIconButton, vtkKWPushButton)
 vtkGetObjectMacro (MeasurementsIconButton, vtkKWPushButton)
 vtkGetObjectMacro (FiducialsIconButton, vtkKWPushButton)
 vtkGetObjectMacro (ColorIconButton, vtkKWPushButton)
 vtkGetObjectMacro (TransformIconButton, vtkKWPushButton)
 vtkGetObjectMacro (EditorToolboxIconButton, vtkKWPushButton)
 vtkGetObjectMacro (EditorIconButton, vtkKWPushButton)
 vtkGetObjectMacro (ModelIconButton, vtkKWPushButton)
 vtkGetObjectMacro (VolumeIconButton, vtkKWPushButton)
 vtkGetObjectMacro (DataIconButton, vtkKWPushButton)
 vtkGetObjectMacro (HomeIconButton, vtkKWPushButton)
 vtkGetObjectMacro (ModuleChooseGUI, vtkSlicerModuleChooseGUI)
 vtkGetObjectMacro (UndoRedoToolbar, vtkKWToolbar)
 vtkGetObjectMacro (InteractionModeToolbar, vtkKWToolbar)
 vtkGetObjectMacro (ViewToolbar, vtkKWToolbar)
 vtkGetObjectMacro (UtilitiesToolbar, vtkKWToolbar)
 vtkGetObjectMacro (LoadSaveToolbar, vtkKWToolbar)
 vtkGetObjectMacro (ModulesToolbar, vtkKWToolbar)
 vtkGetObjectMacro (ApplicationGUI, vtkSlicerApplicationGUI)
 vtkGetObjectMacro (SlicerToolbarIcons, vtkSlicerToolbarIcons)
 vtkGetStringMacro (InteractionNodeID)
 vtkTypeRevisionMacro (vtkSlicerToolbarGUI, vtkSlicerComponentGUI)

Static Public Member Functions

static vtkSlicerToolbarGUINew ()

Protected Member Functions

 vtkSlicerToolbarGUI ()
virtual ~vtkSlicerToolbarGUI ()

Protected Attributes

vtkSlicerApplicationGUIApplicationGUI
vtkKWMenuButton * ChooseLayoutIconMenuButton
vtkKWPushButtonColorIconButton
vtkKWPushButtonCompareViewBoxApplyButton
 vtkKWEntry *CompareViewBoxColumnEntry;
vtkKWEntry * CompareViewBoxRowEntry
vtkKWTopLevelCompareViewBoxTopLevel
vtkKWEntry * CompareViewLightboxColumnEntry
vtkKWEntry * CompareViewLightboxRowEntry
vtkKWPushButtonDataIconButton
vtkKWPushButtonEditorIconButton
vtkKWPushButtonEditorToolboxIconButton
vtkKWPushButtonFiducialsIconButton
vtkKWPushButtonHomeIconButton
vtkKWToolbar * InteractionModeToolbar
vtkMRMLInteractionNodeInteractionNode
charInteractionNodeID
vtkKWToolbar * LoadSaveToolbar
vtkKWMenuButton * LoadSceneIconButton
vtkKWPushButtonMeasurementsIconButton
vtkKWPushButtonModelIconButton
vtkSlicerModuleChooseGUIModuleChooseGUI
vtkKWToolbar * ModulesToolbar
vtkKWRadioButton * MousePickButton
vtkKWMenuButton * MousePickOptionsButton
vtkKWRadioButton * MousePlaceButton
vtkKWMenuButton * MousePlaceOptionsButton
vtkKWRadioButton * MouseTransformViewButton
int ProcessingMRMLEvent
vtkKWPushButtonRedoIconButton
vtkKWPushButtonSaveSceneIconButton
vtkSlicerToolbarIconsSlicerToolbarIcons
vtkKWPushButtonTransformIconButton
vtkKWPushButtonUndoIconButton
vtkKWToolbar * UndoRedoToolbar
vtkKWToolbar * UtilitiesToolbar
vtkKWToolbar * ViewToolbar
vtkKWPushButtonVolumeIconButton

Private Member Functions

void operator= (const vtkSlicerToolbarGUI &)
 Not implemented.
 vtkSlicerToolbarGUI (const vtkSlicerToolbarGUI &)

Detailed Description

Description: This class implements Slicer's Application Toolbar


Constructor & Destructor Documentation

vtkSlicerToolbarGUI::vtkSlicerToolbarGUI (  )  [protected]
vtkSlicerToolbarGUI::~vtkSlicerToolbarGUI (  )  [protected, virtual]
vtkSlicerToolbarGUI::vtkSlicerToolbarGUI ( const vtkSlicerToolbarGUI  )  [private]

Member Function Documentation

void vtkSlicerToolbarGUI::AddGUIObservers ( void   )  [virtual]
void vtkSlicerToolbarGUI::AddMRMLObservers (  )  [virtual]
virtual void vtkSlicerToolbarGUI::BuildGUI ( vtkKWFrame *  f,
double *  bgColor 
) [inline, virtual]
virtual void vtkSlicerToolbarGUI::BuildGUI ( vtkKWFrame *  f  )  [inline, virtual]
void vtkSlicerToolbarGUI::BuildGUI ( void   )  [virtual]
void vtkSlicerToolbarGUI::Enter ( void   )  [virtual]

Describe the behavior at module enter and exit.

Reimplemented from vtkSlicerComponentGUI.

void vtkSlicerToolbarGUI::Exit ( void   )  [virtual]

Reimplemented from vtkSlicerComponentGUI.

void vtkSlicerToolbarGUI::HideCompareViewCustomLayoutFrame (  )  [virtual]
void vtkSlicerToolbarGUI::ModifyAll3DWidgetsLock ( int  lockFlag  ) 

set the lock flag on all 3d widgets, so they will either respond to events or not.

References vtkSlicerApplicationGUI::ModifyAllWidgetLock().

static vtkSlicerToolbarGUI* vtkSlicerToolbarGUI::New (  )  [static]

Usual vtk class functions

Reimplemented from vtkSlicerComponentGUI.

Referenced by BuildGUI(), SetInteractionNode(), and vtkSlicerToolbarGUI().

void vtkSlicerToolbarGUI::operator= ( const vtkSlicerToolbarGUI  )  [private]

Not implemented.

Reimplemented from vtkSlicerComponentGUI.

void vtkSlicerToolbarGUI::PopUpCompareViewCustomLayoutFrame ( int  whichLayout  )  [virtual]
void vtkSlicerToolbarGUI::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

Reimplemented from vtkSlicerComponentGUI.

virtual void vtkSlicerToolbarGUI::ProcessGUIEvents ( vtkObject ,
unsigned long  ,
void *   
) [virtual]

alternative method to propagate events generated in GUI to logic / mrml

Reimplemented from vtkSlicerComponentGUI.

virtual void vtkSlicerToolbarGUI::ProcessLogicEvents ( vtkObject caller,
unsigned long  event,
void *  callData 
) [virtual]

Class's mediator methods for processing events invoked by either the Logic, MRML or GUI.

Reimplemented from vtkSlicerComponentGUI.

virtual void vtkSlicerToolbarGUI::ProcessMRMLEvents ( vtkObject ,
unsigned long  ,
void *   
) [virtual]

alternative method to propagate events generated in GUI to logic / mrml

Reimplemented from vtkSlicerComponentGUI.

void vtkSlicerToolbarGUI::ReconfigureGUIFonts (  )  [virtual]

References NodeSelector::app, and p.

Referenced by BuildGUI().

void vtkSlicerToolbarGUI::RemoveGUIObservers ( void   )  [virtual]
void vtkSlicerToolbarGUI::RemoveMRMLObservers (  )  [virtual]
void vtkSlicerToolbarGUI::ResumeViewRockOrSpin ( int  mode  )  [virtual]

References ApplicationGUI, and p.

Referenced by vtkSlicerApplicationGUI::UpdateLayout().

void vtkSlicerToolbarGUI::SetAndObserveInteractionNode ( vtkMRMLInteractionNode node  )  [inline]
void vtkSlicerToolbarGUI::SetApplicationGUI ( vtkSlicerApplicationGUI appGUI  )  [virtual]
void vtkSlicerToolbarGUI::SetInteractionNode ( vtkMRMLInteractionNode node  )  [virtual]
void vtkSlicerToolbarGUI::SetLayoutMenubuttonValueToCurrentLayout (  )  [virtual]
void vtkSlicerToolbarGUI::SetLayoutMenubuttonValueToLayout ( int  layout  )  [virtual]
int vtkSlicerToolbarGUI::StopViewRockOrSpin (  )  [virtual]

Method called when a view reconfiguration is chosen from the toolbar; before Slice and 3D viewers are unpacked and repacked in a new configuration, render requests from automatic rock or spin are stopped. Resumes when finished packing.

References ApplicationGUI, vtkMRMLViewNode::Off, p, vtkMRMLViewNode::Rock, and vtkMRMLViewNode::Spin.

Referenced by vtkSlicerApplicationGUI::UpdateLayout().

void vtkSlicerToolbarGUI::UpdateLayoutMenu (  )  [virtual]
vtkSlicerToolbarGUI::vtkGetObjectMacro ( InteractionNode  ,
vtkMRMLInteractionNode   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( CompareViewLightboxColumnEntry  ,
vtkKWEntry   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( CompareViewLightboxRowEntry  ,
vtkKWEntry   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( MouseTransformViewButton  ,
vtkKWRadioButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( MousePlaceButton  ,
vtkKWRadioButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( MousePickButton  ,
vtkKWRadioButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( MousePlaceOptionsButton  ,
vtkKWMenuButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( MousePickOptionsButton  ,
vtkKWMenuButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( RedoIconButton  ,
vtkKWPushButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( UndoIconButton  ,
vtkKWPushButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( ChooseLayoutIconMenuButton  ,
vtkKWMenuButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( LoadSceneIconButton  ,
vtkKWMenuButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( SaveSceneIconButton  ,
vtkKWPushButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( MeasurementsIconButton  ,
vtkKWPushButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( FiducialsIconButton  ,
vtkKWPushButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( ColorIconButton  ,
vtkKWPushButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( TransformIconButton  ,
vtkKWPushButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( EditorToolboxIconButton  ,
vtkKWPushButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( EditorIconButton  ,
vtkKWPushButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( ModelIconButton  ,
vtkKWPushButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( VolumeIconButton  ,
vtkKWPushButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( DataIconButton  ,
vtkKWPushButton   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( HomeIconButton  ,
vtkKWPushButton   
)

Get the widgets that display the toolbar icons

vtkSlicerToolbarGUI::vtkGetObjectMacro ( ModuleChooseGUI  ,
vtkSlicerModuleChooseGUI   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( UndoRedoToolbar  ,
vtkKWToolbar   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( InteractionModeToolbar  ,
vtkKWToolbar   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( ViewToolbar  ,
vtkKWToolbar   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( UtilitiesToolbar  ,
vtkKWToolbar   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( LoadSaveToolbar  ,
vtkKWToolbar   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( ModulesToolbar  ,
vtkKWToolbar   
)
vtkSlicerToolbarGUI::vtkGetObjectMacro ( ApplicationGUI  ,
vtkSlicerApplicationGUI   
)

Get the main slicer toolbars.

vtkSlicerToolbarGUI::vtkGetObjectMacro ( SlicerToolbarIcons  ,
vtkSlicerToolbarIcons   
)

Get the class containing all slicer GUI images for logos/icons

vtkSlicerToolbarGUI::vtkGetStringMacro ( InteractionNodeID   ) 

Getting and setting the mrml interaction node

vtkSlicerToolbarGUI::vtkTypeRevisionMacro ( vtkSlicerToolbarGUI  ,
vtkSlicerComponentGUI   
)

Member Data Documentation

vtkKWEntry *CompareViewBoxColumnEntry;

Referenced by AddGUIObservers(), BuildGUI(), RemoveGUIObservers(), vtkSlicerToolbarGUI(), and ~vtkSlicerToolbarGUI().

the id of the selection node, for tracking changes to the mouse interation mode

Referenced by vtkSlicerToolbarGUI().

vtkKWToolbar* vtkSlicerToolbarGUI::LoadSaveToolbar [protected]
vtkKWMenuButton* vtkSlicerToolbarGUI::LoadSceneIconButton [protected]
vtkKWToolbar* vtkSlicerToolbarGUI::ModulesToolbar [protected]

Main Application Toolbars

Referenced by vtkSlicerToolbarGUI(), and ~vtkSlicerToolbarGUI().

vtkKWRadioButton* vtkSlicerToolbarGUI::MousePickButton [protected]
vtkKWMenuButton* vtkSlicerToolbarGUI::MousePickOptionsButton [protected]
vtkKWRadioButton* vtkSlicerToolbarGUI::MousePlaceButton [protected]
vtkKWMenuButton* vtkSlicerToolbarGUI::MousePlaceOptionsButton [protected]
vtkKWRadioButton* vtkSlicerToolbarGUI::MouseTransformViewButton [protected]

Referenced by vtkSlicerToolbarGUI().

Contains icons

Referenced by BuildGUI(), vtkSlicerToolbarGUI(), and ~vtkSlicerToolbarGUI().

Widgets that display toolbar icons

Referenced by AddGUIObservers(), BuildGUI(), RemoveGUIObservers(), vtkSlicerToolbarGUI(), and ~vtkSlicerToolbarGUI().

vtkKWToolbar* vtkSlicerToolbarGUI::UndoRedoToolbar [protected]
vtkKWToolbar* vtkSlicerToolbarGUI::UtilitiesToolbar [protected]
vtkKWToolbar* vtkSlicerToolbarGUI::ViewToolbar [protected]

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

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1