21 #include <ISM/common_type/RecognitionResult.hpp> 22 #include <ISM/typedef.hpp> 26 #include <dynamic_reconfigure/server.h> 27 #include <asr_ism_visualizations/ism_voting_visualizerConfig.h> 37 reconfigure_server_ =
new dynamic_reconfigure::Server<asr_ism_visualizations::ism_voting_visualizerConfig>(nh);
74 void addVisualization(
const ISM::PatternNameAndVotingSpaceTuple& voting_space, std::vector<ISM::RecognitionResultPtr> results);
104 std::map<ISM::ObjectPtr, std::vector<ISM::PosePtr>>
getSortedVotedPoses(ISM::VotingSpacePtr voting_space_ptr);
~ISMVotingVisualizerRVIZ()
visualization_msgs::Marker Marker
visualization_msgs::Marker generateGridMarker(std::tuple< int, int, int, int, int, int > grid_bb)
double confidence_sphere_opacity_
ISMVotingVisualizerRVIZ(const ros::Publisher &publisher, double bin_size, const ros::NodeHandle &nh)
std::string pattern_name_
visualization_msgs::Marker generateResultVoteOverlay(ISM::RecognitionResultPtr result)
std::map< ISM::ObjectPtr, std::vector< ISM::PosePtr > > getSortedVotedPoses(ISM::VotingSpacePtr voting_space_ptr)
ISM::RecognitionResultPtr getRecognitionResultPtrOfPattern(ISM::RecognitionResultPtr result)
double object_marker_opacity_
dynamic_reconfigure::Server< asr_ism_visualizations::ism_voting_visualizerConfig > * reconfigure_server_
#define ROS_DEBUG_STREAM(args)
visualization_msgs::MarkerArray generateVoteMarker(std::map< ISM::ObjectPtr, std::vector< ISM::PosePtr >> voter_to_poses_map)
visualization_msgs::MarkerArray MarkerArray
visualization_msgs::MarkerArray generateRefMarker(ISM::RecognitionResultPtr result, std::vector< ISM::PosePtr > voted_poses)
void addVisualization(const ISM::PatternNameAndVotingSpaceTuple &voting_space, std::vector< ISM::RecognitionResultPtr > results)
visualization_msgs::MarkerArray generateBinAndGridMarker(ISM::VotingSpacePtr voting_space_ptr)
boost::shared_ptr< ISMVotingVisualizerRVIZ > ISMVotingVisualizerRVIZPtr
void dynamicReconfCallback(asr_ism_visualizations::ism_voting_visualizerConfig &config, uint32_t level)
double object_marker_scale_
std::string getPatternName()
returns Name of pattern for visualization