#include <PatchMap.h>
Public Member Functions | |
void | constructMarker (const std::string frame_id, const std::vector< bool > &reachable, visualization_msgs::MarkerArray &array) |
void | constructMarker (const std::string frame_id, const std::vector< bool > &reachable, const std::vector< bool > &collision, visualization_msgs::MarkerArray &array) |
void | constructMarker (const std::string frame_id, visualization_msgs::MarkerArray &array) |
void | constructNormalMarker (const std::string frame_id, visualization_msgs::MarkerArray &array) const |
void | insertScan (pcl::PointCloud< pcl::PointXYZ > &cloud, pcl::PointCloud< pcl::PointXYZ > ¬_used_cloud) |
void | insertScan (pcl::PointCloud< pcl::PointXYZ > &cloud, pcl::PointCloud< pcl::PointXYZ > ¬_used_cloud, pcl::PointXYZ view_point) |
PatchMap () | |
Public Attributes | |
std::vector< SurfacePatch > | map_ |
Private Member Functions | |
void | computePatchesFromCloud (pcl::PointCloud< pcl::PointXYZ > &cloud, const pcl::PointXYZ view_point, std::vector< SurfacePatch > &patches, pcl::PointCloud< pcl::PointXYZ > ¬_used_cloud) |
bool | generatePatch (const pcl::PointCloud< pcl::PointXYZ > &cloud, const pcl::PointXYZ view_point, const pcl::PointXYZ center, const std::vector< int > &mask, SurfacePatch &patch, std::vector< int > &removed_points) |
bool | pointRepresented (pcl::PointNormal p) |
bool | searchPatchForPoint (pcl::PointXYZ p) |
Private Attributes | |
bool | first_insert |
float | radius_ |
float | ransac_distance_ |
int | ransac_iterations_ |
pcl::KdTreeFLANN< SurfacePatch > | tree_ |
Definition at line 18 of file PatchMap.h.
Definition at line 117 of file PatchMap.cpp.
void PatchMap::computePatchesFromCloud | ( | pcl::PointCloud< pcl::PointXYZ > & | cloud, |
const pcl::PointXYZ | view_point, | ||
std::vector< SurfacePatch > & | patches, | ||
pcl::PointCloud< pcl::PointXYZ > & | not_used_cloud | ||
) | [private] |
Definition at line 189 of file PatchMap.cpp.
void PatchMap::constructMarker | ( | const std::string | frame_id, |
const std::vector< bool > & | reachable, | ||
visualization_msgs::MarkerArray & | array | ||
) |
Definition at line 562 of file PatchMap.cpp.
void PatchMap::constructMarker | ( | const std::string | frame_id, |
const std::vector< bool > & | reachable, | ||
const std::vector< bool > & | collision, | ||
visualization_msgs::MarkerArray & | array | ||
) |
Definition at line 615 of file PatchMap.cpp.
void PatchMap::constructMarker | ( | const std::string | frame_id, |
visualization_msgs::MarkerArray & | array | ||
) |
Definition at line 517 of file PatchMap.cpp.
void PatchMap::constructNormalMarker | ( | const std::string | frame_id, |
visualization_msgs::MarkerArray & | array | ||
) | const |
Definition at line 673 of file PatchMap.cpp.
bool PatchMap::generatePatch | ( | const pcl::PointCloud< pcl::PointXYZ > & | cloud, |
const pcl::PointXYZ | view_point, | ||
const pcl::PointXYZ | center, | ||
const std::vector< int > & | mask, | ||
SurfacePatch & | patch, | ||
std::vector< int > & | removed_points | ||
) | [private] |
Definition at line 368 of file PatchMap.cpp.
void PatchMap::insertScan | ( | pcl::PointCloud< pcl::PointXYZ > & | cloud, |
pcl::PointCloud< pcl::PointXYZ > & | not_used_cloud | ||
) |
Definition at line 128 of file PatchMap.cpp.
void PatchMap::insertScan | ( | pcl::PointCloud< pcl::PointXYZ > & | cloud, |
pcl::PointCloud< pcl::PointXYZ > & | not_used_cloud, | ||
pcl::PointXYZ | view_point | ||
) |
Definition at line 132 of file PatchMap.cpp.
bool PatchMap::pointRepresented | ( | pcl::PointNormal | p | ) | [private] |
Definition at line 287 of file PatchMap.cpp.
bool PatchMap::searchPatchForPoint | ( | pcl::PointXYZ | p | ) | [private] |
Definition at line 313 of file PatchMap.cpp.
bool surfacelet::PatchMap::first_insert [private] |
Definition at line 48 of file PatchMap.h.
Definition at line 35 of file PatchMap.h.
float surfacelet::PatchMap::radius_ [private] |
Definition at line 49 of file PatchMap.h.
float surfacelet::PatchMap::ransac_distance_ [private] |
Definition at line 50 of file PatchMap.h.
int surfacelet::PatchMap::ransac_iterations_ [private] |
Definition at line 51 of file PatchMap.h.
pcl::KdTreeFLANN<SurfacePatch> surfacelet::PatchMap::tree_ [private] |
Definition at line 46 of file PatchMap.h.