IMP logo
IMP Reference Guide  develop.d97d4ead1f,2024/11/22
The Integrative Modeling Platform
IMP::display::RestraintGeometry Class Reference

Try to draw some stuff for a generic restraint. More...

#include <IMP/display/restraint_geometry.h>

+ Inheritance diagram for IMP::display::RestraintGeometry:

Detailed Description

Try to draw some stuff for a generic restraint.

Mostly it just breaks the restraint down as much as possible and shows the particles involved in the constituent terms if they are XYZ particles.

Note, make sure the model is up to date before calling this, for reasons of efficiency, it does not update the model.

Definition at line 27 of file restraint_geometry.h.

Public Member Functions

 RestraintGeometry (Restraint *p)
 
virtual IMP::display::Geometries get_components () const override
 Return a set of geometry composing this one. More...
 
Restraintget_restraint () const
 
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. More...
 
- Public Member Functions inherited from IMP::display::Geometry
 Geometry (std::string name)
 
 Geometry (Color c, std::string name)
 
virtual Color get_color () const
 
virtual bool get_has_color () const
 
void set_color (Color c)
 
void set_has_color (bool tf)
 
- Public Member Functions inherited from IMP::Object
virtual void clear_caches ()
 
CheckLevel get_check_level () const
 
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. More...
 
void set_was_used (bool tf) const
 
void show (std::ostream &out=std::cout) const
 
const std::string & get_name () const
 
void set_name (std::string name)
 

Additional Inherited Members

- Protected Member Functions inherited from IMP::Object
 Object (std::string name)
 Construct an object with the given name. More...
 
virtual void do_destroy ()
 

Member Function Documentation

virtual IMP::display::Geometries IMP::display::RestraintGeometry::get_components ( ) const
overridevirtual

Return a set of geometry composing this one.

Reimplemented from IMP::display::Geometry.

virtual ::IMP::VersionInfo IMP::display::RestraintGeometry::get_version_info ( ) const
overridevirtual

Get information about the module and version of the object.

Reimplemented from IMP::Object.

Definition at line 37 of file restraint_geometry.h.


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