Public Member Functions | Static Public Member Functions | Protected Attributes
re_visionModelCreator Class Reference

#include <re_visionmodelcreator.h>

List of all members.

Public Member Functions

void createModel (const QDir &parent_dir, const pcl::PointCloud< pcl::PointXYZRGB > &merged_pcl, const QString &modelname)
 re_visionModelCreator (const std::vector< boost::shared_ptr< pcl::PointCloud< pcl::PointXYZRGB > > > &pointclouds)

Static Public Member Functions

static void createMetaFile (QDir model_dir, QString modelname, QString modeltype, size_t face_count, double scale)
 creates a meta file compatible to re_vision
static void saveAsPLY (pcl::PointCloud< pcl::PointXYZRGB >::ConstPtr pcl, const QString &filename)
 utility function to store a PCL point cloud as PLY file

Protected Attributes

const std::vector
< boost::shared_ptr
< pcl::PointCloud
< pcl::PointXYZRGB > > > & 
pcls

Detailed Description

Creates recognition models compatible with re_vision from a set of dense point clouds.

Definition at line 64 of file re_visionmodelcreator.h.


Constructor & Destructor Documentation

re_visionModelCreator::re_visionModelCreator ( const std::vector< boost::shared_ptr< pcl::PointCloud< pcl::PointXYZRGB > > > &  pointclouds)

Constructor.

Parameters:
pointcloudsdifferent views from the model as dense point clouds

Definition at line 94 of file re_visionmodelcreator.cpp.


Member Function Documentation

void re_visionModelCreator::createMetaFile ( QDir  model_dir,
QString  modelname,
QString  modeltype,
size_t  face_count,
double  scale 
) [static]

creates a meta file compatible to re_vision

Definition at line 67 of file re_visionmodelcreator.cpp.

void re_visionModelCreator::createModel ( const QDir &  parent_dir,
const pcl::PointCloud< pcl::PointXYZRGB > &  merged_pcl,
const QString &  modelname 
)

Store a recognition model compatible to re_vision to a given directory.

Parameters:
parent_dirtarget directory
merged_pclthe merged point cloud
modelnamethe name of the model

Definition at line 98 of file re_visionmodelcreator.cpp.

void re_visionModelCreator::saveAsPLY ( pcl::PointCloud< pcl::PointXYZRGB >::ConstPtr  pcl,
const QString &  filename 
) [static]

utility function to store a PCL point cloud as PLY file

Definition at line 239 of file re_visionmodelcreator.cpp.


Member Data Documentation

const std::vector<boost::shared_ptr<pcl::PointCloud<pcl::PointXYZRGB> > >& re_visionModelCreator::pcls [protected]

Definition at line 87 of file re_visionmodelcreator.h.


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


re_object_recorder
Author(s): Andreas Koch
autogenerated on Sun Jan 5 2014 11:39:13