IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::spb::TransformationSymmetry Class Reference

Set the coordinates of a particle to be a transformed version of a reference. More...

#include <IMP/spb/TransformationSymmetry.h>

Inheritance diagram for IMP::spb::TransformationSymmetry:

Detailed Description

Set the coordinates of a particle to be a transformed version of a reference.

The passed particles must be Reference particles and XYZ particles and can be RigidBody particles iff the reference particle is a rigid body.

See also
TransformationAndReflectionSymmetry

Definition at line 27 of file TransformationSymmetry.h.

Public Member Functions

 TransformationSymmetry (algebra::Transformation3D t, Particle *px, Particle *py, Particle *pz)
 Create with both reflection and translation.
virtual void apply_index (IMP::Model *m, IMP::ParticleIndex p) const override
virtual void apply_indexes (Model *m, const ParticleIndexes &o, unsigned int lower_bound, unsigned int upper_bound) const override final
virtual IMP::ModelObjectsTemp do_get_inputs (IMP::Model *m, const IMP::ParticleIndexes &pis) const override
 Overload this method to specify the inputs.
virtual IMP::ModelObjectsTemp do_get_outputs (IMP::Model *m, const IMP::ParticleIndexes &pis) const override
 Overload this method to specify the outputs.
virtual std::string get_type_name () const override
virtual ::IMP::VersionInfo get_version_info () const override
 Get information about the module and version of the object.
void show (std::ostream &out=std::cout) const
Public Member Functions inherited from IMP::SingletonModifier
 SingletonModifier (std::string name="SingletonModifier %1%")
virtual void apply_indexes_moved (Model *m, const ParticleIndexes &o, unsigned int lower_bound, unsigned int upper_bound, const ParticleIndexes &moved_pis, const ParticleIndexes &reset_pis) const
Public Member Functions inherited from IMP::ParticleInputs
ModelObjectsTemp get_inputs (Model *m, const ParticleIndexes &pis) const
 Get the ModelObjects read when the given list of particles is used.
Public Member Functions inherited from IMP::ParticleOutputs
ModelObjectsTemp get_outputs (Model *m, const ParticleIndexes &pis) const
 Get the ModelObjects changed when the given list of particles is used.
Public Member Functions inherited from IMP::Object
CheckLevel get_check_level () const
 get_derived_object (self)
 Return this object cast to the most derived subclass.
LogLevel get_log_level () const
void set_check_level (CheckLevel l)
void set_log_level (LogLevel l)
 Set the logging level used in this object.
const std::string & get_name () const
 Get the (not necessarily unique) name of this object.
void set_name (std::string name)
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
virtual void clear_caches ()

Additional Inherited Members

Public Types inherited from IMP::SingletonModifier
typedef Particle * Argument
typedef ParticleIndex IndexArgument
Protected Member Functions inherited from IMP::Object
 Object (std::string name)
 Construct an object with the given name.
virtual void do_destroy ()

Constructor & Destructor Documentation

◆ TransformationSymmetry()

IMP::spb::TransformationSymmetry::TransformationSymmetry ( algebra::Transformation3D t,
Particle * px,
Particle * py,
Particle * pz )

Create with both reflection and translation.

◆ ~TransformationSymmetry()

virtual IMP::spb::TransformationSymmetry::~TransformationSymmetry ( )
virtual

Definition at line 50 of file TransformationSymmetry.h.

Member Function Documentation

◆ apply_index()

virtual void IMP::spb::TransformationSymmetry::apply_index ( IMP::Model * m,
IMP::ParticleIndex v ) const
overridevirtual

Apply the function to a single value

Implements IMP::SingletonModifier.

◆ apply_indexes()

virtual void IMP::spb::TransformationSymmetry::apply_indexes ( Model * m,
const ParticleIndexes & o,
unsigned int lower_bound,
unsigned int upper_bound ) const
finaloverridevirtual

Apply the function to a collection of ParticlesTemp If bounds are passed, only apply to ones between the upper and lower bounds.

Reimplemented from IMP::SingletonModifier.

Definition at line 48 of file TransformationSymmetry.h.

Here is the call graph for this function:

◆ do_get_inputs()

virtual IMP::ModelObjectsTemp IMP::spb::TransformationSymmetry::do_get_inputs ( IMP::Model * m,
const IMP::ParticleIndexes & pis ) const
overridevirtual

Overload this method to specify the inputs.

Implements IMP::ParticleInputs.

◆ do_get_outputs()

virtual IMP::ModelObjectsTemp IMP::spb::TransformationSymmetry::do_get_outputs ( IMP::Model * m,
const IMP::ParticleIndexes & pis ) const
overridevirtual

Overload this method to specify the outputs.

Implements IMP::ParticleOutputs.

◆ get_type_name()

virtual std::string IMP::spb::TransformationSymmetry::get_type_name ( ) const
overridevirtual

Reimplemented from IMP::Object.

Definition at line 50 of file TransformationSymmetry.h.

◆ get_version_info()

virtual ::IMP::VersionInfo IMP::spb::TransformationSymmetry::get_version_info ( ) const
overridevirtual

Get information about the module and version of the object.

Reimplemented from IMP::Object.

Definition at line 50 of file TransformationSymmetry.h.

Here is the call graph for this function:

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