|
Point Cloud Library (PCL)
1.4.0
|
Class PointCloudSpring used to expand or shrink a point cloud in horizontal and or vertical direction using either mirroring or duplicating edges of the input point cloud or filling the new cells with some value. More...
#include <pcl/common/spring.h>
Public Types | |
| enum | EXPAND_POLICY { MIRROR = 0, DUPLICATE } |
| expansion policy More... | |
| enum | DIRECTION { HORIZONTAL = 0, VERTICAL, BOTH } |
| direction of the expansion More... | |
| typedef pcl::PointCloud< PointT > | PointCloud |
| typedef PointCloud::Ptr | PointCloudPtr |
| typedef PointCloud::ConstPtr | PointCloudConstPtr |
| typedef PointCloud::iterator | iterator |
Public Member Functions | |
| PointCloudSpring () | |
| Default constructor. | |
| void | setExpandPolicy (int policy) |
| expansion policy | |
| int | getExpandPolicy () |
| void | setDirection (int direction) |
| expansion's direction | |
| int | getDirection () |
| void | setAmount (int amount) |
| expansion amount | |
| int | getAmount () |
| void | setInputCloud (PointCloudPtr &input) |
| input cloud | |
| PointCloudPtr | getInputCloud () |
| void | expand () |
| expand a point cloud in the set direction and policy. | |
| void | expand (const PointT &val) |
| expand a point cloud in the set direction. | |
| void | shrink () |
| shrink a point cloud in the set direction. | |
Class PointCloudSpring used to expand or shrink a point cloud in horizontal and or vertical direction using either mirroring or duplicating edges of the input point cloud or filling the new cells with some value.
This class will modify the input point cloud so that no deep copy are made.
| typedef PointCloud::iterator pcl::PointCloudSpring< PointT >::iterator |
| typedef pcl::PointCloud<PointT> pcl::PointCloudSpring< PointT >::PointCloud |
| typedef PointCloud::ConstPtr pcl::PointCloudSpring< PointT >::PointCloudConstPtr |
| typedef PointCloud::Ptr pcl::PointCloudSpring< PointT >::PointCloudPtr |
| enum pcl::PointCloudSpring::DIRECTION |
| enum pcl::PointCloudSpring::EXPAND_POLICY |
| pcl::PointCloudSpring< PointT >::PointCloudSpring | ( | ) | [inline] |
| void pcl::PointCloudSpring< PointT >::expand | ( | ) | [inline] |
expand a point cloud in the set direction and policy.
If the policy is set to mirror then the new created rows and/or columns are symmetrical to the top and bottom rows and/or left and right columns of the original point cloud. If the policy is set to duplicate then the top and bottom rows and/or the right and left columns will be duplicated.
| void pcl::PointCloudSpring< PointT >::expand | ( | const PointT & | val | ) | [inline] |
| int pcl::PointCloudSpring< PointT >::getAmount | ( | ) | [inline] |
| int pcl::PointCloudSpring< PointT >::getDirection | ( | ) | [inline] |
| int pcl::PointCloudSpring< PointT >::getExpandPolicy | ( | ) | [inline] |
| PointCloudPtr pcl::PointCloudSpring< PointT >::getInputCloud | ( | ) | [inline] |
| void pcl::PointCloudSpring< PointT >::setAmount | ( | int | amount | ) | [inline] |
| void pcl::PointCloudSpring< PointT >::setDirection | ( | int | direction | ) | [inline] |
| void pcl::PointCloudSpring< PointT >::setExpandPolicy | ( | int | policy | ) | [inline] |
| void pcl::PointCloudSpring< PointT >::setInputCloud | ( | PointCloudPtr & | input | ) | [inline] |
| void pcl::PointCloudSpring< PointT >::shrink | ( | ) | [inline] |
1.7.6.1