37 #ifndef BOUNDING_BOX_FILTER_H_ 38 #define BOUNDING_BOX_FILTER_H_ 41 #include <dynamic_reconfigure/server.h> 47 #include <jsk_recognition_msgs/BoundingBoxArray.h> 48 #include <jsk_recognition_msgs/ClusterPointIndices.h> 49 #include <jsk_recognition_msgs/ModelCoefficientsArray.h> 50 #include <jsk_pcl_ros/BoundingBoxFilterConfig.h> 58 typedef jsk_pcl_ros::BoundingBoxFilterConfig
Config;
61 jsk_recognition_msgs::BoundingBoxArray,
62 jsk_recognition_msgs::ClusterPointIndices
73 const jsk_recognition_msgs::BoundingBoxArray::ConstPtr& box_array_msg);
75 const jsk_recognition_msgs::BoundingBoxArray::ConstPtr& box_array_msg,
76 const jsk_recognition_msgs::ClusterPointIndices::ConstPtr& indices_msg);
83 const jsk_recognition_msgs::BoundingBoxArray::ConstPtr& box_array_msg,
84 std::vector<size_t>& keep);
virtual void filterWithIndices(const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &box_array_msg, const jsk_recognition_msgs::ClusterPointIndices::ConstPtr &indices_msg)
bool filter_limit_negative_
message_filters::Subscriber< jsk_recognition_msgs::BoundingBoxArray > sub_box_
void filterBoundingBoxes(const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &box_array_msg, std::vector< size_t > &keep)
virtual void configCallback(Config &config, uint32_t level)
jsk_pcl_ros::BoundingBoxFilterConfig Config
virtual void unsubscribe()
virtual void filter(const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &box_array_msg)
jsk_recognition_utils::Counter remove_counter_
virtual void updateDiagnostic(diagnostic_updater::DiagnosticStatusWrapper &stat)
boost::mutex mutex
global mutex.
jsk_recognition_utils::Counter pass_counter_
boost::shared_ptr< message_filters::Synchronizer< SyncPolicy > > sync_
ros::Publisher filtered_box_pub_
message_filters::Subscriber< jsk_recognition_msgs::ClusterPointIndices > sub_indices_
ros::Publisher filtered_indices_pub_
message_filters::sync_policies::ExactTime< jsk_recognition_msgs::BoundingBoxArray, jsk_recognition_msgs::ClusterPointIndices > SyncPolicy
boost::shared_ptr< dynamic_reconfigure::Server< Config > > srv_