#include <edge_handler.h>
Classes | |
class | BoundarySmoothnessValidator |
Public Types | |
typedef pcl::PointCloud< LabelT > | LabelCloud |
typedef LabelCloud::ConstPtr | LabelCloudConstPtr |
typedef pcl::PointCloud< PointT > | PointCloud |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef boost::shared_ptr < BoundaryPointsEdgeHandler < LabelT, PointT > > | Ptr |
Public Member Functions | |
BoundaryPointsEdgeHandler () | |
void | erase (EdgePtr e) |
BoundaryPoint & | getBoundaryPoint (const int idx) |
void | mapBoundaryPoints (pcl::PointCloud< pcl::PointXYZRGB >::Ptr points) |
void | mapBoundaryPoints (pcl::PointCloud< pcl::PointXYZRGB >::Ptr points, pcl::PointCloud< pcl::Normal >::Ptr normals) |
void | merge (EdgePtr source, EdgePtr target) |
void | move (int old_cid, int new_cid, EdgePtr e) |
void | setLabelCloudIn (LabelCloudConstPtr labels) |
void | setPointCloudIn (PointCloudConstPtr points) |
void | updateProperties (EdgePtr e, const int cid1, const int idx1, const int cid2, const int idx2) |
~BoundaryPointsEdgeHandler () | |
Public Attributes | |
const boost::function< bool(EdgePtr)> | edge_validator |
Private Attributes | |
std::map< int, BoundaryPoint > | boundary_points_ |
LabelCloudConstPtr | labels_ |
PointCloudConstPtr | surface_ |
Definition at line 109 of file edge_handler.h.
typedef pcl::PointCloud<LabelT> cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::LabelCloud |
Definition at line 114 of file edge_handler.h.
typedef LabelCloud::ConstPtr cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::LabelCloudConstPtr |
Definition at line 115 of file edge_handler.h.
typedef pcl::PointCloud<PointT> cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::PointCloud |
Definition at line 116 of file edge_handler.h.
typedef PointCloud::ConstPtr cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::PointCloudConstPtr |
Definition at line 117 of file edge_handler.h.
typedef boost::shared_ptr<BoundaryPointsEdgeHandler<LabelT,PointT> > cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::Ptr |
Definition at line 112 of file edge_handler.h.
cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::BoundaryPointsEdgeHandler | ( | ) | [inline] |
Definition at line 120 of file edge_handler.h.
cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::~BoundaryPointsEdgeHandler | ( | ) | [inline] |
Definition at line 125 of file edge_handler.h.
void cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::erase | ( | EdgePtr | e | ) | [virtual] |
Reimplemented from cob_3d_segmentation::EdgeHandlerBase< BoundaryPointsEdge >.
Definition at line 70 of file edge_handler.hpp.
BoundaryPoint& cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::getBoundaryPoint | ( | const int | idx | ) | [inline] |
Definition at line 165 of file edge_handler.h.
void cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::mapBoundaryPoints | ( | pcl::PointCloud< pcl::PointXYZRGB >::Ptr | points | ) | [inline] |
Definition at line 127 of file edge_handler.h.
void cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::mapBoundaryPoints | ( | pcl::PointCloud< pcl::PointXYZRGB >::Ptr | points, |
pcl::PointCloud< pcl::Normal >::Ptr | normals | ||
) | [inline] |
Definition at line 136 of file edge_handler.h.
void cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::merge | ( | EdgePtr | source, |
EdgePtr | target | ||
) | [virtual] |
Implements cob_3d_segmentation::EdgeHandlerBase< BoundaryPointsEdge >.
Definition at line 77 of file edge_handler.hpp.
void cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::move | ( | int | old_cid, |
int | new_cid, | ||
EdgePtr | e | ||
) | [virtual] |
Implements cob_3d_segmentation::EdgeHandlerBase< BoundaryPointsEdge >.
Definition at line 116 of file edge_handler.hpp.
void cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::setLabelCloudIn | ( | LabelCloudConstPtr | labels | ) | [inline] |
Definition at line 169 of file edge_handler.h.
void cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::setPointCloudIn | ( | PointCloudConstPtr | points | ) | [inline] |
Definition at line 170 of file edge_handler.h.
void cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::updateProperties | ( | EdgePtr | e, |
const int | cid1, | ||
const int | idx1, | ||
const int | cid2, | ||
const int | idx2 | ||
) | [inline] |
Definition at line 158 of file edge_handler.h.
std::map<int,BoundaryPoint> cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::boundary_points_ [private] |
Definition at line 173 of file edge_handler.h.
const boost::function<bool (EdgePtr)> cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::edge_validator |
Definition at line 167 of file edge_handler.h.
LabelCloudConstPtr cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::labels_ [private] |
Definition at line 174 of file edge_handler.h.
PointCloudConstPtr cob_3d_segmentation::BoundaryPointsEdgeHandler< LabelT, PointT >::surface_ [private] |
Definition at line 175 of file edge_handler.h.