#include <VotingSpace.hpp>

Public Member Functions | |
| void | calcResult (int i, VotingResultCalculatorPtr &calculator) |
| TypeToInnerMap | collectVotesInSphere (PointPtr ¢erPtr, bool &voteFromReferenceObjectExists) |
| int | discretizeToBins (double x) |
| VotingResultPtrs | fillAndEvalVotingSpace (VotedPosePtrs &votes, bool enabledSelfVoteCheck) |
| VotingBinPtr | getBin (double x, double y, double z) |
| VotingSpace (double binSize, double maxProjectionAngleDeviation, int raterType=0) | |
Public Attributes | |
| double | binSize |
| int | curThread |
| const double | halfBinSize |
| double | maxProjectionAngleDeviation |
| const int | mRaterType |
| int | nThreads |
| const double | offsetOfSphere |
| std::vector< std::vector< VotingResultPtr > > | resultsPerThread |
| const double | squaredRadius |
| std::vector< boost::shared_ptr< boost::thread > > | threads |
| XIndexToYIndex | voteGrid |
| std::vector< std::vector< VotingBinPtr > > | votingBinsPerThread |
Static Public Attributes | |
| static constexpr double | epsilon = 1e-6 |
Definition at line 34 of file VotingSpace.hpp.
|
inline |
Definition at line 39 of file VotingSpace.hpp.
| void ISM::VotingSpace::calcResult | ( | int | i, |
| VotingResultCalculatorPtr & | calculator | ||
| ) |
Definition at line 83 of file VotingSpace.cpp.
| TypeToInnerMap ISM::VotingSpace::collectVotesInSphere | ( | PointPtr & | centerPtr, |
| bool & | voteFromReferenceObjectExists | ||
| ) |
Definition at line 122 of file VotingSpace.cpp.
| int ISM::VotingSpace::discretizeToBins | ( | double | x | ) |
Definition at line 222 of file VotingSpace.cpp.
| VotingResultPtrs ISM::VotingSpace::fillAndEvalVotingSpace | ( | VotedPosePtrs & | votes, |
| bool | enabledSelfVoteCheck | ||
| ) |
Definition at line 40 of file VotingSpace.cpp.
| VotingBinPtr ISM::VotingSpace::getBin | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) |
Definition at line 95 of file VotingSpace.cpp.
| double ISM::VotingSpace::binSize |
Definition at line 68 of file VotingSpace.hpp.
| int ISM::VotingSpace::curThread |
Definition at line 89 of file VotingSpace.hpp.
|
static |
Definition at line 76 of file VotingSpace.hpp.
| const double ISM::VotingSpace::halfBinSize |
Definition at line 75 of file VotingSpace.hpp.
| double ISM::VotingSpace::maxProjectionAngleDeviation |
Definition at line 69 of file VotingSpace.hpp.
| const int ISM::VotingSpace::mRaterType |
Definition at line 72 of file VotingSpace.hpp.
| int ISM::VotingSpace::nThreads |
Definition at line 85 of file VotingSpace.hpp.
| const double ISM::VotingSpace::offsetOfSphere |
Definition at line 82 of file VotingSpace.hpp.
| std::vector<std::vector<VotingResultPtr> > ISM::VotingSpace::resultsPerThread |
Definition at line 88 of file VotingSpace.hpp.
| const double ISM::VotingSpace::squaredRadius |
Definition at line 80 of file VotingSpace.hpp.
| std::vector<boost::shared_ptr<boost::thread> > ISM::VotingSpace::threads |
Definition at line 86 of file VotingSpace.hpp.
| XIndexToYIndex ISM::VotingSpace::voteGrid |
Definition at line 65 of file VotingSpace.hpp.
| std::vector<std::vector<VotingBinPtr> > ISM::VotingSpace::votingBinsPerThread |
Definition at line 87 of file VotingSpace.hpp.