Public Member Functions | Protected Member Functions | Protected Attributes
VisualizationManager Class Reference

#include <VisualizationManager.h>

List of all members.

Public Member Functions

void show (const cv::Mat &image, const std::string &text="", bool hold=false)
 VisualizationManager (ros::Publisher &pub)
 ~VisualizationManager ()

Protected Member Functions

void putText (cv::Mat &image, const std::string &text, const cv::Scalar &color) const

Protected Attributes

sensor_msgs::CvBridge m_bridge
bool m_holding
ros::Publisher m_publisher
DUtils::Timestamp m_unfreeze_time

Detailed Description

Definition at line 42 of file VisualizationManager.h.


Constructor & Destructor Documentation

Creates the visualization manager attached to the publisher it must send the images through

Parameters:
pubpublisher

Definition at line 44 of file VisualizationManager.cpp.

Definition at line 51 of file VisualizationManager.cpp.


Member Function Documentation

void VisualizationManager::putText ( cv::Mat &  image,
const std::string &  text,
const cv::Scalar color 
) const [protected]

Puts text in the bottom part of the image

Parameters:
image
text

Definition at line 119 of file VisualizationManager.cpp.

void VisualizationManager::show ( const cv::Mat &  image,
const std::string &  text = "",
bool  hold = false 
)

Sends the given image through the publishing topic

Parameters:
image
holdif true, image is frozen for a short time

Definition at line 57 of file VisualizationManager.cpp.


Member Data Documentation

Definition at line 73 of file VisualizationManager.h.

Definition at line 75 of file VisualizationManager.h.

Definition at line 72 of file VisualizationManager.h.

Definition at line 76 of file VisualizationManager.h.


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


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:34:29