Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Member Functions | Public Attributes
pcl::SupervoxelClustering< PointT >::VoxelData Class Reference

VoxelData is a structure used for storing data within a pcl::octree::OctreePointCloudAdjacencyContainer. More...

#include <pcl/segmentation/supervoxel_clustering.h>

Public Member Functions

 VoxelData ()
 
void getPoint (PointT &point_arg) const
 Gets the data of in the form of a point. More...
 
void getNormal (Normal &normal_arg) const
 Gets the data of in the form of a normal. More...
 
template<>
void getPoint (pcl::PointXYZRGB &point_arg) const
 
template<>
void getPoint (pcl::PointXYZRGBA &point_arg) const
 

Public Attributes

Eigen::Vector3f xyz_
 
Eigen::Vector3f rgb_
 
Eigen::Vector4f normal_
 
float curvature_
 
float distance_
 
int idx_
 
SupervoxelHelperowner_
 

Detailed Description

template<typename PointT>
class pcl::SupervoxelClustering< PointT >::VoxelData

VoxelData is a structure used for storing data within a pcl::octree::OctreePointCloudAdjacencyContainer.

Note
It stores xyz, rgb, normal, distance, an index, and an owner.

Definition at line 134 of file supervoxel_clustering.h.

Constructor & Destructor Documentation

◆ VoxelData()

template<typename PointT >
pcl::SupervoxelClustering< PointT >::VoxelData::VoxelData ( )
inline

Definition at line 137 of file supervoxel_clustering.h.

Member Function Documentation

◆ getNormal()

template<typename PointT >
void pcl::SupervoxelClustering< PointT >::VoxelData::getNormal ( Normal normal_arg) const

◆ getPoint() [1/3]

template<typename PointT >
void pcl::SupervoxelClustering< PointT >::VoxelData::getPoint ( PointT point_arg) const

Gets the data of in the form of a point.

Parameters
[out]point_argWill contain the point value of the voxeldata

Definition at line 740 of file supervoxel_clustering.hpp.

Referenced by pcl::SupervoxelClustering< PointT >::getMaxLabel(), pcl::SupervoxelClustering< PointT >::VoxelData::getNormal(), and pcl::SupervoxelClustering< PointT >::refineSupervoxels().

◆ getPoint() [2/3]

template<>
void pcl::SupervoxelClustering::VoxelData< pcl::PointXYZRGB >::getPoint ( pcl::PointXYZRGB point_arg) const

◆ getPoint() [3/3]

template<>
void pcl::SupervoxelClustering::VoxelData< pcl::PointXYZRGBA >::getPoint ( pcl::PointXYZRGBA point_arg) const

Member Data Documentation

◆ curvature_

template<typename PointT >
float pcl::SupervoxelClustering< PointT >::VoxelData::curvature_

◆ distance_

template<typename PointT >
float pcl::SupervoxelClustering< PointT >::VoxelData::distance_

◆ idx_

template<typename PointT >
int pcl::SupervoxelClustering< PointT >::VoxelData::idx_

◆ normal_

template<typename PointT >
Eigen::Vector4f pcl::SupervoxelClustering< PointT >::VoxelData::normal_

◆ owner_

template<typename PointT >
SupervoxelHelper* pcl::SupervoxelClustering< PointT >::VoxelData::owner_

◆ rgb_

template<typename PointT >
Eigen::Vector3f pcl::SupervoxelClustering< PointT >::VoxelData::rgb_

◆ xyz_

template<typename PointT >
Eigen::Vector3f pcl::SupervoxelClustering< PointT >::VoxelData::xyz_

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