Represents a key for a PointFilterRule. More...
#include <pointFilter.h>
Public Member Functions | |
PointFilterKey () | |
PointFilterKey (std::string str) | |
PointFilterKey (uint16_t exactVanishedFocalValues, uint16_t jacobianRank, bool smooth, uint16_t quadricsRank) | |
const rule & | getConstRuleRef () |
see pointFilterKeyRule_m | |
bool | operator< (const PointFilterKey &pfkey) const |
compares two PointFilterKey objects | |
void | print (std::ostream &os) const |
prints the key as string : (exactVanishedFocalValues_m, jacobianRank_m, smooth_m(true/false), quadricsRank_m). Example: "(14,5,false, 1)" | |
Private Member Functions | |
const rule * | initRule () |
creates a boost::spirit::rule to parse a key string. Key string format: (exactVanishedFocalValues,jacobianRank, smooth(true/false), quadricsRank). Example: "(14,5,false, 1)" | |
Private Attributes | |
const rule * | pointFilterKeyRule_m |
key data | |
uint16_t | exactVanishedFocalValues_m |
uint16_t | jacobianRank_m |
bool | smooth_m |
uint16_t | quadricsRank_m |
Static Private Attributes | |
static const bool | trueValue_m |
static const bool | falseValue_m |
Definition at line 53 of file pointFilter.h.
PointFilterKey::PointFilterKey | ( | ) | [inline] |
Definition at line 17 of file pointFilter.hpp.
References initRule().
PointFilterKey::PointFilterKey | ( | std::string | str | ) | [inline] |
Definition at line 39 of file pointFilter.hpp.
References falseValue_m, initRule(), pointFilterKeyRule_m, print(), smooth_m, and trueValue_m.
PointFilterKey::PointFilterKey | ( | uint16_t | exactVanishedFocalValues, | |
uint16_t | jacobianRank, | |||
bool | smooth, | |||
uint16_t | quadricsRank | |||
) | [inline] |
Definition at line 27 of file pointFilter.hpp.
const rule& PointFilterKey::getConstRuleRef | ( | ) | [inline] |
Definition at line 94 of file pointFilter.h.
References pointFilterKeyRule_m.
Referenced by PointFilterRule::initRule().
const rule * PointFilterKey::initRule | ( | ) | [private] |
Definition at line 63 of file pointFilter.hpp.
References exactVanishedFocalValues_m, falseValue_m, jacobianRank_m, pointFilterKeyRule_m, quadricsRank_m, smooth_m, space_rule_g, spacy_colon_g, and trueValue_m.
Referenced by PointFilterKey().
bool PointFilterKey::operator< | ( | const PointFilterKey & | pfkey | ) | const [inline] |
Definition at line 88 of file pointFilter.hpp.
References exactVanishedFocalValues_m, jacobianRank_m, quadricsRank_m, and smooth_m.
void PointFilterKey::print | ( | std::ostream & | os | ) | const [inline] |
Definition at line 79 of file pointFilter.hpp.
References exactVanishedFocalValues_m, jacobianRank_m, quadricsRank_m, and smooth_m.
Referenced by PointFilterKey(), and PointFilterRule::print().
uint16_t PointFilterKey::exactVanishedFocalValues_m [private] |
Definition at line 57 of file pointFilter.h.
Referenced by initRule(), operator<(), and print().
const bool PointFilterKey::falseValue_m [static, private] |
Definition at line 68 of file pointFilter.h.
Referenced by initRule(), and PointFilterKey().
uint16_t PointFilterKey::jacobianRank_m [private] |
Definition at line 58 of file pointFilter.h.
Referenced by initRule(), operator<(), and print().
const rule* PointFilterKey::pointFilterKeyRule_m [private] |
boost::spirit::rule to parse a key string.
Key string format: (exactVanishedFocalValues,jacobianRank, smooth(true/false), quadricsRank). Example: "(14,5,false, 1)"
Definition at line 65 of file pointFilter.h.
Referenced by getConstRuleRef(), initRule(), and PointFilterKey().
uint16_t PointFilterKey::quadricsRank_m [private] |
Definition at line 60 of file pointFilter.h.
Referenced by initRule(), operator<(), and print().
bool PointFilterKey::smooth_m [private] |
Definition at line 59 of file pointFilter.h.
Referenced by initRule(), operator<(), PointFilterKey(), and print().
const bool PointFilterKey::trueValue_m [static, private] |
Definition at line 67 of file pointFilter.h.
Referenced by initRule(), and PointFilterKey().