9 #ifndef IMPEM_CONVERTERS_H
10 #define IMPEM_CONVERTERS_H
12 #include <IMP/em/em_config.h>
36 Model *m,
int step = 1);
60 const ParticlesTemp &ps,
Float resolution,
Float apix,
82 ps, resolution, apix, weight_key, sig_cutoff, BINARIZED_SPHERE));
100 calculate_intersection_score(
const SurfaceShellDensityMap *d1,
101 const SurfaceShellDensityMap *d2);
O * release()
Relinquish control of the raw pointer stored in the Pointer.
static FloatKey get_mass_key()
Particles density2particles(DensityMap *dmap, Float threshold, Model *m, int step=1)
Convert a density grid to a set of particles.
algebra::Vector3Ds density2vectors(DensityMap *dmap, Float threshold)
Convert a density grid to a set of vectors.
Vector< VectorD< 3 > > Vector3Ds
SampledDensityMap * particles2binarized_density(const ParticlesTemp &ps, Float resolution, Float apix, int sig_cutoff=3, const FloatKey &weight_key=IMP::atom::Mass::get_mass_key())
Represent a molecule as shells of distance from the surface.
SampledDensityMap * particles2density(const ParticlesTemp &ps, Float resolution, Float apix, int sig_cutoff=3, const FloatKey &weight_key=IMP::atom::Mass::get_mass_key())
Resample a set of particles into a density grid.
Various general useful macros for IMP.
A smart pointer to a reference counted object.
Class for handling density maps.
Class for sampling a density map from particles.
Key< 0, true > FloatKey
The type used to identify float attributes in the Particles.
Classes to handle individual model particles. (Note that implementation of inline functions is in int...
SurfaceShellDensityMap * particles2surface(const ParticlesTemp &ps, Float apix, const FloatKey &weight_key=IMP::atom::Mass::get_mass_key())
Resample a set of particles into a density grid.
double Float
Basic floating-point value (could be float, double...)