38 #ifndef PCL_BOX_CLIPPER3D_H_
39 #define PCL_BOX_CLIPPER3D_H_
40 #include "clipper3D.h"
50 template<
typename Po
intT>
55 typedef boost::shared_ptr< BoxClipper3D<PointT> >
Ptr;
56 typedef boost::shared_ptr< const BoxClipper3D<PointT> >
ConstPtr;
72 BoxClipper3D (
const Eigen::Vector3f& rodrigues,
const Eigen::Vector3f& translation,
const Eigen::Vector3f& box_size);
86 void setTransformation (
const Eigen::Vector3f& rodrigues,
const Eigen::Vector3f& translation,
const Eigen::Vector3f& box_size);
103 clipPlanarPolygon3D (const std::vector<PointT, Eigen::aligned_allocator<PointT> >& polygon, std::vector<PointT>& clipped_polygon) const;
106 clipPointCloud3D (const pcl::
PointCloud<PointT> &cloud_in, std::vector<
int>& clipped, const std::vector<
int>& indices = std::vector<
int> ()) const;
113 void transformPoint (const PointT& pointIn, PointT& pointOut) const;
118 Eigen::Affine3f transformation_;
121 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
125 #include <pcl/filters/impl/box_clipper3D.hpp>
127 #endif // PCL_BOX_CLIPPER3D_H_