00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __igstkOpenIGTLinkVideoImagerTool_h
00019 #define __igstkOpenIGTLinkVideoImagerTool_h
00020
00021 #include "igstkVideoImagerTool.h"
00022
00023
00024 namespace igstk
00025 {
00026
00027 class OpenIGTLinkVideoImager;
00028
00041 class OpenIGTLinkVideoImagerTool : public VideoImagerTool
00042 {
00043 public:
00044
00046 igstkStandardClassTraitsMacro( OpenIGTLinkVideoImagerTool, VideoImagerTool )
00047
00048
00049 igstkGetStringMacro( VideoImagerToolName );
00050
00052 void RequestSetVideoImagerToolName( const std::string &);
00053
00054 protected:
00055
00056 OpenIGTLinkVideoImagerTool();
00057 virtual ~OpenIGTLinkVideoImagerTool();
00058
00060 virtual void PrintSelf( std::ostream& os, ::itk::Indent indent ) const;
00061
00062 private:
00063 OpenIGTLinkVideoImagerTool(const Self&);
00064 void operator=(const Self&);
00065
00067 igstkDeclareStateMacro( Idle );
00068 igstkDeclareStateMacro( VideoImagerToolNameSpecified );
00069
00071 igstkDeclareInputMacro( ValidVideoImagerToolName );
00072 igstkDeclareInputMacro( InValidVideoImagerToolName );
00073
00076 virtual bool CheckIfVideoImagerToolIsConfigured() const;
00077
00079 void ReportInvalidVideoImagerToolNameSpecifiedProcessing( );
00080
00082 void ReportInvalidRequestProcessing();
00083
00085 void SetVideoImagerToolNameProcessing();
00086
00087 std::string m_VideoImagerToolName;
00088 std::string m_VideoImagerToolNameToBeSet;
00089
00090 bool m_VideoImagerToolConfigured;
00091
00092 };
00093
00094 }
00095
00096
00097 #endif // __igstk_OpenIGTLinkVideoImagerTool_h_