IMP  2.1.1
The Integrative Modeling Platform
IMP::em::PCAAligner Class Reference

#include <IMP/em/PCAAligner.h>

+ Inheritance diagram for IMP::em::PCAAligner:

Public Member Functions

 PCAAligner (IMP::em::DensityMap *map, float density_threshold)
 
algebra::Transformation3Ds align (const algebra::Vector3Ds &points) const
 
IMP::base::VersionInfo get_version_info () const
 Get information about the module and version of the object.
 
- Public Member Functions inherited from IMP::base::Object
virtual void clear_caches ()
 
virtual void do_destroy ()
 
CheckLevel get_check_level () const
 
LogLevel get_log_level () const
 
void set_check_level (CheckLevel l)
 
void set_log_level (LogLevel l)
 Set the logging level used in this object. More...
 
void set_was_used (bool tf) const
 
void show (std::ostream &out=std::cout) const
 
const std::string & get_name () const
 
void set_name (std::string name)
 
virtual std::string get_type_name () const
 

Additional Inherited Members

- Protected Member Functions inherited from IMP::base::Object
 Object (std::string name)
 Construct an object with the given name. More...
 
 Object ()
 

Detailed Description

class that supports fast alignment of a set of points to the density map using principal components of the map and the points.

This time of alignment is good for low-resolution maps.

Note, that principal components are not well-defined for globular objects, so the method may fail in case of symmetric structures

Definition at line 26 of file PCAAligner.h.

Constructor & Destructor Documentation

IMP::em::PCAAligner::PCAAligner ( IMP::em::DensityMap map,
float  density_threshold 
)

init the distance transform

Parameters
mapinput density map
density_thresholda threshold that detemines which voxels belong to the object

Definition at line 33 of file PCAAligner.h.

+ Here is the call graph for this function:

Member Function Documentation

algebra::Transformation3Ds IMP::em::PCAAligner::align ( const algebra::Vector3Ds points) const

align the principal components of the points to the principal components of the density map.

Parameters
pointsThe points for PCA alignment to the map
Returns
24 transformations to the density map

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