#include <blob.hh>
Public Member Functions | |
Blob (const PointCloud::ConstPtr &cluster) | |
void | mergeFrom (const Blob &rhs) |
bool | overlaps (const Blob &rhs) const |
void | RGB (float &r, float &g, float &b) const |
void | size (double &x, double &y, double &z) const |
Static Public Member Functions | |
static PointCloud::Ptr | flatten (PointCloud::Ptr &in, double z=0.0) |
static void | MergeBlobWithSet (std::vector< Blob * > &objects, Blob *blob) |
Public Attributes | |
PointCloud::Ptr | cloud |
PointCloud::Ptr | hull |
unsigned int | id |
Private Types | |
typedef pcl16::PointXYZRGB | Point |
typedef pcl16::PointCloud< Point > | PointCloud |
Private Member Functions | |
void | hullerize (const PointCloud::ConstPtr &cloud) |
bool | oneSidedIntersect (const PointCloud::ConstPtr &p1, const PointCloud::ConstPtr &p2) const |
void | projectOntoNormal (const PointCloud::ConstPtr &poly, const Point &q1, const Point &q2, double &inf, double &sup) const |
Static Private Member Functions | |
static bool | MergeBlobWithSetHelper (std::vector< Blob * > &objects) |
Static Private Attributes | |
static unsigned int | next_id = 0 |
typedef pcl16::PointXYZRGB semanticmodel::Blob::Point [private] |
typedef pcl16::PointCloud<Point> semanticmodel::Blob::PointCloud [private] |
semanticmodel::Blob::Blob | ( | const PointCloud::ConstPtr & | cluster | ) |
Blob::PointCloud::Ptr semanticmodel::Blob::flatten | ( | PointCloud::Ptr & | in, |
double | z = 0.0 |
||
) | [static] |
void semanticmodel::Blob::hullerize | ( | const PointCloud::ConstPtr & | cloud | ) | [private] |
void semanticmodel::Blob::MergeBlobWithSet | ( | std::vector< Blob * > & | objects, |
Blob * | blob | ||
) | [static] |
bool semanticmodel::Blob::MergeBlobWithSetHelper | ( | std::vector< Blob * > & | objects | ) | [static, private] |
void semanticmodel::Blob::mergeFrom | ( | const Blob & | rhs | ) |
bool semanticmodel::Blob::oneSidedIntersect | ( | const PointCloud::ConstPtr & | p1, |
const PointCloud::ConstPtr & | p2 | ||
) | const [private] |
bool semanticmodel::Blob::overlaps | ( | const Blob & | rhs | ) | const |
void semanticmodel::Blob::projectOntoNormal | ( | const PointCloud::ConstPtr & | poly, |
const Point & | q1, | ||
const Point & | q2, | ||
double & | inf, | ||
double & | sup | ||
) | const [private] |
void semanticmodel::Blob::RGB | ( | float & | r, |
float & | g, | ||
float & | b | ||
) | const |
void semanticmodel::Blob::size | ( | double & | x, |
double & | y, | ||
double & | z | ||
) | const |
PointCloud::Ptr semanticmodel::Blob::cloud |
PointCloud::Ptr semanticmodel::Blob::hull |
unsigned int semanticmodel::Blob::id |
unsigned int semanticmodel::Blob::next_id = 0 [static, private] |