22 #include <boost/shared_ptr.hpp> 54 objectType(other.objectType), observedId(other.observedId),
55 trackIndex(other.trackIndex)
65 double radius ) : objectToRefQuat(objectToRefQuat), objectToRefPoseQuat(objectToRefPoseQuat),
66 refToObjectQuat(refToObjectQuat), refToObjectPoseQuat(refToObjectPoseQuat),
69 this->trackIndex = -1;
74 double radius, std::string patternName,std::string objectType,
75 std::string observedId,
int trackIndex = -1) : objectToRefQuat(objectToRefQuat), objectToRefPoseQuat(objectToRefPoseQuat),
76 refToObjectQuat(refToObjectQuat), refToObjectPoseQuat(refToObjectPoseQuat),
77 radius(radius), patternName(patternName), objectType(objectType), observedId(observedId),
78 trackIndex(trackIndex)
VoteSpecifier(QuaternionPtr objectToRefQuat, QuaternionPtr objectToRefPoseQuat, QuaternionPtr refToObjectQuat, QuaternionPtr refToObjectPoseQuat, double radius, std::string patternName, std::string objectType, std::string observedId, int trackIndex=-1)
std::string observedId
Object that votes. Its identifier within its class.
QuaternionPtr refToObjectQuat
Transformation from ism reference to object in scene: Position as direction vector.
uint32_t weight
weight (eg after filtering)
boost::shared_ptr< Quaternion > QuaternionPtr
VoteSpecifier(const VoteSpecifier &other)
VoteSpecifier(QuaternionPtr objectToRefQuat, QuaternionPtr objectToRefPoseQuat, QuaternionPtr refToObjectQuat, QuaternionPtr refToObjectPoseQuat, double radius)
QuaternionPtr objectToRefQuat
Transformation from object in scene to ism reference: Position as direction vector.
int trackIndex
Index of the sample, of the voting object's trajectory, from which the vote was generated.
QuaternionPtr refToObjectPoseQuat
Transformation from ism reference to object in scene: Transforms orientation of reference into orient...
double radius
Length of direction vectors. Extracted to make scene representation independant of scale (absolute di...
std::string patternName
Name of scene for which is voted.
std::ostream & operator<<(std::ostream &strm, const ISM::ObjectRelation &r)
std::string objectType
Object that votes. Its type.
boost::shared_ptr< VoteSpecifier > VoteSpecifierPtr
this namespace contains all generally usable classes.
QuaternionPtr objectToRefPoseQuat
Transformation from object in scene to ism reference: Transforms orientation of object into orientati...