#include <video_capture_display.h>
Public Types | |
typedef std::shared_ptr < VideoCaptureDisplay > | Ptr |
Public Member Functions | |
VideoCaptureDisplay () | |
virtual | ~VideoCaptureDisplay () |
Protected Slots | |
void | updateFileName () |
void | updateFps () |
void | updateStartCapture () |
Protected Member Functions | |
virtual void | onEnable () |
virtual void | onInitialize () |
virtual void | startCapture () |
virtual void | stopCapture () |
virtual void | update (float wall_dt, float ros_dt) |
Protected Attributes | |
bool | capturing_ |
std::string | file_name_ |
rviz::StringProperty * | file_name_property_ |
bool | first_time_ |
double | fps_ |
rviz::FloatProperty * | fps_property_ |
int | frame_counter_ |
rviz::BoolProperty * | start_capture_property_ |
cv::VideoWriter | writer_ |
Definition at line 48 of file video_capture_display.h.
typedef std::shared_ptr<VideoCaptureDisplay> jsk_rviz_plugins::VideoCaptureDisplay::Ptr |
Definition at line 52 of file video_capture_display.h.
Definition at line 51 of file video_capture_display.cpp.
Definition at line 66 of file video_capture_display.cpp.
void jsk_rviz_plugins::VideoCaptureDisplay::onEnable | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 81 of file video_capture_display.cpp.
void jsk_rviz_plugins::VideoCaptureDisplay::onInitialize | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 72 of file video_capture_display.cpp.
void jsk_rviz_plugins::VideoCaptureDisplay::startCapture | ( | ) | [protected, virtual] |
Definition at line 149 of file video_capture_display.cpp.
void jsk_rviz_plugins::VideoCaptureDisplay::stopCapture | ( | ) | [protected, virtual] |
Definition at line 159 of file video_capture_display.cpp.
void jsk_rviz_plugins::VideoCaptureDisplay::update | ( | float | wall_dt, |
float | ros_dt | ||
) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 166 of file video_capture_display.cpp.
void jsk_rviz_plugins::VideoCaptureDisplay::updateFileName | ( | ) | [protected, slot] |
Definition at line 87 of file video_capture_display.cpp.
void jsk_rviz_plugins::VideoCaptureDisplay::updateFps | ( | ) | [protected, slot] |
Definition at line 144 of file video_capture_display.cpp.
void jsk_rviz_plugins::VideoCaptureDisplay::updateStartCapture | ( | ) | [protected, slot] |
Definition at line 125 of file video_capture_display.cpp.
bool jsk_rviz_plugins::VideoCaptureDisplay::capturing_ [protected] |
Definition at line 71 of file video_capture_display.h.
std::string jsk_rviz_plugins::VideoCaptureDisplay::file_name_ [protected] |
Definition at line 70 of file video_capture_display.h.
Definition at line 67 of file video_capture_display.h.
bool jsk_rviz_plugins::VideoCaptureDisplay::first_time_ [protected] |
Definition at line 74 of file video_capture_display.h.
double jsk_rviz_plugins::VideoCaptureDisplay::fps_ [protected] |
Definition at line 72 of file video_capture_display.h.
Definition at line 69 of file video_capture_display.h.
int jsk_rviz_plugins::VideoCaptureDisplay::frame_counter_ [protected] |
Definition at line 73 of file video_capture_display.h.
Definition at line 68 of file video_capture_display.h.
cv::VideoWriter jsk_rviz_plugins::VideoCaptureDisplay::writer_ [protected] |
Definition at line 75 of file video_capture_display.h.