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

Handle class for disp components. More...

#include <DispHandle.h>

Inheritance diagram for icl::qt::DispHandle:
icl::qt::GUIHandle< LabelMatrix > icl::qt::GUIHandleBase

Public Member Functions

 DispHandle ()
 create an empty handle More...
 
 DispHandle (LabelMatrix *lm, GUIWidget *w)
 Create a new DispHandle with given. More...
 
LabelHandleoperator() (int x, int y)
 index access operator More...
 
const LabelHandleoperator() (int x, int y) const
 index access operator (const) More...
 
int getWidth () const
 width of the matrix (max x index is w()-1 More...
 
int getHeight () const
 height of the matrix (max y index is h()-1 More...
 
int getDim () const
 returns the number of matrix elements w*h More...
 
void enable ()
 enables all components More...
 
void disable ()
 disables all components More...
 
- Public Member Functions inherited from icl::qt::GUIHandle< LabelMatrix >
const LabelMatrixoperator * () const
 use the *-oprator to get the wrapped component (const) More...
 
LabelMatrix *& operator * ()
 use the *-oprator to get the wrapped component (unconst) More...
 
LabelMatrixoperator-> ()
 this can be used for direct access to wrapped type More...
 
const LabelMatrixoperator-> () 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 registerCallback (const GUI::Callback &cb, const std::string &events="all")
 registers a callback on this gui widget More...
 
virtual void registerCallback (const GUI::ComplexCallback &cb, const std::string &events="all")
 registers a complex callback on this gui component More...
 
virtual void removeCallbacks ()
 removes all callbacks from parent GUIWidget component More...
 
virtual void cb ()
 envokes all registered callbacks More...
 

Additional Inherited Members

- Protected Member Functions inherited from icl::qt::GUIHandle< LabelMatrix >
 GUIHandle ()
 as GUIHandle is just an interface, its base constructor is protected More...
 
 GUIHandle (LabelMatrix *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 disp components.

Constructor & Destructor Documentation

◆ DispHandle() [1/2]

icl::qt::DispHandle::DispHandle ( )
inline

create an empty handle

◆ DispHandle() [2/2]

icl::qt::DispHandle::DispHandle ( LabelMatrix lm,
GUIWidget w 
)
inline

Create a new DispHandle with given.

Member Function Documentation

◆ disable()

void icl::qt::DispHandle::disable ( )
inline

disables all components

◆ enable()

void icl::qt::DispHandle::enable ( )
inline

enables all components

◆ getDim()

int icl::qt::DispHandle::getDim ( ) const
inline

returns the number of matrix elements w*h

◆ getHeight()

int icl::qt::DispHandle::getHeight ( ) const
inline

height of the matrix (max y index is h()-1

◆ getWidth()

int icl::qt::DispHandle::getWidth ( ) const
inline

width of the matrix (max x index is w()-1

◆ operator()() [1/2]

LabelHandle& icl::qt::DispHandle::operator() ( int  x,
int  y 
)
inline

index access operator

◆ operator()() [2/2]

const LabelHandle& icl::qt::DispHandle::operator() ( int  x,
int  y 
) const
inline

index access operator (const)


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