28 #include <itkCommand.h>
33 this->
SetName(
"IGTLDeviceSource (2D Images)");
42 if (m_IGTLDevice.IsNull())
49 if (msgIn.IsNotNull())
56 msgOut->
SetName(msgIn->GetDeviceName());
virtual ~IGTL2DImageDeviceSource()
itk::SmartPointer< Self > Pointer
void SetMessage(igtl::MessageBase::Pointer msg)
Sets the OpenIGTLink message.
Connects a mitk::IGTLDevice to a MITK-OpenIGTLink-Message-Filter-Pipeline.
DataCollection - Class to facilitate loading/accessing structured data.
virtual void SetName(const char *_arg)
set the name of the IGTLMessage object
IGTL2DImageDeviceSource()
A wrapper for the OpenIGTLink message type.
virtual void GenerateData() override
filter execute method
virtual void SetName(std::string _arg)
Sets the human readable name of this source. There is also a default name, but you can use this metho...