libatomprobe
Library for Atom Probe Tomography (APT) computation
Classes | Namespaces | Macros | Enumerations | Functions
voxels.h File Reference
#include "atomprobe/helper/aptAssert.h"
#include "atomprobe/primitives/boundcube.h"
#include "atomprobe/primitives/point3D.h"
#include "atomprobe/primitives/ionHit.h"
#include <stack>
#include <numeric>
#include <atomic>
#include <algorithm>
#include <fstream>
Include dependency graph for voxels.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AtomProbe::Voxels< T >
 Template class that stores 3D voxel data. More...
 

Namespaces

 AtomProbe
 

Macros

#define XOR(a, b)   ((!(a)) ^ (!(b)))
 

Enumerations

enum  {
  AtomProbe::BOUND_CLIP =1, AtomProbe::BOUND_HOLD, AtomProbe::BOUND_DERIV_HOLD, AtomProbe::BOUND_MIRROR,
  AtomProbe::BOUND_ZERO, AtomProbe::BOUND_ENUM_END
}
 Boundary clipping mode. More...
 
enum  { AtomProbe::VOX_INTERP_NONE, AtomProbe::VOX_INTERP_LINEAR, AtomProbe::VOX_INTERP_ENUM_END }
 
enum  { AtomProbe::ADJ_ALL, AtomProbe::ADJ_PLUS }
 
enum  { AtomProbe::VOXELS_BAD_FILE_READ =1, AtomProbe::VOXELS_BAD_FILE_OPEN, AtomProbe::VOXELS_BAD_FILE_SIZE, AtomProbe::VOXELS_OUT_OF_MEMORY }
 
enum  { AtomProbe::CLIP_NONE =0, AtomProbe::CLIP_LOWER_SOUTH_WEST, AtomProbe::CLIP_UPPER_NORTH_EAST }
 Clipping direction constants. More...
 
enum  { AtomProbe::VOXEL_ABORT_ERR, AtomProbe::VOXEL_MEMORY_ERR, AtomProbe::VOXEL_BOUNDS_INVALID_ERR }
 

Functions

template<class T , class U >
void AtomProbe::castVoxels (const Voxels< T > &src, Voxels< U > &dest)
 Convert one type of voxel into another by assignment operator. More...
 
template<class T , class U >
void AtomProbe::sumVoxels (const Voxels< T > &src, U &counter)
 Use one counting type to sum counts in a voxel of given type. More...
 

Macro Definition Documentation

◆ XOR

#define XOR (   a,
 
)    ((!(a)) ^ (!(b)))