|
libatomprobe
Library for Atom Probe Tomography (APT) computation
|
Node Class for storing point. More...
#include <K3DTree-approx.h>
Public Member Functions | |
| Point3D | getLoc () const |
| Return the point data from the ndoe. More... | |
| const Point3D * | getLocRef () const |
| Return a pointer to the point from the node. More... | |
| void | setLeft (K3DNodeApprox *node) |
| Set the left child node. More... | |
| void | setRight (K3DNodeApprox *node) |
| Set the right child node. More... | |
| void | setLoc (const Point3D &) |
| Set the point data associated with this node. More... | |
| void | setAxis (unsigned int newAxis) |
| Set the axis that this node operates on. More... | |
| unsigned int | getAxis () const |
| Retrieve the axis that this node operates on. More... | |
| float | getAxisVal () const |
| retrieve the value associated with this axis More... | |
| float | getLocVal (unsigned int pos) const |
| Obtain the coordinates at dimension "pos". More... | |
| float | sqrDist (const Point3D &pt) const |
| Obtain the distance between this node and another point. More... | |
| K3DNodeApprox * | left () const |
| Obtain pointer to left child. More... | |
| K3DNodeApprox * | right () const |
| Obtain pointer to right child. More... | |
| void | deleteChildren () |
| Recursively delete this node and all children. More... | |
| void | dump (std::ostream &, unsigned int) const |
| print the node data out to a given stream More... | |
Node Class for storing point.
Definition at line 53 of file K3DTree-approx.h.
| void AtomProbe::K3DNodeApprox::deleteChildren | ( | ) |
Recursively delete this node and all children.
Definition at line 63 of file K3DTree-approx.cpp.
Referenced by AtomProbe::K3DTreeApprox::kill().
| void AtomProbe::K3DNodeApprox::dump | ( | std::ostream & | strm, |
| unsigned int | depth | ||
| ) | const |
print the node data out to a given stream
Definition at line 83 of file K3DTree-approx.cpp.
Referenced by AtomProbe::K3DTreeApprox::dump().
|
inline |
Retrieve the axis that this node operates on.
Definition at line 79 of file K3DTree-approx.h.
|
inline |
retrieve the value associated with this axis
Definition at line 81 of file K3DTree-approx.h.
References AtomProbe::Point3D::getValue().

| Point3D AtomProbe::K3DNodeApprox::getLoc | ( | ) | const |
Return the point data from the ndoe.
Definition at line 58 of file K3DTree-approx.cpp.
|
inline |
Return a pointer to the point from the node.
Definition at line 68 of file K3DTree-approx.h.
Referenced by AtomProbe::K3DTreeApprox::findNearest().
|
inline |
Obtain the coordinates at dimension "pos".
Definition at line 83 of file K3DTree-approx.h.
References AtomProbe::Point3D::getValue().
Referenced by AtomProbe::K3DTreeApprox::findNearest().

|
inline |
Obtain pointer to left child.
Definition at line 87 of file K3DTree-approx.h.
Referenced by AtomProbe::K3DTreeApprox::findNearest().
|
inline |
Obtain pointer to right child.
Definition at line 89 of file K3DTree-approx.h.
Referenced by AtomProbe::K3DTreeApprox::findNearest().
|
inline |
Set the axis that this node operates on.
Definition at line 77 of file K3DTree-approx.h.
Referenced by AtomProbe::K3DTreeApprox::buildByRef().
|
inline |
Set the left child node.
Definition at line 70 of file K3DTree-approx.h.
Referenced by AtomProbe::K3DTreeApprox::buildByRef().
| void AtomProbe::K3DNodeApprox::setLoc | ( | const Point3D & | locNew | ) |
Set the point data associated with this node.
Definition at line 53 of file K3DTree-approx.cpp.
Referenced by AtomProbe::K3DTreeApprox::buildByRef().
|
inline |
Set the right child node.
Definition at line 72 of file K3DTree-approx.h.
Referenced by AtomProbe::K3DTreeApprox::buildByRef().
|
inline |
Obtain the distance between this node and another point.
Definition at line 85 of file K3DTree-approx.h.
References AtomProbe::Point3D::sqrDist().
Referenced by AtomProbe::K3DTreeApprox::findNearest().

1.8.13