IMP logo

IMP::core::CentroidOfRefined Class Reference


Detailed Description

Set the coordinates of the particle to be the centoid of the particles.

An exception is thrown if there are no refined particles. The weight FloatKey can be FloatKey and then all the weights will be equal.

See also:
CoverRefined

DerivativesToRefined

DerivativesFromRefined

Inheritance diagram for IMP::core::CentroidOfRefined:

Inheritance graph
[legend]

Public Member Functions

void apply (const ParticlesTemp &ps, DerivativeAccumulator &) const
void apply (const ParticlesTemp &ps) const
void apply (Particle *a, DerivativeAccumulator &) const
void apply (Particle *a) const
 CentroidOfRefined (Refiner *r, FloatKey weight=FloatKey(), FloatKeys ks=XYZ::get_xyz_keys())
 Set the keys ks to be the average of the refined particles.
ContainersTemp get_input_containers (Particle *) const
ParticlesTemp get_input_particles (Particle *) const
ParticlesList get_interacting_particles (Particle *) const
ContainersTemp get_output_containers (Particle *) const
ParticlesTemp get_output_particles (Particle *) const
virtual std::string get_type_name () const
virtual ::IMP::VersionInfo get_version_info () const

Friends

template<class T >
void IMP::internal::unref (T *)

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

Generated on Mon Mar 8 23:08:54 2010 for IMP by doxygen 1.5.8