OSVR-Core
Public Member Functions | List of all members
image_wrapper Class Referenceabstract
Inheritance diagram for image_wrapper:
base_camera_server

Public Member Functions

virtual void read_range (int &minx, int &maxx, int &miny, int &maxy) const =0
 
virtual unsigned get_num_colors () const =0
 Return the number of colors that the image has.
 
virtual unsigned get_num_rows (void) const
 
virtual unsigned get_num_columns (void) const
 
virtual bool read_pixel (int x, int y, double &result, unsigned rgb=0) const =0
 Read a pixel from the image into a double; return true if the pixel.
 
virtual bool read_pixel (int x, int y, vrpn_uint8 &result, unsigned rgb=0) const
 
virtual bool read_pixel (int x, int y, vrpn_uint16 &result, unsigned rgb=0) const
 
virtual double read_pixel_nocheck (int x, int y, unsigned rgb=0) const =0
 Read a pixel from the image into a double; Don't check boundaries.
 
bool read_pixel_bilerp (double x, double y, double &result, unsigned rgb=0) const
 
double read_pixel_bilerp_nocheck (double x, double y, unsigned rgb=0) const
 

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