vtkOpenIGTLinkIFLogic Class Reference

#include <vtkOpenIGTLinkIFLogic.h>

Inheritance diagram for vtkOpenIGTLinkIFLogic:
vtkSlicerModuleLogic vtkSlicerLogic vtkObject

List of all members.

Classes

struct  IGTLMrmlNodeInfoType

Public Types

enum  { SLICE_DRIVER_USER = 0, SLICE_DRIVER_LOCATOR = 1, SLICE_DRIVER_RTIMAGE = 2 }
enum  { StatusUpdateEvent = 50001 }
typedef std::vector
< IGTLMrmlNodeInfoType
IGTLMrmlNodeListType
enum  ImageOrient { SLICE_RTIMAGE_NONE = 0, SLICE_RTIMAGE_PERP = 1, SLICE_RTIMAGE_INPLANE90 = 2, SLICE_RTIMAGE_INPLANE = 3 }
typedef std::vector
< vtkIGTLToMRMLBase * > 
MessageConverterListType

Public Member Functions

vtkMRMLModelNodeAddLocatorModel (const char *nodeName, double r, double g, double b)
void CheckSliceNode ()
int EnableLocatorDriver (int i)
vtkMRMLIGTLConnectorNodeGetConnector (const char *conID)
vtkIGTLToMRMLBaseGetConverter (unsigned int i)
vtkIGTLToMRMLBaseGetConverterByDeviceType (const char *deviceType)
void GetDeviceNamesFromMrml (IGTLMrmlNodeListType &list, const char *mrmlTagName)
void GetDeviceNamesFromMrml (IGTLMrmlNodeListType &list)
unsigned int GetNumberOfConverters ()
int GetSliceDriver (int index)
void ImportEvents ()
void ImportFromCircularBuffers ()
int Initialize ()
void PrintSelf (ostream &, vtkIndent)
void ProcCommand (const char *nodeName, int size, unsigned char *data)
void ProcessMRMLEvents (vtkObject *caller, unsigned long event, void *callData)
int RegisterMessageConverter (vtkIGTLToMRMLBase *converter)
int SetLocatorDriver (const char *nodeID)
int SetRealTimeImageSource (const char *nodeID)
int SetRestrictDeviceName (int f)
int SetSliceDriver (int index, int v)
vtkMRMLModelNodeSetVisibilityOfLocatorModel (const char *nodeName, int v)
int UnregisterMessageConverter (vtkIGTLToMRMLBase *converter)
void UpdateSliceNode (int sliceNodeNumber, vtkMatrix4x4 *transform)
void UpdateSliceNodeByImage (int sliceNodeNuber)
 vtkGetMacro (FreezePlane, bool)
 vtkGetMacro (EnableOblique, bool)
 vtkGetObjectMacro (LocatorTransformNode, vtkMRMLTransformNode)
 vtkGetObjectMacro (LocatorMatrix, vtkMatrix4x4)
 vtkGetObjectMacro (LocatorTransform, vtkTransform)
 vtkSetMacro (FreezePlane, bool)
 vtkSetMacro (EnableOblique, bool)
 vtkTypeRevisionMacro (vtkOpenIGTLinkIFLogic, vtkObject)

Static Public Member Functions

static vtkOpenIGTLinkIFLogicNew ()
 The Usual vtk class functions.

Protected Member Functions

void operator= (const vtkOpenIGTLinkIFLogic &)
void UpdateAll ()
void UpdateLocator ()
void UpdateSliceDisplay ()
 vtkOpenIGTLinkIFLogic (const vtkOpenIGTLinkIFLogic &)
 vtkOpenIGTLinkIFLogic ()
 ~vtkOpenIGTLinkIFLogic ()

Static Protected Member Functions

static void DataCallback (vtkObject *, unsigned long, void *, void *)

Protected Attributes

vtkCallbackCommandDataCallbackCommand

Private Attributes

bool EnableOblique
bool FreezePlane
vtkIGTLToMRMLImageImageConverter
int Initialized
vtkIGTLToMRMLLinearTransformLinearTransformConverter
int LocatorDriverFlag
std::string LocatorDriverNodeID
vtkMatrix4x4 * LocatorMatrix
vtkTransformLocatorTransform
vtkMRMLTransformNodeLocatorTransformNode
MessageConverterListType MessageConverterList
vtkIGTLToMRMLPositionPositionConverter
std::string RealTimeImageSourceNodeID
int RestrictDeviceName
int SliceDriver [3]
int SliceDriverConnectorID [3]
int SliceDriverDeviceID [3]
vtkMRMLSliceNodeSliceNode [3]
int SliceOrientation [3]

Member Typedef Documentation


Member Enumeration Documentation

anonymous enum
Enumerator:
SLICE_DRIVER_USER 
SLICE_DRIVER_LOCATOR 
SLICE_DRIVER_RTIMAGE 
anonymous enum
Enumerator:
StatusUpdateEvent 
Enumerator:
SLICE_RTIMAGE_NONE 
SLICE_RTIMAGE_PERP 
SLICE_RTIMAGE_INPLANE90 
SLICE_RTIMAGE_INPLANE 

Constructor & Destructor Documentation

vtkOpenIGTLinkIFLogic::vtkOpenIGTLinkIFLogic (  )  [protected]
vtkOpenIGTLinkIFLogic::~vtkOpenIGTLinkIFLogic (  )  [protected]
vtkOpenIGTLinkIFLogic::vtkOpenIGTLinkIFLogic ( const vtkOpenIGTLinkIFLogic  )  [protected]

Member Function Documentation

vtkMRMLModelNode * vtkOpenIGTLinkIFLogic::AddLocatorModel ( const char nodeName,
double  r,
double  g,
double  b 
)
void vtkOpenIGTLinkIFLogic::CheckSliceNode (  ) 

References SliceNode.

Referenced by UpdateSliceNode().

void vtkOpenIGTLinkIFLogic::DataCallback ( vtkObject caller,
unsigned long  eid,
void *  clientData,
void *  callData 
) [static, protected]

Referenced by vtkOpenIGTLinkIFLogic().

int vtkOpenIGTLinkIFLogic::EnableLocatorDriver ( int  i  ) 
vtkMRMLIGTLConnectorNode * vtkOpenIGTLinkIFLogic::GetConnector ( const char conID  ) 
vtkIGTLToMRMLBase * vtkOpenIGTLinkIFLogic::GetConverter ( unsigned int  i  ) 

References MessageConverterList.

vtkIGTLToMRMLBase * vtkOpenIGTLinkIFLogic::GetConverterByDeviceType ( const char deviceType  ) 
void vtkOpenIGTLinkIFLogic::GetDeviceNamesFromMrml ( IGTLMrmlNodeListType list,
const char mrmlTagName 
)
void vtkOpenIGTLinkIFLogic::GetDeviceNamesFromMrml ( IGTLMrmlNodeListType list  ) 
unsigned int vtkOpenIGTLinkIFLogic::GetNumberOfConverters (  ) 

References MessageConverterList.

int vtkOpenIGTLinkIFLogic::GetSliceDriver ( int  index  ) 

References SliceDriver.

void vtkOpenIGTLinkIFLogic::ImportEvents (  ) 
void vtkOpenIGTLinkIFLogic::ImportFromCircularBuffers (  ) 
int vtkOpenIGTLinkIFLogic::Initialize ( void   ) 

References Initialized, and New().

static vtkOpenIGTLinkIFLogic* vtkOpenIGTLinkIFLogic::New (  )  [static]
void vtkOpenIGTLinkIFLogic::operator= ( const vtkOpenIGTLinkIFLogic  )  [protected]

Reimplemented from vtkSlicerModuleLogic.

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

Reimplemented from vtkSlicerModuleLogic.

void vtkOpenIGTLinkIFLogic::ProcCommand ( const char nodeName,
int  size,
unsigned char data 
)
void vtkOpenIGTLinkIFLogic::ProcessMRMLEvents ( vtkObject caller,
unsigned long  event,
void *  callData 
) [virtual]
int vtkOpenIGTLinkIFLogic::RegisterMessageConverter ( vtkIGTLToMRMLBase converter  ) 
int vtkOpenIGTLinkIFLogic::SetLocatorDriver ( const char nodeID  ) 
int vtkOpenIGTLinkIFLogic::SetRealTimeImageSource ( const char nodeID  ) 
int vtkOpenIGTLinkIFLogic::SetRestrictDeviceName ( int  f  ) 

References RestrictDeviceName.

int vtkOpenIGTLinkIFLogic::SetSliceDriver ( int  index,
int  v 
)
vtkMRMLModelNode * vtkOpenIGTLinkIFLogic::SetVisibilityOfLocatorModel ( const char nodeName,
int  v 
)
int vtkOpenIGTLinkIFLogic::UnregisterMessageConverter ( vtkIGTLToMRMLBase converter  ) 
void vtkOpenIGTLinkIFLogic::UpdateAll (  )  [protected]
void vtkOpenIGTLinkIFLogic::UpdateLocator (  )  [protected]
void vtkOpenIGTLinkIFLogic::UpdateSliceDisplay (  )  [protected]
void vtkOpenIGTLinkIFLogic::UpdateSliceNode ( int  sliceNodeNumber,
vtkMatrix4x4 *  transform 
)
void vtkOpenIGTLinkIFLogic::UpdateSliceNodeByImage ( int  sliceNodeNuber  ) 
vtkOpenIGTLinkIFLogic::vtkGetMacro ( FreezePlane  ,
bool   
)
vtkOpenIGTLinkIFLogic::vtkGetMacro ( EnableOblique  ,
bool   
)
vtkOpenIGTLinkIFLogic::vtkGetObjectMacro ( LocatorTransformNode  ,
vtkMRMLTransformNode   
)

The selected transform node is observed for TransformModified events and the transform data is copied to the slice nodes depending on the current mode

vtkOpenIGTLinkIFLogic::vtkGetObjectMacro ( LocatorMatrix  ,
vtkMatrix4x4   
)
vtkOpenIGTLinkIFLogic::vtkGetObjectMacro ( LocatorTransform  ,
vtkTransform   
)
vtkOpenIGTLinkIFLogic::vtkSetMacro ( FreezePlane  ,
bool   
)
vtkOpenIGTLinkIFLogic::vtkSetMacro ( EnableOblique  ,
bool   
)
vtkOpenIGTLinkIFLogic::vtkTypeRevisionMacro ( vtkOpenIGTLinkIFLogic  ,
vtkObject   
)

Reimplemented from vtkSlicerLogic.


Member Data Documentation

vtkMatrix4x4* vtkOpenIGTLinkIFLogic::LocatorMatrix [private]

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

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1