Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
BIAS::ICECallbackInterface Class Reference

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 ()
 

Detailed Description

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)

Author
woelk 08/2004

Definition at line 28 of file ImageCanvasRectangularSelection.hh.

Constructor & Destructor Documentation

ICECallbackInterface::ICECallbackInterface ( )

Definition at line 9 of file ImageCanvasRectangularSelection.cpp.

ICECallbackInterface::~ICECallbackInterface ( )
virtual

Definition at line 13 of file ImageCanvasRectangularSelection.cpp.

Member Function Documentation

void ICECallbackInterface::RectangleSelected ( int  tl[2],
int  br[2] 
)
virtual

this function should be overloaded

Definition at line 18 of file ImageCanvasRectangularSelection.cpp.


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