Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
image_view::ImageNodelet Class Reference
Inheritance diagram for image_view::ImageNodelet:
Inheritance graph
[legend]

Public Member Functions

 ImageNodelet ()
 
 ~ImageNodelet ()
 
- 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 Member Functions

void imageCb (const sensor_msgs::ImageConstPtr &msg)
 
virtual void onInit ()
 
void reconfigureCb (image_view::ImageViewConfig &config, uint32_t level)
 
void windowThread ()
 

Static Private Member Functions

static void mouseCb (int event, int x, int y, int flags, void *param)
 

Private Attributes

bool autosize_
 
int colormap_
 
int count_
 
bool do_dynamic_scaling_
 
boost::format filename_format_
 
double max_image_value_
 
double min_image_value_
 
ros::Publisher pub_
 
ThreadSafeImage queued_image_
 
ThreadSafeImage shown_image_
 
dynamic_reconfigure::Server< image_view::ImageViewConfig > srv_
 
image_transport::Subscriber sub_
 
std::string window_name_
 
boost::thread window_thread_
 

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 94 of file image_nodelet.cpp.

Constructor & Destructor Documentation

◆ ImageNodelet()

image_view::ImageNodelet::ImageNodelet ( )

Definition at line 131 of file image_nodelet.cpp.

◆ ~ImageNodelet()

image_view::ImageNodelet::~ImageNodelet ( )

Definition at line 136 of file image_nodelet.cpp.

Member Function Documentation

◆ imageCb()

void image_view::ImageNodelet::imageCb ( const sensor_msgs::ImageConstPtr &  msg)
private

Definition at line 198 of file image_nodelet.cpp.

◆ mouseCb()

void image_view::ImageNodelet::mouseCb ( int  event,
int  x,
int  y,
int  flags,
void *  param 
)
staticprivate
Todo:
Show full path, ask if user has permission to write there

Definition at line 241 of file image_nodelet.cpp.

◆ onInit()

void image_view::ImageNodelet::onInit ( )
privatevirtual

Implements nodelet::Nodelet.

Definition at line 145 of file image_nodelet.cpp.

◆ reconfigureCb()

void image_view::ImageNodelet::reconfigureCb ( image_view::ImageViewConfig &  config,
uint32_t  level 
)
private

Definition at line 190 of file image_nodelet.cpp.

◆ windowThread()

void image_view::ImageNodelet::windowThread ( )
private

Definition at line 285 of file image_nodelet.cpp.

Member Data Documentation

◆ autosize_

bool image_view::ImageNodelet::autosize_
private

Definition at line 103 of file image_nodelet.cpp.

◆ colormap_

int image_view::ImageNodelet::colormap_
private

Definition at line 111 of file image_nodelet.cpp.

◆ count_

int image_view::ImageNodelet::count_
private

Definition at line 105 of file image_nodelet.cpp.

◆ do_dynamic_scaling_

bool image_view::ImageNodelet::do_dynamic_scaling_
private

Definition at line 110 of file image_nodelet.cpp.

◆ filename_format_

boost::format image_view::ImageNodelet::filename_format_
private

Definition at line 104 of file image_nodelet.cpp.

◆ max_image_value_

double image_view::ImageNodelet::max_image_value_
private

Definition at line 113 of file image_nodelet.cpp.

◆ min_image_value_

double image_view::ImageNodelet::min_image_value_
private

Definition at line 112 of file image_nodelet.cpp.

◆ pub_

ros::Publisher image_view::ImageNodelet::pub_
private

Definition at line 107 of file image_nodelet.cpp.

◆ queued_image_

ThreadSafeImage image_view::ImageNodelet::queued_image_
private

Definition at line 100 of file image_nodelet.cpp.

◆ shown_image_

ThreadSafeImage image_view::ImageNodelet::shown_image_
private

Definition at line 100 of file image_nodelet.cpp.

◆ srv_

dynamic_reconfigure::Server<image_view::ImageViewConfig> image_view::ImageNodelet::srv_
private

Definition at line 109 of file image_nodelet.cpp.

◆ sub_

image_transport::Subscriber image_view::ImageNodelet::sub_
private

Definition at line 96 of file image_nodelet.cpp.

◆ window_name_

std::string image_view::ImageNodelet::window_name_
private

Definition at line 102 of file image_nodelet.cpp.

◆ window_thread_

boost::thread image_view::ImageNodelet::window_thread_
private

Definition at line 98 of file image_nodelet.cpp.


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


image_view
Author(s): Patrick Mihelich
autogenerated on Wed Dec 7 2022 03:25:28