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.
Inheritance diagram for IMP::display::RestraintGeometry:Public Member Functions | |
| RestraintGeometry (Restraint *p) | |
| Restraint * | get_restraint () const |
Public Member Functions inherited from IMP::display::Geometry | |
| Geometry (std::string name) | |
| Geometry (Color c, std::string name) | |
| virtual Color | get_color () const |
| virtual Geometries | get_components () const |
| Return a set of geometry composing this one. | |
| virtual bool | get_has_color () const |
| void | set_color (Color c) |
| void | set_has_color (bool tf) |
Public Member Functions inherited from IMP::base::Object | |
| std::size_t | __hash__ () const |
| virtual std::string | get_type_name () const =0 |
| Return a string identifying the type of the object. | |
| virtual IMP::base::VersionInfo | get_version_info () const =0 |
| Get information about the module and version of the object. | |
| void | set_check_level (CheckLevel l) |
| void | set_log_level (LogLevel l) |
| Set the logging level used in this object. | |
| 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) |
Static Public Member Functions | |
| static RestraintGeometry * | get_from (IMP::base::Object *o) |