* via the gl library.* class Galileo : public Video


Inheritance:


Public Methods

void circle(float x, float y, int r, int color = default_color)
void cleanup()
void clearcircle(float x, float y, int r)
void clearcubic(float x, float y, int length, float angle, float a, float b, float c)
void clearline(float x, float y, int length, float angle, int samp = 1)
void clearline2(float x1, float y1, float x2, float y2)
void cubic(float x, float y, int length, float angle, float a, float b, float c, int color = default_color)
char* device_info()
Galileo(int camera = 0, int zoom_in = 1)
int grab(int *image, int x, int y, int width, int height, float angle = 0.0, int sampw =1, int samph =1, short int mask = 0xff)
void line(float x, float y, int length, float angle, int color = default_color, int samp = 1)
void line2(float x1, float y1, float x2, float y2, int color = default_color)
int show(int x, int y, int width, int height, int* image)
~Galileo()

Private Fields

static VLBuffer buffer
drn
static ulong* lbuf[2]
static int ninstances
static VLPath path
int source
static VLNode src
static VLServer svr
static int switchvar
static long win[2]

Private Methods

VLInfoPtr checknew()
Transfer a new image to memory, if a new image has been grabbed by the framegrabber

Inherited from Video:

Public Methods

virtual int bytesperpixel()
virtual void close()
virtual void* current_frame_ptr()
virtual void* direct_memptr()
virtual int grab_aligned(Image &image, int x, int y, int sampw =1, int samph =1, short int mask = 0xff)
virtual int grab_aligned(Image &image, float &x, float &y, int sampw =1, int samph =1, short int mask = 0xff)
virtual int grab_aligned(int *image, float &x, float &y, int width, int height, int sampw =1, int samph =1, short int mask = 0xff)
virtual int grab_region(Image &image, int lx, int ly, int sampw =1, int samph = 1)
virtual int grab_region(int *image, int lx, int ly, int ux, int uy, int sampw =1, int samph = 1)
virtual int grab_static(int *image, int x, int y, int width, int height, float angle = 0.0, int sampw =1, int samph =1, short int mask = 0xff)
virtual int grab_static(Image &image, int x, int y, float angle = 0.0, int sampw =1, int samph =1, short int mask = 0xff)
int height()
int in_view(int cx, int cy, int w, int h)
int in_view(int cx, int cy, int w, int h, float angle)
int in_view(const Image &x, int cx, int cy)
int in_view(const Image &x, int cx, int cy, float angle)
int in_view2(int x1, int y1, int x2, int y2)
virtual int is_mappable()
Device_output_type output_data_type()
virtual int post_grab()
virtual int pre_grab()
virtual void set_grab_type(Device_output_type ot)
int width()

Protected Fields

int _bytesperpixel
int _is_mappable
int fg_ncols
int fg_nrows
Device_output_type input_type
int ncols
int nrows
Device_output_type output_type

Protected Methods

int adjust_to_first_coord(float &x, int width)
virtual int map_color(Color colin)
void map_image(int *x, int npixels)
void map_image(Image &x)
void set_fg_size(int nrows_in, int ncols_in)
Device_output_type set_input_type(Device_output_type ot)
void set_size(int nrows_in, int ncols_in)

Documentation

static VLServer svr

static int switchvar

static int ninstances

int source

static ulong* lbuf[2]

static VLPath path

static VLNode src

drn

static VLBuffer buffer

static long win[2]

VLInfoPtr checknew()
Transfer a new image to memory, if a new image has been grabbed by the framegrabber

Galileo(int camera = 0, int zoom_in = 1)

~Galileo()

void cleanup()

char* device_info()

int grab(int *image, int x, int y, int width, int height, float angle = 0.0, int sampw =1, int samph =1, short int mask = 0xff)

int show(int x, int y, int width, int height, int* image)

void line(float x, float y, int length, float angle, int color = default_color, int samp = 1)

void clearline(float x, float y, int length, float angle, int samp = 1)

void line2(float x1, float y1, float x2, float y2, int color = default_color)

void clearline2(float x1, float y1, float x2, float y2)

void circle(float x, float y, int r, int color = default_color)

void clearcircle(float x, float y, int r)

void cubic(float x, float y, int length, float angle, float a, float b, float c, int color = default_color)

void clearcubic(float x, float y, int length, float angle, float a, float b, float c)


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de