ImagePainter.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002  *  ImagePainter.h
00003  *
00004  *  (C) 2007 AG Aktives Sehen <agas@uni-koblenz.de>
00005  *           Universitaet Koblenz-Landau
00006  *
00007  *  Additional information:
00008  *  $Id: $
00009  *******************************************************************************/
00010 
00011 #ifndef ImagePainter_H
00012 #define ImagePainter_H
00013 
00014 #include "PainterPlugin.h"
00015 
00016 #include "Workers/ImageSources/ImageSources.h"
00017 #include "Workers/VectorGraphics/VectorObject2D.h"
00018 #include "Workers/BaseLib/Mat.h"
00019 #include "GUI/Widgets/GLImageWidget/GLImagePainter.h"
00020 
00021 #include "Workers/Puma2/ColorImageRGB8.h"
00022 
00023 #include <map>
00024 #include <string>
00025 
00026 
00032 class ImagePainter: public PainterPlugin
00033 {
00034   Q_OBJECT
00035 
00036   public:
00037 
00039     ImagePainter();
00040 
00042     ~ImagePainter();
00043 
00045     virtual void paint ( float next2DLayer );
00046 
00047   public slots:
00048 
00050     virtual void processMessage ( Message* newMessage );
00051 
00053     virtual void nodeSelected( std::string nodeName );
00054 
00055   private:
00056 
00057     BaseLib::Math::Mat4d m_ImageToWorld;
00058 
00059     std::map<std::string, ImageSources::SourceId> m_ImageSources;
00060 
00061     std::list< VectorObject2D > m_VectorObjects;
00062 
00063     string m_NodeName;
00064 
00065     GLImagePainter m_GLImagePainter;
00066 };
00067 
00068 #endif


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:43