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

#include <IMP/domino/particle_states.h>

Inheritance diagram for IMP::domino::XYZStates:

Detailed Description

Store a set of states which explicitly define the XYZ coordinates of the particle in question.

Definition at line 137 of file particle_states.h.

Public Member Functions

 XYZStates (const algebra::Vector3Ds &states)
algebra::VectorKD get_embedding (unsigned int i) const override
 Return an embedding of the state.
unsigned int get_nearest_state (const algebra::VectorKD &v) const override
 Return the state closest to a given embedding.
virtual unsigned int get_number_of_particle_states () const override
virtual std::string get_type_name () const override
algebra::Vector3D get_vector (unsigned int i) const
virtual ::IMP::VersionInfo get_version_info () const override
 Get information about the module and version of the object.
virtual void load_particle_state (unsigned int, Particle *) const override
Public Member Functions inherited from IMP::domino::ParticleStates
 ParticleStates (std::string name="ParticleStates %1%")
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

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

◆ XYZStates()

IMP::domino::XYZStates::XYZStates ( const algebra::Vector3Ds & states)

Definition at line 142 of file particle_states.h.

◆ ~XYZStates()

virtual IMP::domino::XYZStates::~XYZStates ( )
virtual

Definition at line 161 of file particle_states.h.

Member Function Documentation

◆ get_embedding()

algebra::VectorKD IMP::domino::XYZStates::get_embedding ( unsigned int i) const
overridevirtual

Return an embedding of the state.

By default this just returns a 1D vector containing the index. The vector needs to have the same dimension for each value of i.

Reimplemented from IMP::domino::ParticleStates.

Definition at line 150 of file particle_states.h.

◆ get_nearest_state()

unsigned int IMP::domino::XYZStates::get_nearest_state ( const algebra::VectorKD & v) const
overridevirtual

Return the state closest to a given embedding.

Reimplemented from IMP::domino::ParticleStates.

Definition at line 154 of file particle_states.h.

◆ get_number_of_particle_states()

virtual unsigned int IMP::domino::XYZStates::get_number_of_particle_states ( ) const
overridevirtual

◆ get_type_name()

virtual std::string IMP::domino::XYZStates::get_type_name ( ) const
overridevirtual

Reimplemented from IMP::Object.

Definition at line 161 of file particle_states.h.

◆ get_vector()

algebra::Vector3D IMP::domino::XYZStates::get_vector ( unsigned int i) const

Definition at line 146 of file particle_states.h.

◆ get_version_info()

virtual ::IMP::VersionInfo IMP::domino::XYZStates::get_version_info ( ) const
overridevirtual

Get information about the module and version of the object.

Reimplemented from IMP::Object.

Definition at line 161 of file particle_states.h.

◆ load_particle_state()

virtual void IMP::domino::XYZStates::load_particle_state ( unsigned int ,
Particle *  ) const
overridevirtual

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