|
| | mitkClassMacro (IGTL3DImageDeviceSource, IGTLDeviceSource) |
| |
| | itkFactorylessNewMacro (Self) |
| |
| | itkCloneMacro (Self) |
| |
| | mitkClassMacro (IGTLDeviceSource, IGTLMessageSource) |
| |
| | itkFactorylessNewMacro (Self) |
| |
| | itkCloneMacro (Self) |
| |
| virtual void | SetIGTLDevice (mitk::IGTLDevice *td) |
| | sets the OpenIGTLink device that will be used as a data source
|
| |
| | itkGetObjectMacro (IGTLDevice, mitk::IGTLDevice) |
| | returns the OpenIGTLink device that is used by this filter
|
| |
| void | RegisterAsMicroservice () override |
| | Registers this object as a Microservice, making it available to every module and/or plugin. To unregister, call UnregisterMicroservice().
|
| |
| void | Connect () |
| | Establishes a connection to the OpenIGTLink device. If there is already a connection the method does nothing.
|
| |
| void | Disconnect () |
| | Closes the connection to the OpenIGTLink device.
|
| |
| void | StartCommunication () |
| | starts the communication of the device. This needs to be called before Update() or GetOutput()->Update(). If the device is already communicating the method does nothing.
|
| |
| void | StopCommunication () |
| | stops the communication of the device.
|
| |
| virtual bool | IsConnected () |
| | returns true if a connection to the OpenIGTLink device is established
|
| |
| virtual bool | IsCommunicating () |
| | returns true if communication is in progress
|
| |
| void | UpdateOutputInformation () override |
| | Used for pipeline update.
|
| |
| | mitkClassMacroItkParent (IGTLMessageSource, itk::ProcessObject) |
| |
| | itkGetMacro (Name, std::string) |
| |
| | itkSetMacro (Name, std::string) |
| | Sets the human readable name of this source. There is also a default name, but you can use this method if you need to define it on your own.
|
| |
| | itkGetMacro (Type, std::string) |
| |
| | itkSetMacro (Type, std::string) |
| | Sets the human readable type of this source. There will be a default type, or you can set the name with the method SetType(). You have to set this parameter otherwise it will not be found by the message provider.
|
| |
| IGTLMessage * | GetOutput (void) |
| | return the output (output with id 0) of the filter
|
| |
| IGTLMessage * | GetOutput (DataObjectPointerArraySizeType idx) |
| | return the output with id idx of the filter
|
| |
| IGTLMessage * | GetOutput (const std::string &messageName) |
| | return the output with name messageName of the filter
|
| |
| DataObjectPointerArraySizeType | GetOutputIndex (std::string messageName) |
| | return the index of the output with name messageName, -1 if no output with that name was found
|
| |
| virtual void | UnRegisterMicroservice () |
| | Registers this object as a Microservice, making it available to every module and/or plugin.
|
| |
| std::string | GetMicroserviceID () |
| | Returns the id that this device is registered with. The id will only be valid, if the IGTLMessageSource has been registered using RegisterAsMicroservice().
|
| |
| virtual void | GraftNthOutput (unsigned int idx, itk::DataObject *graft) |
| | Graft the specified DataObject onto this ProcessObject's output.
|
| |
| virtual void | GraftOutput (itk::DataObject *graft) |
| | Graft the specified DataObject onto this ProcessObject's output.
|
| |
| itk::DataObject::Pointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
| |
| itk::DataObject::Pointer | MakeOutput (const DataObjectIdentifierType &name) override |
| |
| virtual void | SetParameters (const mitk::PropertyList *) |
| | Set all filter parameters as the PropertyList p.
|
| |
| virtual mitk::PropertyList::ConstPointer | GetParameters () const |
| | Get all filter parameters as a PropertyList.
|
| |
| void | SetFPS (unsigned int fps) |
| | Sets the fps used for streaming this source.
|
| |
| unsigned int | GetFPS () |
| | Gets the fps used for streaming this source.
|
| |
Connects a mitk::IGTLDevice to a MITK-OpenIGTLink-Message-Filter-Pipeline.
This class is the source of most OpenIGTLink pipelines. It encapsulates a mitk::IGTLDevice and provides the information/messages of the connected OpenIGTLink devices as igtl::MessageBase objects. Note, that there is just one single output.
Definition at line 29 of file mitkIGTL3DImageDeviceSource.h.