IMP  2.1.0
The Integrative Modeling Platform
DensityMap.h File Reference

Class for handling density maps. More...

#include <IMP/base/Pointer.h>
#include <IMP/em/em_config.h>
#include "DensityHeader.h"
#include "MapReaderWriter.h"
#include <IMP/base/Object.h>
#include <IMP/algebra/Vector3D.h>
#include <IMP/algebra/BoundingBoxD.h>
#include <IMP/algebra/Transformation3D.h>
#include <boost/scoped_array.hpp>
#include <iostream>
#include <iomanip>
#include <IMP/algebra/standard_grids.h>
+ Include dependency graph for DensityMap.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IMP::em::DensityMap
 Class for handling density maps. More...
 

Namespaces

 IMP
 All IMP::kernel code is brought into the IMP namespace.
 
 IMP::em
 See IMP.em for more information.
 

Typedefs

typedef IMP::base::Vector
< IMP::base::Pointer
< DensityMap > > 
IMP::em::DensityMaps
 rotate a grid More...
 
typedef IMP::base::Vector
< IMP::base::WeakPointer
< DensityMap > > 
IMP::em::DensityMapsTemp
 

Functions

Float IMP::em::approximate_molecular_mass (DensityMap *m, Float threshold)
 
DensityMap * IMP::em::binarize (DensityMap *orig_map, float threshold, bool reverse=false)
 
double IMP::em::convolute (const DensityMap *m1, const DensityMap *m2)
 
DensityMap * IMP::em::create_density_map (const DensityMap *other)
 create a copy of another map
 
DensityMap * IMP::em::create_density_map (const algebra::BoundingBox3D &bb, double spacing)
 Create an empty density map from a boudning box.
 
DensityMap * IMP::em::create_density_map (int nx, int ny, int nz, double spacing)
 Create an empty density map.
 
DensityMap * IMP::em::create_density_map (const algebra::GridD< 3, algebra::DenseGridStorageD< 3, float >, float > &grid)
 
DensityMap * IMP::em::get_binarized_interior (DensityMap *dmap)
 Return a binaries density map with 1 for voxels that are internal.
 
algebra::BoundingBoxD< 3 > IMP::em::get_bounding_box (const DensityMap *m, Float threshold)
 
algebra::BoundingBoxD< 3 > IMP::em::get_bounding_box (const DensityMap *m)
 
double IMP::em::get_density (const DensityMap *m, const algebra::Vector3D &v)
 
algebra::GridD
< 3, algebra::DenseGridStorageD
< 3, float >, float > 
IMP::em::get_grid (DensityMap *in_map)
 
bool IMP::em::get_interiors_intersect (const DensityMap *d1, const DensityMap *d2)
 
DensityMap * IMP::em::get_max_map (DensityMaps maps)
 
DensityMap * IMP::em::get_resampled (DensityMap *input, double scaling)
 Get a resampled version of the map. More...
 
DensityMap * IMP::em::get_segment (DensityMap *map_to_segment, int nx_start, int nx_end, int ny_start, int ny_end, int nz_start, int nz_end)
 Get a segment of the map according to xyz indexes. More...
 
DensityMap * IMP::em::get_segment (DensityMap *map_to_segment, algebra::Vector3Ds vecs, float dist)
 Get a segment of the map covered by the input points.
 
DensityMap * IMP::em::get_segment_by_masking (DensityMap *map_to_segment, DensityMap *mask, float mas_threshold)
 Get a segment of the map covered by another map.
 
double IMP::em::get_sum (const DensityMap *m1)
 Return the sum of all voxels.
 
DensityMap * IMP::em::get_threshold_map (DensityMap *orig_map, float threshold)
 
DensityMap * IMP::em::get_transformed (const DensityMap *input, const algebra::Transformation3D &tr, double threshold)
 
DensityMap * IMP::em::get_transformed (DensityMap *input, const algebra::Transformation3D &tr)
 
void IMP::em::get_transformed_into (const DensityMap *source, const algebra::Transformation3D &tr, DensityMap *into, bool calc_rms=true)
 Rotate a density map into another map. More...
 
void IMP::em::get_transformed_into2 (const DensityMap *source, const algebra::Transformation3D &tr, DensityMap *into)
 
DensityMap * IMP::em::interpolate_map (DensityMap *in_map, double new_spacing)
 
DensityMap * IMP::em::multiply (const DensityMap *m1, const DensityMap *m2)
 
DensityMap * IMP::em::read_map (std::string filename, MapReaderWriter *reader)
 
DensityMap * IMP::em::read_map (std::string filename)
 
void IMP::em::write_map (DensityMap *m, std::string filename, MapReaderWriter *writer)
 
void IMP::em::write_map (DensityMap *m, std::string filename)
 

Detailed Description

Copyright 2007-2013 IMP Inventors. All rights reserved.

Definition in file DensityMap.h.