MyMarlinTPC
170316
|
Row based hyperplane. More...
#include <RowBasedFastHoughTransformationProcessor.h>
Public Member Functions | |
rb_HyperPlane (int, rb_Hit *, directionsType &, double=0.75) | |
Construct row based hyperplane. More... | |
void | print () const |
Print hyperplane. More... | |
int | getScaleBits () const |
Get scale bits. More... | |
int | getRow () const |
Get row number. More... | |
rb_Hit * | getHit () const |
Get hit (pointer). More... | |
intListType | getCut () const |
Get distance cut(s). More... | |
int | getCut (int) const |
Get distance cut(s). More... | |
std::vector< intListType > | getSteps () const |
Get steps (distances of child to mother hypercube center). More... | |
int | getStep (int, int) const |
Get step (distances of child to mother hypercube center projected on normal). More... | |
Private Attributes | |
int | _scaleBits |
number of scale bits (2^(_scaleBits) = 1.0) More... | |
rb_Hit * | _hit |
pointers to hit More... | |
intListType | _cut |
distance cut for maximal component More... | |
std::vector< intListType > | _steps |
steps (distance to childs projected on normal) More... | |
Row based hyperplane.
Has hyperplane directions and hit (pointer). Used to check intersection with hypercubes. The distances to the childs (proected on the normal) and the corresponding cuts are stored as (scaled) integers.
Definition at line 154 of file RowBasedFastHoughTransformationProcessor.h.
marlintpc::rb_HyperPlane::rb_HyperPlane | ( | int | scaleBits, |
rb_Hit * | hit, | ||
directionsType & | dirList, | ||
double | distCut = 0.75 |
||
) |
Construct row based hyperplane.
[in] | scaleBits | number of scale bits (2^(_scaleBits) = 1.0) |
[in] | hit | (pointer to) hit |
[in] | dirList | list of directions (unit normals) |
[in] | distCut | distance cut (to hypercube center) |
Definition at line 424 of file RowBasedFastHoughTransformationProcessor.cc.
References _cut, _scaleBits, and _steps.
intListType marlintpc::rb_HyperPlane::getCut | ( | ) | const |
Get distance cut(s).
Definition at line 466 of file RowBasedFastHoughTransformationProcessor.cc.
References _cut.
Referenced by marlintpc::rb_HyperCube::divide().
int marlintpc::rb_HyperPlane::getCut | ( | int | idim | ) | const |
Get distance cut(s).
Definition at line 471 of file RowBasedFastHoughTransformationProcessor.cc.
References _cut.
rb_Hit * marlintpc::rb_HyperPlane::getHit | ( | ) | const |
Get hit (pointer).
Definition at line 461 of file RowBasedFastHoughTransformationProcessor.cc.
References _hit.
int marlintpc::rb_HyperPlane::getRow | ( | ) | const |
Get row number.
Definition at line 451 of file RowBasedFastHoughTransformationProcessor.cc.
References _hit, and marlintpc::rb_Hit::getRow().
Referenced by marlintpc::rb_HyperCube::divide().
int marlintpc::rb_HyperPlane::getScaleBits | ( | ) | const |
Get scale bits.
Definition at line 456 of file RowBasedFastHoughTransformationProcessor.cc.
References _scaleBits.
int marlintpc::rb_HyperPlane::getStep | ( | int | idim, |
int | b | ||
) | const |
Get step (distances of child to mother hypercube center projected on normal).
Definition at line 481 of file RowBasedFastHoughTransformationProcessor.cc.
References _steps.
Referenced by marlintpc::rb_HyperCube::divide().
std::vector< intListType > marlintpc::rb_HyperPlane::getSteps | ( | ) | const |
Get steps (distances of child to mother hypercube center).
Definition at line 476 of file RowBasedFastHoughTransformationProcessor.cc.
References _steps.
void marlintpc::rb_HyperPlane::print | ( | ) | const |
Print hyperplane.
Definition at line 445 of file RowBasedFastHoughTransformationProcessor.cc.
References _cut, _hit, marlintpc::rb_Hit::getHitNum(), and marlintpc::rb_Hit::getRow().
|
private |
distance cut for maximal component
Definition at line 169 of file RowBasedFastHoughTransformationProcessor.h.
Referenced by getCut(), print(), and rb_HyperPlane().
|
private |
pointers to hit
Definition at line 168 of file RowBasedFastHoughTransformationProcessor.h.
|
private |
number of scale bits (2^(_scaleBits) = 1.0)
Definition at line 167 of file RowBasedFastHoughTransformationProcessor.h.
Referenced by getScaleBits(), and rb_HyperPlane().
|
private |
steps (distance to childs projected on normal)
Definition at line 170 of file RowBasedFastHoughTransformationProcessor.h.
Referenced by getStep(), getSteps(), and rb_HyperPlane().