Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
swri_image_util::BlendImagesNodelet Class Reference
Inheritance diagram for swri_image_util::BlendImagesNodelet:
Inheritance graph
[legend]

Public Member Functions

 BlendImagesNodelet ()
 
 ~BlendImagesNodelet ()
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

Private Types

typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::Image, sensor_msgs::Image > ApproximateTimePolicy
 
typedef message_filters::Synchronizer< ApproximateTimePolicyApproximateTimeSync
 

Private Member Functions

void imageCallback (const sensor_msgs::ImageConstPtr &base_image, const sensor_msgs::ImageConstPtr &top_image)
 
virtual void onInit ()
 

Private Attributes

double alpha_
 
message_filters::Subscriber< sensor_msgs::Image > base_image_sub_
 
image_transport::Publisher image_pub_
 
boost::shared_ptr< ApproximateTimeSyncimage_sync_
 
cv::Scalar mask_color_
 
message_filters::Subscriber< sensor_msgs::Image > top_image_sub_
 

Additional Inherited Members

- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::string & getName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

Detailed Description

Definition at line 48 of file blend_images_nodelet.cpp.

Member Typedef Documentation

◆ ApproximateTimePolicy

Definition at line 58 of file blend_images_nodelet.cpp.

◆ ApproximateTimeSync

Definition at line 60 of file blend_images_nodelet.cpp.

Constructor & Destructor Documentation

◆ BlendImagesNodelet()

swri_image_util::BlendImagesNodelet::BlendImagesNodelet ( )

Definition at line 81 of file blend_images_nodelet.cpp.

◆ ~BlendImagesNodelet()

swri_image_util::BlendImagesNodelet::~BlendImagesNodelet ( )

Definition at line 87 of file blend_images_nodelet.cpp.

Member Function Documentation

◆ imageCallback()

void swri_image_util::BlendImagesNodelet::imageCallback ( const sensor_msgs::ImageConstPtr &  base_image,
const sensor_msgs::ImageConstPtr &  top_image 
)
private

Definition at line 139 of file blend_images_nodelet.cpp.

◆ onInit()

void swri_image_util::BlendImagesNodelet::onInit ( )
privatevirtual

Implements nodelet::Nodelet.

Definition at line 91 of file blend_images_nodelet.cpp.

Member Data Documentation

◆ alpha_

double swri_image_util::BlendImagesNodelet::alpha_
private

Definition at line 68 of file blend_images_nodelet.cpp.

◆ base_image_sub_

message_filters::Subscriber<sensor_msgs::Image> swri_image_util::BlendImagesNodelet::base_image_sub_
private

Definition at line 74 of file blend_images_nodelet.cpp.

◆ image_pub_

image_transport::Publisher swri_image_util::BlendImagesNodelet::image_pub_
private

Definition at line 72 of file blend_images_nodelet.cpp.

◆ image_sync_

boost::shared_ptr<ApproximateTimeSync> swri_image_util::BlendImagesNodelet::image_sync_
private

Definition at line 78 of file blend_images_nodelet.cpp.

◆ mask_color_

cv::Scalar swri_image_util::BlendImagesNodelet::mask_color_
private

Definition at line 70 of file blend_images_nodelet.cpp.

◆ top_image_sub_

message_filters::Subscriber<sensor_msgs::Image> swri_image_util::BlendImagesNodelet::top_image_sub_
private

Definition at line 75 of file blend_images_nodelet.cpp.


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


swri_image_util
Author(s): Kris Kozak
autogenerated on Fri Aug 2 2024 08:39:19