#include <qgarlib/RWSegmentVector.H>
Definition at line 86 of file RWSegmentVector.H.
Private Member Functions | |
Constructors | |
| RWTree () | |
| Default constructor. | |
| RWTree (int fi, int li, double s=0.0) | |
| Construct from indexes and significance. | |
Destructor | |
| ~RWTree () | |
| Non-virtual destructor. | |
Access | |
| double | significance () const |
| Get significance. | |
| int | firstIdx () const |
| Get Index of first point. | |
| int | lastIdx () const |
| Get Index of last point. | |
| RWTree * | leftChild () const |
| Get left child. | |
| RWTree * | rightChild () const |
| Get right child. | |
Transformation | |
| void | setSignificance (double s) |
| Set significance. | |
| void | setFirstIdx (int fi) |
| Set index of first point. | |
| void | setLastIdx (int li) |
| Set index of last point. | |
| void | setLeftChild (RWTree *ls) |
| Set left child. | |
| void | setRightChild (RWTree *rs) |
| Set right child. | |
Private Attributes | |
Representation of a node | |
| int | _firstIdx |
| Index in chain of first point. | |
| int | _lastIdx |
| Index in chain of last point. | |
| RWTree * | _leftChild |
| Left child. | |
| RWTree * | _rightChild |
| Right child. | |
| double | _significance |
| Significance associated to the node. | |
Friends | |
| class | RWSegmentVector |
|
|
Default constructor.
Definition at line 89 of file RWSegmentVector.C. |
|
||||||||||||||||
|
Construct from indexes and significance.
Definition at line 98 of file RWSegmentVector.C. |
|
|
Non-virtual destructor.
Definition at line 119 of file RWSegmentVector.C. References _leftChild, and _rightChild. |
|
|
Get Index of first point.
Definition at line 268 of file RWSegmentVector.H. References _firstIdx. |
|
|
Get Index of last point.
Definition at line 277 of file RWSegmentVector.H. References _lastIdx. |
|
|
Get left child.
Definition at line 286 of file RWSegmentVector.H. References _leftChild. Referenced by qgar::RWSegmentVector::searchBestApproximation(). |
|
|
Get right child.
Definition at line 295 of file RWSegmentVector.H. References _rightChild. Referenced by qgar::RWSegmentVector::searchBestApproximation(). |
|
|
Set index of first point.
Definition at line 318 of file RWSegmentVector.H. References _firstIdx. |
|
|
Set index of last point.
Definition at line 327 of file RWSegmentVector.H. References _lastIdx. |
|
|
Set left child.
Definition at line 336 of file RWSegmentVector.H. References _leftChild. Referenced by qgar::RWSegmentVector::searchBestApproximation(). |
|
|
Set right child.
Definition at line 345 of file RWSegmentVector.H. References _rightChild. Referenced by qgar::RWSegmentVector::searchBestApproximation(). |
|
|
Set significance.
Definition at line 309 of file RWSegmentVector.H. References _significance. Referenced by qgar::RWSegmentVector::searchBestApproximation(). |
|
|
Get significance.
Definition at line 259 of file RWSegmentVector.H. References _significance. Referenced by qgar::RWSegmentVector::searchBestApproximation(). |
|
|
Definition at line 93 of file RWSegmentVector.H. |
|
|
Index in chain of first point.
Definition at line 107 of file RWSegmentVector.H. Referenced by firstIdx(), and setFirstIdx(). |
|
|
Index in chain of last point.
Definition at line 112 of file RWSegmentVector.H. Referenced by lastIdx(), and setLastIdx(). |
|
|
Left child.
Definition at line 117 of file RWSegmentVector.H. Referenced by leftChild(), setLeftChild(), and ~RWTree(). |
|
|
Right child.
Definition at line 122 of file RWSegmentVector.H. Referenced by rightChild(), setRightChild(), and ~RWTree(). |
|
|
Significance associated to the node.
Definition at line 127 of file RWSegmentVector.H. Referenced by setSignificance(), and significance(). |