IMP  2.3.0
The Integrative Modeling Platform
IMP::em2d::MasksManager Class Reference

Management of projection masks. More...

#include <IMP/em2d/ProjectionMask.h>

Detailed Description

Management of projection masks.

Definition at line 135 of file ProjectionMask.h.

Public Member Functions

 MasksManager (double resolution, double pixelsize)
 
void create_mask (double radius, double mass)
 Creates the adequate mask for a particle of given radius. More...
 
void create_masks (const kernel::ParticlesTemp &ps)
 
ProjectionMaskPtr find_mask (double radius)
 Returns the adequate mask for a particle of given radius. More...
 
unsigned int get_number_of_masks () const
 
void setup_kernel (double resolution, double pixelsize)
 Initializes the kernel. More...
 
void show (std::ostream &out=std::cout) const
 

Protected Attributes

bool is_setup_
 
em::KernelParameters kernel_params_
 
double pixelsize_
 
std::map< double,
ProjectionMaskPtr > 
radii2mask_
 

Member Function Documentation

void IMP::em2d::MasksManager::create_mask ( double  radius,
double  mass 
)

Creates the adequate mask for a particle of given radius.

Parameters
[in]radiusof the particle
[in]massof the particle
void IMP::em2d::MasksManager::create_masks ( const kernel::ParticlesTemp ps)

Generates all the masks for a set of particles. This is the function you typically want to use

ProjectionMaskPtr IMP::em2d::MasksManager::find_mask ( double  radius)

Returns the adequate mask for a particle of given radius.

void IMP::em2d::MasksManager::setup_kernel ( double  resolution,
double  pixelsize 
)

Initializes the kernel.

Definition at line 146 of file ProjectionMask.h.


The documentation for this class was generated from the following file: