8#ifndef IMPCORE_LEAVES_REFINER_H
9#define IMPCORE_LEAVES_REFINER_H
11#include <IMP/core/core_config.h>
16IMPCORE_BEGIN_NAMESPACE
Refine a particle into a list of particles.
Class for storing model, its restraints, constraints, and particles.
Class to handle individual particles of a Model object.
virtual const ParticlesTemp get_refined(Particle *a) const =0
Refine the passed particle into a set of particles.
Refiner(std::string name="Refiner %1%", bool is_by_ref=false)
Constructs the refiner.
Define the type for a type of hierarchy.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const override
Overload this method to specify the inputs.
virtual const ParticlesTemp get_refined(Particle *) const override
Refine the passed particle into a set of particles.
virtual bool get_can_refine(Particle *) const override
Return true if this refiner can refine that particle.
LeavesRefiner(HierarchyTraits tr)
Create a refiner for a particular type of hierarchy.
Decorator for helping deal with a hierarchy.
Vector< ParticleIndex, std::allocator< ParticleIndex > > ParticleIndexes
A list of particles, each identified by its ParticleIndex.
IMP::Vector< IMP::WeakPointer< ModelObject > > ModelObjectsTemp
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.