Point Cloud Library (PCL)  1.9.1-dev
List of all members | Classes | Public Member Functions | Public Attributes | Static Public Attributes
pcl::gpu::DataSource Struct Reference

#include </__w/1/s/gpu/features/test/data_source.hpp>

Classes

struct  Normal2PointXYZ
 

Public Member Functions

 DataSource (const std::string &file="d:/office_chair_model.pcd")
 
void generateColor ()
 
void estimateNormals ()
 
void runCloudViewer () const
 
void findKNNeghbors ()
 
void findRadiusNeghbors (float radius=-1)
 
void getNeghborsArray (std::vector< int > &data)
 
void generateSurface ()
 
void generateIndices (size_t step=100)
 

Public Attributes

PointCloud< PointXYZ >::Ptr cloud
 
PointCloud< PointXYZ >::Ptr surface
 
IndicesPtr indices
 
PointCloud< Normal >::Ptr normals
 
PointCloud< Normal >::Ptr normals_surface
 
float radius
 
std::vector< std::vector< int > > neighbors_all
 
std::vector< int > sizes
 
int max_nn_size
 

Static Public Attributes

static const int k = 32
 
static const int max_elements = 500
 

Detailed Description

Definition at line 65 of file data_source.hpp.

Constructor & Destructor Documentation

pcl::gpu::DataSource::DataSource ( const std::string &  file = "d:/office_chair_model.pcd")
inline

Definition at line 82 of file data_source.hpp.

References pcl::getMinMax3D(), and pcl::PCDReader::read().

Member Function Documentation

void pcl::gpu::DataSource::estimateNormals ( )
inline
void pcl::gpu::DataSource::findKNNeghbors ( )
inline
void pcl::gpu::DataSource::findRadiusNeghbors ( float  radius = -1)
inline
void pcl::gpu::DataSource::generateColor ( )
inline

Definition at line 95 of file data_source.hpp.

References pcl::PointCloud< PointT >::points.

void pcl::gpu::DataSource::generateIndices ( size_t  step = 100)
inline

Definition at line 191 of file data_source.hpp.

References pcl::PointCloud< PointT >::points.

void pcl::gpu::DataSource::generateSurface ( )
inline
void pcl::gpu::DataSource::getNeghborsArray ( std::vector< int > &  data)
inline

Definition at line 164 of file data_source.hpp.

References pcl::gpu::PtrStep< T >::ptr().

void pcl::gpu::DataSource::runCloudViewer ( ) const
inline

Member Data Documentation

PointCloud<PointXYZ>::Ptr pcl::gpu::DataSource::cloud

Definition at line 70 of file data_source.hpp.

IndicesPtr pcl::gpu::DataSource::indices

Definition at line 72 of file data_source.hpp.

const int pcl::gpu::DataSource::k = 32
static

Definition at line 67 of file data_source.hpp.

const int pcl::gpu::DataSource::max_elements = 500
static

Definition at line 68 of file data_source.hpp.

int pcl::gpu::DataSource::max_nn_size

Definition at line 80 of file data_source.hpp.

std::vector< std::vector<int> > pcl::gpu::DataSource::neighbors_all

Definition at line 78 of file data_source.hpp.

PointCloud<Normal>::Ptr pcl::gpu::DataSource::normals

Definition at line 74 of file data_source.hpp.

PointCloud<Normal>::Ptr pcl::gpu::DataSource::normals_surface

Definition at line 75 of file data_source.hpp.

float pcl::gpu::DataSource::radius

Definition at line 76 of file data_source.hpp.

Referenced by findRadiusNeghbors().

std::vector<int> pcl::gpu::DataSource::sizes

Definition at line 79 of file data_source.hpp.

PointCloud<PointXYZ>::Ptr pcl::gpu::DataSource::surface

Definition at line 71 of file data_source.hpp.


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