IMP logo
Public Member Functions | Protected Attributes
IMP::em::FittingSolutions Class Reference

Detailed Description

A simple list of fitting solutions.

See also:
local_rigid_fitting_around_point
local_rigid_fitting_around_points
local_rigid_fitting_grid_search
compute_fitting_scores

List of all members.

Public Member Functions

void add_solution (const algebra::Transformation3D &t, Float score)
 Add a solution to the fitting solution set.
int get_number_of_solutions () const
 Get the number of solutions in the set.
Float get_score (unsigned int i) const
 Get the score of the i'th solution.
algebra::Transformation3D get_transformation (unsigned int i) const
 Get the score of the i'th solution.
algebra::Transformation3Ds get_transformations () const
void multiply (const algebra::Transformation3D &t)
void set_score (unsigned int i, Float score)
void show (std::ostream &out=std::cout) const
void sort (bool reverse=false)
 Sort solutions by cross-correlation scores.

Protected Attributes

std::vector< FittingSolution > fs_

Member Function Documentation

void IMP::em::FittingSolutions::add_solution ( const algebra::Transformation3D t,
Float  score 
)

Add a solution to the fitting solution set.

int IMP::em::FittingSolutions::get_number_of_solutions ( ) const

Get the number of solutions in the set.

Float IMP::em::FittingSolutions::get_score ( unsigned int  i) const

Get the score of the i'th solution.

Returns:
the i'th score, or throw an exception if the index is out of range
algebra::Transformation3D IMP::em::FittingSolutions::get_transformation ( unsigned int  i) const

Get the score of the i'th solution.

Returns:
the i'th transformation, or throw an exception if the index is out of range
void IMP::em::FittingSolutions::multiply ( const algebra::Transformation3D t)

Multiply each transformation (T) by t, *such that the new transformation are T*t

void IMP::em::FittingSolutions::sort ( bool  reverse = false)

Sort solutions by cross-correlation scores.


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

Generated on Tue May 22 2012 23:33:34 for IMP by doxygen 1.8.1