#include <marching_cubes.h>
Public Member Functions | |
virtual bool | compute () |
void | compute_accuracy (float &mean, float &var, size_t &used, size_t &mem, size_t &points, float &avg_dist) |
virtual boost::shared_ptr < const pcl::PointCloud < PointLabel > > | getOutputCloud () |
gets preprocessed output cloud | |
virtual boost::shared_ptr < const pcl::PointCloud < PointLabel > > | getReconstructedOutputCloud () |
gets reconstructed output cloud | |
virtual | operator cob_3d_mapping_msgs::ShapeArray () const |
convert to ROS message | |
operator visualization_msgs::Marker () const | |
convert edges to ROS message | |
Segmentation_MarchingCubes () | |
constructor, setups variables | |
virtual void | setInputCloud (const boost::shared_ptr< const pcl::PointCloud< Point > > &cloud) |
sets preprocessed input cloud | |
virtual | ~Segmentation_MarchingCubes () |
destructor | |
Private Attributes | |
boost::shared_ptr< const pcl::PointCloud< Point > > | input_ |
float | isoLevel_ |
float | leafSize_ |
pcl::PolygonMesh | mesh_ |
a segmentation implementation based on quad-trees and regression
Definition at line 86 of file marching_cubes.h.
Segmentation::Segmentation_MarchingCubes< Point, PointTypeNormal, PointLabel >::Segmentation_MarchingCubes | ( | ) | [inline] |
constructor, setups variables
Definition at line 97 of file marching_cubes.h.
virtual Segmentation::Segmentation_MarchingCubes< Point, PointTypeNormal, PointLabel >::~Segmentation_MarchingCubes | ( | ) | [inline, virtual] |
destructor
Definition at line 101 of file marching_cubes.h.
bool Segmentation::Segmentation_MarchingCubes< Point, PointTypeNormal, PointLabel >::compute | ( | ) | [virtual] |
Implements GeneralSegmentation< Point, PointLabel >.
Definition at line 18 of file marching_cubes.hpp.
void Segmentation::Segmentation_MarchingCubes< Point, PointTypeNormal, PointLabel >::compute_accuracy | ( | float & | mean, |
float & | var, | ||
size_t & | used, | ||
size_t & | mem, | ||
size_t & | points, | ||
float & | avg_dist | ||
) |
Definition at line 75 of file marching_cubes.hpp.
virtual boost::shared_ptr<const pcl::PointCloud<PointLabel> > Segmentation::Segmentation_MarchingCubes< Point, PointTypeNormal, PointLabel >::getOutputCloud | ( | ) | [inline, virtual] |
gets preprocessed output cloud
Implements GeneralSegmentation< Point, PointLabel >.
Definition at line 133 of file marching_cubes.h.
boost::shared_ptr< const pcl::PointCloud< PointLabel > > Segmentation::Segmentation_MarchingCubes< Point, PointTypeNormal, PointLabel >::getReconstructedOutputCloud | ( | ) | [virtual] |
gets reconstructed output cloud
Definition at line 62 of file marching_cubes.hpp.
virtual Segmentation::Segmentation_MarchingCubes< Point, PointTypeNormal, PointLabel >::operator cob_3d_mapping_msgs::ShapeArray | ( | ) | const [inline, virtual] |
convert to ROS message
Implements GeneralSegmentation< Point, PointLabel >.
Definition at line 136 of file marching_cubes.h.
Segmentation::Segmentation_MarchingCubes< Point, PointTypeNormal, PointLabel >::operator visualization_msgs::Marker | ( | ) | const |
convert edges to ROS message
virtual void Segmentation::Segmentation_MarchingCubes< Point, PointTypeNormal, PointLabel >::setInputCloud | ( | const boost::shared_ptr< const pcl::PointCloud< Point > > & | cloud | ) | [inline, virtual] |
sets preprocessed input cloud
Implements GeneralSegmentation< Point, PointLabel >.
Definition at line 105 of file marching_cubes.h.
boost::shared_ptr<const pcl::PointCloud<Point> > Segmentation::Segmentation_MarchingCubes< Point, PointTypeNormal, PointLabel >::input_ [private] |
Definition at line 89 of file marching_cubes.h.
float Segmentation::Segmentation_MarchingCubes< Point, PointTypeNormal, PointLabel >::isoLevel_ [private] |
Definition at line 93 of file marching_cubes.h.
float Segmentation::Segmentation_MarchingCubes< Point, PointTypeNormal, PointLabel >::leafSize_ [private] |
Definition at line 92 of file marching_cubes.h.
pcl::PolygonMesh Segmentation::Segmentation_MarchingCubes< Point, PointTypeNormal, PointLabel >::mesh_ [private] |
Definition at line 90 of file marching_cubes.h.