Image Component Library (ICL)
|
Handle class for disp components. More...
#include <DispHandle.h>
Public Member Functions | |
DispHandle () | |
create an empty handle | |
DispHandle (LabelMatrix *lm, GUIWidget *w) | |
Create a new DispHandle with given. | |
LabelHandle & | operator() (int x, int y) |
index access operator | |
const LabelHandle & | operator() (int x, int y) const |
index access operator (const) | |
int | getWidth () const |
width of the matrix (max x index is w()-1 | |
int | getHeight () const |
height of the matrix (max y index is h()-1 | |
int | getDim () const |
returns the number of matrix elements w*h | |
void | enable () |
enables all components | |
void | disable () |
disables all components |
Handle class for disp components.
icl::qt::DispHandle::DispHandle | ( | ) | [inline] |
create an empty handle
icl::qt::DispHandle::DispHandle | ( | LabelMatrix * | lm, |
GUIWidget * | w | ||
) | [inline] |
Create a new DispHandle with given.
void icl::qt::DispHandle::disable | ( | ) | [inline] |
disables all components
Reimplemented from icl::qt::GUIHandle< LabelMatrix >.
void icl::qt::DispHandle::enable | ( | ) | [inline] |
enables all components
Reimplemented from icl::qt::GUIHandle< LabelMatrix >.
int icl::qt::DispHandle::getDim | ( | ) | const [inline] |
returns the number of matrix elements w*h
int icl::qt::DispHandle::getHeight | ( | ) | const [inline] |
height of the matrix (max y index is h()-1
int icl::qt::DispHandle::getWidth | ( | ) | const [inline] |
width of the matrix (max x index is w()-1
LabelHandle& icl::qt::DispHandle::operator() | ( | int | x, |
int | y | ||
) | [inline] |
index access operator
const LabelHandle& icl::qt::DispHandle::operator() | ( | int | x, |
int | y | ||
) | const [inline] |
index access operator (const)