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 295 of file opt_nm33_camera.cpp.

Definition at line 310 of file opt_nm33_camera.cpp.


Member Function Documentation

Definition at line 229 of file opt_nm33_camera.cpp.

void OptNM3xCamera::device_open ( int  camera_index)

Definition at line 31 of file opt_nm33_camera.cpp.

Definition at line 519 of file opt_nm33_camera.cpp.

Definition at line 487 of file opt_nm33_camera.cpp.

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

Definition at line 350 of file opt_nm33_camera.cpp.

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

Definition at line 355 of file opt_nm33_camera.cpp.

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

Definition at line 340 of file opt_nm33_camera.cpp.

std::string OptNM3xCamera::getSerialID ( )

Definition at line 508 of file opt_nm33_camera.cpp.

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

Definition at line 345 of file opt_nm33_camera.cpp.

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

Definition at line 543 of file opt_nm33_camera.cpp.

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

Definition at line 546 of file opt_nm33_camera.cpp.

IplImage * OptNM3xCamera::queryFrame ( )

Definition at line 316 of file opt_nm33_camera.cpp.

Definition at line 377 of file opt_nm33_camera.cpp.

Definition at line 385 of file opt_nm33_camera.cpp.

Definition at line 361 of file opt_nm33_camera.cpp.

Definition at line 369 of file opt_nm33_camera.cpp.

IplImage * OptNM3xCamera::read_frame ( )

Definition at line 262 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setAutoExposure ( bool  mode)

Definition at line 399 of file opt_nm33_camera.cpp.

Definition at line 423 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setBrightness ( int  value)

Definition at line 411 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setCaptureFPS ( short  value)

Definition at line 516 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setExposure ( int  value)

Definition at line 403 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setFlipScreen ( char  value)

Definition at line 496 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setInfoDisplay ( bool  mode)

Definition at line 513 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setIris ( int  value)

Definition at line 407 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setJpegQuality ( char  value)

Definition at line 505 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setLensType ( char  value)

Definition at line 524 of file opt_nm33_camera.cpp.

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

Definition at line 539 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setMedianFilter ( bool  mode)

Definition at line 502 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setMode ( int  mode)

Definition at line 394 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setPanAbsolute ( double  value)

Definition at line 427 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setPanAbsolute ( int  value)

Definition at line 439 of file opt_nm33_camera.cpp.

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

Definition at line 527 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setRollAbsolute ( double  value)

Definition at line 433 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setRollAbsolute ( int  value)

Definition at line 445 of file opt_nm33_camera.cpp.

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

Definition at line 533 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setSharpness ( int  value)

Definition at line 415 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setSmallHemisphere ( char  value)

Definition at line 499 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setTiltAbsolute ( double  value)

Definition at line 430 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setTiltAbsolute ( int  value)

Definition at line 442 of file opt_nm33_camera.cpp.

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

Definition at line 530 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setWhitebalance ( int  value)

Definition at line 419 of file opt_nm33_camera.cpp.

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

Definition at line 549 of file opt_nm33_camera.cpp.

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

Definition at line 552 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 558 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setZoomAbsolute ( double  value)

Definition at line 436 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setZoomAbsolute ( int  value)

Definition at line 448 of file opt_nm33_camera.cpp.

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

Definition at line 536 of file opt_nm33_camera.cpp.

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

Definition at line 474 of file opt_nm33_camera.cpp.

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

Definition at line 452 of file opt_nm33_camera.cpp.

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

Definition at line 564 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:


opt_camera
Author(s): Kei Okada
autogenerated on Sat Sep 9 2017 02:33:38