Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
pcl::PCLBase< pcl::PCLPointCloud2 > Class Template Reference

#include <pcl_base.h>

Inheritance diagram for pcl::PCLBase< pcl::PCLPointCloud2 >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef pcl::PCLPointCloud2 PCLPointCloud2
typedef boost::shared_ptr
< PCLPointCloud2 const > 
PCLPointCloud2ConstPtr
typedef boost::shared_ptr
< PCLPointCloud2
PCLPointCloud2Ptr
typedef boost::shared_ptr
< PointIndices const > 
PointIndicesConstPtr
typedef boost::shared_ptr
< PointIndices
PointIndicesPtr

Public Member Functions

IndicesPtr const getIndices ()
 Get a pointer to the vector of indices used.
PCLPointCloud2ConstPtr const getInputCloud ()
 Get a pointer to the input point cloud dataset.
 PCLBase ()
 Empty constructor.
void setIndices (const IndicesPtr &indices)
 Provide a pointer to the vector of indices that represents the input data.
void setIndices (const PointIndicesConstPtr &indices)
 Provide a pointer to the vector of indices that represents the input data.
void setInputCloud (const PCLPointCloud2ConstPtr &cloud)
 Provide a pointer to the input dataset.
virtual ~PCLBase ()
 destructor.

Protected Member Functions

bool deinitCompute ()
bool initCompute ()

Protected Attributes

bool fake_indices_
 If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud.
std::vector< int > field_sizes_
 The size of each individual field.
IndicesPtr indices_
 A pointer to the vector of point indices to use.
PCLPointCloud2ConstPtr input_
 The input point cloud dataset.
bool use_indices_
 Set to true if point indices are used.
std::string x_field_name_
 The desired x-y-z field names.
int x_idx_
 The x-y-z fields indices.
std::string y_field_name_
int y_idx_
std::string z_field_name_
int z_idx_

Detailed Description

template<>
class pcl::PCLBase< pcl::PCLPointCloud2 >

Definition at line 180 of file pcl_base.h.


Member Typedef Documentation

typedef boost::shared_ptr<PointIndices const> pcl::PCLBase< pcl::PCLPointCloud2 >::PointIndicesConstPtr

Definition at line 188 of file pcl_base.h.

Definition at line 187 of file pcl_base.h.


Constructor & Destructor Documentation

Empty constructor.

Definition at line 42 of file pcl_base.cpp.

virtual pcl::PCLBase< pcl::PCLPointCloud2 >::~PCLBase ( ) [inline, virtual]

destructor.

Definition at line 194 of file pcl_base.h.


Member Function Documentation

Definition at line 121 of file pcl_base.cpp.

Get a pointer to the vector of indices used.

Definition at line 224 of file pcl_base.h.

Get a pointer to the input point cloud dataset.

Definition at line 208 of file pcl_base.h.

bool pcl::PCLBase< pcl::PCLPointCloud2 >::initCompute ( ) [protected]

Definition at line 128 of file pcl_base.cpp.

void pcl::PCLBase< pcl::PCLPointCloud2 >::setIndices ( const IndicesPtr indices)

Provide a pointer to the vector of indices that represents the input data.

Parameters:
[in]indicesa pointer to the indices that represent the input data.

Definition at line 162 of file pcl_base.cpp.

Provide a pointer to the vector of indices that represents the input data.

Parameters:
[in]indicesa pointer to the indices that represent the input data.

Definition at line 171 of file pcl_base.cpp.

Provide a pointer to the input dataset.

Parameters:
cloudthe const boost shared pointer to a PointCloud message

Definition at line 59 of file pcl_base.cpp.


Member Data Documentation

If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud.

Definition at line 237 of file pcl_base.h.

std::vector<int> pcl::PCLBase< pcl::PCLPointCloud2 >::field_sizes_ [protected]

The size of each individual field.

Definition at line 240 of file pcl_base.h.

A pointer to the vector of point indices to use.

Definition at line 231 of file pcl_base.h.

The input point cloud dataset.

Definition at line 228 of file pcl_base.h.

Set to true if point indices are used.

Definition at line 234 of file pcl_base.h.

The desired x-y-z field names.

Definition at line 246 of file pcl_base.h.

The x-y-z fields indices.

Definition at line 243 of file pcl_base.h.

Definition at line 246 of file pcl_base.h.

Definition at line 243 of file pcl_base.h.

Definition at line 246 of file pcl_base.h.

Definition at line 243 of file pcl_base.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:42:48