VotingResult.hpp
Go to the documentation of this file.
1 
18 #pragma once
19 
20 //Local includes
21 #include "typedef.hpp"
23 #include "common_type/Pose.hpp"
24 
25 #include "VotedPose.hpp"
26 
27 
28 namespace ISM
29 {
31 {
32 
33  double confidence;
37 
38 
39  VotingResult(const VotingResult& other):
40  confidence(other.confidence),
41  matchingObjects(ObjectSetPtr(new ObjectSet(*(other.matchingObjects)))),
42  referencePose(PosePtr(new Pose(*(other.referencePose))))
43  { }
44 
45  VotingResult(ObjectSetPtr& os, PosePtr& p, double c, SummarizedVotedPosePtrs summarizedVotes):
46  confidence(c), matchingObjects(os), referencePose(p), summarizedVotes(summarizedVotes)
47  { }
48 };
49 
50 
51 } /* VotingResult */
VotingResult(const VotingResult &other)
SummarizedVotedPosePtrs summarizedVotes
boost::shared_ptr< ObjectSet > ObjectSetPtr
Definition: ObjectSet.hpp:53
ObjectSetPtr matchingObjects
boost::shared_ptr< Pose > PosePtr
Definition: Pose.hpp:79
std::vector< SummarizedVotedPosePtr > SummarizedVotedPosePtrs
Definition: typedef.hpp:75
this namespace contains all generally usable classes.
VotingResult(ObjectSetPtr &os, PosePtr &p, double c, SummarizedVotedPosePtrs summarizedVotes)


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41