Public Types | Public Slots | Public Member Functions | Protected Attributes | Private Slots
PCDVideoPlayer Class Reference

#include <pcd_video_player.h>

List of all members.

Public Types

typedef pcl::PointCloud
< pcl::PointXYZRGBA
Cloud
typedef Cloud::ConstPtr CloudConstPtr
typedef Cloud::Ptr CloudPtr

Public Slots

void backButtonPressed ()
void indexSliderValueChanged (int value)
void nextButtonPressed ()
void playButtonPressed ()
void selectFilesButtonPressed ()
void selectFolderButtonPressed ()
void stopButtonPressed ()

Public Member Functions

 PCDVideoPlayer ()
 ~PCDVideoPlayer ()

Protected Attributes

pcl::PointCloud
< pcl::PointXYZRGBA >::Ptr 
cloud_
bool cloud_modified_
 Indicate that the timeoutSlot needs to reload the pointcloud.
bool cloud_present_
 Indicate that pointclouds were loaded.
unsigned int current_frame_
 The current displayed frame.
QString dir_
QMutex mtx_
unsigned int nr_of_frames_
 Store the number of loaded frames.
std::vector< std::stringpcd_files_
std::vector
< boost::filesystem::path > 
pcd_paths_
bool play_mode_
 Indicate that files should play continiously.
unsigned int speed_counter_
 In play mode only update if speed_counter_ == speed_value.
unsigned int speed_value_
 Fixes the speed in steps of 5ms, default 5, gives 5+1 * 5ms = 30ms = 33,3 Hz playback speed.
Ui::MainWindow * ui_
boost::shared_ptr
< pcl::visualization::PCLVisualizer
vis_
QMutex vis_mtx_
QTimer * vis_timer_

Private Slots

void timeoutSlot ()

Detailed Description

Definition at line 94 of file pcd_video_player.h.


Member Typedef Documentation

Definition at line 98 of file pcd_video_player.h.

Definition at line 100 of file pcd_video_player.h.

Definition at line 99 of file pcd_video_player.h.


Constructor & Destructor Documentation

Definition at line 72 of file pcd_video_player.cpp.

Definition at line 104 of file pcd_video_player.h.


Member Function Documentation

Definition at line 114 of file pcd_video_player.cpp.

void PCDVideoPlayer::indexSliderValueChanged ( int  value) [slot]

Definition at line 281 of file pcd_video_player.cpp.

Definition at line 130 of file pcd_video_player.cpp.

void PCDVideoPlayer::playButtonPressed ( ) [inline, slot]

Definition at line 140 of file pcd_video_player.h.

Definition at line 203 of file pcd_video_player.cpp.

Definition at line 146 of file pcd_video_player.cpp.

void PCDVideoPlayer::stopButtonPressed ( ) [inline, slot]

Definition at line 144 of file pcd_video_player.h.

void PCDVideoPlayer::timeoutSlot ( ) [private, slot]

Definition at line 240 of file pcd_video_player.cpp.


Member Data Documentation

Definition at line 108 of file pcd_video_player.h.

Indicate that the timeoutSlot needs to reload the pointcloud.

Definition at line 129 of file pcd_video_player.h.

Indicate that pointclouds were loaded.

Definition at line 127 of file pcd_video_player.h.

unsigned int PCDVideoPlayer::current_frame_ [protected]

The current displayed frame.

Definition at line 122 of file pcd_video_player.h.

QString PCDVideoPlayer::dir_ [protected]

Definition at line 115 of file pcd_video_player.h.

QMutex PCDVideoPlayer::mtx_ [protected]

Definition at line 110 of file pcd_video_player.h.

unsigned int PCDVideoPlayer::nr_of_frames_ [protected]

Store the number of loaded frames.

Definition at line 124 of file pcd_video_player.h.

std::vector<std::string> PCDVideoPlayer::pcd_files_ [protected]

Definition at line 117 of file pcd_video_player.h.

std::vector<boost::filesystem::path> PCDVideoPlayer::pcd_paths_ [protected]

Definition at line 118 of file pcd_video_player.h.

bool PCDVideoPlayer::play_mode_ [protected]

Indicate that files should play continiously.

Definition at line 132 of file pcd_video_player.h.

unsigned int PCDVideoPlayer::speed_counter_ [protected]

In play mode only update if speed_counter_ == speed_value.

Definition at line 134 of file pcd_video_player.h.

unsigned int PCDVideoPlayer::speed_value_ [protected]

Fixes the speed in steps of 5ms, default 5, gives 5+1 * 5ms = 30ms = 33,3 Hz playback speed.

Definition at line 136 of file pcd_video_player.h.

Ui::MainWindow* PCDVideoPlayer::ui_ [protected]

Definition at line 112 of file pcd_video_player.h.

Definition at line 107 of file pcd_video_player.h.

QMutex PCDVideoPlayer::vis_mtx_ [protected]

Definition at line 111 of file pcd_video_player.h.

QTimer* PCDVideoPlayer::vis_timer_ [protected]

Definition at line 113 of file pcd_video_player.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:53