Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ARToolKitVideoImage.h

Go to the documentation of this file.
00001 
00042 #ifndef _AMIRE_COMMON_AR_TOOL_KIT_VIDEO_IMAGE_H
00043 #define _AMIRE_COMMON_AR_TOOL_KIT_VIDEO_IMAGE_H
00044 
00045 #include <amire/common/Defines.h>
00046 
00047 #include <AR/param.h>
00048 
00049 #include <amire/common/ProjectionVideoImage.h>
00050 #include <amire/common/ARToolKit.h>
00051 #include <amire/common/FrameGrabber.h>
00052 
00053 namespace amire {
00054   namespace common {
00058     class ARToolKitVideoImage : public virtual ProjectionVideoImage {
00059     protected:
00063       ARParam cameraParam;
00064 
00068       osg::ref_ptr<FrameGrabber> frameGrabber;
00069 
00073       virtual void updateProjection();
00074 
00075     public:
00079       ARToolKitVideoImage(const osg::ref_ptr<FrameGrabber> &frameGrabber, const std::string &cameraParamName, double zNear = 10.0, double zFar = 5000.0);
00080 
00081       virtual ~ARToolKitVideoImage();
00082 
00086       virtual void doUpdate();
00087     };
00088   }
00089 }
00090 
00091 #endif

Generated on Tue May 20 17:23:52 2003 for AMIRE-Framework by doxygen1.3