#include <PointCloudConversion.hpp>
|
typedef std::vector
< Eigen::Affine3d,
Eigen::aligned_allocator
< Eigen::Affine3d > > | TransformationVector |
| |
Helper method to compute the relative transformations inside of one scan. Computes transformations[i] expressed in transformations[last]. It ensures |transformations| == |laserLinesInLatestLine|, therefore the last transformation is allways the Identity.
- Parameters
-
| transformations | laser lines in reference frame |
| laserLinesInLatestLine | laser lines in frame of last line |
template<class T >
| bool depth_map_preprocessing::PointCloudConversion::convertToPointCloud |
( |
const base::samples::DepthMap & |
depth_map_sample, |
|
|
const TransformationVector & |
depth_map_transforms, |
|
|
MotionCompensation |
motion_compensation, |
|
|
std::vector< T > & |
pointcloud |
|
) |
| |
|
static |
Converts the given sample to a pointcloud while applying the selected motion compensation option.
- Parameters
-
| depth_map_sample | input |
| depth_map_transforms | Either two for interpolation or |horizontal| or |vertical| transforms |
| motion_compensation | type of compensation |
| pointcloud | output |
- Returns
- false on invalid input
The documentation for this class was generated from the following files: