9 #ifndef IMPEM_SURFACE_SHELL_DENSITY_MAP_H 
   10 #define IMPEM_SURFACE_SHELL_DENSITY_MAP_H 
   12 #include <IMP/em/em_config.h> 
   21 #define IMP_DEFAULT_NUM_SHELLS 5 
   22 #define IMP_SIG_CUTOFF 3 
   28 #define IMP_BACKGROUND_VAL 0.0 
   29 #define IMP_SURFACE_VAL 1.0 
   51                          int num_shells = IMP_DEFAULT_NUM_SHELLS);
 
   77   bool has_background_neighbor(
long voxel_ind) 
const;
 
   87   void set_surface_shell(std::vector<long> *shell);
 
   89   void set_neighbor_mask();
 
   91   std::vector<long> neighbor_shift_;
 
   92   std::vector<double> neighbor_dist_;
 
static FloatKey get_mass_key()
 
DensityMap * binarize(DensityMap *orig_map, float threshold, bool reverse=false)
Return a map with 0 for all voxels below the threshold and 1 for those above. 
 
virtual void resample()
Resample beads on an EM grid. 
 
#define IMP_REF_COUNTED_DESTRUCTOR(Name)
Set up destructor for a ref counted object. 
 
An approximation of the exponential function. 
 
Class for sampling a density map from particles. 
 
The class represents a molecule as shells of distance from the surface. 
 
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.