39 #ifndef PCL_SPIN_IMAGE_H_
40 #define PCL_SPIN_IMAGE_H_
86 template <
typename Po
intInT,
typename Po
intNT,
typename Po
intOutT>
109 typedef typename boost::shared_ptr<SpinImageEstimation<PointInT, PointNT, PointOutT> >
Ptr;
110 typedef typename boost::shared_ptr<const SpinImageEstimation<PointInT, PointNT, PointOutT> >
ConstPtr;
122 double support_angle_cos = 0.0,
123 unsigned int min_pts_neighb = 0);
132 image_width_ = bin_count;
144 if (0.0 > support_angle_cos || support_angle_cos > 1.0)
146 throw PCLException (
"Cosine of support angle should be between 0 and 1",
147 "spin_image.h",
"setSupportAngle");
150 support_angle_cos_ = support_angle_cos;
161 min_pts_neighb_ = min_pts_neighb;
177 input_normals_ = normals;
188 rotation_axis_ = axis;
189 use_custom_axis_ =
true;
190 use_custom_axes_cloud_ =
false;
202 rotation_axes_cloud_ = axes;
204 use_custom_axes_cloud_ =
true;
205 use_custom_axis_ =
false;
212 use_custom_axis_ =
false;
213 use_custom_axes_cloud_ =
false;
260 computeSiForPoint (
int index)
const;
268 PointNT rotation_axis_;
269 bool use_custom_axis_;
270 bool use_custom_axes_cloud_;
274 unsigned int image_width_;
275 double support_angle_cos_;
276 unsigned int min_pts_neighb_;
315 template <
typename Po
intInT,
typename Po
intNT>
336 double support_angle_cos = 0.0,
337 unsigned int min_pts_neighb = 0) :
356 #endif //#ifndef PCL_SPIN_IMAGE_H_