Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

vetWindowQT Class Reference

Inheritance diagram for vetWindowQT:

vetOutput

Public Member Functions

 vetWindowQT ()
 Default constructor initializes variables.
 vetWindowQT (unsigned int width, unsigned int height)
 Default constructor initializes variables.
VETRESULT setHeight (unsigned int value)
 Set current canvas' height.
VETRESULT setWidth (unsigned int value)
 Set current canvas' width.
VETRESULT run ()
 Currently not used.
VETRESULT importFrom (vetFrameYUV420 &img)
 Display frame, single pixel routine.
VETRESULT importFrom (vetFrameRGB24 &img)
 Display frame, single pixel routine.
VETRESULT importFrom (vetFrameT< unsigned char > &img)
 Display frame, single pixel routine.

Protected Member Functions

virtual void paintEvent (QPaintEvent *event)
 Paint Event callback functions for future extensions.

Protected Attributes

QPainter * dataCanvas
 QPainter instance, main drawing object.

Detailed Description

Definition at line 60 of file vetWindowQT.h.


Constructor & Destructor Documentation

vetWindowQT::vetWindowQT unsigned int  width,
unsigned int  height
 

Default constructor initializes variables.

Parameters:
[in] width Window's width in pixels.
[in] height Window's height in pixels.

Definition at line 39 of file vetWindowQT.cpp.

References INFO.


Member Function Documentation

VETRESULT vetWindowQT::importFrom vetFrameT< unsigned char > &  img  )  [virtual]
 

Display frame, single pixel routine.

Parameters:
[in] img VETLib Grey Frame to be displayed.
Returns:
VETRET_OK if everything is fine, VETRET_INTERNAL_ERR else.
Note:
Input operator (<<) call directly this function.
See also:
operator << (vetFrameT&)

Implements vetOutput.

Definition at line 135 of file vetWindowQT.cpp.

References INFO, and VETRET_NOT_IMPLEMENTED.

VETRESULT vetWindowQT::importFrom vetFrameRGB24 img  )  [virtual]
 

Display frame, single pixel routine.

Parameters:
[in] img VETLib Cache24 Frame to be displayed.
Returns:
VETRET_OK if everything is fine, VETRET_INTERNAL_ERR else.
Note:
Input operator (<<) call directly this function.
See also:
operator << (vetFrameRGB24&)

Implements vetOutput.

Definition at line 98 of file vetWindowQT.cpp.

References vetFrameRGB24::data, dataCanvas, vetFrame::height, INFO, VETRET_INTERNAL_ERR, VETRET_OK, and vetFrame::width.

VETRESULT vetWindowQT::importFrom vetFrameYUV420 img  )  [virtual]
 

Display frame, single pixel routine.

Parameters:
[in] img VETLib Cache Frame to be displayed.
Returns:
VETRET_OK if everything is fine, VETRET_INTERNAL_ERR else.
Note:
Input operator (<<) call directly this function.
See also:
operator << (vetFrameYUV420&)

Implements vetOutput.

Definition at line 81 of file vetWindowQT.cpp.

References INFO, and VETRET_NOT_IMPLEMENTED.

virtual void vetWindowQT::paintEvent QPaintEvent *  event  )  [inline, protected, virtual]
 

Paint Event callback functions for future extensions.

Parameters:
[out] event Event raised.

Definition at line 75 of file vetWindowQT.h.

VETRESULT vetWindowQT::run  )  [inline]
 

Currently not used.

Returns:
VETRET_NOT_IMPLEMENTED

Definition at line 112 of file vetWindowQT.h.

References VETRET_NOT_IMPLEMENTED.

VETRESULT vetWindowQT::setHeight unsigned int  value  )  [virtual]
 

Set current canvas' height.

Returns:
height in pixel.

Implements vetOutput.

Definition at line 51 of file vetWindowQT.cpp.

References VETRET_OK.

VETRESULT vetWindowQT::setWidth unsigned int  value  )  [virtual]
 

Set current canvas' width.

Returns:
width in pixel.

Implements vetOutput.

Definition at line 63 of file vetWindowQT.cpp.

References VETRET_OK.


The documentation for this class was generated from the following files:
Generated on Tue Jan 24 11:59:44 2006 for VETLib by  doxygen 1.4.4