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
29 #define IMP_BACKGROUND_VAL 0.0
30 #define IMP_SURFACE_VAL 1.0
51 int num_shells=IMP_DEFAULT_NUM_SHELLS);
69 void binaries(
float scene_val);
76 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<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 repersents a molecule as shells of distance from the surface.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.