8 #ifndef IMPNPCTRANSPORT_RMF_LINKS_H
9 #define IMPNPCTRANSPORT_RMF_LINKS_H
11 #include "npctransport_config.h"
15 #include <boost/unordered_map.hpp>
18 IMPNPCTRANSPORT_BEGIN_NAMESPACE
24 RMF::decorator::BallConstFactory bf_;
37 boost::unordered_map<ParticleIndex, ParticleIndexes> particles_;
71 static const char *get_name() {
return "npctransport load";}
78 RMF::decorator::BallFactory bf_;
79 RMF::decorator::ColoredFactory cf_;
92 boost::unordered_map<ParticleIndex, ParticleIndexes> particles_;
120 test_sites_[t] = sites;
123 static const char *get_name() {
return "npctransport save";}
152 hierarchy_with_sites, hierarchies_with_sites,
154 (RMF::FileConstHandle fh,
Model *m),
156 The only difference is the addition of particle sites
160 IMPNPCTRANSPORT_END_NAMESPACE
virtual void do_load_hierarchy(RMF::NodeConstHandle root_node, Model *m, ParticleIndex root)
Key< 0 > FloatKey
The type used to identify float attributes in the Particles.
Smart pointer to Object-derived classes that does not refcount.
Load sites data from an RMF file.
virtual void do_save_hierarchy(Model *m, ParticleIndex root, RMF::NodeHandle root_node)
Key< 34897493 > ParticleType
An IMP::Key object for identifying types of particles by strings.
Manage links between an RMF file and an atom::Hierarchy. This file is only a wrapper for HierarchyLoa...
Class for storing model, its restraints, constraints, and particles.
void add_test_sites(RMF::FileHandle fh, core::ParticleType t, algebra::Sphere3Ds sites)
virtual void do_link_particle(Model *m, ParticleIndex root, ParticleIndex cur, RMF::NodeConstHandle node)
The standard decorator for manipulating molecular structures.
#define IMP_UNUSED(variable)
#define IMP_DECLARE_LINKERS(Name, name, names, Type, Types, cargs,link_custom_documentation)
Key< 1 > IntKey
The type used to identify int attributes in the Particles.
Save sites data to an RMF file.
macros for display classes
A weak pointer to an Object or RefCountedObject.
void link_hierarchies(RMF::FileConstHandle fh, const atom::Hierarchies &hs)
virtual void do_setup_particle(Model *m, ParticleIndex root, ParticleIndex cur, RMF::NodeConstHandle node)
#define IMP_NOT_IMPLEMENTED
Use this to mark that the method is not implemented yet.
virtual void do_setup_node(Model *m, ParticleIndex root, ParticleIndex p, RMF::NodeHandle n)
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.