9 #ifndef IMPEM2D_RIGID_BODIES_IMAGE_FIT_RESTRAINT_H
10 #define IMPEM2D_RIGID_BODIES_IMAGE_FIT_RESTRAINT_H
22 IMPEM2D_BEGIN_NAMESPACE
29 bool operator()(
const Ints &a,
const Ints &b)
const {
30 for (
unsigned int i = 0; i < a.size(); ++i) {
31 if (a[i] < b[i])
return true;
32 if (a[i] > b[i])
return false;
38 typedef std::pair<Ints, unsigned int> KeyIndexPair;
39 typedef std::map<Ints, unsigned int, IntsOrder> KeyIndexMap;
40 typedef std::vector<KeyIndexMap> KeyIndexMaps;
51 std::vector<em2d::Images> rigid_bodies_masks_;
Generation of projections from models or density maps Copyright 2007-2014 IMP Inventors. All rights reserved.
Import IMP/kernel/base_types.h in the namespace.
Class for adding derivatives from restraints to the model.
A nullptr-initialized pointer to an IMP Object.
Fit rigid bodies to an image.
A smart pointer to a reference counted object.
Import IMP/kernel/macros.h in the namespace.
IMP images for Electron Microscopy using openCV matrices Copyright 2007-2014 IMP Inventors. All rights reserved.
Scoring functions for 2D Copyright 2007-2014 IMP Inventors. All rights reserved.
functionality for defining rigid bodies
A restraint is a term in an IMP ScoringFunction.
Base class for all scoring functions related to em2d.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Simple 3D rotation class.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Parameters needed for the core projection routine.
virtual ModelObjectsTemp do_get_inputs() const =0
Import IMP/kernel/Restraint.h in the namespace.
A decorator for a rigid body.
2D Electron Microscopy images in IMP
IMP::base::Vector< Int > Ints
Standard way to pass a bunch of Int values.