Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
SimpleOpenNIViewer< PointType > Class Template Reference

List of all members.

Public Types

typedef pcl::PointCloud
< PointType
Cloud
typedef Cloud::ConstPtr CloudConstPtr

Public Member Functions

void cloud_callback (const CloudConstPtr &cloud)
void cloud_cb_ (const pcl::PointCloud< pcl::PointXYZRGBA >::ConstPtr &cloud)
void cloud_cb_ (const pcl::PointCloud< pcl::PointXYZRGBA >::ConstPtr &cloud)
void cloud_cb_ (const pcl::PointCloud< pcl::PointXYZRGBA >::ConstPtr &cloud)
CloudConstPtr getLatestCloud ()
 swaps the pointer to the point cloud with Null pointer and returns the cloud pointer
boost::shared_ptr
< openni_wrapper::Image > 
getLatestImage ()
void image_callback (const boost::shared_ptr< openni_wrapper::Image > &image, const boost::shared_ptr< openni_wrapper::DepthImage > &depth_image, float)
void image_callback (const boost::shared_ptr< openni_wrapper::Image > &image, const boost::shared_ptr< openni_wrapper::DepthImage > &depth_image, float)
void image_callback (const boost::shared_ptr< openni_wrapper::Image > &image)
void keyboard_callback (const pcl::visualization::KeyboardEvent &event, void *cookie)
void mouse_callback (const pcl::visualization::MouseEvent &mouse_event, void *cookie)
void run ()
void run ()
void run ()
void run ()
void run ()
void run ()
 starts the main loop
 SimpleOpenNIViewer ()
 SimpleOpenNIViewer ()
 SimpleOpenNIViewer (pcl::OpenNIGrabber &grabber)
 SimpleOpenNIViewer (pcl::OpenNIGrabber &grabber)
 SimpleOpenNIViewer (ostream &outputFile_arg, OrganizedPointCloudCompression< PointXYZRGBA > *octreeEncoder_arg, bool doColorEncoding_arg, bool bShowStatistics_arg, bool bRawImageEncoding_arg, bool bGrayScaleConversion_arg, int pngLevel_arg=-1)
 SimpleOpenNIViewer (ostream &outputFile_arg, OctreePointCloudCompression< PointXYZRGBA > *octreeEncoder_arg)
 ~SimpleOpenNIViewer ()

Public Attributes

bool bGrayScaleConversion_
bool bRawImageEncoding_
bool bShowStatistics_
CloudConstPtr cloud_
boost::mutex cloud_mutex_
pcl::visualization::CloudViewer cloud_viewer_
boost::shared_ptr
< openni_wrapper::DepthImage > 
depth_image_
vtkSmartPointer< vtkImageImport > depth_importer_
bool doColorEncoding_
vtkSmartPointer< vtkImageFlip > flipper_
pcl::OpenNIGrabber & grabber_
boost::shared_ptr
< openni_wrapper::Image > 
image_
boost::mutex image_mutex_
pcl::visualization::ImageViewer image_viewer_
vtkSmartPointer< vtkImageImport > importer_
OctreePointCloudCompression
< PointXYZRGBA > * 
octreeEncoder_
OrganizedPointCloudCompression
< PointXYZRGBA > * 
organizedEncoder_
ostream & outputFile_
int pngLevel_
pcl::io::OctreePointCloudCompression
< pcl::PointXYZRGBA > * 
PointCloudDecoder
pcl::io::OctreePointCloudCompression
< pcl::PointXYZRGBA > * 
PointCloudEncoder
pcl::visualization::CloudViewer viewer
vtkSmartPointer< vtkTIFFWriter > writer_

Protected Member Functions

void convert (std::vector< uint16_t > &depthData_arg, std::vector< uint8_t > &rgbData_arg, size_t width_arg, size_t height_arg, float focalLength_arg, pcl::PointCloud< PointXYZRGB > &cloud_arg) const

Protected Attributes

pcl::OpenNIGrabber * grabber_
pcl::visualization::CloudViewer viewer_

Detailed Description

template<typename PointType>
class SimpleOpenNIViewer< PointType >

Definition at line 131 of file openni_octree_compression.cpp.


Member Typedef Documentation

template<typename PointType>
typedef pcl::PointCloud<PointType> SimpleOpenNIViewer< PointType >::Cloud

Definition at line 85 of file openni_viewer_simple.cpp.

template<typename PointType>
typedef Cloud::ConstPtr SimpleOpenNIViewer< PointType >::CloudConstPtr

Definition at line 86 of file openni_viewer_simple.cpp.


Constructor & Destructor Documentation

template<typename PointType>
SimpleOpenNIViewer< PointType >::SimpleOpenNIViewer ( ostream &  outputFile_arg,
OctreePointCloudCompression< PointXYZRGBA > *  octreeEncoder_arg 
) [inline]

Definition at line 134 of file openni_octree_compression.cpp.

template<typename PointType>
SimpleOpenNIViewer< PointType >::SimpleOpenNIViewer ( ostream &  outputFile_arg,
OrganizedPointCloudCompression< PointXYZRGBA > *  octreeEncoder_arg,
bool  doColorEncoding_arg,
bool  bShowStatistics_arg,
bool  bRawImageEncoding_arg,
bool  bGrayScaleConversion_arg,
int  pngLevel_arg = -1 
) [inline]

Definition at line 117 of file openni_organized_compression.cpp.

template<typename PointType>
SimpleOpenNIViewer< PointType >::SimpleOpenNIViewer ( ) [inline]

Definition at line 66 of file openni_shift_to_depth_conversion.cpp.

template<typename PointType>
SimpleOpenNIViewer< PointType >::~SimpleOpenNIViewer ( ) [inline]

Definition at line 72 of file openni_shift_to_depth_conversion.cpp.

template<typename PointType>
SimpleOpenNIViewer< PointType >::SimpleOpenNIViewer ( ) [inline]

Definition at line 19 of file point_cloud_compression.cpp.

template<typename PointType>
SimpleOpenNIViewer< PointType >::SimpleOpenNIViewer ( pcl::OpenNIGrabber &  grabber) [inline]

Definition at line 76 of file openni_save_image.cpp.

template<typename PointType>
SimpleOpenNIViewer< PointType >::SimpleOpenNIViewer ( pcl::OpenNIGrabber &  grabber) [inline]

Definition at line 88 of file openni_viewer_simple.cpp.


Member Function Documentation

template<typename PointType>
void SimpleOpenNIViewer< PointType >::cloud_callback ( const CloudConstPtr cloud) [inline]

Definition at line 98 of file openni_viewer_simple.cpp.

template<typename PointType>
void SimpleOpenNIViewer< PointType >::cloud_cb_ ( const pcl::PointCloud< pcl::PointXYZRGBA >::ConstPtr &  cloud) [inline]

Definition at line 25 of file point_cloud_compression.cpp.

template<typename PointType>
void SimpleOpenNIViewer< PointType >::cloud_cb_ ( const pcl::PointCloud< pcl::PointXYZRGBA >::ConstPtr &  cloud) [inline]

Definition at line 135 of file openni_organized_compression.cpp.

template<typename PointType>
void SimpleOpenNIViewer< PointType >::cloud_cb_ ( const pcl::PointCloud< pcl::PointXYZRGBA >::ConstPtr &  cloud) [inline]

Definition at line 140 of file openni_octree_compression.cpp.

template<typename PointType>
void SimpleOpenNIViewer< PointType >::convert ( std::vector< uint16_t > &  depthData_arg,
std::vector< uint8_t > &  rgbData_arg,
size_t  width_arg,
size_t  height_arg,
float  focalLength_arg,
pcl::PointCloud< PointXYZRGB > &  cloud_arg 
) const [inline, protected]

Definition at line 154 of file openni_shift_to_depth_conversion.cpp.

template<typename PointType>
CloudConstPtr SimpleOpenNIViewer< PointType >::getLatestCloud ( ) [inline]

swaps the pointer to the point cloud with Null pointer and returns the cloud pointer

Returns:
boost shared pointer to point cloud

Definition at line 152 of file openni_viewer_simple.cpp.

template<typename PointType>
boost::shared_ptr<openni_wrapper::Image> SimpleOpenNIViewer< PointType >::getLatestImage ( ) [inline]

Definition at line 115 of file openni_viewer_simple.cpp.

template<typename PointType>
void SimpleOpenNIViewer< PointType >::image_callback ( const boost::shared_ptr< openni_wrapper::Image > &  image,
const boost::shared_ptr< openni_wrapper::DepthImage > &  depth_image,
float   
) [inline]

Definition at line 79 of file openni_shift_to_depth_conversion.cpp.

template<typename PointType>
void SimpleOpenNIViewer< PointType >::image_callback ( const boost::shared_ptr< openni_wrapper::Image > &  image,
const boost::shared_ptr< openni_wrapper::DepthImage > &  depth_image,
float   
) [inline]

Definition at line 95 of file openni_save_image.cpp.

template<typename PointType>
void SimpleOpenNIViewer< PointType >::image_callback ( const boost::shared_ptr< openni_wrapper::Image > &  image) [inline]

Definition at line 107 of file openni_viewer_simple.cpp.

template<typename PointType>
void SimpleOpenNIViewer< PointType >::keyboard_callback ( const pcl::visualization::KeyboardEvent event,
void *  cookie 
) [inline]

Definition at line 125 of file openni_viewer_simple.cpp.

template<typename PointType>
void SimpleOpenNIViewer< PointType >::mouse_callback ( const pcl::visualization::MouseEvent mouse_event,
void *  cookie 
) [inline]

Definition at line 139 of file openni_viewer_simple.cpp.

template<typename PointType>
void SimpleOpenNIViewer< PointType >::run ( ) [inline]

Definition at line 47 of file point_cloud_compression.cpp.

template<typename PointType>
void SimpleOpenNIViewer< PointType >::run ( ) [inline]

Definition at line 105 of file openni_save_image.cpp.

template<typename PointType>
void SimpleOpenNIViewer< PointType >::run ( ) [inline]

Definition at line 123 of file openni_shift_to_depth_conversion.cpp.

template<typename PointType>
void SimpleOpenNIViewer< PointType >::run ( ) [inline]

Definition at line 147 of file openni_organized_compression.cpp.

template<typename PointType>
void SimpleOpenNIViewer< PointType >::run ( ) [inline]

Definition at line 152 of file openni_octree_compression.cpp.

template<typename PointType>
void SimpleOpenNIViewer< PointType >::run ( ) [inline]

starts the main loop

Definition at line 167 of file openni_viewer_simple.cpp.


Member Data Documentation

template<typename PointType>
bool SimpleOpenNIViewer< PointType >::bGrayScaleConversion_

Definition at line 182 of file openni_organized_compression.cpp.

template<typename PointType>
bool SimpleOpenNIViewer< PointType >::bRawImageEncoding_

Definition at line 181 of file openni_organized_compression.cpp.

template<typename PointType>
bool SimpleOpenNIViewer< PointType >::bShowStatistics_

Definition at line 180 of file openni_organized_compression.cpp.

template<typename PointType>
CloudConstPtr SimpleOpenNIViewer< PointType >::cloud_

Definition at line 240 of file openni_viewer_simple.cpp.

template<typename PointType>
boost::mutex SimpleOpenNIViewer< PointType >::cloud_mutex_

Definition at line 239 of file openni_viewer_simple.cpp.

Definition at line 237 of file openni_viewer_simple.cpp.

template<typename PointType>
boost::shared_ptr<openni_wrapper::DepthImage> SimpleOpenNIViewer< PointType >::depth_image_

Definition at line 188 of file openni_save_image.cpp.

template<typename PointType>
vtkSmartPointer<vtkImageImport> SimpleOpenNIViewer< PointType >::depth_importer_

Definition at line 189 of file openni_save_image.cpp.

template<typename PointType>
bool SimpleOpenNIViewer< PointType >::doColorEncoding_

Definition at line 179 of file openni_organized_compression.cpp.

template<typename PointType>
vtkSmartPointer<vtkImageFlip> SimpleOpenNIViewer< PointType >::flipper_

Definition at line 191 of file openni_save_image.cpp.

template<typename PointType>
pcl::OpenNIGrabber& SimpleOpenNIViewer< PointType >::grabber_

Definition at line 185 of file openni_save_image.cpp.

template<typename PointType>
pcl::OpenNIGrabber & SimpleOpenNIViewer< PointType >::grabber_ [protected]

Definition at line 223 of file openni_shift_to_depth_conversion.cpp.

template<typename PointType>
boost::shared_ptr< openni_wrapper::Image > SimpleOpenNIViewer< PointType >::image_

Definition at line 187 of file openni_save_image.cpp.

template<typename PointType>
boost::mutex SimpleOpenNIViewer< PointType >::image_mutex_

Definition at line 186 of file openni_save_image.cpp.

Definition at line 245 of file openni_viewer_simple.cpp.

template<typename PointType>
vtkSmartPointer<vtkImageImport> SimpleOpenNIViewer< PointType >::importer_

Definition at line 189 of file openni_save_image.cpp.

Definition at line 179 of file openni_octree_compression.cpp.

Definition at line 178 of file openni_organized_compression.cpp.

template<typename PointType>
ostream & SimpleOpenNIViewer< PointType >::outputFile_

Definition at line 178 of file openni_octree_compression.cpp.

template<typename PointType>
int SimpleOpenNIViewer< PointType >::pngLevel_

Definition at line 183 of file openni_organized_compression.cpp.

Definition at line 88 of file point_cloud_compression.cpp.

Definition at line 87 of file point_cloud_compression.cpp.

Definition at line 177 of file openni_octree_compression.cpp.

template<typename PointType>
pcl::visualization::CloudViewer SimpleOpenNIViewer< PointType >::viewer_ [protected]

Definition at line 222 of file openni_shift_to_depth_conversion.cpp.

template<typename PointType>
vtkSmartPointer<vtkTIFFWriter> SimpleOpenNIViewer< PointType >::writer_

Definition at line 190 of file openni_save_image.cpp.


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