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

List of all members.

Public Types

typedef pcl::PointCloud
< PointType
Cloud
typedef Cloud::ConstPtr CloudConstPtr
typedef Cloud::Ptr CloudPtr
typedef
ParticleFilter::CoherencePtr 
CoherencePtr
typedef pcl::search::KdTree
< PointType
KdTree
typedef KdTree::Ptr KdTreePtr
typedef ParticleFilterTracker
< RefPointType, ParticleT
ParticleFilter
typedef ParticleXYZRPY ParticleT
typedef pcl::PointCloud
< RefPointType
RefCloud
typedef RefCloud::ConstPtr RefCloudConstPtr
typedef RefCloud::Ptr RefCloudPtr
typedef pcl::PointXYZRGBA RefPointType

Public Member Functions

void addNormalToCloud (const CloudConstPtr &cloud, const pcl::PointCloud< pcl::Normal >::ConstPtr &normals, RefCloud &result)
void cloud_cb (const CloudConstPtr &cloud)
void convexHull (const CloudConstPtr &cloud, Cloud &, std::vector< pcl::Vertices > &hull_vertices)
bool drawParticles (pcl::visualization::PCLVisualizer &viz)
void drawResult (pcl::visualization::PCLVisualizer &viz)
void euclideanSegment (const CloudConstPtr &cloud, std::vector< pcl::PointIndices > &cluster_indices)
void extractNonPlanePoints (const CloudConstPtr &cloud, const CloudConstPtr &cloud_hull, Cloud &result)
void extractSegmentCluster (const CloudConstPtr &cloud, const std::vector< pcl::PointIndices > cluster_indices, const int segment_index, Cloud &result)
void filterPassThrough (const CloudConstPtr &cloud, Cloud &result)
void gridSample (const CloudConstPtr &cloud, Cloud &result, double leaf_size=0.01)
void gridSampleApprox (const CloudConstPtr &cloud, Cloud &result, double leaf_size=0.01)
void normalEstimation (const CloudConstPtr &cloud, pcl::PointCloud< pcl::Normal > &result)
 OpenNISegmentTracking (const std::string &device_id, int thread_nr, double downsampling_grid_size, bool use_convex_hull, bool visualize_non_downsample, bool visualize_particles, bool use_fixed)
void planeProjection (const CloudConstPtr &cloud, Cloud &result, const pcl::ModelCoefficients::ConstPtr &coefficients)
void planeSegmentation (const CloudConstPtr &cloud, pcl::ModelCoefficients &coefficients, pcl::PointIndices &inliers)
void removeZeroPoints (const CloudConstPtr &cloud, Cloud &result)
void run ()
void tracking (const RefCloudConstPtr &cloud)
void viz_cb (pcl::visualization::PCLVisualizer &viz)

Public Attributes

CloudPtr cloud_hull_
CloudPtr cloud_pass_
CloudPtr cloud_pass_downsampled_
double computation_time_
int counter_
std::string device_id_
double downsampling_grid_size_
double downsampling_time_
std::vector< pcl::Verticeshull_vertices_
boost::mutex mtx_
pcl::NormalEstimationOMP
< PointType, pcl::Normal
ne_
bool new_cloud_
CloudPtr nonplane_cloud_
pcl::PointCloud< pcl::Normal >::Ptr normals_
CloudPtr plane_cloud_
CloudPtr reference_
CloudPtr segmented_cloud_
boost::shared_ptr< ParticleFiltertracker_
double tracking_time_
bool use_convex_hull_
pcl::visualization::CloudViewer viewer_
bool visualize_non_downsample_
bool visualize_particles_

Detailed Description

template<typename PointType>
class OpenNISegmentTracking< PointType >

Definition at line 109 of file openni_tracking.cpp.


Member Typedef Documentation

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

Definition at line 117 of file openni_tracking.cpp.

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

Definition at line 122 of file openni_tracking.cpp.

template<typename PointType>
typedef Cloud::Ptr OpenNISegmentTracking< PointType >::CloudPtr

Definition at line 121 of file openni_tracking.cpp.

Definition at line 127 of file openni_tracking.cpp.

template<typename PointType>
typedef pcl::search::KdTree<PointType> OpenNISegmentTracking< PointType >::KdTree

Definition at line 128 of file openni_tracking.cpp.

template<typename PointType>
typedef KdTree::Ptr OpenNISegmentTracking< PointType >::KdTreePtr

Definition at line 129 of file openni_tracking.cpp.

Definition at line 126 of file openni_tracking.cpp.

template<typename PointType>
typedef ParticleXYZRPY OpenNISegmentTracking< PointType >::ParticleT

Definition at line 115 of file openni_tracking.cpp.

template<typename PointType>
typedef pcl::PointCloud<RefPointType> OpenNISegmentTracking< PointType >::RefCloud

Definition at line 118 of file openni_tracking.cpp.

template<typename PointType>
typedef RefCloud::ConstPtr OpenNISegmentTracking< PointType >::RefCloudConstPtr

Definition at line 120 of file openni_tracking.cpp.

template<typename PointType>
typedef RefCloud::Ptr OpenNISegmentTracking< PointType >::RefCloudPtr

Definition at line 119 of file openni_tracking.cpp.

template<typename PointType>
typedef pcl::PointXYZRGBA OpenNISegmentTracking< PointType >::RefPointType

Definition at line 113 of file openni_tracking.cpp.


Constructor & Destructor Documentation

template<typename PointType>
OpenNISegmentTracking< PointType >::OpenNISegmentTracking ( const std::string device_id,
int  thread_nr,
double  downsampling_grid_size,
bool  use_convex_hull,
bool  visualize_non_downsample,
bool  visualize_particles,
bool  use_fixed 
) [inline]

Definition at line 130 of file openni_tracking.cpp.


Member Function Documentation

template<typename PointType>
void OpenNISegmentTracking< PointType >::addNormalToCloud ( const CloudConstPtr cloud,
const pcl::PointCloud< pcl::Normal >::ConstPtr &  normals,
RefCloud result 
) [inline]

Definition at line 451 of file openni_tracking.cpp.

template<typename PointType>
void OpenNISegmentTracking< PointType >::cloud_cb ( const CloudConstPtr cloud) [inline]

Definition at line 528 of file openni_tracking.cpp.

template<typename PointType>
void OpenNISegmentTracking< PointType >::convexHull ( const CloudConstPtr cloud,
Cloud ,
std::vector< pcl::Vertices > &  hull_vertices 
) [inline]

Definition at line 420 of file openni_tracking.cpp.

template<typename PointType>
bool OpenNISegmentTracking< PointType >::drawParticles ( pcl::visualization::PCLVisualizer viz) [inline]

Definition at line 212 of file openni_tracking.cpp.

template<typename PointType>
void OpenNISegmentTracking< PointType >::drawResult ( pcl::visualization::PCLVisualizer viz) [inline]

Definition at line 246 of file openni_tracking.cpp.

template<typename PointType>
void OpenNISegmentTracking< PointType >::euclideanSegment ( const CloudConstPtr cloud,
std::vector< pcl::PointIndices > &  cluster_indices 
) [inline]

Definition at line 344 of file openni_tracking.cpp.

template<typename PointType>
void OpenNISegmentTracking< PointType >::extractNonPlanePoints ( const CloudConstPtr cloud,
const CloudConstPtr cloud_hull,
Cloud result 
) [inline]

Definition at line 472 of file openni_tracking.cpp.

template<typename PointType>
void OpenNISegmentTracking< PointType >::extractSegmentCluster ( const CloudConstPtr cloud,
const std::vector< pcl::PointIndices cluster_indices,
const int  segment_index,
Cloud result 
) [inline]

Definition at line 511 of file openni_tracking.cpp.

template<typename PointType>
void OpenNISegmentTracking< PointType >::filterPassThrough ( const CloudConstPtr cloud,
Cloud result 
) [inline]

Definition at line 330 of file openni_tracking.cpp.

template<typename PointType>
void OpenNISegmentTracking< PointType >::gridSample ( const CloudConstPtr cloud,
Cloud result,
double  leaf_size = 0.01 
) [inline]

Definition at line 361 of file openni_tracking.cpp.

template<typename PointType>
void OpenNISegmentTracking< PointType >::gridSampleApprox ( const CloudConstPtr cloud,
Cloud result,
double  leaf_size = 0.01 
) [inline]

Definition at line 376 of file openni_tracking.cpp.

template<typename PointType>
void OpenNISegmentTracking< PointType >::normalEstimation ( const CloudConstPtr cloud,
pcl::PointCloud< pcl::Normal > &  result 
) [inline]

Definition at line 431 of file openni_tracking.cpp.

template<typename PointType>
void OpenNISegmentTracking< PointType >::planeProjection ( const CloudConstPtr cloud,
Cloud result,
const pcl::ModelCoefficients::ConstPtr coefficients 
) [inline]

Definition at line 407 of file openni_tracking.cpp.

template<typename PointType>
void OpenNISegmentTracking< PointType >::planeSegmentation ( const CloudConstPtr cloud,
pcl::ModelCoefficients coefficients,
pcl::PointIndices inliers 
) [inline]

Definition at line 391 of file openni_tracking.cpp.

template<typename PointType>
void OpenNISegmentTracking< PointType >::removeZeroPoints ( const CloudConstPtr cloud,
Cloud result 
) [inline]

Definition at line 491 of file openni_tracking.cpp.

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

Definition at line 653 of file openni_tracking.cpp.

template<typename PointType>
void OpenNISegmentTracking< PointType >::tracking ( const RefCloudConstPtr cloud) [inline]

Definition at line 440 of file openni_tracking.cpp.

template<typename PointType>
void OpenNISegmentTracking< PointType >::viz_cb ( pcl::visualization::PCLVisualizer viz) [inline]

Definition at line 268 of file openni_tracking.cpp.


Member Data Documentation

template<typename PointType>
CloudPtr OpenNISegmentTracking< PointType >::cloud_hull_

Definition at line 675 of file openni_tracking.cpp.

template<typename PointType>
CloudPtr OpenNISegmentTracking< PointType >::cloud_pass_

Definition at line 671 of file openni_tracking.cpp.

Definition at line 672 of file openni_tracking.cpp.

template<typename PointType>
double OpenNISegmentTracking< PointType >::computation_time_

Definition at line 690 of file openni_tracking.cpp.

template<typename PointType>
int OpenNISegmentTracking< PointType >::counter_

Definition at line 685 of file openni_tracking.cpp.

template<typename PointType>
std::string OpenNISegmentTracking< PointType >::device_id_

Definition at line 680 of file openni_tracking.cpp.

template<typename PointType>
double OpenNISegmentTracking< PointType >::downsampling_grid_size_

Definition at line 692 of file openni_tracking.cpp.

template<typename PointType>
double OpenNISegmentTracking< PointType >::downsampling_time_

Definition at line 691 of file openni_tracking.cpp.

template<typename PointType>
std::vector<pcl::Vertices> OpenNISegmentTracking< PointType >::hull_vertices_

Definition at line 678 of file openni_tracking.cpp.

template<typename PointType>
boost::mutex OpenNISegmentTracking< PointType >::mtx_

Definition at line 681 of file openni_tracking.cpp.

Definition at line 683 of file openni_tracking.cpp.

template<typename PointType>
bool OpenNISegmentTracking< PointType >::new_cloud_

Definition at line 682 of file openni_tracking.cpp.

template<typename PointType>
CloudPtr OpenNISegmentTracking< PointType >::nonplane_cloud_

Definition at line 674 of file openni_tracking.cpp.

template<typename PointType>
pcl::PointCloud<pcl::Normal>::Ptr OpenNISegmentTracking< PointType >::normals_

Definition at line 670 of file openni_tracking.cpp.

template<typename PointType>
CloudPtr OpenNISegmentTracking< PointType >::plane_cloud_

Definition at line 673 of file openni_tracking.cpp.

template<typename PointType>
CloudPtr OpenNISegmentTracking< PointType >::reference_

Definition at line 677 of file openni_tracking.cpp.

template<typename PointType>
CloudPtr OpenNISegmentTracking< PointType >::segmented_cloud_

Definition at line 676 of file openni_tracking.cpp.

template<typename PointType>
boost::shared_ptr<ParticleFilter> OpenNISegmentTracking< PointType >::tracker_

Definition at line 684 of file openni_tracking.cpp.

template<typename PointType>
double OpenNISegmentTracking< PointType >::tracking_time_

Definition at line 689 of file openni_tracking.cpp.

template<typename PointType>
bool OpenNISegmentTracking< PointType >::use_convex_hull_

Definition at line 686 of file openni_tracking.cpp.

Definition at line 669 of file openni_tracking.cpp.

template<typename PointType>
bool OpenNISegmentTracking< PointType >::visualize_non_downsample_

Definition at line 687 of file openni_tracking.cpp.

template<typename PointType>
bool OpenNISegmentTracking< PointType >::visualize_particles_

Definition at line 688 of file openni_tracking.cpp.


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


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