Point Cloud Library (PCL)  1.7.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
pcl::PCLBase< pcl::PCLPointCloud2 > Class Template Reference

#include <pcl/pcl_base.h>

+ Inheritance diagram for pcl::PCLBase< pcl::PCLPointCloud2 >:

List of all members.

Public Types

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

Public Member Functions

 PCLBase ()
 Empty constructor.
virtual ~PCLBase ()
 destructor.
void setInputCloud (const PCLPointCloud2ConstPtr &cloud)
 Provide a pointer to the input dataset.
PCLPointCloud2ConstPtr const getInputCloud ()
 Get a pointer to the input point cloud dataset.
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.
IndicesPtr const getIndices ()
 Get a pointer to the vector of indices used.

Protected Member Functions

bool initCompute ()
bool deinitCompute ()

Protected Attributes

PCLPointCloud2ConstPtr input_
 The input point cloud dataset.
IndicesPtr indices_
 A pointer to the vector of point indices to use.
bool use_indices_
 Set to true if point indices are used.
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.
int x_idx_
 The x-y-z fields indices.
int y_idx_
int z_idx_
std::string x_field_name_
 The desired x-y-z field names.
std::string y_field_name_
std::string z_field_name_

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.

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

destructor.

Definition at line 194 of file pcl_base.h.


Member Function Documentation

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]
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.

Referenced by pcl::outofcore::OutofcoreOctreeBaseNode< ContainerT, PointT >::addPointCloud_and_genLOD(), pcl::outofcore::OutofcoreOctreeBase< ContainerT, PointT >::buildLODRecursive(), and pcl::outofcore::OutofcoreOctreeBaseNode< ContainerT, PointT >::queryBBIncludes_subsample().

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.

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.

std::string pcl::PCLBase< pcl::PCLPointCloud2 >::x_field_name_ [protected]

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.

std::string pcl::PCLBase< pcl::PCLPointCloud2 >::y_field_name_ [protected]

Definition at line 246 of file pcl_base.h.

Definition at line 243 of file pcl_base.h.

std::string pcl::PCLBase< pcl::PCLPointCloud2 >::z_field_name_ [protected]

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 file: