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

Constructor & Destructor Documentation

◆ ImageNodelet()

image_view::ImageNodelet::ImageNodelet ( )

Definition at line 163 of file image_nodelet.cpp.

◆ ~ImageNodelet()

image_view::ImageNodelet::~ImageNodelet ( )

Definition at line 168 of file image_nodelet.cpp.

Member Function Documentation

◆ imageCb()

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

Definition at line 230 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 273 of file image_nodelet.cpp.

◆ onInit()

void image_view::ImageNodelet::onInit ( )
privatevirtual

Implements nodelet::Nodelet.

Definition at line 177 of file image_nodelet.cpp.

◆ reconfigureCb()

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

Definition at line 222 of file image_nodelet.cpp.

◆ windowThread()

void image_view::ImageNodelet::windowThread ( )
private

Definition at line 317 of file image_nodelet.cpp.

Member Data Documentation

◆ autosize_

bool image_view::ImageNodelet::autosize_
private

Definition at line 135 of file image_nodelet.cpp.

◆ colormap_

int image_view::ImageNodelet::colormap_
private

Definition at line 143 of file image_nodelet.cpp.

◆ count_

int image_view::ImageNodelet::count_
private

Definition at line 137 of file image_nodelet.cpp.

◆ do_dynamic_scaling_

bool image_view::ImageNodelet::do_dynamic_scaling_
private

Definition at line 142 of file image_nodelet.cpp.

◆ filename_format_

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

Definition at line 136 of file image_nodelet.cpp.

◆ max_image_value_

double image_view::ImageNodelet::max_image_value_
private

Definition at line 145 of file image_nodelet.cpp.

◆ min_image_value_

double image_view::ImageNodelet::min_image_value_
private

Definition at line 144 of file image_nodelet.cpp.

◆ pub_

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

Definition at line 139 of file image_nodelet.cpp.

◆ queued_image_

ThreadSafeImage image_view::ImageNodelet::queued_image_
private

Definition at line 132 of file image_nodelet.cpp.

◆ shown_image_

ThreadSafeImage image_view::ImageNodelet::shown_image_
private

Definition at line 132 of file image_nodelet.cpp.

◆ srv_

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

Definition at line 141 of file image_nodelet.cpp.

◆ sub_

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

Definition at line 128 of file image_nodelet.cpp.

◆ window_name_

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

Definition at line 134 of file image_nodelet.cpp.

◆ window_thread_

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

Definition at line 130 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 Jan 24 2024 03:57:22