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