IMP
2.0.1
The Integrative Modeling Platform
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
envelope_penetration.h
Go to the documentation of this file.
1
/**
2
* \file IMP/em/envelope_penetration.h
3
* \brief functions for calculation envelope penetration
4
*
5
* Copyright 2007-2013 IMP Inventors. All rights reserved.
6
*
7
*/
8
9
#ifndef IMPEM_ENVELOPE_PENETRATION_H
10
#define IMPEM_ENVELOPE_PENETRATION_H
11
#include <IMP/em/em_config.h>
12
#include "
DensityMap.h
"
13
#include <
IMP/Particle.h
>
14
15
IMPEM_BEGIN_NAMESPACE
16
//! Get the number of particles that are outside of the density
17
/**
18
/note the function assumes that all of the particles have XYZ coordinates
19
*/
20
IMPEMEXPORT
long
get_number_of_particles_outside_of_the_density
(
21
DensityMap *dmap,
const
Particles &ps,
22
const
IMP::algebra::Transformation3D
&t=
23
IMP::algebra::get_identity_transformation_3d
(),
float
thr=0.0);
24
//! Get numbers of particles (mult transforms) that are outside the density
25
/**
26
/note the function assumes that all of the particles have XYZ coordinates
27
*/
28
IMPEMEXPORT
Ints
get_numbers_of_particles_outside_of_the_density
(
29
DensityMap *dmap,
const
Particles &ps,
30
const
IMP::algebra::Transformation3Ds
&transformations,
float
thr=0.0);
31
//! Get the number of density voxels that are not covered by particles
32
/**
33
/note the function assumes that all of the particles have XYZ coordinates
34
*/
35
IMPEMEXPORT
double
get_percentage_of_voxels_covered_by_particles
(
36
DensityMap *dmap,
const
Particles &ps,
37
float
smoothing_radius=3.,
38
const
IMP::algebra::Transformation3D
&t=
39
IMP::algebra::get_identity_transformation_3d
(),
float
thr=0.0);
40
IMPEM_END_NAMESPACE
41
42
#endif
/* IMPEM_ENVELOPE_PENETRATION_H */