* value computed from them. The type of information is specified when* the variable is created. Multiple instances of this class can be * created They all share a common window but can access different * fields of the image * * This class can probably be improved in speed by constructing a more * direct connection between the framegrabber and the monitor Also * this class uses frames in a nonstandard way : a data pointer to * released frames is maintained although the frame is again in use * by the framegrabber. * class IndyCam_Color public ColorVideo


Inheritance:


Public Methods

void circle(float x, float y, int r, int color = default_color)
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 close()
void cubic(float x, float y, int length, float angle, float a, float b, float c, int color = default_color)
virtual void* current_frame_ptr()
IndyCam_Color(int analog = 0)
void line(float x, float y, int length, float angle, Color color = default_color, int samp = 1)
void line2(float x1, float y1, float x2, float y2, int color = default_color)
virtual int pre_grab()
int show(int x, int y, int width, int height, int *image)
long window()
~IndyCam_Color()

Private Fields

static VLBuffer buffer
static ulong* dataPtr
drn
static int gotfirst
int info_type
static int ninstances
static VLPath path
static VLNode src
static VLServer svr
static long win

Private Methods

VLInfoPtr checknew()
Transfer a new image, if a new image has been grabbed by the framegrabber
void error_exit(char *mess = NULL)
int map_color(Color x)
void set_color(Color x)

Inherited from ColorVideo:

Public Methods

virtual void set_grab_type(Device_output_type ot)

Inherited from Video:

Public Methods

virtual int bytesperpixel()
virtual void clearline(float x, float y, int length, float angle, int samp = 1)
virtual void clearline2(float x1, float y1, float x2, float y2)
virtual char* device_info()
virtual void* direct_memptr()
virtual int grab(Image &image, int x, int y, float angle = 0.0, int sampw =1, int samph =1, short int mask = 0xff)
virtual 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)
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_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_region(int *image, int lx, int ly, int ux, int uy, int sampw =1, int samph = 1)
virtual int grab_region(Image &image, int lx, int ly, 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(const Image &x, int cx, int cy)
int in_view(const Image &x, int cx, int cy, float angle)
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_view2(int x1, int y1, int x2, int y2)
virtual int is_mappable()
Device_output_type output_data_type()
virtual int post_grab()
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)
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 VLPath path

static VLNode src

drn

static VLBuffer buffer

static ulong* dataPtr

static int ninstances

static long win

static int gotfirst

int info_type

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

void error_exit(char *mess = NULL)

int map_color(Color x)

void set_color(Color x)

IndyCam_Color(int analog = 0)

~IndyCam_Color()

void close()

long window()

virtual int pre_grab()

virtual void* current_frame_ptr()

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

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

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

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