10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17 def swig_import_helper():
19 pkg = __name__.rpartition(
'.')[0]
20 mname =
'.'.join((pkg,
'_IMP_rmf')).lstrip(
'.')
22 return importlib.import_module(mname)
24 return importlib.import_module(
'_IMP_rmf')
25 _IMP_rmf = swig_import_helper()
26 del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28 def swig_import_helper():
29 from os.path
import dirname
33 fp, pathname, description = imp.find_module(
'_IMP_rmf', [dirname(__file__)])
39 _mod = imp.load_module(
'_IMP_rmf', fp, pathname, description)
43 _IMP_rmf = swig_import_helper()
44 del swig_import_helper
47 del _swig_python_version_info
49 _swig_property = property
54 import builtins
as __builtin__
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59 if (name ==
"thisown"):
60 return self.this.own(value)
62 if type(value).__name__ ==
'SwigPyObject':
63 self.__dict__[name] = value
65 method = class_type.__swig_setmethods__.get(name,
None)
67 return method(self, value)
69 object.__setattr__(self, name, value)
71 raise AttributeError(
"You cannot add attributes to %s" % self)
74 def _swig_setattr(self, class_type, name, value):
75 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
78 def _swig_getattr(self, class_type, name):
79 if (name ==
"thisown"):
80 return self.this.own()
81 method = class_type.__swig_getmethods__.get(name,
None)
84 raise AttributeError(
"'%s' object has no attribute '%s'" % (class_type.__name__, name))
89 strthis =
"proxy of " + self.this.__repr__()
90 except __builtin__.Exception:
92 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110 weakref_proxy =
lambda x: x
113 class IMP_RMF_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_RMF_SwigPyIterator class."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_rmf.delete_IMP_RMF_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_RMF_SwigPyIterator self) -> PyObject *"""
126 return _IMP_rmf.IMP_RMF_SwigPyIterator_value(self)
131 incr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
132 incr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
134 return _IMP_rmf.IMP_RMF_SwigPyIterator_incr(self, n)
139 decr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
140 decr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
142 return _IMP_rmf.IMP_RMF_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_rmf.IMP_RMF_SwigPyIterator_distance(self, x)
151 """equal(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
152 return _IMP_rmf.IMP_RMF_SwigPyIterator_equal(self, x)
156 """copy(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator"""
157 return _IMP_rmf.IMP_RMF_SwigPyIterator_copy(self)
161 """next(IMP_RMF_SwigPyIterator self) -> PyObject *"""
162 return _IMP_rmf.IMP_RMF_SwigPyIterator_next(self)
166 """__next__(IMP_RMF_SwigPyIterator self) -> PyObject *"""
167 return _IMP_rmf.IMP_RMF_SwigPyIterator___next__(self)
171 """previous(IMP_RMF_SwigPyIterator self) -> PyObject *"""
172 return _IMP_rmf.IMP_RMF_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
177 return _IMP_rmf.IMP_RMF_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
182 return _IMP_rmf.IMP_RMF_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
187 return _IMP_rmf.IMP_RMF_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
192 return _IMP_rmf.IMP_RMF_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
197 return _IMP_rmf.IMP_RMF_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
202 return _IMP_rmf.IMP_RMF_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator
208 __sub__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_rmf.IMP_RMF_SwigPyIterator___sub__(self, *args)
214 IMP_RMF_SwigPyIterator_swigregister = _IMP_rmf.IMP_RMF_SwigPyIterator_swigregister
215 IMP_RMF_SwigPyIterator_swigregister(IMP_RMF_SwigPyIterator)
223 IMP_DEBUG = _IMP_rmf.IMP_DEBUG
224 IMP_RELEASE = _IMP_rmf.IMP_RELEASE
225 IMP_SILENT = _IMP_rmf.IMP_SILENT
226 IMP_PROGRESS = _IMP_rmf.IMP_PROGRESS
227 IMP_TERSE = _IMP_rmf.IMP_TERSE
228 IMP_VERBOSE = _IMP_rmf.IMP_VERBOSE
229 IMP_MEMORY = _IMP_rmf.IMP_MEMORY
230 IMP_NONE = _IMP_rmf.IMP_NONE
231 IMP_USAGE = _IMP_rmf.IMP_USAGE
232 IMP_INTERNAL = _IMP_rmf.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_rmf.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_rmf.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_rmf.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_rmf.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_rmf.IMP_KERNEL_HAS_GPERFTOOLS
239 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
240 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
241 IMPKERNEL_SHOW_WARNINGS = _IMP_rmf.IMPKERNEL_SHOW_WARNINGS
244 class _DirectorObjects(object):
245 """@internal Simple class to keep references to director objects
246 to prevent premature deletion."""
249 def register(self, obj):
250 """Take a reference to a director object; will only work for
251 refcounted C++ classes"""
252 if hasattr(obj,
'get_ref_count'):
253 self._objects.append(obj)
255 """Only drop our reference and allow cleanup by Python if no other
256 Python references exist (we hold 3 references: one in self._objects,
257 one in x, and one in the argument list for getrefcount) *and* no
258 other C++ references exist (the Python object always holds one)"""
259 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
260 or x.get_ref_count() > 1]
264 def get_object_count(self):
265 """Get number of director objects (useful for testing only)"""
266 return len(self._objects)
267 _director_objects = _DirectorObjects()
269 class _ostream(object):
270 """Proxy of C++ std::ostream class."""
272 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
274 def __init__(self, *args, **kwargs):
275 raise AttributeError(
"No constructor defined")
276 __repr__ = _swig_repr
278 def write(self, osa_buf):
279 """write(_ostream self, char const * osa_buf)"""
280 return _IMP_rmf._ostream_write(self, osa_buf)
282 _ostream_swigregister = _IMP_rmf._ostream_swigregister
283 _ostream_swigregister(_ostream)
285 IMP_COMPILER_HAS_OVERRIDE = _IMP_rmf.IMP_COMPILER_HAS_OVERRIDE
286 IMP_COMPILER_HAS_FINAL = _IMP_rmf.IMP_COMPILER_HAS_FINAL
287 IMP_HAS_NOEXCEPT = _IMP_rmf.IMP_HAS_NOEXCEPT
288 IMP_C_OPEN_BINARY = _IMP_rmf.IMP_C_OPEN_BINARY
290 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_FILESYSTEM
291 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
292 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CGAL_HAS_BOOST_RANDOM
293 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_SYSTEM
294 IMPCGAL_SHOW_WARNINGS = _IMP_rmf.IMPCGAL_SHOW_WARNINGS
296 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_IMP_CGAL
297 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
298 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
299 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_RANDOM
300 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_SYSTEM
301 IMP_ALGEBRA_HAS_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_CGAL
302 IMP_ALGEBRA_HAS_ANN = _IMP_rmf.IMP_ALGEBRA_HAS_ANN
303 IMPALGEBRA_SHOW_WARNINGS = _IMP_rmf.IMPALGEBRA_SHOW_WARNINGS
305 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_IMP_CGAL
306 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
307 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
308 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_RANDOM
309 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_SYSTEM
310 IMP_DISPLAY_HAS_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_CGAL
311 IMPDISPLAY_SHOW_WARNINGS = _IMP_rmf.IMPDISPLAY_SHOW_WARNINGS
313 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
314 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
315 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
316 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
317 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
318 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_CGAL
319 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_HDF5
320 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_rmf.IMPSCOREFUNCTOR_SHOW_WARNINGS
322 IMP_CORE_HAS_IMP_CGAL = _IMP_rmf.IMP_CORE_HAS_IMP_CGAL
323 IMP_CORE_HAS_IMP_KERNEL = _IMP_rmf.IMP_CORE_HAS_IMP_KERNEL
324 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_FILESYSTEM
325 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
326 IMP_CORE_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CORE_HAS_BOOST_RANDOM
327 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_SYSTEM
328 IMP_CORE_HAS_CGAL = _IMP_rmf.IMP_CORE_HAS_CGAL
329 IMP_CORE_HAS_HDF5 = _IMP_rmf.IMP_CORE_HAS_HDF5
330 IMPCORE_SHOW_WARNINGS = _IMP_rmf.IMPCORE_SHOW_WARNINGS
332 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_rmf.IMP_CONTAINER_HAS_IMP_ALGEBRA
333 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_CGAL
334 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_rmf.IMP_CONTAINER_HAS_IMP_DISPLAY
335 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_KERNEL
336 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
337 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
338 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
339 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_RANDOM
340 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_SYSTEM
341 IMP_CONTAINER_HAS_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_CGAL
342 IMP_CONTAINER_HAS_HDF5 = _IMP_rmf.IMP_CONTAINER_HAS_HDF5
343 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_rmf.IMP_CONTAINER_HAS_PYTHON_IHM
344 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_rmf.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
345 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_rmf.IMP_CONTAINER_HAS_ROBIN_MAP
346 IMPCONTAINER_SHOW_WARNINGS = _IMP_rmf.IMPCONTAINER_SHOW_WARNINGS
348 IMP_ATOM_HAS_IMP_CGAL = _IMP_rmf.IMP_ATOM_HAS_IMP_CGAL
349 IMP_ATOM_HAS_IMP_KERNEL = _IMP_rmf.IMP_ATOM_HAS_IMP_KERNEL
350 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
351 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
352 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ATOM_HAS_BOOST_RANDOM
353 IMP_ATOM_HAS_BOOST_REGEX = _IMP_rmf.IMP_ATOM_HAS_BOOST_REGEX
354 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ATOM_HAS_BOOST_SYSTEM
355 IMP_ATOM_HAS_CGAL = _IMP_rmf.IMP_ATOM_HAS_CGAL
356 IMP_ATOM_HAS_HDF5 = _IMP_rmf.IMP_ATOM_HAS_HDF5
357 IMP_ATOM_HAS_PYTHON_IHM = _IMP_rmf.IMP_ATOM_HAS_PYTHON_IHM
358 IMPATOM_SHOW_WARNINGS = _IMP_rmf.IMPATOM_SHOW_WARNINGS
359 IMP_ATOM_TYPE_INDEX = _IMP_rmf.IMP_ATOM_TYPE_INDEX
360 IMP_RESIDUE_TYPE_INDEX = _IMP_rmf.IMP_RESIDUE_TYPE_INDEX
361 IMP_HIERARCHY_TYPE_INDEX = _IMP_rmf.IMP_HIERARCHY_TYPE_INDEX
362 IMP_CHAIN_TYPE_INDEX = _IMP_rmf.IMP_CHAIN_TYPE_INDEX
364 IMP_RMF_HAS_IMP_CGAL = _IMP_rmf.IMP_RMF_HAS_IMP_CGAL
365 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
366 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_FILESYSTEM
367 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
368 IMP_RMF_HAS_BOOST_RANDOM = _IMP_rmf.IMP_RMF_HAS_BOOST_RANDOM
369 IMP_RMF_HAS_BOOST_REGEX = _IMP_rmf.IMP_RMF_HAS_BOOST_REGEX
370 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_SYSTEM
371 IMP_RMF_HAS_CGAL = _IMP_rmf.IMP_RMF_HAS_CGAL
372 IMP_RMF_HAS_HDF5 = _IMP_rmf.IMP_RMF_HAS_HDF5
373 IMP_RMF_HAS_PYTHON_IHM = _IMP_rmf.IMP_RMF_HAS_PYTHON_IHM
374 IMPRMF_SHOW_WARNINGS = _IMP_rmf.IMPRMF_SHOW_WARNINGS
377 _object_types.append(
"SaveOptimizerState")
380 def _object_cast_to_SaveOptimizerState(o):
381 """_object_cast_to_SaveOptimizerState(Object o) -> SaveOptimizerState"""
382 return _IMP_rmf._object_cast_to_SaveOptimizerState(o)
384 _object_types.append(
"LoadLink")
387 def _object_cast_to_LoadLink(o):
388 """_object_cast_to_LoadLink(Object o) -> LoadLink"""
389 return _IMP_rmf._object_cast_to_LoadLink(o)
391 _object_types.append(
"SaveLink")
394 def _object_cast_to_SaveLink(o):
395 """_object_cast_to_SaveLink(Object o) -> SaveLink"""
396 return _IMP_rmf._object_cast_to_SaveLink(o)
398 _object_types.append(
"HierarchySaveLink")
401 def _object_cast_to_HierarchySaveLink(o):
402 """_object_cast_to_HierarchySaveLink(Object o) -> HierarchySaveLink"""
403 return _IMP_rmf._object_cast_to_HierarchySaveLink(o)
405 _object_types.append(
"HierarchyLoadLink")
408 def _object_cast_to_HierarchyLoadLink(o):
409 """_object_cast_to_HierarchyLoadLink(Object o) -> HierarchyLoadLink"""
410 return _IMP_rmf._object_cast_to_HierarchyLoadLink(o)
412 """Proxy of C++ IMP::rmf::LoadLink class."""
414 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
416 def do_load(self, fh):
417 """do_load(LoadLink self, FileConstHandle fh)"""
418 return _IMP_rmf.LoadLink_do_load(self, fh)
421 def __init__(self, name):
422 """__init__(IMP::rmf::LoadLink self, std::string name) -> LoadLink"""
423 if self.__class__ == LoadLink:
427 this = _IMP_rmf.new_LoadLink(_self, name)
429 self.this.append(this)
430 except __builtin__.Exception:
433 if self.__class__ != LoadLink:
434 _director_objects.register(self)
440 """load(LoadLink self, FileConstHandle fh)"""
441 return _IMP_rmf.LoadLink_load(self, fh)
443 __swig_destroy__ = _IMP_rmf.delete_LoadLink
444 __del__ =
lambda self:
None
447 """__str__(LoadLink self) -> std::string"""
448 return _IMP_rmf.LoadLink___str__(self)
452 """__repr__(LoadLink self) -> std::string"""
453 return _IMP_rmf.LoadLink___repr__(self)
458 return _object_cast_to_LoadLink(o)
461 def get_type_name(self):
462 return self.__class__.__name__
463 def do_show(self, out):
465 def get_version_info(self):
466 if"IMP::rmf" ==
"IMP":
467 return VersionInfo(self.__module__,
468 __import__(self.__module__).get_module_version())
471 __import__(self.__module__).get_module_version())
474 return _object_cast_to_LoadLink(o)
476 def __disown__(self):
478 _IMP_rmf.disown_LoadLink(self)
479 return weakref_proxy(self)
481 def do_destroy(self):
482 """do_destroy(LoadLink self)"""
483 return _IMP_rmf.LoadLink_do_destroy(self)
485 LoadLink_swigregister = _IMP_rmf.LoadLink_swigregister
486 LoadLink_swigregister(LoadLink)
489 """Proxy of C++ IMP::rmf::SaveLink class."""
491 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
493 def do_save(self, hf):
494 """do_save(SaveLink self, FileHandle hf)"""
495 return _IMP_rmf.SaveLink_do_save(self, hf)
498 def __init__(self, name):
499 """__init__(IMP::rmf::SaveLink self, std::string name) -> SaveLink"""
500 if self.__class__ == SaveLink:
504 this = _IMP_rmf.new_SaveLink(_self, name)
506 self.this.append(this)
507 except __builtin__.Exception:
510 if self.__class__ != SaveLink:
511 _director_objects.register(self)
517 """save(SaveLink self, FileHandle fh)"""
518 return _IMP_rmf.SaveLink_save(self, fh)
520 __swig_destroy__ = _IMP_rmf.delete_SaveLink
521 __del__ =
lambda self:
None
524 """__str__(SaveLink self) -> std::string"""
525 return _IMP_rmf.SaveLink___str__(self)
529 """__repr__(SaveLink self) -> std::string"""
530 return _IMP_rmf.SaveLink___repr__(self)
535 return _object_cast_to_SaveLink(o)
538 def get_type_name(self):
539 return self.__class__.__name__
540 def do_show(self, out):
542 def get_version_info(self):
543 if"IMP::rmf" ==
"IMP":
544 return VersionInfo(self.__module__,
545 __import__(self.__module__).get_module_version())
548 __import__(self.__module__).get_module_version())
551 return _object_cast_to_SaveLink(o)
553 def __disown__(self):
555 _IMP_rmf.disown_SaveLink(self)
556 return weakref_proxy(self)
558 def do_destroy(self):
559 """do_destroy(SaveLink self)"""
560 return _IMP_rmf.SaveLink_do_destroy(self)
562 SaveLink_swigregister = _IMP_rmf.SaveLink_swigregister
563 SaveLink_swigregister(SaveLink)
568 add_hierarchies(FileHandle fh, IMP::atom::Hierarchies const & hs)
569 add_hierarchies(NodeHandle fh, IMP::atom::Hierarchies const & hs)
571 return _IMP_rmf.add_hierarchies(*args)
574 """add_hierarchy(FileHandle fh, Hierarchy hs)"""
575 return _IMP_rmf.add_hierarchy(fh, hs)
578 """create_hierarchies(FileConstHandle fh, Model m) -> IMP::atom::Hierarchies"""
579 return _IMP_rmf.create_hierarchies(fh, m)
582 """link_hierarchies(FileConstHandle fh, IMP::atom::Hierarchies const & hs)"""
583 return _IMP_rmf.link_hierarchies(fh, hs)
587 add_restraints(FileHandle fh, IMP::Restraints const & hs)
588 add_restraints(NodeHandle fh, IMP::Restraints const & hs)
590 return _IMP_rmf.add_restraints(*args)
593 """add_restraint(FileHandle fh, Restraint hs)"""
594 return _IMP_rmf.add_restraint(fh, hs)
597 """create_restraints(FileConstHandle fh, Model m) -> IMP::Restraints"""
598 return _IMP_rmf.create_restraints(fh, m)
601 """link_restraints(FileConstHandle fh, IMP::Restraints const & hs)"""
602 return _IMP_rmf.link_restraints(fh, hs)
605 """add_restraints_as_bonds(FileHandle fh, IMP::Restraints const & rs)"""
606 return _IMP_rmf.add_restraints_as_bonds(fh, rs)
609 """set_maximum_number_of_terms(FileHandle fh, unsigned int num)"""
610 return _IMP_rmf.set_maximum_number_of_terms(fh, num)
614 add_particles(FileHandle fh, IMP::ParticlesTemp const & hs)
615 add_particles(NodeHandle fh, IMP::ParticlesTemp const & hs)
617 return _IMP_rmf.add_particles(*args)
620 """add_particle(FileHandle fh, Particle hs)"""
621 return _IMP_rmf.add_particle(fh, hs)
624 """create_particles(FileConstHandle fh, Model m) -> IMP::ParticlesTemp"""
625 return _IMP_rmf.create_particles(fh, m)
628 """link_particles(FileConstHandle fh, IMP::ParticlesTemp const & hs)"""
629 return _IMP_rmf.link_particles(fh, hs)
633 add_geometries(FileHandle file, IMP::display::GeometriesTemp const & r)
634 add_geometries(NodeHandle parent, IMP::display::GeometriesTemp const & r)
636 return _IMP_rmf.add_geometries(*args)
639 """add_static_geometries(FileHandle parent, IMP::display::GeometriesTemp const & r)"""
640 return _IMP_rmf.add_static_geometries(parent, r)
643 """add_geometry(FileHandle file, Geometry r)"""
644 return _IMP_rmf.add_geometry(file, r)
647 """create_geometries(FileConstHandle parent) -> IMP::display::Geometries"""
648 return _IMP_rmf.create_geometries(parent)
651 """link_geometries(FileConstHandle parent, IMP::display::GeometriesTemp const & r)"""
652 return _IMP_rmf.link_geometries(parent, r)
654 def set_association(nh, o, overwrite=False):
656 set_association(NodeConstHandle nh, Object o, bool overwrite=False)
657 set_association(NodeConstHandle nh, Object o)
659 return _IMP_rmf.set_association(nh, o, overwrite)
661 def get_node_from_association(*args):
663 get_node_from_association(FileConstHandle nh, Object oi) -> NodeConstHandle
664 get_node_from_association(FileHandle nh, Object oi) -> NodeHandle
666 return _IMP_rmf.get_node_from_association(*args)
668 def get_has_associated_node(nh, oi):
669 """get_has_associated_node(FileConstHandle nh, Object oi) -> bool"""
670 return _IMP_rmf.get_has_associated_node(nh, oi)
672 """Proxy of C++ IMP::rmf::SaveOptimizerState class."""
674 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
676 def __init__(self, m, fh):
677 """__init__(IMP::rmf::SaveOptimizerState self, Model m, FileHandle fh) -> SaveOptimizerState"""
678 this = _IMP_rmf.new_SaveOptimizerState(m, fh)
680 self.this.append(this)
681 except __builtin__.Exception:
684 def remove_hierarchy(self, d):
685 """remove_hierarchy(SaveOptimizerState self, Particle d)"""
686 return _IMP_rmf.SaveOptimizerState_remove_hierarchy(self, d)
689 def remove_hierarchies(self, d):
690 """remove_hierarchies(SaveOptimizerState self, IMP::Particles const & d)"""
691 return _IMP_rmf.SaveOptimizerState_remove_hierarchies(self, d)
694 def set_hierarchies(self, ps):
695 """set_hierarchies(SaveOptimizerState self, IMP::Particles const & ps)"""
696 return _IMP_rmf.SaveOptimizerState_set_hierarchies(self, ps)
699 def set_hierarchies_order(self, objs):
700 """set_hierarchies_order(SaveOptimizerState self, IMP::Particles const & objs)"""
701 return _IMP_rmf.SaveOptimizerState_set_hierarchies_order(self, objs)
705 """add_hierarchy(SaveOptimizerState self, Particle obj) -> unsigned int"""
706 return _IMP_rmf.SaveOptimizerState_add_hierarchy(self, obj)
710 """add_hierarchies(SaveOptimizerState self, IMP::Particles const & objs)"""
711 return _IMP_rmf.SaveOptimizerState_add_hierarchies(self, objs)
714 def clear_hierarchies(self):
715 """clear_hierarchies(SaveOptimizerState self)"""
716 return _IMP_rmf.SaveOptimizerState_clear_hierarchies(self)
719 def get_number_of_hierarchies(self):
720 """get_number_of_hierarchies(SaveOptimizerState self) -> unsigned int"""
721 return _IMP_rmf.SaveOptimizerState_get_number_of_hierarchies(self)
724 def get_has_hierarchies(self):
725 """get_has_hierarchies(SaveOptimizerState self) -> bool"""
726 return _IMP_rmf.SaveOptimizerState_get_has_hierarchies(self)
729 def get_hierarchy(self, i):
730 """get_hierarchy(SaveOptimizerState self, unsigned int i) -> Particle"""
731 return _IMP_rmf.SaveOptimizerState_get_hierarchy(self, i)
734 def get_hierarchies(self):
735 """get_hierarchies(SaveOptimizerState self) -> IMP::Particles"""
736 return _IMP_rmf.SaveOptimizerState_get_hierarchies(self)
739 def reserve_hierarchies(self, sz):
740 """reserve_hierarchies(SaveOptimizerState self, unsigned int sz)"""
741 return _IMP_rmf.SaveOptimizerState_reserve_hierarchies(self, sz)
744 def remove_restraint(self, d):
745 """remove_restraint(SaveOptimizerState self, Restraint d)"""
746 return _IMP_rmf.SaveOptimizerState_remove_restraint(self, d)
749 def remove_restraints(self, d):
750 """remove_restraints(SaveOptimizerState self, IMP::Restraints const & d)"""
751 return _IMP_rmf.SaveOptimizerState_remove_restraints(self, d)
754 def set_restraints(self, ps):
755 """set_restraints(SaveOptimizerState self, IMP::Restraints const & ps)"""
756 return _IMP_rmf.SaveOptimizerState_set_restraints(self, ps)
759 def set_restraints_order(self, objs):
760 """set_restraints_order(SaveOptimizerState self, IMP::Restraints const & objs)"""
761 return _IMP_rmf.SaveOptimizerState_set_restraints_order(self, objs)
765 """add_restraint(SaveOptimizerState self, Restraint obj) -> unsigned int"""
766 return _IMP_rmf.SaveOptimizerState_add_restraint(self, obj)
770 """add_restraints(SaveOptimizerState self, IMP::Restraints const & objs)"""
771 return _IMP_rmf.SaveOptimizerState_add_restraints(self, objs)
774 def clear_restraints(self):
775 """clear_restraints(SaveOptimizerState self)"""
776 return _IMP_rmf.SaveOptimizerState_clear_restraints(self)
779 def get_number_of_restraints(self):
780 """get_number_of_restraints(SaveOptimizerState self) -> unsigned int"""
781 return _IMP_rmf.SaveOptimizerState_get_number_of_restraints(self)
784 def get_has_restraints(self):
785 """get_has_restraints(SaveOptimizerState self) -> bool"""
786 return _IMP_rmf.SaveOptimizerState_get_has_restraints(self)
789 def get_restraint(self, i):
790 """get_restraint(SaveOptimizerState self, unsigned int i) -> Restraint"""
791 return _IMP_rmf.SaveOptimizerState_get_restraint(self, i)
794 def get_restraints(self):
795 """get_restraints(SaveOptimizerState self) -> IMP::Restraints"""
796 return _IMP_rmf.SaveOptimizerState_get_restraints(self)
799 def reserve_restraints(self, sz):
800 """reserve_restraints(SaveOptimizerState self, unsigned int sz)"""
801 return _IMP_rmf.SaveOptimizerState_reserve_restraints(self, sz)
804 def remove_particle(self, d):
805 """remove_particle(SaveOptimizerState self, Particle d)"""
806 return _IMP_rmf.SaveOptimizerState_remove_particle(self, d)
809 def remove_particles(self, d):
810 """remove_particles(SaveOptimizerState self, IMP::Particles const & d)"""
811 return _IMP_rmf.SaveOptimizerState_remove_particles(self, d)
814 def set_particles(self, ps):
815 """set_particles(SaveOptimizerState self, IMP::Particles const & ps)"""
816 return _IMP_rmf.SaveOptimizerState_set_particles(self, ps)
819 def set_particles_order(self, objs):
820 """set_particles_order(SaveOptimizerState self, IMP::Particles const & objs)"""
821 return _IMP_rmf.SaveOptimizerState_set_particles_order(self, objs)
825 """add_particle(SaveOptimizerState self, Particle obj) -> unsigned int"""
826 return _IMP_rmf.SaveOptimizerState_add_particle(self, obj)
830 """add_particles(SaveOptimizerState self, IMP::Particles const & objs)"""
831 return _IMP_rmf.SaveOptimizerState_add_particles(self, objs)
834 def clear_particles(self):
835 """clear_particles(SaveOptimizerState self)"""
836 return _IMP_rmf.SaveOptimizerState_clear_particles(self)
839 def get_number_of_particles(self):
840 """get_number_of_particles(SaveOptimizerState self) -> unsigned int"""
841 return _IMP_rmf.SaveOptimizerState_get_number_of_particles(self)
844 def get_has_particles(self):
845 """get_has_particles(SaveOptimizerState self) -> bool"""
846 return _IMP_rmf.SaveOptimizerState_get_has_particles(self)
850 """get_particle(SaveOptimizerState self, unsigned int i) -> Particle"""
851 return _IMP_rmf.SaveOptimizerState_get_particle(self, i)
855 """get_particles(SaveOptimizerState self) -> IMP::Particles"""
856 return _IMP_rmf.SaveOptimizerState_get_particles(self)
859 def reserve_particles(self, sz):
860 """reserve_particles(SaveOptimizerState self, unsigned int sz)"""
861 return _IMP_rmf.SaveOptimizerState_reserve_particles(self, sz)
864 def remove_geometry(self, d):
865 """remove_geometry(SaveOptimizerState self, Geometry d)"""
866 return _IMP_rmf.SaveOptimizerState_remove_geometry(self, d)
869 def remove_geometries(self, d):
870 """remove_geometries(SaveOptimizerState self, IMP::display::Geometries const & d)"""
871 return _IMP_rmf.SaveOptimizerState_remove_geometries(self, d)
874 def set_geometries(self, ps):
875 """set_geometries(SaveOptimizerState self, IMP::display::Geometries const & ps)"""
876 return _IMP_rmf.SaveOptimizerState_set_geometries(self, ps)
879 def set_geometries_order(self, objs):
880 """set_geometries_order(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
881 return _IMP_rmf.SaveOptimizerState_set_geometries_order(self, objs)
885 """add_geometry(SaveOptimizerState self, Geometry obj) -> unsigned int"""
886 return _IMP_rmf.SaveOptimizerState_add_geometry(self, obj)
890 """add_geometries(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
891 return _IMP_rmf.SaveOptimizerState_add_geometries(self, objs)
894 def clear_geometries(self):
895 """clear_geometries(SaveOptimizerState self)"""
896 return _IMP_rmf.SaveOptimizerState_clear_geometries(self)
899 def get_number_of_geometries(self):
900 """get_number_of_geometries(SaveOptimizerState self) -> unsigned int"""
901 return _IMP_rmf.SaveOptimizerState_get_number_of_geometries(self)
904 def get_has_geometries(self):
905 """get_has_geometries(SaveOptimizerState self) -> bool"""
906 return _IMP_rmf.SaveOptimizerState_get_has_geometries(self)
909 def get_geometry(self, i):
910 """get_geometry(SaveOptimizerState self, unsigned int i) -> Geometry"""
911 return _IMP_rmf.SaveOptimizerState_get_geometry(self, i)
914 def get_geometries(self):
915 """get_geometries(SaveOptimizerState self) -> IMP::display::Geometries"""
916 return _IMP_rmf.SaveOptimizerState_get_geometries(self)
919 def reserve_geometries(self, sz):
920 """reserve_geometries(SaveOptimizerState self, unsigned int sz)"""
921 return _IMP_rmf.SaveOptimizerState_reserve_geometries(self, sz)
924 def set_simulator(self, sim):
925 """set_simulator(SaveOptimizerState self, Simulator sim)"""
926 return _IMP_rmf.SaveOptimizerState_set_simulator(self, sim)
929 def update_always(self, *args):
931 update_always(SaveOptimizerState self, std::string name)
932 update_always(SaveOptimizerState self)
934 return _IMP_rmf.SaveOptimizerState_update_always(self, *args)
937 def do_update(self, call_num):
938 """do_update(SaveOptimizerState self, unsigned int call_num)"""
939 return _IMP_rmf.SaveOptimizerState_do_update(self, call_num)
942 def get_version_info(self):
943 """get_version_info(SaveOptimizerState self) -> VersionInfo"""
944 return _IMP_rmf.SaveOptimizerState_get_version_info(self)
948 """__str__(SaveOptimizerState self) -> std::string"""
949 return _IMP_rmf.SaveOptimizerState___str__(self)
953 """__repr__(SaveOptimizerState self) -> std::string"""
954 return _IMP_rmf.SaveOptimizerState___repr__(self)
959 return _object_cast_to_SaveOptimizerState(o)
961 SaveOptimizerState_swigregister = _IMP_rmf.SaveOptimizerState_swigregister
962 SaveOptimizerState_swigregister(SaveOptimizerState)
966 """load_frame(FileConstHandle file, FrameID frame)"""
967 return _IMP_rmf.load_frame(file, frame)
971 save_frame(FileHandle file, std::string name) -> FrameID
972 save_frame(FileHandle file) -> FrameID
974 return _IMP_rmf.save_frame(*args)
975 class _ParticleSaveLink(SaveLink):
976 """Proxy of C++ IMP::rmf::SimpleSaveLink<(IMP::Particle)> class."""
978 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
980 def __init__(self, *args, **kwargs):
981 raise AttributeError(
"No constructor defined - class is abstract")
982 __repr__ = _swig_repr
984 def add(self, parent, os):
985 """add(_ParticleSaveLink self, NodeHandle parent, IMP::Vector< Pointer< IMP::Particle > > const & os)"""
986 return _IMP_rmf._ParticleSaveLink_add(self, parent, os)
988 __swig_destroy__ = _IMP_rmf.delete__ParticleSaveLink
989 __del__ =
lambda self:
None
990 _ParticleSaveLink_swigregister = _IMP_rmf._ParticleSaveLink_swigregister
991 _ParticleSaveLink_swigregister(_ParticleSaveLink)
993 class _ParticleLoadLink(LoadLink):
994 """Proxy of C++ IMP::rmf::SimpleLoadLink<(IMP::Particle)> class."""
996 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
998 def __init__(self, *args, **kwargs):
999 raise AttributeError(
"No constructor defined - class is abstract")
1000 __repr__ = _swig_repr
1002 def create(self, *args):
1004 create(_ParticleLoadLink self, NodeConstHandle rt) -> IMP::Vector< Pointer< IMP::Particle > >
1005 create(_ParticleLoadLink self, NodeConstHandle rt, Model m) -> IMP::Vector< Pointer< IMP::Particle > >
1007 return _IMP_rmf._ParticleLoadLink_create(self, *args)
1010 def link(self, rt, ps):
1011 """link(_ParticleLoadLink self, NodeConstHandle rt, IMP::Vector< Pointer< IMP::Particle > > const & ps)"""
1012 return _IMP_rmf._ParticleLoadLink_link(self, rt, ps)
1014 __swig_destroy__ = _IMP_rmf.delete__ParticleLoadLink
1015 __del__ =
lambda self:
None
1016 _ParticleLoadLink_swigregister = _IMP_rmf._ParticleLoadLink_swigregister
1017 _ParticleLoadLink_swigregister(_ParticleLoadLink)
1019 class HierarchyLoadLink(_ParticleLoadLink):
1020 """Proxy of C++ IMP::rmf::HierarchyLoadLink class."""
1022 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1024 def __init__(self, fh):
1025 """__init__(IMP::rmf::HierarchyLoadLink self, FileConstHandle fh) -> HierarchyLoadLink"""
1026 this = _IMP_rmf.new_HierarchyLoadLink(fh)
1028 self.this.append(this)
1029 except __builtin__.Exception:
1033 """get_name() -> char const *"""
1034 return _IMP_rmf.HierarchyLoadLink_get_name()
1036 get_name = staticmethod(get_name)
1038 def get_version_info(self):
1039 """get_version_info(HierarchyLoadLink self) -> VersionInfo"""
1040 return _IMP_rmf.HierarchyLoadLink_get_version_info(self)
1044 """__str__(HierarchyLoadLink self) -> std::string"""
1045 return _IMP_rmf.HierarchyLoadLink___str__(self)
1049 """__repr__(HierarchyLoadLink self) -> std::string"""
1050 return _IMP_rmf.HierarchyLoadLink___repr__(self)
1055 return _object_cast_to_HierarchyLoadLink(o)
1057 HierarchyLoadLink_swigregister = _IMP_rmf.HierarchyLoadLink_swigregister
1058 HierarchyLoadLink_swigregister(HierarchyLoadLink)
1060 def HierarchyLoadLink_get_name():
1061 """HierarchyLoadLink_get_name() -> char const *"""
1062 return _IMP_rmf.HierarchyLoadLink_get_name()
1064 class HierarchySaveLink(_ParticleSaveLink):
1065 """Proxy of C++ IMP::rmf::HierarchySaveLink class."""
1067 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1069 def __init__(self, fh):
1070 """__init__(IMP::rmf::HierarchySaveLink self, FileHandle fh) -> HierarchySaveLink"""
1071 this = _IMP_rmf.new_HierarchySaveLink(fh)
1073 self.this.append(this)
1074 except __builtin__.Exception:
1078 """get_name() -> char const *"""
1079 return _IMP_rmf.HierarchySaveLink_get_name()
1081 get_name = staticmethod(get_name)
1083 def get_version_info(self):
1084 """get_version_info(HierarchySaveLink self) -> VersionInfo"""
1085 return _IMP_rmf.HierarchySaveLink_get_version_info(self)
1089 """__str__(HierarchySaveLink self) -> std::string"""
1090 return _IMP_rmf.HierarchySaveLink___str__(self)
1094 """__repr__(HierarchySaveLink self) -> std::string"""
1095 return _IMP_rmf.HierarchySaveLink___repr__(self)
1100 return _object_cast_to_HierarchySaveLink(o)
1102 HierarchySaveLink_swigregister = _IMP_rmf.HierarchySaveLink_swigregister
1103 HierarchySaveLink_swigregister(HierarchySaveLink)
1105 def HierarchySaveLink_get_name():
1106 """HierarchySaveLink_get_name() -> char const *"""
1107 return _IMP_rmf.HierarchySaveLink_get_name()
1110 suffixes = [
".rmf",
".rmfz"]
1113 def get_module_version():
1114 """get_module_version() -> std::string const"""
1115 return _IMP_rmf.get_module_version()
1118 """get_example_path(std::string fname) -> std::string"""
1119 return _IMP_rmf.get_example_path(fname)
1122 """get_data_path(std::string fname) -> std::string"""
1123 return _IMP_rmf.get_data_path(fname)
1125 from .
import _version_check
1126 _version_check.check_version(get_module_version())
1127 __version__ = get_module_version()
void link_particles(RMF::FileConstHandle fh, const ParticlesTemp &hs)
display::Geometries create_geometries(RMF::FileConstHandle parent)
Create geometry objects for the geometry nodes found in the file.
ParticlesTemp create_particles(RMF::FileConstHandle fh, Model *m)
atom::Hierarchies create_hierarchies(RMF::FileConstHandle fh, Model *m)
RMF::FrameID save_frame(RMF::FileHandle file, std::string name="")
Save the current state of the linked objects as a new RMF frame.
void add_particles(RMF::FileHandle fh, const ParticlesTemp &hs)
Various classes to hold sets of particles.
void add_restraints_as_bonds(RMF::FileHandle fh, const Restraints &rs)
Add a list of restraints to the file as (static) bonds.
Make CGAL functionality available to IMP.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
ParticlesTemp get_particles(Model *m, const ParticleIndexes &ps)
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
void link_restraints(RMF::FileConstHandle fh, const Restraints &hs)
void add_particle(RMF::FileHandle fh, Particle *hs)
void add_hierarchies(RMF::FileHandle fh, const atom::Hierarchies &hs)
Composable functors to implement scores via compile-time composition.
void add_restraint(RMF::FileHandle fh, Restraint *hs)
void add_hierarchy(RMF::FileHandle fh, atom::Hierarchy hs)
Common base class for heavy weight IMP objects.
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
void link_geometries(RMF::FileConstHandle parent, const display::GeometriesTemp &r)
Link the passed geometry objects to corresponding ones in the file.
Version and module information for Objects.
void load_frame(RMF::FileConstHandle file, RMF::FrameID frame)
Load the given RMF frame into the state of the linked objects.
Particle * get_particle() const
Returns the particle decorated by this decorator.
void set_maximum_number_of_terms(RMF::FileHandle fh, unsigned int num)
Limit the number of restraint terms.
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Restraints create_restraints(RMF::FileConstHandle fh, Model *m)
Shared optimizer state that is invoked upon commitment of new coordinates.
void link_hierarchies(RMF::FileConstHandle fh, const atom::Hierarchies &hs)
void add_geometry(RMF::FileHandle file, display::Geometry *r)
Add a single geometry to the file.
void add_static_geometries(RMF::FileHandle parent, const display::GeometriesTemp &r)
Add geometries, assuming they do not move between frames.
void add_geometries(RMF::FileHandle file, const display::GeometriesTemp &r)
Add geometries to the file.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.