9 #ifndef IMPEM_MASKING_H
10 #define IMPEM_MASKING_H
12 #include <IMP/em/em_config.h>
23 inline const std::vector<double> *get_neighbor_shift()
const {
24 return &neighbor_shift_;}
25 inline const std::vector<double> *get_neighbor_dist()
const {
26 return &neighbor_dist_;}
27 inline const std::vector<double> *get_neighbor_dist_exp()
const {
28 return &neighbor_dist_exp_;}
30 void show(std::ostream& out)
const { out <<
"RadiusDependentDistanceMask"; }
32 std::vector<double> neighbor_shift_;
33 std::vector<double> neighbor_dist_;
34 std::vector<double> neighbor_dist_exp_;
51 void show(std::ostream& out)
const { out <<
"DistanceMask"; }
52 #if !defined(SWIG) && !defined(IMP_DOXYGEN)
67 float radius,
float eps=0.001)
const;
69 bool is_mask_set(
float radius,
float eps=0.001) {
70 return get_mask(radius, eps) !=
nullptr;
74 std::map<float, const RadiusDependentDistanceMask*> MASK_MAP;
Import IMP/kernel/base_types.h in the namespace.
Calculates and stores gaussian kernel parameters.
Calculates and stores a distance mask.
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.