vtkCommandLineModuleGUI Class Reference

#include <vtkCommandLineModuleGUI.h>

Inheritance diagram for vtkCommandLineModuleGUI:
vtkSlicerModuleGUI vtkSlicerComponentGUI vtkKWObject

List of all members.

Public Member Functions

virtual void AddGUIObservers ()
virtual void BuildGUI (vtkKWFrame *f, double *bgColor)
virtual void BuildGUI (vtkKWFrame *f)
virtual void BuildGUI ()
virtual void CreateModuleEventBindings ()
virtual void Enter (vtkMRMLNode *node)
virtual void Enter ()
virtual void Exit ()
virtual unsigned short GetIndex () const
const ModuleDescriptionGetModuleDescription () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ProcessGUIEvents (vtkObject *caller, unsigned long event, void *callData)
virtual void ProcessLogicEvents (vtkObject *vtkNotUsed(caller), unsigned long vtkNotUsed(event), void *vtkNotUsed(callData))
virtual void ProcessMRMLEvents (vtkObject *caller, unsigned long event, void *callData)
virtual void ReleaseModuleEventBindings ()
virtual void RemoveGUIObservers ()
virtual void RemoveLogicObservers ()
virtual void RemoveMRMLNodeObservers ()
virtual void SetCommandLineModuleNode (vtkMRMLCommandLineModuleNode *)
void SetInMRMLCallbackFlag (int flag)
void SetModuleDescription (const ModuleDescription &description)
virtual void TearDownGUI ()
 vtkGetMacro (InMRMLCallbackFlag, int)
 vtkGetObjectMacro (CommandLineModuleNode, vtkMRMLCommandLineModuleNode)
 vtkGetObjectMacro (Logic, vtkCommandLineModuleLogic)
 vtkSetObjectMacro (Logic, vtkCommandLineModuleLogic)
 vtkTypeMacro (vtkCommandLineModuleGUI, vtkSlicerModuleGUI)

Static Public Member Functions

static vtkCommandLineModuleGUINew ()
 The usual vtk class functions.

Static Protected Member Functions

static void NewNodeCallback (vtkObject *__caller, unsigned long eid, void *__clientData, void *callData)

Protected Attributes

int InMRMLCallbackFlag
vtkCallbackCommandNewNodeCallbackCommand

Private Member Functions

void operator= (const vtkCommandLineModuleGUI &)
 Not implemented.
void UpdateGUI ()
void UpdateMRML ()
 vtkCommandLineModuleGUI (const vtkCommandLineModuleGUI &)
 vtkCommandLineModuleGUI ()
virtual ~vtkCommandLineModuleGUI ()

Private Attributes

vtkMRMLCommandLineModuleNodeCommandLineModuleNode
bool CreatingNewNode
ModuleWidgetMapInternalWidgetMap
bool InUpdateGUI
bool InUpdateMRML
vtkCommandLineModuleLogicLogic
ModuleDescription ModuleDescriptionObject

Constructor & Destructor Documentation

vtkCommandLineModuleGUI::vtkCommandLineModuleGUI (  )  [private]
vtkCommandLineModuleGUI::~vtkCommandLineModuleGUI (  )  [private, virtual]
vtkCommandLineModuleGUI::vtkCommandLineModuleGUI ( const vtkCommandLineModuleGUI  )  [private]

Member Function Documentation

void vtkCommandLineModuleGUI::AddGUIObservers ( void   )  [virtual]
virtual void vtkCommandLineModuleGUI::BuildGUI ( vtkKWFrame *  f,
double *  bgColor 
) [inline, virtual]
virtual void vtkCommandLineModuleGUI::BuildGUI ( vtkKWFrame *  f  )  [inline, virtual]
void vtkCommandLineModuleGUI::BuildGUI ( void   )  [virtual]
void vtkCommandLineModuleGUI::CreateModuleEventBindings ( void   )  [virtual]

Reimplemented from vtkSlicerModuleGUI.

Referenced by Enter().

virtual void vtkCommandLineModuleGUI::Enter ( vtkMRMLNode node  )  [inline, virtual]
void vtkCommandLineModuleGUI::Enter ( void   )  [virtual]

functions that define and undefine module-specific behaviors.

Reimplemented from vtkSlicerComponentGUI.

References AddGUIObservers(), BuildGUI(), vtkSlicerModuleGUI::Built, CreateModuleEventBindings(), Logic, and vtkCommandLineModuleLogic::SetTemporaryDirectory().

Referenced by vtkSlicerDiffusionTestingWidget::RunDWI().

void vtkCommandLineModuleGUI::Exit ( void   )  [virtual]

Reimplemented from vtkSlicerComponentGUI.

References ReleaseModuleEventBindings().

Referenced by TearDownGUI().

virtual unsigned short vtkCommandLineModuleGUI::GetIndex (  )  const [inline, virtual]

Get/Set the index of the module. The index is used for sorting the modules within a menu. Modules are sorted first by index, then alphabetical

Reimplemented from vtkSlicerModuleGUI.

const ModuleDescription& vtkCommandLineModuleGUI::GetModuleDescription (  )  const [inline]

Referenced by PrintSelf().

vtkCommandLineModuleGUI * vtkCommandLineModuleGUI::New (  )  [static]

The usual vtk class functions.

Reimplemented from vtkSlicerModuleGUI.

References autoSlicerTracto2regions::ret.

Referenced by BuildGUI(), SetModuleDescription(), Slicer3_main(), UpdateGUI(), and vtkCommandLineModuleGUI().

void vtkCommandLineModuleGUI::NewNodeCallback ( vtkObject __caller,
unsigned long  eid,
void *  __clientData,
void *  callData 
) [static, protected]

Referenced by vtkCommandLineModuleGUI().

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

Not implemented.

Reimplemented from vtkSlicerModuleGUI.

void vtkCommandLineModuleGUI::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

Reimplemented from vtkSlicerModuleGUI.

References GetModuleDescription().

void vtkCommandLineModuleGUI::ProcessGUIEvents ( vtkObject ,
unsigned long  ,
void *   
) [virtual]
virtual void vtkCommandLineModuleGUI::ProcessLogicEvents ( vtkObject vtkNotUsedcaller,
unsigned long   vtkNotUsedevent,
void *  vtkNotUsedcallData 
) [inline, virtual]
virtual void vtkCommandLineModuleGUI::ProcessMRMLEvents ( vtkObject ,
unsigned long  ,
void *   
) [virtual]

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

Reimplemented from vtkSlicerModuleGUI.

void vtkCommandLineModuleGUI::ReleaseModuleEventBindings ( void   )  [virtual]

Reimplemented from vtkSlicerModuleGUI.

Referenced by Exit().

void vtkCommandLineModuleGUI::RemoveGUIObservers ( void   )  [virtual]
void vtkCommandLineModuleGUI::RemoveLogicObservers (  )  [virtual]
void vtkCommandLineModuleGUI::RemoveMRMLNodeObservers (  )  [virtual]
void vtkCommandLineModuleGUI::SetCommandLineModuleNode ( vtkMRMLCommandLineModuleNode node  )  [virtual]
void vtkCommandLineModuleGUI::SetInMRMLCallbackFlag ( int  flag  )  [inline]

Reimplemented from vtkSlicerComponentGUI.

void vtkCommandLineModuleGUI::SetModuleDescription ( const ModuleDescription description  ) 
void vtkCommandLineModuleGUI::TearDownGUI ( void   )  [virtual]

Method in which references are released, called before Delete().

Reimplemented from vtkSlicerComponentGUI.

References vtkSlicerModuleGUI::Built, Exit(), and RemoveGUIObservers().

void vtkCommandLineModuleGUI::UpdateGUI (  )  [private]
void vtkCommandLineModuleGUI::UpdateMRML (  )  [private]
vtkCommandLineModuleGUI::vtkGetMacro ( InMRMLCallbackFlag  ,
int   
)

Reimplemented from vtkSlicerComponentGUI.

vtkCommandLineModuleGUI::vtkGetObjectMacro ( CommandLineModuleNode  ,
vtkMRMLCommandLineModuleNode   
)
vtkCommandLineModuleGUI::vtkGetObjectMacro ( Logic  ,
vtkCommandLineModuleLogic   
)
vtkCommandLineModuleGUI::vtkSetObjectMacro ( Logic  ,
vtkCommandLineModuleLogic   
)
vtkCommandLineModuleGUI::vtkTypeMacro ( vtkCommandLineModuleGUI  ,
vtkSlicerModuleGUI   
)

Member Data Documentation

Reimplemented from vtkSlicerComponentGUI.

Referenced by vtkCommandLineModuleGUI().


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

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1