37 #ifndef MOVEIT_MESH_FILTER_MESHFILTER_ 38 #define MOVEIT_MESH_FILTER_MESHFILTER_ 44 #include <boost/function.hpp> 45 #include <Eigen/Eigen> 62 template <
typename SensorType>
76 const typename SensorType::Parameters& sensor_parameters =
typename SensorType::Parameters());
83 typename SensorType::Parameters& parameters();
90 const typename SensorType::Parameters& parameters()
const;
93 template <
typename SensorType>
95 const typename SensorType::Parameters& sensor_parameters)
96 :
MeshFilterBase(transform_callback, sensor_parameters, SensorType::renderVertexShaderSource,
97 SensorType::renderFragmentShaderSource, SensorType::filterVertexShaderSource,
98 SensorType::filterFragmentShaderSource)
102 template <
typename SensorType>
105 return static_cast<typename SensorType::Parameters&
>(*sensor_parameters_);
108 template <
typename SensorType>
111 return static_cast<typename SensorType::Parameters&
>(*sensor_parameters_);
SensorType::Parameters & parameters()
returns the Sensor Parameters
MeshFilter filters out points that belong to given meshes in depth-images.
#define MOVEIT_DECLARE_PTR_MEMBER(Type)
boost::function< bool(MeshHandle, Eigen::Affine3d &)> TransformCallback