40#include <pcl/pcl_exports.h>
42#include <pcl/cuda/common/eigen.h>
49 template <
template <
typename>
class Storage>
76 return make_float4(0);
87 return make_float4 (
mc.x,
mc.y,
mc.z, curvature);
97 template <
template <
typename>
class Storage>
109 return make_float4 (0.0f,0.0f,0.0f,0.0f);
128 return make_float4 (0.0f,0.0f,0.0f,1.0f);
137 return make_float4 (0.0f,0.0f,0.0f,1.0f);
141 float curvature = length (normal);
147 return make_float4 (
mc.x,
mc.y,
mc.z, curvature);
155 template <
template <
typename>
class Storage>
167 template <
typename Tuple>
172 float4 normal = thrust::get<1>(
t);
Iterator class for point clouds with or without given indices.
__host__ __device__ float3 computeCentroid(const float3 &query_pt, CovarianceMatrix &cov, float sqrt_desired_nr_neighbors)
__host__ __device__ int computeCovarianceOnline(const float3 &query_pt, CovarianceMatrix &cov, float sqrt_desired_nr_neighbors)
shared_ptr< const PointCloudAOS< Storage > > ConstPtr
__host__ __device__ void eigen33(const CovarianceMatrix &mat, CovarianceMatrix &evecs, float3 &evals)
misnamed class holding a 3x3 matrix
__host__ __device__ float4 operator()(int idx)
const PointXYZRGB * points_
FastNormalEstimationKernel(const typename PointCloudAOS< Storage >::ConstPtr &input, int width, int height)
OrganizedRadiusSearch< CloudConstPtr > search_
typename PointCloudAOS< Storage >::ConstPtr CloudConstPtr
__host__ __device__ float4 operator()(const Tuple &t)
float sqrt_desired_nr_neighbors_
const PointXYZRGB * points_
NormalDeviationKernel(const typename PointCloudAOS< Storage >::ConstPtr &input, float focallength, float sqr_radius, float sqrt_desired_nr_neighbors)
OrganizedRadiusSearch< CloudConstPtr > search_
NormalEstimationKernel(const typename PointCloudAOS< Storage >::ConstPtr &input, float focallength, float sqr_radius, float sqrt_desired_nr_neighbors)
float sqrt_desired_nr_neighbors_
__host__ __device__ float4 operator()(float3 query_pt)
const PointXYZRGB * points_
typename PointCloudAOS< Storage >::ConstPtr CloudConstPtr
Default point xyz-rgb structure.