Public Slots | Public Member Functions | Private Attributes | List of all members
mapviz::VideoWriter Class Reference

#include <video_writer.h>

Inheritance diagram for mapviz::VideoWriter:
Inheritance graph
[legend]

Public Slots

void processFrame (QImage frame)
 

Public Member Functions

bool initializeWriter (const std::string &directory, int width, int height)
 
bool isRecording ()
 
void stop ()
 
 VideoWriter ()
 

Private Attributes

int height_
 
QMutex video_mutex_
 
boost::shared_ptr< cv::VideoWriter > video_writer_
 
int width_
 

Detailed Description

Definition at line 45 of file video_writer.h.

Constructor & Destructor Documentation

◆ VideoWriter()

mapviz::VideoWriter::VideoWriter ( )
inline

Definition at line 50 of file video_writer.h.

Member Function Documentation

◆ initializeWriter()

bool mapviz::VideoWriter::initializeWriter ( const std::string &  directory,
int  width,
int  height 
)

Definition at line 38 of file video_writer.cpp.

◆ isRecording()

bool mapviz::VideoWriter::isRecording ( )

Definition at line 64 of file video_writer.cpp.

◆ processFrame

void mapviz::VideoWriter::processFrame ( QImage  frame)
slot

Definition at line 69 of file video_writer.cpp.

◆ stop()

void mapviz::VideoWriter::stop ( )

Definition at line 115 of file video_writer.cpp.

Member Data Documentation

◆ height_

int mapviz::VideoWriter::height_
private

Definition at line 62 of file video_writer.h.

◆ video_mutex_

QMutex mapviz::VideoWriter::video_mutex_
private

Definition at line 64 of file video_writer.h.

◆ video_writer_

boost::shared_ptr<cv::VideoWriter> mapviz::VideoWriter::video_writer_
private

Definition at line 65 of file video_writer.h.

◆ width_

int mapviz::VideoWriter::width_
private

Definition at line 63 of file video_writer.h.


The documentation for this class was generated from the following files:


mapviz
Author(s): Marc Alban
autogenerated on Fri Dec 16 2022 03:59:30