libeblearngui
|
#include <datasource_gui.h>
Public Member Functions | |
labeled_pair_datasource_gui (bool scroll=false) | |
if scroll is true, then controls to display more pages appear. | |
virtual void | display (labeled_pair_datasource< Tnet, Tdata, Tlabel > &ds, unsigned int nh, unsigned int nw, unsigned int h0=0, unsigned int w0=0, double zoom=1.0, int wid=-1, const char *wname=NULL, bool scrolling=false, Tnet rangemin=0, Tnet rangemax=0) |
virtual void | display_next () |
scrolling method. | |
virtual void | display_previous () |
scrolling method. | |
virtual unsigned int | max_pages () |
scrolling method. | |
virtual labeled_pair_datasource_gui * | copy () |
copy | |
Public Attributes | |
labeled_pair_datasource< Tnet, Tdata, Tlabel > * | _ds |
Protected Attributes | |
labeled_pair_datasource< Tnet, Tdata, Tlabel > * | _last_ds |
void ebl::labeled_pair_datasource_gui< Tnet, Tdata, Tlabel >::display | ( | labeled_pair_datasource< Tnet, Tdata, Tlabel > & | ds, |
unsigned int | nh, | ||
unsigned int | nw, | ||
unsigned int | h0 = 0 , |
||
unsigned int | w0 = 0 , |
||
double | zoom = 1.0 , |
||
int | wid = -1 , |
||
const char * | wname = NULL , |
||
bool | scrolling = false , |
||
Tnet | rangemin = 0 , |
||
Tnet | rangemax = 0 |
||
) | [virtual] |
display the first nh * nw samples of dataset ds at coordinates (h0, w0), with zoom <zoom>. If a window id <wid> is specified, use that window, otherwise create a new window and reuse it. <wname> is an optional window title.