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
49 int num_shells = IMP_DEFAULT_NUM_SHELLS);
67 void binaries(
float scene_val);
74 bool has_background_neighbor(
long voxel_ind)
const;
84 void set_surface_shell(std::vector<long> *shell);
86 void set_neighbor_mask();
88 std::vector<long> neighbor_shift_;
89 std::vector<emreal> neighbor_dist_;
static FloatKey get_mass_key()
virtual void resample()
Resample beads on an EM grid.
#define IMP_REF_COUNTED_DESTRUCTOR(Name)
Ref counted objects should have private destructors.
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 sets of objects.