RhtYNode Class Reference
Hough-Transform accumulator node. More...
#include <models/shape/accumulators/ht_accum.h>

Public Member Functions | |
| RhtYNode (int y) | |
| Constructor. | |
| int | insert (int y, int r) |
| Insert. | |
| void | dump (std::ostream &, int x) |
| Dump. | |
| void | clear (int y) |
| Clear. | |
| void | getNodes (std::vector< std::vector< int > > *rv, int min_votes, int x) |
| Get nodes. | |
Static Public Member Functions | |
| static RhtYNode * | generate (int y) |
| Generate. | |
| static void | reset (void) |
| Reset. | |
| static void | cleanup (void) |
| Cleanup. | |
Protected Attributes | |
| int | y |
| y | |
| RhtRNode * | r_root |
| r_root | |
Detailed Description
Hough-Transform accumulator node.Definition at line 72 of file ht_accum.h.
Constructor & Destructor Documentation
| RhtYNode::RhtYNode | ( | int | y | ) |
Constructor.
- Parameters:
-
y y
Definition at line 210 of file ht_accum.cpp.
References r_root.
Referenced by generate().
Member Function Documentation
| void RhtYNode::cleanup | ( | void | ) | [static] |
Cleanup.
Definition at line 326 of file ht_accum.cpp.
References RhtAccNode::next.
Referenced by RhtAccumulator::~RhtAccumulator().
| void RhtYNode::clear | ( | int | y | ) | [virtual] |
Clear.
- Parameters:
-
y y
Reimplemented from RhtAccNode.
Definition at line 309 of file ht_accum.cpp.
References r_root.
Referenced by generate().
| void RhtYNode::dump | ( | std::ostream & | s, | |
| int | x | |||
| ) |
Dump.
- Parameters:
-
s dump to s x x
Definition at line 271 of file ht_accum.cpp.
References RhtRNode::dump(), RhtAccNode::left, r_root, RhtAccNode::right, and y.
Referenced by RhtXNode::dump().
| RhtYNode * RhtYNode::generate | ( | int | y | ) | [static] |
Generate.
- Parameters:
-
y y
- Returns:
- node
Definition at line 286 of file ht_accum.cpp.
References clear(), RhtAccNode::next, and RhtYNode().
Referenced by insert().
| void RhtYNode::getNodes | ( | std::vector< std::vector< int > > * | rv, | |
| int | min_votes, | |||
| int | x | |||
| ) |
Get nodes.
- Parameters:
-
rv return value min_votes min votes x x
Definition at line 250 of file ht_accum.cpp.
References RhtRNode::getNodes(), RhtAccNode::left, r_root, RhtAccNode::right, and y.
Referenced by RhtXNode::getNodes().
| int RhtYNode::insert | ( | int | y0, | |
| int | r0 | |||
| ) |
Insert.
- Parameters:
-
y0 y r0 r
Definition at line 222 of file ht_accum.cpp.
References generate(), RhtRNode::insert(), RhtAccNode::left, r_root, RhtAccNode::right, and y.
Referenced by RhtXNode::insert().
| void RhtYNode::reset | ( | void | ) | [static] |
Member Data Documentation
RhtRNode* RhtYNode::r_root [protected] |
r_root
Definition at line 86 of file ht_accum.h.
Referenced by clear(), dump(), getNodes(), insert(), and RhtYNode().
int RhtYNode::y [protected] |
The documentation for this class was generated from the following files:
- src/firevision/models/shape/accumulators/ht_accum.h
- src/firevision/models/shape/accumulators/ht_accum.cpp

