All Classes Namespaces Files Functions Variables Typedefs Defines
Public Member Functions
virtual_camera::ImageComposer Class Reference

#include <ImageComposer.hpp>

Inheritance diagram for virtual_camera::ImageComposer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void compose (const cv_bridge::CvImagePtr &target, const std::string &encoding)=0
virtual void refreshCache (uint rows, uint cols)=0
virtual ~ImageComposer ()

Detailed Description

Classes implementing this interface encapsulate algorithm for putting pixels from multiple RealCameras together.

Author:
Jan Brabec

Definition at line 16 of file ImageComposer.hpp.


Constructor & Destructor Documentation

virtual virtual_camera::ImageComposer::~ImageComposer ( ) [inline, virtual]

Definition at line 18 of file ImageComposer.hpp.


Member Function Documentation

virtual void virtual_camera::ImageComposer::compose ( const cv_bridge::CvImagePtr &  target,
const std::string &  encoding 
) [pure virtual]

Fills the data of the target. Each of the subclasses can choose different method to do it. Precondition is that the cache is up to date.

Parameters:
constcv_bridge::CvImagePtr & target
conststd::string & encoding encoding of the camera image

Implemented in virtual_camera::InterpolatingImageComposer.

virtual void virtual_camera::ImageComposer::refreshCache ( uint  rows,
uint  cols 
) [pure virtual]

If the class caches some information, this call tells it to refresh the cache. Needs to be called when configuration of the cameras changes, number of cameras changes or position of cameras to each other changes.

Parameters:
uintrows number of rows in the generated image
uintcols number of cols in the generated image

Implemented in virtual_camera::InterpolatingImageComposer.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Defines


virtual_camera
Author(s): Jan Brabec; maintained by Tomas Petricek / petrito1@cmp.felk.cvut
autogenerated on Tue Dec 10 2013 14:58:12