Point Cloud Library (PCL) 1.15.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>

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.

Public Attributes

Eigen::Vector3f xyz_
Eigen::Vector3f rgb_
Eigen::Vector4f normal_
float curvature_ {0.0f}
float distance_ {0.0f}
int idx_ {0}
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 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 696 of file supervoxel_clustering.hpp.

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

◆ getPoint()

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

References getPoint(), rgb_, and xyz_.

Referenced by getPoint().

Member Data Documentation

◆ curvature_

template<typename PointT>
float pcl::SupervoxelClustering< PointT >::VoxelData::curvature_ {0.0f}

Definition at line 183 of file supervoxel_clustering.h.

Referenced by getNormal().

◆ distance_

template<typename PointT>
float pcl::SupervoxelClustering< PointT >::VoxelData::distance_ {0.0f}

Definition at line 184 of file supervoxel_clustering.h.

◆ idx_

template<typename PointT>
int pcl::SupervoxelClustering< PointT >::VoxelData::idx_ {0}

◆ normal_

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

Definition at line 182 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 181 of file supervoxel_clustering.h.

Referenced by getPoint(), and VoxelData().

◆ xyz_

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

Definition at line 180 of file supervoxel_clustering.h.

Referenced by getPoint(), and VoxelData().


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