Point Cloud Library (PCL) 1.12.1
Loading...
Searching...
No Matches
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>

Collaboration diagram for pcl::SupervoxelClustering< PointT >::VoxelData:

Public Member Functions

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

Public Attributes

Eigen::Vector3f xyz_
Eigen::Vector3f rgb_
Eigen::Vector4f normal_
float curvature_
float distance_
int idx_
SupervoxelHelper * owner_

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 135 of file supervoxel_clustering.h.

Constructor & Destructor Documentation

◆ VoxelData()

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

Definition at line 138 of file supervoxel_clustering.h.

References curvature_, distance_, idx_, normal_, owner_, rgb_, and xyz_.

Member Function Documentation

◆ getNormal()

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

Gets the data of in the form of a normal.

Parameters
[out]normal_argWill contain the normal value of the voxeldata

Definition at line 748 of file supervoxel_clustering.hpp.

References pcl::_Normal::curvature, curvature_, and normal_.

◆ getPoint() [1/3]

◆ getPoint() [2/3]

◆ getPoint() [3/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 738 of file supervoxel_clustering.hpp.

References xyz_.

Member Data Documentation

◆ curvature_

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

Definition at line 163 of file supervoxel_clustering.h.

Referenced by getNormal(), and VoxelData().

◆ distance_

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

Definition at line 164 of file supervoxel_clustering.h.

Referenced by VoxelData().

◆ idx_

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

◆ normal_

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

Definition at line 162 of file supervoxel_clustering.h.

Referenced by getNormal(), and VoxelData().

◆ owner_

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

◆ rgb_

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

Definition at line 161 of file supervoxel_clustering.h.

Referenced by VoxelData().

◆ xyz_

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

Definition at line 160 of file supervoxel_clustering.h.

Referenced by getPoint(), and VoxelData().


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