Main Page
Namespaces
Classes
Files
File List
File Members
libism
ISM
recognizer
VotedPose.hpp
Go to the documentation of this file.
1
18
#pragma once
19
20
#include "
typedef.hpp
"
21
#include "
common_type/Pose.hpp
"
22
#include "
common_type/VoteSpecifier.hpp
"
23
#include "
common_type/Object.hpp
"
24
25
namespace
ISM
{
26
struct
VotedPose
{
27
PosePtr
pose
;
28
VoteSpecifierPtr
vote
;
29
ObjectPtr
source
;
30
double
weight
;
31
double
weightDenominator
;
32
33
VotedPose
(
const
VotedPose
& other):
34
pose(
PosePtr
(new
Pose
(*(other.pose)))),
35
vote(
VoteSpecifierPtr
(new
VoteSpecifier
(*(other.vote)))),
36
source(
ObjectPtr
(new
Object
(*(other.source)))),
37
weight(other.weight), weightDenominator(other.weightDenominator)
38
{ }
39
40
VotedPose
(
PosePtr
pose,
VoteSpecifierPtr
vote,
ObjectPtr
source,
double
weight,
double
weightDenominator):
41
pose(pose), vote(vote), source(source), weight(weight), weightDenominator(weightDenominator)
42
{ }
43
};
44
45
std::ostream&
operator<<
(std::ostream &strm,
const
ISM::VotedPose
&v);
46
std::ostream&
operator<<
(std::ostream &strm,
const
ISM::VotedPosePtr
&v);
47
}
ISM::VotedPose
Definition:
VotedPose.hpp:26
Object.hpp
ISM::VotedPose::pose
PosePtr pose
Definition:
VotedPose.hpp:27
ISM::Object
Definition:
Object.hpp:33
ISM::VotedPose::VotedPose
VotedPose(PosePtr pose, VoteSpecifierPtr vote, ObjectPtr source, double weight, double weightDenominator)
Definition:
VotedPose.hpp:40
ISM::VotedPose::vote
VoteSpecifierPtr vote
Definition:
VotedPose.hpp:28
ISM::Pose
Definition:
Pose.hpp:32
VoteSpecifier.hpp
ISM::VotedPose::weightDenominator
double weightDenominator
Definition:
VotedPose.hpp:31
typedef.hpp
ISM::operator<<
std::ostream & operator<<(std::ostream &strm, const ISM::ObjectRelation &r)
Definition:
ObjectRelation.cpp:167
ISM::VotedPosePtr
boost::shared_ptr< VotedPose > VotedPosePtr
Definition:
typedef.hpp:31
ISM::VotedPose::source
ObjectPtr source
Definition:
VotedPose.hpp:29
ISM::VoteSpecifierPtr
boost::shared_ptr< VoteSpecifier > VoteSpecifierPtr
Definition:
VoteSpecifier.hpp:81
ISM::PosePtr
boost::shared_ptr< Pose > PosePtr
Definition:
Pose.hpp:79
ISM::VoteSpecifier
Definition:
VoteSpecifier.hpp:30
ISM::VotedPose::weight
double weight
Definition:
VotedPose.hpp:30
Pose.hpp
ISM
this namespace contains all generally usable classes.
Definition:
AcceptanceFunction.hpp:22
ISM::ObjectPtr
boost::shared_ptr< Object > ObjectPtr
Definition:
Object.hpp:82
ISM::VotedPose::VotedPose
VotedPose(const VotedPose &other)
Definition:
VotedPose.hpp:33
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