libeblearngui
ebl::labeled_pair_datasource_gui< Tnet, Tdata, Tlabel > Class Template Reference

#include <datasource_gui.h>

Inheritance diagram for ebl::labeled_pair_datasource_gui< Tnet, Tdata, Tlabel >:
ebl::labeled_datasource_gui< Tnet, Tdata, Tlabel >

List of all members.

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

Detailed Description

template<class Tnet, class Tdata, class Tlabel>
class ebl::labeled_pair_datasource_gui< Tnet, Tdata, Tlabel >

labeled_datasource_gui


Member Function Documentation

template<class Tnet , class Tdata , class Tlabel >
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.


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