Public Member Functions | Static Public Member Functions | Public Attributes | Private Types | Private Member Functions | Static Private Member Functions | Static Private Attributes
semanticmodel::Blob Class Reference

#include <blob.hh>

Inheritance diagram for semanticmodel::Blob:
Inheritance graph
[legend]

List of all members.

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< PointPointCloud

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

Detailed Description

Definition at line 22 of file blob.hh.


Member Typedef Documentation

typedef pcl16::PointXYZRGB semanticmodel::Blob::Point [private]

Definition at line 26 of file blob.hh.

Definition at line 27 of file blob.hh.


Constructor & Destructor Documentation

semanticmodel::Blob::Blob ( const PointCloud::ConstPtr &  cluster)

Definition at line 18 of file blob.cc.


Member Function Documentation

Blob::PointCloud::Ptr semanticmodel::Blob::flatten ( PointCloud::Ptr &  in,
double  z = 0.0 
) [static]

Definition at line 90 of file blob.cc.

void semanticmodel::Blob::hullerize ( const PointCloud::ConstPtr &  cloud) [private]

Definition at line 125 of file blob.cc.

void semanticmodel::Blob::MergeBlobWithSet ( std::vector< Blob * > &  objects,
Blob blob 
) [static]

Definition at line 98 of file blob.cc.

bool semanticmodel::Blob::MergeBlobWithSetHelper ( std::vector< Blob * > &  objects) [static, private]

Definition at line 105 of file blob.cc.

void semanticmodel::Blob::mergeFrom ( const Blob rhs)

Definition at line 36 of file blob.cc.

bool semanticmodel::Blob::oneSidedIntersect ( const PointCloud::ConstPtr &  p1,
const PointCloud::ConstPtr &  p2 
) const [private]

Definition at line 136 of file blob.cc.

bool semanticmodel::Blob::overlaps ( const Blob rhs) const

Definition at line 30 of file blob.cc.

void semanticmodel::Blob::projectOntoNormal ( const PointCloud::ConstPtr &  poly,
const Point q1,
const Point q2,
double &  inf,
double &  sup 
) const [private]

Definition at line 158 of file blob.cc.

void semanticmodel::Blob::RGB ( float &  r,
float &  g,
float &  b 
) const

Definition at line 45 of file blob.cc.

void semanticmodel::Blob::size ( double &  x,
double &  y,
double &  z 
) const

Definition at line 66 of file blob.cc.


Member Data Documentation

PointCloud::Ptr semanticmodel::Blob::cloud

Definition at line 31 of file blob.hh.

PointCloud::Ptr semanticmodel::Blob::hull

Definition at line 33 of file blob.hh.

Definition at line 35 of file blob.hh.

unsigned int semanticmodel::Blob::next_id = 0 [static, private]

Definition at line 83 of file blob.hh.


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


semanticmodel
Author(s): Julian ("Mac") Mason
autogenerated on Thu Dec 12 2013 12:39:10