|
IMP Reference Guide
develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
|
Try to draw some stuff for a generic restraint. More...
#include <IMP/display/restraint_geometry.h>
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. | |
| Restraint * | get_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. | |
| Public Member Functions inherited from IMP::display::Geometry | |
| Geometry (Color c, std::string name) | |
| Geometry (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 | |
| 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 () |
|
virtual |
Definition at line 37 of file restraint_geometry.h.
|
overridevirtual |
Return a set of geometry composing this one.
Reimplemented from IMP::display::Geometry.
| Restraint * IMP::display::RestraintGeometry::get_restraint | ( | ) | const |
Definition at line 35 of file restraint_geometry.h.
|
overridevirtual |
Reimplemented from IMP::Object.
Definition at line 37 of file restraint_geometry.h.
|
overridevirtual |
Get information about the module and version of the object.
Reimplemented from IMP::Object.
Definition at line 37 of file restraint_geometry.h.