|
libatomprobe
Library for Atom Probe Tomography (APT) computation
|
This is a data holding class for POS file ions, from. More...
#include <ionHit.h>
Public Member Functions | |
| IonHit () | |
| IonHit (float *) | |
| IonHit (const IonHit &) | |
| IonHit (const Point3D &p, float massToCharge) | |
| IonHit (float x, float y, float z, float mass) | |
| void | setHit (float *arr) |
| void | setMassToCharge (float newMassToCharge) |
| void | setPos (const Point3D &pos) |
| void | setPos (unsigned int idx, float pos) |
| void | setPos (float fX, float fY, float fZ) |
| Point3D | getPos () const |
| const Point3D & | getPosRef () const |
| bool | hasNaN () |
| float | getMassToCharge () const |
| const IonHit & | operator= (const IonHit &obj) |
| bool | operator== (const IonHit &obj) const |
| float | operator[] (unsigned int ui) const |
| float & | operator[] (unsigned int ui) |
| IonHit | operator+ (const Point3D &obj) |
Static Public Member Functions | |
| static void | getPoints (const std::vector< IonHit > &ions, std::vector< Point3D > &pts) |
| static void | getBoundCube (const std::vector< IonHit > &p, BoundCube &b) |
| static void | getCentroid (const std::vector< IonHit > &points, Point3D ¢roid) |
| static BoundCube | getIonDataLimits (const std::vector< IonHit > &points) |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const IonHit &) |
| Output streaming operator. Users (x,y,z,m) as format for output. More... | |
| AtomProbe::IonHit::IonHit | ( | ) |
Definition at line 38 of file ionhit.cpp.
| AtomProbe::IonHit::IonHit | ( | float * | buffer | ) |
Definition at line 44 of file ionhit.cpp.
| AtomProbe::IonHit::IonHit | ( | const IonHit & | obj2 | ) |
Definition at line 52 of file ionhit.cpp.
| AtomProbe::IonHit::IonHit | ( | const Point3D & | p, |
| float | massToCharge | ||
| ) |
Definition at line 56 of file ionhit.cpp.
| AtomProbe::IonHit::IonHit | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | mass | ||
| ) |
Definition at line 48 of file ionhit.cpp.
Definition at line 153 of file ionhit.cpp.
References ASSERT, AtomProbe::Point3D::getValue(), and AtomProbe::BoundCube::setBounds().
Referenced by getPosRef(), and AtomProbe::EPOS_ENTRY::operator==().

|
static |
Definition at line 128 of file ionhit.cpp.
References getPos().
Referenced by getPosRef().

Definition at line 188 of file ionhit.cpp.
References ASSERT, AtomProbe::Point3D::getValue(), and AtomProbe::BoundCube::setInverseLimits().
Referenced by getPosRef(), and AtomProbe::K3DTreeExact::resetPts().

| float AtomProbe::IonHit::getMassToCharge | ( | ) | const |
Definition at line 65 of file ionhit.cpp.
Referenced by AtomProbe::RangeFile::getIonID(), AtomProbe::RangeFile::getName(), getPosRef(), AtomProbe::MultiRange::isRanged(), AtomProbe::RangeFile::isRanged(), main(), and AtomProbe::operator<<().
|
static |
Definition at line 109 of file ionhit.cpp.
References getPosRef().
Referenced by getPosRef().

| Point3D AtomProbe::IonHit::getPos | ( | ) | const |
Definition at line 117 of file ionhit.cpp.
Referenced by getCentroid(), main(), AtomProbe::operator<<(), and setPos().
|
inline |
Definition at line 65 of file ionHit.h.
References getBoundCube(), getCentroid(), getIonDataLimits(), getMassToCharge(), getPoints(), hasNaN(), operator+(), operator<<, operator=(), operator==(), and operator[]().
Referenced by getPoints().

| bool AtomProbe::IonHit::hasNaN | ( | ) |
Definition at line 122 of file ionhit.cpp.
Referenced by getPosRef(), and AtomProbe::loadPosFile().
Definition at line 103 of file ionhit.cpp.
Referenced by getPosRef().
Definition at line 90 of file ionhit.cpp.
Referenced by getPosRef().
| bool AtomProbe::IonHit::operator== | ( | const IonHit & | obj | ) | const |
Definition at line 98 of file ionhit.cpp.
Referenced by AtomProbe::EPOS_ENTRY::getHitMultiplicity(), and getPosRef().
| float AtomProbe::IonHit::operator[] | ( | unsigned int | ui | ) | const |
| float & AtomProbe::IonHit::operator[] | ( | unsigned int | ui | ) |
Definition at line 260 of file ionhit.cpp.
References ASSERT.
|
inline |
Definition at line 50 of file ionHit.h.
References setMassToCharge(), setPos(), and AtomProbe::Point3D::setValueArr().

| void AtomProbe::IonHit::setMassToCharge | ( | float | newMassToCharge | ) |
Definition at line 60 of file ionhit.cpp.
Referenced by AtomProbe::FaceCentredCubicGen::generateLattice(), AtomProbe::BodyCentredCubicGen::generateLattice(), AtomProbe::loadPosFile(), AtomProbe::loadTapsimBinFile(), AtomProbe::EPOS_ENTRY::operator==(), and setHit().
| void AtomProbe::IonHit::setPos | ( | const Point3D & | pos | ) |
Definition at line 76 of file ionhit.cpp.
References floatSwapBytes().
Referenced by AtomProbe::SimpleCubicGen::generateLattice(), AtomProbe::FaceCentredCubicGen::generateLattice(), AtomProbe::BodyCentredCubicGen::generateLattice(), AtomProbe::loadPosFile(), AtomProbe::loadTapsimBinFile(), AtomProbe::EPOS_ENTRY::operator==(), and setHit().

| void AtomProbe::IonHit::setPos | ( | unsigned int | idx, |
| float | pos | ||
| ) |
Definition at line 70 of file ionhit.cpp.
References ASSERT.
|
inline |
|
friend |
Output streaming operator. Users (x,y,z,m) as format for output.
Definition at line 181 of file ionhit.cpp.
Referenced by getPosRef().
1.8.13