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

Definition at line 309 of file opt_nm33_camera.cpp.


Member Function Documentation

Definition at line 228 of file opt_nm33_camera.cpp.

void OptNM3xCamera::device_open ( int  camera_index)

Definition at line 30 of file opt_nm33_camera.cpp.

Definition at line 518 of file opt_nm33_camera.cpp.

Definition at line 486 of file opt_nm33_camera.cpp.

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

Definition at line 349 of file opt_nm33_camera.cpp.

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

Definition at line 354 of file opt_nm33_camera.cpp.

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

Definition at line 339 of file opt_nm33_camera.cpp.

std::string OptNM3xCamera::getSerialID ( )

Definition at line 507 of file opt_nm33_camera.cpp.

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

Definition at line 344 of file opt_nm33_camera.cpp.

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

Definition at line 542 of file opt_nm33_camera.cpp.

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

Definition at line 545 of file opt_nm33_camera.cpp.

IplImage * OptNM3xCamera::queryFrame ( )

Definition at line 315 of file opt_nm33_camera.cpp.

Definition at line 376 of file opt_nm33_camera.cpp.

Definition at line 384 of file opt_nm33_camera.cpp.

Definition at line 360 of file opt_nm33_camera.cpp.

Definition at line 368 of file opt_nm33_camera.cpp.

IplImage * OptNM3xCamera::read_frame ( )

Definition at line 261 of file opt_nm33_camera.cpp.

Definition at line 398 of file opt_nm33_camera.cpp.

Definition at line 422 of file opt_nm33_camera.cpp.

Definition at line 410 of file opt_nm33_camera.cpp.

Definition at line 515 of file opt_nm33_camera.cpp.

Definition at line 402 of file opt_nm33_camera.cpp.

Definition at line 495 of file opt_nm33_camera.cpp.

Definition at line 512 of file opt_nm33_camera.cpp.

bool OptNM3xCamera::setIris ( int  value)

Definition at line 406 of file opt_nm33_camera.cpp.

Definition at line 504 of file opt_nm33_camera.cpp.

Definition at line 523 of file opt_nm33_camera.cpp.

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

Definition at line 538 of file opt_nm33_camera.cpp.

Definition at line 501 of file opt_nm33_camera.cpp.

Definition at line 393 of file opt_nm33_camera.cpp.

Definition at line 426 of file opt_nm33_camera.cpp.

Definition at line 438 of file opt_nm33_camera.cpp.

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

Definition at line 526 of file opt_nm33_camera.cpp.

Definition at line 432 of file opt_nm33_camera.cpp.

Definition at line 444 of file opt_nm33_camera.cpp.

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

Definition at line 532 of file opt_nm33_camera.cpp.

Definition at line 414 of file opt_nm33_camera.cpp.

Definition at line 498 of file opt_nm33_camera.cpp.

Definition at line 429 of file opt_nm33_camera.cpp.

Definition at line 441 of file opt_nm33_camera.cpp.

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

Definition at line 529 of file opt_nm33_camera.cpp.

Definition at line 418 of file opt_nm33_camera.cpp.

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

Definition at line 548 of file opt_nm33_camera.cpp.

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

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

Definition at line 435 of file opt_nm33_camera.cpp.

Definition at line 447 of file opt_nm33_camera.cpp.

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

Definition at line 535 of file opt_nm33_camera.cpp.

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

Definition at line 473 of file opt_nm33_camera.cpp.

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

Definition at line 451 of file opt_nm33_camera.cpp.

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

Definition at line 563 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 Mon Oct 6 2014 10:58:46