#ifndef ICL_DRAW_HANDLE_3D_H #define ICL_DRAW_HANDLE_3D_H #include namespace icl{ /** \cond */ class ICLDrawWidget3D; class ImgBase; /** \endcond */ /// Handle class for image components \ingroup HANDLES class DrawHandle3D : public GUIHandle{ public: /// Create an empty handle DrawHandle3D(){} /// create a new ImageHandel DrawHandle3D(ICLDrawWidget3D *w, GUIWidget *guiw):GUIHandle(w,guiw){} /// make the wrapped ICLWidget show a given image void setImage(const ImgBase *image); /// make the wrapped ICLWidget show a given image (as set Image) void operator=(const ImgBase *image) { setImage(image); } /// calles updated internally void update(); /// passes callback registration to wrapped ICLWidget instance) virtual void registerCallback(GUI::CallbackPtr cb, const std::string &events="all"); /// passes callback registration to wrapped ICLWidget instance) virtual void removeCallbacks(); }; } #endif