25 , mBestHypothesisScore(0.0)
50 visualizer->setDrawingParameters(pScale, pSigmaMultiplicator, pFrameId);
57 throw std::out_of_range(
"Invalid pointer: absolute pose of primary scene object.");
67 throw std::out_of_range(
"Invalid pointer: absolute pose of primary scene object candidate.");
88 std::string myNamespace =
"/" + pScene +
"/" +
mSceneObject;
94 unsigned int markerId = 0;
100 std_msgs::ColorRGBA color;
130 std::string myNamespace =
"/" + pScene +
"/" +
mSceneObject;
147 std_msgs::ColorRGBA color;
172 std::string myNamespace =
"/" + pScene +
"/" +
mSceneObject;
178 unsigned int markerId = 0;
184 std_msgs::ColorRGBA color;
209 std::string myNamespace =
"/" + pScene +
"/" +
mSceneObject;
215 unsigned int markerId = 0;
221 std_msgs::ColorRGBA color;
void publishFrame(boost::shared_ptr< ros::Publisher > pPublisher, unsigned int &pMarkerId, const boost::shared_ptr< ISM::Pose > pPose, double pSize)
void drawInInferenceMode(const std::string pScene, const std_msgs::ColorRGBA &pColor, unsigned int &pMarkerId)
ProbabilisticPrimarySceneObjectVisualization(std::string pName)
boost::shared_ptr< ISM::Pose > mAbsolutePose
void setPose(boost::shared_ptr< ISM::Pose > pPose)
boost::shared_ptr< ros::Publisher > mPublisher
void setNamespace(std::string pNamespace)
std::vector< Eigen::Vector3d > mSamples
void setLearningSamples(const std::vector< Eigen::Vector3d > &pSamples)
void drawInTargetingMode(const std::string pScene, const std_msgs::ColorRGBA &pColor)
~ProbabilisticPrimarySceneObjectVisualization()
boost::shared_ptr< ISM::Pose > mBestPose
void normalizeHypothesisScore(unsigned int pNumberOfSlots)
std::vector< double > mBestTermScores
void setBestStatus(bool pStatus)
CoordinateFrameVisualizer visualizerFrame
void setDrawingParameters(const double pScale, const float pSigmaMultiplicator, const std::string pFrameId)
void publishObjectPositionAsPointWithScore(boost::shared_ptr< ros::Publisher > pPublisher, unsigned int &pMarkerId, const boost::shared_ptr< ISM::Pose > pPose, std::vector< double > pScores, double pQualityOfMatch)
void setFrameId(std::string pFrameId)
KinematicChainVisualizer visualizerKinematics
void setHypothesisScore(double pHypothesisScore)
void setBestPoseCandidate(boost::shared_ptr< ISM::Pose > pPose)
std::string getSceneObjectName()
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
void drawInLearningMode(const std::string pScene, const std_msgs::ColorRGBA &pColor)
double mBestHypothesisScore
void appendVisualizer(boost::shared_ptr< ProbabilisticSecondarySceneObjectVisualization > pVisualizer)
std::vector< double > mTermScores
std::vector< boost::shared_ptr< ProbabilisticSecondarySceneObjectVisualization > > mSceneObjectVisualizers
void drawInLearningTrajectoryMode(const std::string pScene)
SampleVisualizer visualizerSamples
void setBestStatus(bool pStatus)
static void convertHSVToRGB(std_msgs::ColorRGBA &pColor, double pH, double pS, double pV)
void addTermScore(double pScore)
void setScaleFactor(const double pScaleFactor)
boost::shared_ptr< ISM::Pose > mBestCandidatePose