libatomprobe
Library for Atom Probe Tomography (APT) computation
Namespaces | Functions | Variables
convexHull.cpp File Reference
#include "atomprobe/algorithm/convexHull.h"
#include "atomprobe/helper/maths/misc.h"
#include <libqhull/qhull_a.h>
#include <numeric>
#include <limits>
#include "atomprobe/helper/aptAssert.h"
Include dependency graph for convexHull.cpp:

Go to the source code of this file.

Namespaces

 AtomProbe
 

Functions

void AtomProbe::freeConvexHull ()
 
unsigned int AtomProbe::doHull (unsigned int bufferSize, double *buffer, vector< Point3D > &resHull, Point3D &midPoint, bool freeHullOnExit)
 
unsigned int AtomProbe::computeConvexHull (const std::vector< IonHit > &data, unsigned int *progress, bool(*callback)(bool), std::vector< Point3D > &curHull, bool freeHull)
 Obtain the convex hull of a set of ions. More...
 
unsigned int AtomProbe::GetReducedHullPts (const std::vector< IonHit > &points, float reductionDim, unsigned int *progress, bool(*callback)(bool), std::vector< IonHit > &pointResult)
 Obtain a set of points that are a subset of points the convex hull that are at least "reductionDim" away from the hull itself. More...
 

Variables

bool AtomProbe::qhullInited =false
 
const unsigned int AtomProbe::HULL_GRAB_SIZE =4096