12 #ifndef CX_NETWORKHANDLER_H_ 13 #define CX_NETWORKHANDLER_H_ 15 #include "org_custusx_core_openigtlink3_Export.h" 16 #include "igtlioLogic.h" 17 #include "igtlioSession.h" 24 #include "ctkVTKObject.h" 40 igtlio::SessionPointer requestConnectToServer(std::string serverHost,
int serverPort=-1, igtlio::SYNCHRONIZATION_TYPE sync=igtlio::BLOCKING,
double timeout_s=5);
41 void disconnectFromServer();
49 void commandRespons(QString devicename, QString xml);
50 void string_message(QString message);
56 void onConnectionEvent(vtkObject* caller,
void* connector,
unsigned long event,
void*);
57 void onDeviceAddedOrRemoved(vtkObject* caller,
void* connector,
unsigned long event,
void*callData);
58 void onDeviceReceived(vtkObject * caller_device,
void * unknown,
unsigned long event,
void *);
59 void periodicProcess();
62 void connectToConnectionEvents();
63 void connectToDeviceEvents();
65 igtlio::LogicPointer mLogic;
66 igtlio::SessionPointer mSession;
DoubleBoundingBox3D transform(const Transform3D &m, const DoubleBoundingBox3D &bb)
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class Image > ImagePtr
boost::shared_ptr< class NetworkHandler > NetworkHandlerPtr
boost::shared_ptr< class ProbeDefinitionFromStringMessages > ProbeDefinitionFromStringMessagesPtr
boost::shared_ptr< class ProbeDefinition > ProbeDefinitionPtr
Namespace for all CustusX production code.