10#ifndef IMPEM_ENVELOPE_FIT_RESTRAINT_H
11#define IMPEM_ENVELOPE_FIT_RESTRAINT_H
13#include <IMP/em/em_config.h>
46 double density_threshold,
double penetration_threshold);
54 return transformation_;
58 void apply_transformation();
66 double penetration_threshold_;
class for envelope based scoring using MapDistanceTransform
Fast alignment of points to a density map using principal components.
Abstract base class for all restraints.
Class for adding derivatives from restraints to the model.
A restraint is a term in an IMP ScoringFunction.
Class for handling density maps.
EnvelopeFitRestraint(Particles particles, DensityMap *em_map, double density_threshold, double penetration_threshold)
Constructor.
double unprotected_evaluate(IMP::DerivativeAccumulator *accum) const override
Return the unweighted score for the restraint.
IMP::ModelObjectsTemp do_get_inputs() const override
Vector< Pointer< Particle > > Particles
A list of reference-counted Particle objects.
IMP::Vector< IMP::WeakPointer< ModelObject > > ModelObjectsTemp
Helper macros for implementing IMP Objects.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A smart pointer to a ref-counted Object that is a class member.