59template <
typename SensorType>
73 const typename SensorType::Parameters& sensor_parameters =
typename SensorType::Parameters());
87 const typename SensorType::Parameters&
parameters()
const;
90template <
typename SensorType>
92 const typename SensorType::Parameters& sensor_parameters)
93 :
MeshFilterBase(transform_callback, sensor_parameters, SensorType::RENDER_VERTEX_SHADER_SOURCE,
94 SensorType::RENDER_FRAGMENT_SHADER_SOURCE, SensorType::FILTER_VERTEX_SHADER_SOURCE,
95 SensorType::FILTER_FRAGMENT_SHADER_SOURCE)
99template <
typename SensorType>
102 return static_cast<typename SensorType::Parameters&
>(*sensor_parameters_);
105template <
typename SensorType>
108 return static_cast<typename SensorType::Parameters&
>(*sensor_parameters_);
std::function< bool(MeshHandle, Eigen::Isometry3d &)> TransformCallback
MeshFilter filters out points that belong to given meshes in depth-images.
MOVEIT_DECLARE_PTR_MEMBER(MeshFilter)
SensorType::Parameters & parameters()
returns the Sensor Parameters
MeshFilter(const TransformCallback &transform_callback=TransformCallback(), const typename SensorType::Parameters &sensor_parameters=typename SensorType::Parameters())
Constructor.
const SensorType::Parameters & parameters() const
returns the Sensor Parameters