24 #include <itkCommand.h> 29 this->
SetName(
"IGTLDeviceSource (2D Images)");
44 igtl::MessageBase::Pointer msgIn =
dynamic_cast<igtl::MessageBase*
>(
m_IGTLDevice->GetNextImage3dMessage().GetPointer());
45 if (msgIn.IsNotNull())
50 msgOut->
SetName(msgIn->GetDeviceName());
void SetMessage(igtl::MessageBase::Pointer msg)
Sets the OpenIGTLink message.
Connects a mitk::IGTLDevice to a MITK-OpenIGTLink-Message-Filter-Pipeline.
~IGTL3DImageDeviceSource() override
DataCollection - Class to facilitate loading/accessing structured data.
mitk::IGTLDevice::Pointer m_IGTLDevice
IGTL3DImageDeviceSource()
virtual void SetName(const char *_arg)
set the name of the IGTLMessage object
IGTLMessage * GetOutput(void)
return the output (output with id 0) of the filter
A wrapper for the OpenIGTLink message type.
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...
void GenerateData() override
filter execute method