vtkOpenIGTLinkIFGUI Class Reference

#include <vtkOpenIGTLinkIFGUI.h>

Inheritance diagram for vtkOpenIGTLinkIFGUI:
vtkSlicerModuleGUI vtkSlicerComponentGUI vtkKWObject

List of all members.

Classes

struct  IOConfigNodeInfoType

Public Types

enum  { SLICE_PLANE_RED = 0, SLICE_PLANE_YELLOW = 1, SLICE_PLANE_GREEN = 2 }
enum  { UPDATE_SELECTED_ONLY = 0, UPDATE_STATUS_ALL = 1, UPDATE_PROPERTY_ALL = 2, UPDATE_ALL = 3 }
enum  { NODE_NONE = 0, NODE_CONNECTOR = 1, NODE_IO = 2, NODE_DEVICE = 3 }
typedef std::list
< IOConfigNodeInfoType
IOConfigNodeInfoListType

Public Member Functions

virtual void AddGUIObservers ()
void AddLogicObservers ()
virtual void AddNodeCallback (const char *conID, int io, const char *nodeID, const char *devType)
virtual void BuildGUI ()
virtual void DeleteNodeCallback (const char *conID, int io, const char *nodeID)
virtual void Enter ()
virtual void Exit ()
virtual void ExportDataToIGTLCallback (const char *conID, const char *nodeID)
const charGetCategory () const
void HandleMouseEvent (vtkSlicerInteractorStyle *style)
void Init ()
 Implemented module initialization if needed.
virtual void OpenRemoteDataListWindow (const char *conID)
virtual void OpenTrackingDataControllerWindow (const char *conID)
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)
void ProcessTimerEvents ()
virtual void RemoveGUIObservers ()
void RemoveLogicObservers ()
void SetModuleLogic (vtkSlicerLogic *logic)
void UpdateAll ()
 vtkGetObjectMacro (FiducialListNode, vtkMRMLFiducialListNode)
 vtkGetObjectMacro (Logic, vtkOpenIGTLinkIFLogic)
 vtkGetStringMacro (FiducialListNodeID)
 vtkSetObjectMacro (FiducialListNode, vtkMRMLFiducialListNode)
 vtkSetStringMacro (FiducialListNodeID)
 vtkTypeRevisionMacro (vtkOpenIGTLinkIFGUI, vtkSlicerModuleGUI)

Static Public Member Functions

static void DataCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData)
static vtkOpenIGTLinkIFGUINew ()
 The usual vtk class functions.

Static Public Attributes

static const charConnectorStatusStr [vtkMRMLIGTLConnectorNode::NUM_STATE]
static const charConnectorTypeStr [vtkMRMLIGTLConnectorNode::NUM_TYPE]

Protected Member Functions

 vtkOpenIGTLinkIFGUI ()
virtual ~vtkOpenIGTLinkIFGUI ()

Private Member Functions

void AddIOConfigContextMenuItem (int type, const char *conID, int io, const char *nodeID)
void BuildGUIForConnectorBrowserFrame ()
void BuildGUIForDeviceFrame ()
void BuildGUIForHelpFrame ()
void BuildGUIForIOConfig ()
void BuildGUIForVisualizationControlFrame ()
void BuildGUIForWizardFrame ()
void ChangeSlicePlaneDriver (int slice, const char *driver)
vtkMRMLIGTLConnectorNodeGetConnector (const char *nodeID)
void IOConfigTreeContextMenu (const char *callData)
int IsIOConfigTreeLeafSelected (const char *callData, std::string &conID, int *io, std::string &nodeID)
void operator= (const vtkOpenIGTLinkIFGUI &)
 Not implemented.
void UpdateConnectorList (int updateLevel)
void UpdateConnectorNodeList ()
void UpdateConnectorPropertyFrame (int i)
void UpdateDriverPanel ()
void UpdateIOConfigTree ()
 vtkOpenIGTLinkIFGUI (const vtkOpenIGTLinkIFGUI &)

Private Attributes

vtkKWPushButtonAddConnectorButton
vtkKWRadioButtonSetWithLabel * CheckCRCButtonSet
int CloseScene
vtkKWEntry * ConnectorAddressEntry
vtkKWMultiColumnListWithScrollbars * ConnectorList
vtkKWEntry * ConnectorNameEntry
std::vector< std::string > ConnectorNodeList
vtkKWEntry * ConnectorPortEntry
vtkKWCheckButton * ConnectorStatusCheckButton
vtkKWRadioButtonSet * ConnectorTypeButtonSet
vtkOpenIGTLinkIFLogic::IGTLMrmlNodeListType CurrentNodeListAvailable
vtkOpenIGTLinkIFLogic::IGTLMrmlNodeListType CurrentNodeListSelected
vtkCallbackCommandDataCallbackCommand
vtkIGTDataManagerDataManager
vtkKWPushButtonDeleteConnectorButton
vtkKWCheckButton * EnableAdvancedSettingButton
vtkMRMLFiducialListNodeFiducialListNode
charFiducialListNodeID
vtkKWCheckButton * FreezeImageCheckButton
vtkKWMenuButton * GreenSliceMenu
vtkSlicerNodeSelectorWidgetImageSourceSelectorWidget
vtkKWCheckButton * ImagingControlCheckButton
vtkKWMenuButton * ImagingMenu
vtkKWMenu * IOConfigContextMenu
vtkKWTreeWithScrollbars * IOConfigTree
IOConfigNodeInfoListType IOConfigTreeConnectorList
IOConfigNodeInfoListType IOConfigTreeIOList
IOConfigNodeInfoListType IOConfigTreeNodeList
bool IsSliceOrientationAdded
vtkKWCheckButton * LocatorCheckButton
vtkOpenIGTLinkIFLogic::IGTLMrmlNodeListType LocatorSourceList
vtkSlicerNodeSelectorWidgetLocatorSourceSelectorWidget
vtkOpenIGTLinkIFLogicLogic
vtkKWMultiColumnListWithScrollbars * MrmlNodeList
vtkKWCheckButton * ObliqueCheckButton
vtkOpenIGTLinkIFLogic::IGTLMrmlNodeListType RealTimeImageSourceList
vtkKWMenuButton * RedSliceMenu
vtkKWPushButtonSetLocatorModeButton
vtkKWPushButtonSetUserModeButton
vtkMRMLSliceNodeSliceNode0
vtkMRMLSliceNodeSliceNode1
vtkMRMLSliceNodeSliceNode2
int TimerFlag
int TimerInterval
vtkTimerLog * TimerLog
int UpdateConnectorListFlag
int UpdateConnectorPropertyFrameFlag
int UpdateIOConfigTreeFlag
vtkKWMenuButton * YellowSliceMenu

Member Typedef Documentation


Member Enumeration Documentation

anonymous enum
Enumerator:
SLICE_PLANE_RED 
SLICE_PLANE_YELLOW 
SLICE_PLANE_GREEN 
anonymous enum
Enumerator:
UPDATE_SELECTED_ONLY 
UPDATE_STATUS_ALL 
UPDATE_PROPERTY_ALL 
UPDATE_ALL 
anonymous enum
Enumerator:
NODE_NONE 
NODE_CONNECTOR 
NODE_IO 
NODE_DEVICE 

Constructor & Destructor Documentation

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

Member Function Documentation

void vtkOpenIGTLinkIFGUI::AddGUIObservers ( void   )  [virtual]
void vtkOpenIGTLinkIFGUI::AddIOConfigContextMenuItem ( int  type,
const char conID,
int  io,
const char nodeID 
) [private]
void vtkOpenIGTLinkIFGUI::AddLogicObservers (  ) 
void vtkOpenIGTLinkIFGUI::AddNodeCallback ( const char conID,
int  io,
const char nodeID,
const char devType 
) [virtual]
void vtkOpenIGTLinkIFGUI::BuildGUI ( void   )  [virtual]
void vtkOpenIGTLinkIFGUI::BuildGUIForConnectorBrowserFrame (  )  [private]
void vtkOpenIGTLinkIFGUI::BuildGUIForDeviceFrame (  )  [private]
void vtkOpenIGTLinkIFGUI::BuildGUIForHelpFrame (  )  [private]
void vtkOpenIGTLinkIFGUI::BuildGUIForIOConfig (  )  [private]
void vtkOpenIGTLinkIFGUI::BuildGUIForVisualizationControlFrame (  )  [private]
void vtkOpenIGTLinkIFGUI::BuildGUIForWizardFrame (  )  [private]
void vtkOpenIGTLinkIFGUI::ChangeSlicePlaneDriver ( int  slice,
const char driver 
) [private]
static void vtkOpenIGTLinkIFGUI::DataCallback ( vtkObject caller,
unsigned long  eid,
void *  clientData,
void *  callData 
) [static]

Referenced by vtkOpenIGTLinkIFGUI().

void vtkOpenIGTLinkIFGUI::DeleteNodeCallback ( const char conID,
int  io,
const char nodeID 
) [virtual]
void vtkOpenIGTLinkIFGUI::Enter ( void   )  [virtual]

functions that define and undefine module-specific behaviors.

Reimplemented from vtkSlicerComponentGUI.

References vtkSlicerApplicationGUI::GetMainSliceGUI(), ProcessTimerEvents(), SliceNode0, SliceNode1, SliceNode2, TimerFlag, TimerInterval, UPDATE_ALL, and UpdateConnectorList().

Referenced by vtkMRMLTransPerinealProstateTemplateNode::Init(), and vtkMRMLTransPerinealProstateRobotNode::Init().

void vtkOpenIGTLinkIFGUI::Exit ( void   )  [virtual]

Reimplemented from vtkSlicerComponentGUI.

void vtkOpenIGTLinkIFGUI::ExportDataToIGTLCallback ( const char conID,
const char nodeID 
) [virtual]
const char* vtkOpenIGTLinkIFGUI::GetCategory (  )  const [inline, virtual]

Reimplemented from vtkSlicerModuleGUI.

vtkMRMLIGTLConnectorNode * vtkOpenIGTLinkIFGUI::GetConnector ( const char nodeID  )  [private]
void vtkOpenIGTLinkIFGUI::HandleMouseEvent ( vtkSlicerInteractorStyle style  ) 
void vtkOpenIGTLinkIFGUI::Init (  )  [virtual]

Implemented module initialization if needed.

Reimplemented from vtkSlicerModuleGUI.

References New(), and vtkMRMLScene::RegisterNodeClass().

void vtkOpenIGTLinkIFGUI::IOConfigTreeContextMenu ( const char callData  )  [private]
int vtkOpenIGTLinkIFGUI::IsIOConfigTreeLeafSelected ( const char callData,
std::string &  conID,
int io,
std::string &  nodeID 
) [private]
static vtkOpenIGTLinkIFGUI* vtkOpenIGTLinkIFGUI::New (  )  [static]
void vtkOpenIGTLinkIFGUI::OpenRemoteDataListWindow ( const char conID  )  [virtual]
void vtkOpenIGTLinkIFGUI::OpenTrackingDataControllerWindow ( const char conID  )  [virtual]
void vtkOpenIGTLinkIFGUI::operator= ( const vtkOpenIGTLinkIFGUI  )  [private]

Not implemented.

Reimplemented from vtkSlicerModuleGUI.

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

Reimplemented from vtkSlicerModuleGUI.

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

propagate events generated in logic layer to GUI

Reimplemented from vtkSlicerModuleGUI.

void vtkOpenIGTLinkIFGUI::ProcessMRMLEvents ( vtkObject ,
unsigned long  ,
void *   
) [virtual]
void vtkOpenIGTLinkIFGUI::ProcessTimerEvents (  ) 
void vtkOpenIGTLinkIFGUI::RemoveGUIObservers ( void   )  [virtual]
void vtkOpenIGTLinkIFGUI::RemoveLogicObservers (  ) 
void vtkOpenIGTLinkIFGUI::SetModuleLogic ( vtkSlicerLogic  )  [inline, virtual]

Set the module logic

Reimplemented from vtkSlicerModuleGUI.

References vtkSlicerComponentGUI::SetLogic(), and vtkObjectPointer.

Referenced by ~vtkOpenIGTLinkIFGUI().

void vtkOpenIGTLinkIFGUI::UpdateAll (  ) 
void vtkOpenIGTLinkIFGUI::UpdateConnectorList ( int  updateLevel  )  [private]
void vtkOpenIGTLinkIFGUI::UpdateConnectorNodeList (  )  [private]
void vtkOpenIGTLinkIFGUI::UpdateConnectorPropertyFrame ( int  i  )  [private]
void vtkOpenIGTLinkIFGUI::UpdateDriverPanel (  )  [private]
void vtkOpenIGTLinkIFGUI::UpdateIOConfigTree (  )  [private]
vtkOpenIGTLinkIFGUI::vtkGetObjectMacro ( FiducialListNode  ,
vtkMRMLFiducialListNode   
)
vtkOpenIGTLinkIFGUI::vtkGetObjectMacro ( Logic  ,
vtkOpenIGTLinkIFLogic   
)
vtkOpenIGTLinkIFGUI::vtkGetStringMacro ( FiducialListNodeID   ) 
vtkOpenIGTLinkIFGUI::vtkSetObjectMacro ( FiducialListNode  ,
vtkMRMLFiducialListNode   
)
vtkOpenIGTLinkIFGUI::vtkSetStringMacro ( FiducialListNodeID   ) 
vtkOpenIGTLinkIFGUI::vtkTypeRevisionMacro ( vtkOpenIGTLinkIFGUI  ,
vtkSlicerModuleGUI   
)

Member Data Documentation

vtkKWRadioButtonSetWithLabel* vtkOpenIGTLinkIFGUI::CheckCRCButtonSet [private]
vtkKWMultiColumnListWithScrollbars* vtkOpenIGTLinkIFGUI::ConnectorList [private]
std::vector<std::string> vtkOpenIGTLinkIFGUI::ConnectorNodeList [private]
Initial value:
 
{
  "OFF",       
  "WAIT",      
  "ON",        
}

Referenced by UpdateConnectorList().

vtkKWRadioButtonSet* vtkOpenIGTLinkIFGUI::ConnectorTypeButtonSet [private]
Initial value:
 
{
  "?", 
  "S", 
  "C", 
}

Referenced by UpdateConnectorList().

Referenced by vtkOpenIGTLinkIFGUI().

vtkKWCheckButton* vtkOpenIGTLinkIFGUI::FreezeImageCheckButton [private]
vtkKWMenuButton* vtkOpenIGTLinkIFGUI::GreenSliceMenu [private]
vtkKWMenuButton* vtkOpenIGTLinkIFGUI::ImagingMenu [private]
vtkKWTreeWithScrollbars* vtkOpenIGTLinkIFGUI::IOConfigTree [private]

Referenced by ~vtkOpenIGTLinkIFGUI().

vtkKWCheckButton* vtkOpenIGTLinkIFGUI::LocatorCheckButton [private]
vtkKWMultiColumnListWithScrollbars* vtkOpenIGTLinkIFGUI::MrmlNodeList [private]
vtkKWCheckButton* vtkOpenIGTLinkIFGUI::ObliqueCheckButton [private]
vtkKWMenuButton* vtkOpenIGTLinkIFGUI::RedSliceMenu [private]

Referenced by Enter(), and ProcessTimerEvents().

vtkTimerLog* vtkOpenIGTLinkIFGUI::TimerLog [private]
vtkKWMenuButton* vtkOpenIGTLinkIFGUI::YellowSliceMenu [private]

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

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1