# opentl::output::video::VideoWriter_OpenCV Class Reference

Inherits opentl::output::video::VideoWriter_Backend.

List of all members.

## Protected Member Functions
virtual bool | init (const std::string &filename, int width, int height, double fps, VideoWriter::Codec codec, VideoWriter::ColorMode colorMode)
| VideoWriter_OpenCV ()
virtual void | writeFrame (const opentl::core::cvdata::Image &img)
virtual | ~VideoWriter_OpenCV ()
## Protected Attributes
void * | mCvVideoWriter
## Friends
class | opentl::output::VideoWriter

## Detailed Description

Wrapper for video writing with OpenCV library

## Constructor & Destructor Documentation

opentl::output::video::VideoWriter_OpenCV::VideoWriter_OpenCV | ( |  | ) | `[inline, protected]`

virtual opentl::output::video::VideoWriter_OpenCV::~VideoWriter_OpenCV | ( |  | ) | `[protected, virtual]`

## Member Function Documentation

virtual bool opentl::output::video::VideoWriter_OpenCV::init | ( | const std::string & | filename,
|  | int | width,
|  | int | height,
|  | double | fps,
|  | VideoWriter::Codec | codec,
|  | VideoWriter::ColorMode | colorMode |
| ) |  |  | `[protected, virtual]`

Implements opentl::output::video::VideoWriter_Backend.

virtual void opentl::output::video::VideoWriter_OpenCV::writeFrame | ( | const opentl::core::cvdata::Image & | img | ) | `[protected, virtual]`

Implements opentl::output::video::VideoWriter_Backend.

## Friends And Related Function Documentation

friend class opentl::output::VideoWriter`[friend]`

Reimplemented from opentl::output::video::VideoWriter_Backend.

## Member Data Documentation

void* opentl::output::video::VideoWriter_OpenCV::mCvVideoWriter`[protected]`