41 #ifndef PCL_FILTERS_VOXEL_GRID_OCCLUSION_ESTIMATION_H_
42 #define PCL_FILTERS_VOXEL_GRID_OCCLUSION_ESTIMATION_H_
44 #include <pcl/filters/voxel_grid.h>
55 template <
typename Po
intT>
98 const Eigen::Vector3i& in_target_voxel);
112 std::vector<Eigen::Vector3i>& out_ray,
113 const Eigen::Vector3i& in_target_voxel);
133 inline Eigen::Vector3f
139 inline Eigen::Vector3f
147 inline Eigen::Vector4f
179 const Eigen::Vector4f& direction);
191 const Eigen::Vector4f& origin,
192 const Eigen::Vector4f& direction,
206 const Eigen::Vector3i& target_voxel,
207 const Eigen::Vector4f& origin,
208 const Eigen::Vector4f& direction,
218 return static_cast<float> (floor (d + 0.5f));
227 inline Eigen::Vector3i
231 static_cast<int> (
round (y * inverse_leaf_size_[1])),
232 static_cast<int> (
round (z * inverse_leaf_size_[2])));
249 #ifdef PCL_NO_PRECOMPILE
250 #include <pcl/filters/impl/voxel_grid_occlusion_estimation.hpp>
253 #endif //#ifndef PCL_FILTERS_VOXEL_GRID_OCCLUSION_ESTIMATION_H_