#include <re_visionmodelcreator.h>
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 |
Creates recognition models compatible with re_vision from a set of dense point clouds.
Definition at line 64 of file re_visionmodelcreator.h.
re_visionModelCreator::re_visionModelCreator | ( | const std::vector< boost::shared_ptr< pcl::PointCloud< pcl::PointXYZRGB > > > & | pointclouds | ) |
Constructor.
pointclouds | different views from the model as dense point clouds |
Definition at line 94 of file re_visionmodelcreator.cpp.
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.
parent_dir | target directory |
merged_pcl | the merged point cloud |
modelname | the 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.
const std::vector<boost::shared_ptr<pcl::PointCloud<pcl::PointXYZRGB> > >& re_visionModelCreator::pcls [protected] |
Definition at line 87 of file re_visionmodelcreator.h.