Classes | Public Member Functions | Private Member Functions | Private Attributes
OptNM3xCamera Class Reference

#include <opt_nm33_camera.h>

List of all members.

Classes

struct  buffer

Public Member Functions

void device_close ()
void device_open (int camera_index)
short getActualFPS ()
std::string getFirmwareVersion ()
void getMiddleImage (IplImage *frame, CvMat &subframe)
void getNarrowImage (IplImage *frame, CvMat &subframe)
void getOmniImage (IplImage *frame, CvMat &subframe)
std::string getSerialID ()
void getWideImage (IplImage *frame, CvMat &subframe)
 OptNM3xCamera (int camera_index)
IplImage * queryFrame ()
IplImage * queryMiddleFrame ()
IplImage * queryNarrowFrame ()
IplImage * queryOmniFrame ()
IplImage * queryWideFrame ()
IplImage * read_frame ()
bool setAutoExposure (bool mode)
bool setAutoWhitebalance (bool mode)
bool setBrightness (int value)
bool setCaptureFPS (short value)
bool setExposure (int value)
bool setFlipScreen (char value)
bool setInfoDisplay (bool mode)
bool setIris (int value)
bool setJpegQuality (char value)
bool setLensType (char value)
bool setLocationAbsolute (int no, int pan, int tilt, int roll, int zoom)
bool setMedianFilter (bool mode)
bool setMode (int mode)
bool setPanAbsolute (double value)
bool setPanAbsolute (int value)
bool setPanAbsolute (int no, int value)
bool setRollAbsolute (double value)
bool setRollAbsolute (int value)
bool setRollAbsolute (int no, int value)
bool setSharpness (int value)
bool setSmallHemisphere (char value)
bool setTiltAbsolute (double value)
bool setTiltAbsolute (int value)
bool setTiltAbsolute (int no, int value)
bool setWhitebalance (int value)
bool setZoomAbsolute (double value)
bool setZoomAbsolute (int value)
bool setZoomAbsolute (int no, int value)
 ~OptNM3xCamera ()

Private Member Functions

bool getXuValue (int selector, const char *str)
bool getXuValue (int selector, short *value)
bool setXuValue (int selector, char value)
bool setXuValue (int selector, short v1, short v2)
bool setXuValue (int selector, short v1, short v2, short v3, short v4, short v5)
int v4l2_get_ioctl (int selector)
bool v4l2_set_ioctl (int selector, int value)
bool xu_ioctl (int selector, int ctrl, void *value)

Private Attributes

struct OptNM3xCamera::bufferbuffers
int fd
IplImage * frame
IplImage * frame_middle
IplImage * frame_narrow
IplImage * frame_omni
IplImage * frame_wide
int height
unsigned int n_buffers
int width

Detailed Description

Definition at line 11 of file opt_nm33_camera.h.


Constructor & Destructor Documentation

OptNM3xCamera::OptNM3xCamera ( int  camera_index)

Definition at line 293 of file opt_nm33_camera.cpp.

Definition at line 308 of file opt_nm33_camera.cpp.


Member Function Documentation

Definition at line 227 of file opt_nm33_camera.cpp.

void OptNM3xCamera::device_open ( int  camera_index)

Definition at line 29 of file opt_nm33_camera.cpp.

Definition at line 517 of file opt_nm33_camera.cpp.

Definition at line 485 of file opt_nm33_camera.cpp.

void OptNM3xCamera::getMiddleImage ( IplImage *  frame,
CvMat &  subframe 
)

Definition at line 348 of file opt_nm33_camera.cpp.

void OptNM3xCamera::getNarrowImage ( IplImage *  frame,
CvMat &  subframe 
)

Definition at line 353 of file opt_nm33_camera.cpp.

void OptNM3xCamera::getOmniImage ( IplImage *  frame,
CvMat &  subframe 
)

Definition at line 338 of file opt_nm33_camera.cpp.

Definition at line 506 of file opt_nm33_camera.cpp.

void OptNM3xCamera::getWideImage ( IplImage *  frame,
CvMat &  subframe 
)

Definition at line 343 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::getXuValue ( int  selector,
const char *  str 
) [private]

Definition at line 541 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::getXuValue ( int  selector,
short value 
) [private]

Definition at line 544 of file opt_nm33_camera.cpp.

IplImage * OptNM3xCamera::queryFrame ( )

Definition at line 314 of file opt_nm33_camera.cpp.

Definition at line 375 of file opt_nm33_camera.cpp.

Definition at line 383 of file opt_nm33_camera.cpp.

Definition at line 359 of file opt_nm33_camera.cpp.

Definition at line 367 of file opt_nm33_camera.cpp.

IplImage * OptNM3xCamera::read_frame ( )

Definition at line 260 of file opt_nm33_camera.cpp.

Definition at line 397 of file opt_nm33_camera.cpp.

Definition at line 421 of file opt_nm33_camera.cpp.

Definition at line 409 of file opt_nm33_camera.cpp.

Definition at line 514 of file opt_nm33_camera.cpp.

Definition at line 401 of file opt_nm33_camera.cpp.

Definition at line 494 of file opt_nm33_camera.cpp.

Definition at line 511 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setIris ( int  value)

Definition at line 405 of file opt_nm33_camera.cpp.

Definition at line 503 of file opt_nm33_camera.cpp.

Definition at line 522 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setLocationAbsolute ( int  no,
int  pan,
int  tilt,
int  roll,
int  zoom 
)

Definition at line 537 of file opt_nm33_camera.cpp.

Definition at line 500 of file opt_nm33_camera.cpp.

Definition at line 392 of file opt_nm33_camera.cpp.

Definition at line 425 of file opt_nm33_camera.cpp.

Definition at line 437 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setPanAbsolute ( int  no,
int  value 
)

Definition at line 525 of file opt_nm33_camera.cpp.

Definition at line 431 of file opt_nm33_camera.cpp.

Definition at line 443 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setRollAbsolute ( int  no,
int  value 
)

Definition at line 531 of file opt_nm33_camera.cpp.

Definition at line 413 of file opt_nm33_camera.cpp.

Definition at line 497 of file opt_nm33_camera.cpp.

Definition at line 428 of file opt_nm33_camera.cpp.

Definition at line 440 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setTiltAbsolute ( int  no,
int  value 
)

Definition at line 528 of file opt_nm33_camera.cpp.

Definition at line 417 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setXuValue ( int  selector,
char  value 
) [private]

Definition at line 547 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setXuValue ( int  selector,
short  v1,
short  v2 
) [private]

Definition at line 550 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setXuValue ( int  selector,
short  v1,
short  v2,
short  v3,
short  v4,
short  v5 
) [private]

Definition at line 556 of file opt_nm33_camera.cpp.

Definition at line 434 of file opt_nm33_camera.cpp.

Definition at line 446 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setZoomAbsolute ( int  no,
int  value 
)

Definition at line 534 of file opt_nm33_camera.cpp.

int OptNM3xCamera::v4l2_get_ioctl ( int  selector) [private]

Definition at line 472 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::v4l2_set_ioctl ( int  selector,
int  value 
) [private]

Definition at line 450 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::xu_ioctl ( int  selector,
int  ctrl,
void *  value 
) [private]

Definition at line 561 of file opt_nm33_camera.cpp.


Member Data Documentation

int OptNM3xCamera::fd [private]

Definition at line 21 of file opt_nm33_camera.h.

IplImage* OptNM3xCamera::frame [private]

Definition at line 19 of file opt_nm33_camera.h.

IplImage * OptNM3xCamera::frame_middle [private]

Definition at line 19 of file opt_nm33_camera.h.

IplImage * OptNM3xCamera::frame_narrow [private]

Definition at line 19 of file opt_nm33_camera.h.

IplImage * OptNM3xCamera::frame_omni [private]

Definition at line 19 of file opt_nm33_camera.h.

IplImage * OptNM3xCamera::frame_wide [private]

Definition at line 19 of file opt_nm33_camera.h.

int OptNM3xCamera::height [private]

Definition at line 20 of file opt_nm33_camera.h.

unsigned int OptNM3xCamera::n_buffers [private]

Definition at line 18 of file opt_nm33_camera.h.

int OptNM3xCamera::width [private]

Definition at line 20 of file opt_nm33_camera.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


opt_camera
Author(s): Kei Okada
autogenerated on Sat Mar 23 2013 21:00:15