Basic Image AlgorithmS Library
2.8.0
|
callback interface for ImageCanvasExtended More...
#include <Gui/ImageCanvasRectangularSelection.hh>
Public Member Functions | |
ICECallbackInterface () | |
virtual void | RectangleSelected (int tl[2], int br[2]) |
this function should be overloaded More... | |
virtual | ~ICECallbackInterface () |
callback interface for ImageCanvasExtended
instructions: derive your class e.g. MyFrame from ICECallBackInterface and override the method RectangleSelected(...)to react to a finished selection of a rectangle
also declare a pointer to ImageCanvas Enhanced, e.g. ImageCanvasRectangularSelection *_ic;
to select a rectangle then call _ic->SelectRectangle(*this); where *this is a reference to a ICECallBackInterface (if your class is derived from ICECallBackInterface this is *this)
Definition at line 28 of file ImageCanvasRectangularSelection.hh.
ICECallbackInterface::ICECallbackInterface | ( | ) |
Definition at line 9 of file ImageCanvasRectangularSelection.cpp.
|
virtual |
Definition at line 13 of file ImageCanvasRectangularSelection.cpp.
|
virtual |
this function should be overloaded
Definition at line 18 of file ImageCanvasRectangularSelection.cpp.