libatomprobe
Library for Atom Probe Tomography (APT) computation
axialdf.h
Go to the documentation of this file.
1 /* axialdf.h : Axial distribution function routines
2  * Copyright (C) 2014 Daniel Haley
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 #ifndef ATOMPROBE_AXIALDF_H
18 #define ATOMPROBE_AXIALDF_H
19 
20 
23 
24 namespace AtomProbe
25 {
26 
28 
40 unsigned int generate1DAxialDistHist(const std::vector<Point3D> &pointList, K3DTreeExact &tree,
41  const Point3D &axisDir, float distMax, std::vector<unsigned int> &histogram) ;
42 
43 
44 //FIXME: Internal code seems to be a bit unhelpful.
46 
55 unsigned int generate1DAxialDistHistSweep(const std::vector<Point3D> &pointList, K3DTreeExact &tree,
56  float distMax, float dTheta, float dPhi, AtomProbe::ProgressBar &prog,
57  std::vector<std::vector<std::vector<unsigned int> > > &histogram);
58 }
59 #endif
unsigned int generate1DAxialDistHistSweep(const std::vector< Point3D > &pointList, K3DTreeExact &tree, float distMax, float dTheta, float dPhi, AtomProbe::ProgressBar &prog, std::vector< std::vector< std::vector< unsigned int > > > &histogram)
Generate a series of 1D distribution functions, one per pixel in a 2D grid of spherical coordinate di...
Definition: axialdf.cpp:131
3D specific KD tree
Definition: K3DTree-exact.h:54
A 3D point data class storage.
Definition: point3D.h:39
unsigned int generate1DAxialDistHist(const std::vector< Point3D > &pointList, K3DTreeExact &tree, const Point3D &axisDir, float distMax, std::vector< unsigned int > &histogram)
Generate a 1D axial distribution function,.
Definition: axialdf.cpp:37