18 #ifndef __igstkOpenIGTLinkVideoImager_h
19 #define __igstkOpenIGTLinkVideoImager_h
22 #pragma warning ( disable : 4018 )
25 #pragma warning( disable : 4284 )
30 #include "igtlServerSocket.h"
31 #include "igtlImageMessage.h"
53 typedef igtl::ServerSocket CommunicationType;
57 void SetCommunication( CommunicationType *communication );
99 virtual void PrintSelf( std::ostream& os, itk::Indent indent )
const;
112 void operator=(
const Self&);
119 itk::MutexLock::Pointer m_BufferLock;
122 typedef std::map< std::string, igstk::Frame* >
123 VideoImagerToolFrameContainerType;
125 VideoImagerToolFrameContainerType m_ToolFrameBuffer;
128 std::map< std::string, int > m_ToolStatusContainer;
131 CommunicationType::Pointer m_Communication;
132 igtl::MessageHeader::Pointer m_HeaderMsg;
133 igtl::ImageMessage::Pointer m_ImgMsg;
134 igtl::Socket::Pointer m_Socket;
139 #endif //__igstk_OpenIGTLinkVideoImager_h_
igstkStandardAbstractClassTraitsMacro(VideoImager, Object) public typedef VideoImagerTool VideoImagerToolType
Macro with standard traits declarations.
VideoImager::ResultType ResultType
Typedef for internal boolean return type.
virtual ResultType AddVideoImagerToolToInternalDataContainers(const VideoImagerToolType *imagerTool)
Add imager tool entry from internal containers.
virtual ResultType RemoveVideoImagerToolFromInternalDataContainers(const VideoImagerToolType *imagerTool)
Remove imager tool entry from internal containers.
Base class for all the IGSTK classes.
virtual ~OpenIGTLinkVideoImager(void)
#define igstkStandardClassTraitsMacro(classname, superclassname)
Convenience macro for traits of a non-templated class.
virtual ResultType VerifyVideoImagerToolInformation(const VideoImagerToolType *)
Verify imager tool information.
virtual ResultType InternalThreadedUpdateStatus(void)
Update the status and the transforms.
virtual ResultType InternalClose(void)
Close communication with the tracking device.
virtual ResultType InternalStopImaging(void)
Take the tracking device out of tracking mode.
virtual void PrintSelf(std::ostream &os, itk::Indent indent) const
Print object information.
virtual ResultType InternalStartImaging(void)
Put the tracking device into tracking mode.
virtual ResultType InternalUpdateStatus(void)
Update the status and the transforms for all VideoImagerTools.
virtual ResultType InternalReset(void)
Reset the tracking device to put it back to its original state.
virtual ResultType InternalOpen(void)
Open communication with the tracking device.
This imager provides support for socket communication (using the Open IGTLink protocol) to the OpenIG...
Abstract superclass for concrete IGSTK VideoImager classes.
virtual ResultType ValidateSpecifiedFrequency(double frequencyInHz)
The "ValidateSpecifiedFrequency" method checks if the specified frequency is valid for the tracking d...
OpenIGTLinkVideoImager(void)