Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
OptNM3xCamera Class Reference

#include <opt_nm33_camera.h>

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 15 of file opt_nm33_camera.h.

Constructor & Destructor Documentation

OptNM3xCamera::OptNM3xCamera ( int  camera_index)

Definition at line 291 of file opt_nm33_camera.cpp.

OptNM3xCamera::~OptNM3xCamera ( )

Definition at line 306 of file opt_nm33_camera.cpp.

Member Function Documentation

void OptNM3xCamera::device_close ( )

Definition at line 225 of file opt_nm33_camera.cpp.

void OptNM3xCamera::device_open ( int  camera_index)

Definition at line 27 of file opt_nm33_camera.cpp.

short OptNM3xCamera::getActualFPS ( )

Definition at line 515 of file opt_nm33_camera.cpp.

std::string OptNM3xCamera::getFirmwareVersion ( )

Definition at line 483 of file opt_nm33_camera.cpp.

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

Definition at line 346 of file opt_nm33_camera.cpp.

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

Definition at line 351 of file opt_nm33_camera.cpp.

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

Definition at line 336 of file opt_nm33_camera.cpp.

std::string OptNM3xCamera::getSerialID ( )

Definition at line 504 of file opt_nm33_camera.cpp.

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

Definition at line 341 of file opt_nm33_camera.cpp.

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

Definition at line 539 of file opt_nm33_camera.cpp.

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

Definition at line 542 of file opt_nm33_camera.cpp.

IplImage * OptNM3xCamera::queryFrame ( )

Definition at line 312 of file opt_nm33_camera.cpp.

IplImage * OptNM3xCamera::queryMiddleFrame ( )

Definition at line 373 of file opt_nm33_camera.cpp.

IplImage * OptNM3xCamera::queryNarrowFrame ( )

Definition at line 381 of file opt_nm33_camera.cpp.

IplImage * OptNM3xCamera::queryOmniFrame ( )

Definition at line 357 of file opt_nm33_camera.cpp.

IplImage * OptNM3xCamera::queryWideFrame ( )

Definition at line 365 of file opt_nm33_camera.cpp.

IplImage * OptNM3xCamera::read_frame ( )

Definition at line 258 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setAutoExposure ( bool  mode)

Definition at line 395 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setAutoWhitebalance ( bool  mode)

Definition at line 419 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setBrightness ( int  value)

Definition at line 407 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setCaptureFPS ( short  value)

Definition at line 512 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setExposure ( int  value)

Definition at line 399 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setFlipScreen ( char  value)

Definition at line 492 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setInfoDisplay ( bool  mode)

Definition at line 509 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setIris ( int  value)

Definition at line 403 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setJpegQuality ( char  value)

Definition at line 501 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setLensType ( char  value)

Definition at line 520 of file opt_nm33_camera.cpp.

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

Definition at line 535 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setMedianFilter ( bool  mode)

Definition at line 498 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setMode ( int  mode)

Definition at line 390 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setPanAbsolute ( double  value)

Definition at line 423 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setPanAbsolute ( int  value)

Definition at line 435 of file opt_nm33_camera.cpp.

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

Definition at line 523 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setRollAbsolute ( double  value)

Definition at line 429 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setRollAbsolute ( int  value)

Definition at line 441 of file opt_nm33_camera.cpp.

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

Definition at line 529 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setSharpness ( int  value)

Definition at line 411 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setSmallHemisphere ( char  value)

Definition at line 495 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setTiltAbsolute ( double  value)

Definition at line 426 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setTiltAbsolute ( int  value)

Definition at line 438 of file opt_nm33_camera.cpp.

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

Definition at line 526 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setWhitebalance ( int  value)

Definition at line 415 of file opt_nm33_camera.cpp.

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

Definition at line 545 of file opt_nm33_camera.cpp.

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

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

bool OptNM3xCamera::setZoomAbsolute ( double  value)

Definition at line 432 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setZoomAbsolute ( int  value)

Definition at line 444 of file opt_nm33_camera.cpp.

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

Definition at line 532 of file opt_nm33_camera.cpp.

int OptNM3xCamera::v4l2_get_ioctl ( int  selector)
private

Definition at line 470 of file opt_nm33_camera.cpp.

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

Definition at line 448 of file opt_nm33_camera.cpp.

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

Definition at line 560 of file opt_nm33_camera.cpp.

Member Data Documentation

struct OptNM3xCamera::buffer * OptNM3xCamera::buffers
private
int OptNM3xCamera::fd
private

Definition at line 25 of file opt_nm33_camera.h.

IplImage* OptNM3xCamera::frame
private

Definition at line 23 of file opt_nm33_camera.h.

IplImage * OptNM3xCamera::frame_middle
private

Definition at line 23 of file opt_nm33_camera.h.

IplImage * OptNM3xCamera::frame_narrow
private

Definition at line 23 of file opt_nm33_camera.h.

IplImage * OptNM3xCamera::frame_omni
private

Definition at line 23 of file opt_nm33_camera.h.

IplImage * OptNM3xCamera::frame_wide
private

Definition at line 23 of file opt_nm33_camera.h.

int OptNM3xCamera::height
private

Definition at line 24 of file opt_nm33_camera.h.

unsigned int OptNM3xCamera::n_buffers
private

Definition at line 22 of file opt_nm33_camera.h.

int OptNM3xCamera::width
private

Definition at line 24 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 Tue May 11 2021 02:55:43