Image Component Library (ICL)
Public Member Functions | List of all members
icl::qt::DrawHandle3D Class Reference

Handle class for image components. More...

#include <DrawHandle3D.h>

Inheritance diagram for icl::qt::DrawHandle3D:
icl::qt::GUIHandle< ICLDrawWidget3D > icl::qt::GUIHandleBase

Public Member Functions

 DrawHandle3D ()
 Create an empty handle. More...
 
 DrawHandle3D (ICLDrawWidget3D *w, GUIWidget *guiw)
 create a new ImageHandel More...
 
void setImage (const core::ImgBase *image)
 make the wrapped ICLWidget show a given image More...
 
void operator= (const core::ImgBase *image)
 make the wrapped ICLWidget show a given image (as set Image) More...
 
void render ()
 re-renders the widget More...
 
virtual void registerCallback (const GUI::Callback &cb, const std::string &events="all")
 passes callback registration to wrapped ICLWidget instance) More...
 
virtual void registerCallback (const GUI::ComplexCallback &, const std::string &)
 complex callbacks are not allowed for image-components (this method will throw an exception) More...
 
virtual void removeCallbacks ()
 passes callback registration to wrapped ICLWidget instance) More...
 
- Public Member Functions inherited from icl::qt::GUIHandle< ICLDrawWidget3D >
const ICLDrawWidget3Doperator * () const
 use the *-oprator to get the wrapped component (const) More...
 
ICLDrawWidget3D *& operator * ()
 use the *-oprator to get the wrapped component (unconst) More...
 
ICLDrawWidget3Doperator-> ()
 this can be used for direct access to wrapped type More...
 
const ICLDrawWidget3Doperator-> () const
 this can be used for direct access to wrapped type More...
 
bool isNull () const
 returns whether wrapped pointer is null or not More...
 
void enable ()
 enables the wrapped GUI component More...
 
void disable ()
 disables the wrapped GUI component More...
 
- Public Member Functions inherited from icl::qt::GUIHandleBase
virtual ~GUIHandleBase ()
 virtual destructor More...
 
GUIWidgetgetGUIWidget ()
 returns parent GUIWidget pointer More...
 
virtual void cb ()
 envokes all registered callbacks More...
 

Additional Inherited Members

- Protected Member Functions inherited from icl::qt::GUIHandle< ICLDrawWidget3D >
 GUIHandle ()
 as GUIHandle is just an interface, its base constructor is protected More...
 
 GUIHandle (ICLDrawWidget3D *t, GUIWidget *w)
 as GUIHandle is just an interface, its base constructor is protected More...
 
- Protected Member Functions inherited from icl::qt::GUIHandleBase
 GUIHandleBase (GUIWidget *w=0)
 create a new GUIHandleBase More...
 

Detailed Description

Handle class for image components.

Constructor & Destructor Documentation

◆ DrawHandle3D() [1/2]

icl::qt::DrawHandle3D::DrawHandle3D ( )
inline

Create an empty handle.

◆ DrawHandle3D() [2/2]

icl::qt::DrawHandle3D::DrawHandle3D ( ICLDrawWidget3D w,
GUIWidget guiw 
)
inline

create a new ImageHandel

Member Function Documentation

◆ operator=()

void icl::qt::DrawHandle3D::operator= ( const core::ImgBase image)
inline

make the wrapped ICLWidget show a given image (as set Image)

◆ registerCallback() [1/2]

virtual void icl::qt::DrawHandle3D::registerCallback ( const GUI::Callback cb,
const std::string &  events = "all" 
)
virtual

passes callback registration to wrapped ICLWidget instance)

Reimplemented from icl::qt::GUIHandleBase.

◆ registerCallback() [2/2]

virtual void icl::qt::DrawHandle3D::registerCallback ( const GUI::ComplexCallback ,
const std::string &   
)
inlinevirtual

complex callbacks are not allowed for image-components (this method will throw an exception)

Reimplemented from icl::qt::GUIHandleBase.

◆ removeCallbacks()

virtual void icl::qt::DrawHandle3D::removeCallbacks ( )
virtual

passes callback registration to wrapped ICLWidget instance)

Reimplemented from icl::qt::GUIHandleBase.

◆ render()

void icl::qt::DrawHandle3D::render ( )

re-renders the widget

◆ setImage()

void icl::qt::DrawHandle3D::setImage ( const core::ImgBase image)

make the wrapped ICLWidget show a given image


The documentation for this class was generated from the following file: