|
Classes | |
struct | FunctorWithReturnType |
Base class of functors with return value. More... | |
struct | PclPointType |
struct | PclPointType< PointContentType::eColoredLabeledPoints > |
struct | PclPointType< PointContentType::eColoredOrientedPoints > |
struct | PclPointType< PointContentType::eColoredPoints > |
struct | PclPointType< PointContentType::eIntensity > |
struct | PclPointType< PointContentType::eLabeledPoints > |
struct | PclPointType< PointContentType::eOrientedPoints > |
struct | PclPointType< PointContentType::ePoints > |
Functions | |
void | addSegmentIndex (std::map< uint32_t, pcl::PointIndices > &segmentIndices, uint32_t label, std::size_t index) |
void | addSegmentIndex (std::map< uint32_t, pcl::PointIndices::Ptr > &segmentIndices, uint32_t label, std::size_t index) |
template<class LabeledPointT , class MapValueT > | |
void | addSegmentIndices (const pcl::PointCloud< LabeledPointT > &labeledCloud, std::map< uint32_t, MapValueT > &segmentIndices, bool excludeZero=false) |
template<typename SourceT , typename TargetT > | |
void | convertLabel (const SourceT &source, TargetT &target) |
Convert label attribute. Use with visionx point type and PCL type with labels. More... | |
template<typename SourceT , typename TargetT > | |
void | convertRGBA (const SourceT &source, TargetT &target) |
Convert r, g, b attributes. Use with visionx::RGBA and PCL type with RGBA. More... | |
template<typename SourceT , typename TargetT > | |
void | convertXYZ (const SourceT &source, TargetT &target) |
Convert x, y, z attributes. Use with visionx::Point3D and PCL type with XYZ. More... | |
template<typename PointCloudT , typename IndicesPtrT = pcl::IndicesConstPtr> | |
PointCloudT::Ptr | downsampleByVoxelGrid (typename PointCloudT::ConstPtr inputCloud, float leafSize=5.0, const IndicesPtrT &indices=nullptr) |
template<class PointCloudT > | |
void | fillLabelMap (const PointCloudT &labeledCloud, std::map< uint32_t, pcl::PointIndices > &labelIndicesMap, bool excludeZero) |
Fill labelIndicesMap with indices of each segment's points. More... | |
void addSegmentIndex | ( | std::map< uint32_t, pcl::PointIndices > & | segmentIndices, |
uint32_t | label, | ||
std::size_t | index | ||
) |
void addSegmentIndex | ( | std::map< uint32_t, pcl::PointIndices::Ptr > & | segmentIndices, |
uint32_t | label, | ||
std::size_t | index | ||
) |
Definition at line 15 of file segments.cpp.
void visionx::tools::detail::addSegmentIndices | ( | const pcl::PointCloud< LabeledPointT > & | labeledCloud, |
std::map< uint32_t, MapValueT > & | segmentIndices, | ||
bool | excludeZero = false |
||
) |
Definition at line 26 of file segments.h.
void visionx::tools::detail::convertLabel | ( | const SourceT & | source, |
TargetT & | target | ||
) |
Convert label attribute. Use with visionx point type and PCL type with labels.
Definition at line 200 of file PointCloudConversions.h.
void visionx::tools::detail::convertRGBA | ( | const SourceT & | source, |
TargetT & | target | ||
) |
Convert r, g, b attributes. Use with visionx::RGBA and PCL type with RGBA.
Definition at line 190 of file PointCloudConversions.h.
void visionx::tools::detail::convertXYZ | ( | const SourceT & | source, |
TargetT & | target | ||
) |
Convert x, y, z attributes. Use with visionx::Point3D and PCL type with XYZ.
Definition at line 181 of file PointCloudConversions.h.
PointCloudT::Ptr visionx::tools::detail::downsampleByVoxelGrid | ( | typename PointCloudT::ConstPtr | inputCloud, |
float | leafSize = 5.0 , |
||
const IndicesPtrT & | indices = nullptr |
||
) |
void visionx::tools::detail::fillLabelMap | ( | const PointCloudT & | labeledCloud, |
std::map< uint32_t, pcl::PointIndices > & | labelIndicesMap, | ||
bool | excludeZero | ||
) |
Fill labelIndicesMap
with indices of each segment's points.
labeledCloud | A labeled point cloud. |
labeledPointMap | The map to fill (label -> point indicies). |
excludeZero | If true, points with label == 0 are ignored. |
Definition at line 96 of file PCLUtilities.h.