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
289 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_FILESYSTEM
290 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
291 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CGAL_HAS_BOOST_RANDOM
292 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_SYSTEM
293 IMPCGAL_SHOW_WARNINGS = _IMP_rmf.IMPCGAL_SHOW_WARNINGS
295 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_IMP_CGAL
296 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
297 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
298 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_RANDOM
299 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_SYSTEM
300 IMP_ALGEBRA_HAS_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_CGAL
301 IMP_ALGEBRA_HAS_ANN = _IMP_rmf.IMP_ALGEBRA_HAS_ANN
302 IMPALGEBRA_SHOW_WARNINGS = _IMP_rmf.IMPALGEBRA_SHOW_WARNINGS
304 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_IMP_CGAL
305 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
306 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
307 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_RANDOM
308 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_SYSTEM
309 IMP_DISPLAY_HAS_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_CGAL
310 IMPDISPLAY_SHOW_WARNINGS = _IMP_rmf.IMPDISPLAY_SHOW_WARNINGS
312 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
313 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
314 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
315 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
316 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
317 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_CGAL
318 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_HDF5
319 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_rmf.IMPSCOREFUNCTOR_SHOW_WARNINGS
321 IMP_CORE_HAS_IMP_CGAL = _IMP_rmf.IMP_CORE_HAS_IMP_CGAL
322 IMP_CORE_HAS_IMP_KERNEL = _IMP_rmf.IMP_CORE_HAS_IMP_KERNEL
323 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_FILESYSTEM
324 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
325 IMP_CORE_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CORE_HAS_BOOST_RANDOM
326 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_SYSTEM
327 IMP_CORE_HAS_CGAL = _IMP_rmf.IMP_CORE_HAS_CGAL
328 IMP_CORE_HAS_HDF5 = _IMP_rmf.IMP_CORE_HAS_HDF5
329 IMPCORE_SHOW_WARNINGS = _IMP_rmf.IMPCORE_SHOW_WARNINGS
331 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_rmf.IMP_CONTAINER_HAS_IMP_ALGEBRA
332 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_CGAL
333 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_rmf.IMP_CONTAINER_HAS_IMP_DISPLAY
334 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_KERNEL
335 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
336 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
337 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
338 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_RANDOM
339 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_SYSTEM
340 IMP_CONTAINER_HAS_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_CGAL
341 IMP_CONTAINER_HAS_HDF5 = _IMP_rmf.IMP_CONTAINER_HAS_HDF5
342 IMPCONTAINER_SHOW_WARNINGS = _IMP_rmf.IMPCONTAINER_SHOW_WARNINGS
344 IMP_ATOM_HAS_IMP_CGAL = _IMP_rmf.IMP_ATOM_HAS_IMP_CGAL
345 IMP_ATOM_HAS_IMP_KERNEL = _IMP_rmf.IMP_ATOM_HAS_IMP_KERNEL
346 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
347 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
348 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ATOM_HAS_BOOST_RANDOM
349 IMP_ATOM_HAS_BOOST_REGEX = _IMP_rmf.IMP_ATOM_HAS_BOOST_REGEX
350 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ATOM_HAS_BOOST_SYSTEM
351 IMP_ATOM_HAS_CGAL = _IMP_rmf.IMP_ATOM_HAS_CGAL
352 IMP_ATOM_HAS_HDF5 = _IMP_rmf.IMP_ATOM_HAS_HDF5
353 IMPATOM_SHOW_WARNINGS = _IMP_rmf.IMPATOM_SHOW_WARNINGS
354 IMP_ATOM_TYPE_INDEX = _IMP_rmf.IMP_ATOM_TYPE_INDEX
355 IMP_RESIDUE_TYPE_INDEX = _IMP_rmf.IMP_RESIDUE_TYPE_INDEX
356 IMP_HIERARCHY_TYPE_INDEX = _IMP_rmf.IMP_HIERARCHY_TYPE_INDEX
358 IMP_RMF_HAS_IMP_CGAL = _IMP_rmf.IMP_RMF_HAS_IMP_CGAL
359 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
360 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_FILESYSTEM
361 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
362 IMP_RMF_HAS_BOOST_RANDOM = _IMP_rmf.IMP_RMF_HAS_BOOST_RANDOM
363 IMP_RMF_HAS_BOOST_REGEX = _IMP_rmf.IMP_RMF_HAS_BOOST_REGEX
364 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_SYSTEM
365 IMP_RMF_HAS_CGAL = _IMP_rmf.IMP_RMF_HAS_CGAL
366 IMP_RMF_HAS_HDF5 = _IMP_rmf.IMP_RMF_HAS_HDF5
367 IMPRMF_SHOW_WARNINGS = _IMP_rmf.IMPRMF_SHOW_WARNINGS
370 _object_types.append(
"SaveOptimizerState")
373 def _object_cast_to_SaveOptimizerState(o):
374 """_object_cast_to_SaveOptimizerState(Object o) -> SaveOptimizerState"""
375 return _IMP_rmf._object_cast_to_SaveOptimizerState(o)
377 _object_types.append(
"LoadLink")
380 def _object_cast_to_LoadLink(o):
381 """_object_cast_to_LoadLink(Object o) -> LoadLink"""
382 return _IMP_rmf._object_cast_to_LoadLink(o)
384 _object_types.append(
"SaveLink")
387 def _object_cast_to_SaveLink(o):
388 """_object_cast_to_SaveLink(Object o) -> SaveLink"""
389 return _IMP_rmf._object_cast_to_SaveLink(o)
391 _object_types.append(
"HierarchySaveLink")
394 def _object_cast_to_HierarchySaveLink(o):
395 """_object_cast_to_HierarchySaveLink(Object o) -> HierarchySaveLink"""
396 return _IMP_rmf._object_cast_to_HierarchySaveLink(o)
398 _object_types.append(
"HierarchyLoadLink")
401 def _object_cast_to_HierarchyLoadLink(o):
402 """_object_cast_to_HierarchyLoadLink(Object o) -> HierarchyLoadLink"""
403 return _IMP_rmf._object_cast_to_HierarchyLoadLink(o)
405 """Proxy of C++ IMP::rmf::LoadLink class."""
407 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
409 def do_load(self, fh):
410 """do_load(LoadLink self, FileConstHandle fh)"""
411 return _IMP_rmf.LoadLink_do_load(self, fh)
415 """__init__(IMP::rmf::LoadLink self, std::string name) -> LoadLink"""
416 if self.__class__ == LoadLink:
420 this = _IMP_rmf.new_LoadLink(_self, name)
422 self.this.append(this)
423 except __builtin__.Exception:
426 if self.__class__ != LoadLink:
427 _director_objects.register(self)
433 """load(LoadLink self, FileConstHandle fh)"""
434 return _IMP_rmf.LoadLink_load(self, fh)
436 __swig_destroy__ = _IMP_rmf.delete_LoadLink
437 __del__ =
lambda self:
None
440 """__str__(LoadLink self) -> std::string"""
441 return _IMP_rmf.LoadLink___str__(self)
445 """__repr__(LoadLink self) -> std::string"""
446 return _IMP_rmf.LoadLink___repr__(self)
451 return _object_cast_to_LoadLink(o)
454 def get_type_name(self):
455 return self.__class__.__name__
456 def do_show(self, out):
458 def get_version_info(self):
459 if"IMP::rmf" ==
"IMP":
460 return VersionInfo(self.__module__,
461 __import__(self.__module__).get_module_version())
464 __import__(self.__module__).get_module_version())
467 return _object_cast_to_LoadLink(o)
469 def __disown__(self):
471 _IMP_rmf.disown_LoadLink(self)
472 return weakref_proxy(self)
474 def do_destroy(self):
475 """do_destroy(LoadLink self)"""
476 return _IMP_rmf.LoadLink_do_destroy(self)
478 LoadLink_swigregister = _IMP_rmf.LoadLink_swigregister
479 LoadLink_swigregister(LoadLink)
482 """Proxy of C++ IMP::rmf::SaveLink class."""
484 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
486 def do_save(self, hf):
487 """do_save(SaveLink self, FileHandle hf)"""
488 return _IMP_rmf.SaveLink_do_save(self, hf)
492 """__init__(IMP::rmf::SaveLink self, std::string name) -> SaveLink"""
493 if self.__class__ == SaveLink:
497 this = _IMP_rmf.new_SaveLink(_self, name)
499 self.this.append(this)
500 except __builtin__.Exception:
503 if self.__class__ != SaveLink:
504 _director_objects.register(self)
510 """save(SaveLink self, FileHandle fh)"""
511 return _IMP_rmf.SaveLink_save(self, fh)
513 __swig_destroy__ = _IMP_rmf.delete_SaveLink
514 __del__ =
lambda self:
None
517 """__str__(SaveLink self) -> std::string"""
518 return _IMP_rmf.SaveLink___str__(self)
522 """__repr__(SaveLink self) -> std::string"""
523 return _IMP_rmf.SaveLink___repr__(self)
528 return _object_cast_to_SaveLink(o)
531 def get_type_name(self):
532 return self.__class__.__name__
533 def do_show(self, out):
535 def get_version_info(self):
536 if"IMP::rmf" ==
"IMP":
537 return VersionInfo(self.__module__,
538 __import__(self.__module__).get_module_version())
541 __import__(self.__module__).get_module_version())
544 return _object_cast_to_SaveLink(o)
546 def __disown__(self):
548 _IMP_rmf.disown_SaveLink(self)
549 return weakref_proxy(self)
551 def do_destroy(self):
552 """do_destroy(SaveLink self)"""
553 return _IMP_rmf.SaveLink_do_destroy(self)
555 SaveLink_swigregister = _IMP_rmf.SaveLink_swigregister
556 SaveLink_swigregister(SaveLink)
561 add_hierarchies(FileHandle fh, IMP::atom::Hierarchies const & hs)
562 add_hierarchies(NodeHandle fh, IMP::atom::Hierarchies const & hs)
564 return _IMP_rmf.add_hierarchies(*args)
567 """add_hierarchy(FileHandle fh, Hierarchy hs)"""
568 return _IMP_rmf.add_hierarchy(fh, hs)
571 """create_hierarchies(FileConstHandle fh, Model m) -> IMP::atom::Hierarchies"""
572 return _IMP_rmf.create_hierarchies(fh, m)
575 """link_hierarchies(FileConstHandle fh, IMP::atom::Hierarchies const & hs)"""
576 return _IMP_rmf.link_hierarchies(fh, hs)
580 add_restraints(FileHandle fh, IMP::Restraints const & hs)
581 add_restraints(NodeHandle fh, IMP::Restraints const & hs)
583 return _IMP_rmf.add_restraints(*args)
586 """add_restraint(FileHandle fh, Restraint hs)"""
587 return _IMP_rmf.add_restraint(fh, hs)
590 """create_restraints(FileConstHandle fh, Model m) -> IMP::Restraints"""
591 return _IMP_rmf.create_restraints(fh, m)
594 """link_restraints(FileConstHandle fh, IMP::Restraints const & hs)"""
595 return _IMP_rmf.link_restraints(fh, hs)
598 """add_restraints_as_bonds(FileHandle fh, IMP::Restraints const & rs)"""
599 return _IMP_rmf.add_restraints_as_bonds(fh, rs)
602 """set_maximum_number_of_terms(FileHandle fh, unsigned int num)"""
603 return _IMP_rmf.set_maximum_number_of_terms(fh, num)
607 add_particles(FileHandle fh, IMP::ParticlesTemp const & hs)
608 add_particles(NodeHandle fh, IMP::ParticlesTemp const & hs)
610 return _IMP_rmf.add_particles(*args)
613 """add_particle(FileHandle fh, Particle hs)"""
614 return _IMP_rmf.add_particle(fh, hs)
617 """create_particles(FileConstHandle fh, Model m) -> IMP::ParticlesTemp"""
618 return _IMP_rmf.create_particles(fh, m)
621 """link_particles(FileConstHandle fh, IMP::ParticlesTemp const & hs)"""
622 return _IMP_rmf.link_particles(fh, hs)
626 add_geometries(FileHandle file, IMP::display::GeometriesTemp const & r)
627 add_geometries(NodeHandle parent, IMP::display::GeometriesTemp const & r)
629 return _IMP_rmf.add_geometries(*args)
632 """add_static_geometries(FileHandle parent, IMP::display::GeometriesTemp const & r)"""
633 return _IMP_rmf.add_static_geometries(parent, r)
636 """add_geometry(FileHandle file, Geometry r)"""
637 return _IMP_rmf.add_geometry(file, r)
640 """create_geometries(FileConstHandle parent) -> IMP::display::Geometries"""
641 return _IMP_rmf.create_geometries(parent)
644 """link_geometries(FileConstHandle parent, IMP::display::GeometriesTemp const & r)"""
645 return _IMP_rmf.link_geometries(parent, r)
647 def set_association(nh, o, overwrite=False):
649 set_association(NodeConstHandle nh, Object o, bool overwrite=False)
650 set_association(NodeConstHandle nh, Object o)
652 return _IMP_rmf.set_association(nh, o, overwrite)
654 def get_node_from_association(*args):
656 get_node_from_association(FileConstHandle nh, Object oi) -> NodeConstHandle
657 get_node_from_association(FileHandle nh, Object oi) -> NodeHandle
659 return _IMP_rmf.get_node_from_association(*args)
661 def get_has_associated_node(nh, oi):
662 """get_has_associated_node(FileConstHandle nh, Object oi) -> bool"""
663 return _IMP_rmf.get_has_associated_node(nh, oi)
665 """Proxy of C++ IMP::rmf::SaveOptimizerState class."""
667 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
670 """__init__(IMP::rmf::SaveOptimizerState self, Model m, FileHandle fh) -> SaveOptimizerState"""
671 this = _IMP_rmf.new_SaveOptimizerState(m, fh)
673 self.this.append(this)
674 except __builtin__.Exception:
677 def remove_hierarchy(self, d):
678 """remove_hierarchy(SaveOptimizerState self, Particle d)"""
679 return _IMP_rmf.SaveOptimizerState_remove_hierarchy(self, d)
682 def remove_hierarchies(self, d):
683 """remove_hierarchies(SaveOptimizerState self, IMP::Particles const & d)"""
684 return _IMP_rmf.SaveOptimizerState_remove_hierarchies(self, d)
687 def set_hierarchies(self, ps):
688 """set_hierarchies(SaveOptimizerState self, IMP::Particles const & ps)"""
689 return _IMP_rmf.SaveOptimizerState_set_hierarchies(self, ps)
692 def set_hierarchies_order(self, objs):
693 """set_hierarchies_order(SaveOptimizerState self, IMP::Particles const & objs)"""
694 return _IMP_rmf.SaveOptimizerState_set_hierarchies_order(self, objs)
698 """add_hierarchy(SaveOptimizerState self, Particle obj) -> unsigned int"""
699 return _IMP_rmf.SaveOptimizerState_add_hierarchy(self, obj)
703 """add_hierarchies(SaveOptimizerState self, IMP::Particles const & objs)"""
704 return _IMP_rmf.SaveOptimizerState_add_hierarchies(self, objs)
707 def clear_hierarchies(self):
708 """clear_hierarchies(SaveOptimizerState self)"""
709 return _IMP_rmf.SaveOptimizerState_clear_hierarchies(self)
712 def get_number_of_hierarchies(self):
713 """get_number_of_hierarchies(SaveOptimizerState self) -> unsigned int"""
714 return _IMP_rmf.SaveOptimizerState_get_number_of_hierarchies(self)
717 def get_has_hierarchies(self):
718 """get_has_hierarchies(SaveOptimizerState self) -> bool"""
719 return _IMP_rmf.SaveOptimizerState_get_has_hierarchies(self)
722 def get_hierarchy(self, i):
723 """get_hierarchy(SaveOptimizerState self, unsigned int i) -> Particle"""
724 return _IMP_rmf.SaveOptimizerState_get_hierarchy(self, i)
727 def get_hierarchies(self):
728 """get_hierarchies(SaveOptimizerState self) -> IMP::Particles"""
729 return _IMP_rmf.SaveOptimizerState_get_hierarchies(self)
732 def reserve_hierarchies(self, sz):
733 """reserve_hierarchies(SaveOptimizerState self, unsigned int sz)"""
734 return _IMP_rmf.SaveOptimizerState_reserve_hierarchies(self, sz)
737 def remove_restraint(self, d):
738 """remove_restraint(SaveOptimizerState self, Restraint d)"""
739 return _IMP_rmf.SaveOptimizerState_remove_restraint(self, d)
742 def remove_restraints(self, d):
743 """remove_restraints(SaveOptimizerState self, IMP::Restraints const & d)"""
744 return _IMP_rmf.SaveOptimizerState_remove_restraints(self, d)
747 def set_restraints(self, ps):
748 """set_restraints(SaveOptimizerState self, IMP::Restraints const & ps)"""
749 return _IMP_rmf.SaveOptimizerState_set_restraints(self, ps)
752 def set_restraints_order(self, objs):
753 """set_restraints_order(SaveOptimizerState self, IMP::Restraints const & objs)"""
754 return _IMP_rmf.SaveOptimizerState_set_restraints_order(self, objs)
758 """add_restraint(SaveOptimizerState self, Restraint obj) -> unsigned int"""
759 return _IMP_rmf.SaveOptimizerState_add_restraint(self, obj)
763 """add_restraints(SaveOptimizerState self, IMP::Restraints const & objs)"""
764 return _IMP_rmf.SaveOptimizerState_add_restraints(self, objs)
767 def clear_restraints(self):
768 """clear_restraints(SaveOptimizerState self)"""
769 return _IMP_rmf.SaveOptimizerState_clear_restraints(self)
772 def get_number_of_restraints(self):
773 """get_number_of_restraints(SaveOptimizerState self) -> unsigned int"""
774 return _IMP_rmf.SaveOptimizerState_get_number_of_restraints(self)
777 def get_has_restraints(self):
778 """get_has_restraints(SaveOptimizerState self) -> bool"""
779 return _IMP_rmf.SaveOptimizerState_get_has_restraints(self)
782 def get_restraint(self, i):
783 """get_restraint(SaveOptimizerState self, unsigned int i) -> Restraint"""
784 return _IMP_rmf.SaveOptimizerState_get_restraint(self, i)
787 def get_restraints(self):
788 """get_restraints(SaveOptimizerState self) -> IMP::Restraints"""
789 return _IMP_rmf.SaveOptimizerState_get_restraints(self)
792 def reserve_restraints(self, sz):
793 """reserve_restraints(SaveOptimizerState self, unsigned int sz)"""
794 return _IMP_rmf.SaveOptimizerState_reserve_restraints(self, sz)
797 def remove_particle(self, d):
798 """remove_particle(SaveOptimizerState self, Particle d)"""
799 return _IMP_rmf.SaveOptimizerState_remove_particle(self, d)
802 def remove_particles(self, d):
803 """remove_particles(SaveOptimizerState self, IMP::Particles const & d)"""
804 return _IMP_rmf.SaveOptimizerState_remove_particles(self, d)
807 def set_particles(self, ps):
808 """set_particles(SaveOptimizerState self, IMP::Particles const & ps)"""
809 return _IMP_rmf.SaveOptimizerState_set_particles(self, ps)
812 def set_particles_order(self, objs):
813 """set_particles_order(SaveOptimizerState self, IMP::Particles const & objs)"""
814 return _IMP_rmf.SaveOptimizerState_set_particles_order(self, objs)
818 """add_particle(SaveOptimizerState self, Particle obj) -> unsigned int"""
819 return _IMP_rmf.SaveOptimizerState_add_particle(self, obj)
823 """add_particles(SaveOptimizerState self, IMP::Particles const & objs)"""
824 return _IMP_rmf.SaveOptimizerState_add_particles(self, objs)
827 def clear_particles(self):
828 """clear_particles(SaveOptimizerState self)"""
829 return _IMP_rmf.SaveOptimizerState_clear_particles(self)
832 def get_number_of_particles(self):
833 """get_number_of_particles(SaveOptimizerState self) -> unsigned int"""
834 return _IMP_rmf.SaveOptimizerState_get_number_of_particles(self)
837 def get_has_particles(self):
838 """get_has_particles(SaveOptimizerState self) -> bool"""
839 return _IMP_rmf.SaveOptimizerState_get_has_particles(self)
842 def get_particle(self, i):
843 """get_particle(SaveOptimizerState self, unsigned int i) -> Particle"""
844 return _IMP_rmf.SaveOptimizerState_get_particle(self, i)
848 """get_particles(SaveOptimizerState self) -> IMP::Particles"""
849 return _IMP_rmf.SaveOptimizerState_get_particles(self)
852 def reserve_particles(self, sz):
853 """reserve_particles(SaveOptimizerState self, unsigned int sz)"""
854 return _IMP_rmf.SaveOptimizerState_reserve_particles(self, sz)
857 def remove_geometry(self, d):
858 """remove_geometry(SaveOptimizerState self, Geometry d)"""
859 return _IMP_rmf.SaveOptimizerState_remove_geometry(self, d)
862 def remove_geometries(self, d):
863 """remove_geometries(SaveOptimizerState self, IMP::display::Geometries const & d)"""
864 return _IMP_rmf.SaveOptimizerState_remove_geometries(self, d)
867 def set_geometries(self, ps):
868 """set_geometries(SaveOptimizerState self, IMP::display::Geometries const & ps)"""
869 return _IMP_rmf.SaveOptimizerState_set_geometries(self, ps)
872 def set_geometries_order(self, objs):
873 """set_geometries_order(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
874 return _IMP_rmf.SaveOptimizerState_set_geometries_order(self, objs)
878 """add_geometry(SaveOptimizerState self, Geometry obj) -> unsigned int"""
879 return _IMP_rmf.SaveOptimizerState_add_geometry(self, obj)
883 """add_geometries(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
884 return _IMP_rmf.SaveOptimizerState_add_geometries(self, objs)
887 def clear_geometries(self):
888 """clear_geometries(SaveOptimizerState self)"""
889 return _IMP_rmf.SaveOptimizerState_clear_geometries(self)
892 def get_number_of_geometries(self):
893 """get_number_of_geometries(SaveOptimizerState self) -> unsigned int"""
894 return _IMP_rmf.SaveOptimizerState_get_number_of_geometries(self)
897 def get_has_geometries(self):
898 """get_has_geometries(SaveOptimizerState self) -> bool"""
899 return _IMP_rmf.SaveOptimizerState_get_has_geometries(self)
902 def get_geometry(self, i):
903 """get_geometry(SaveOptimizerState self, unsigned int i) -> Geometry"""
904 return _IMP_rmf.SaveOptimizerState_get_geometry(self, i)
907 def get_geometries(self):
908 """get_geometries(SaveOptimizerState self) -> IMP::display::Geometries"""
909 return _IMP_rmf.SaveOptimizerState_get_geometries(self)
912 def reserve_geometries(self, sz):
913 """reserve_geometries(SaveOptimizerState self, unsigned int sz)"""
914 return _IMP_rmf.SaveOptimizerState_reserve_geometries(self, sz)
917 def set_simulator(self, sim):
918 """set_simulator(SaveOptimizerState self, Simulator sim)"""
919 return _IMP_rmf.SaveOptimizerState_set_simulator(self, sim)
922 def update_always(self, *args):
924 update_always(SaveOptimizerState self, std::string name)
925 update_always(SaveOptimizerState self)
927 return _IMP_rmf.SaveOptimizerState_update_always(self, *args)
930 def do_update(self, call_num):
931 """do_update(SaveOptimizerState self, unsigned int call_num)"""
932 return _IMP_rmf.SaveOptimizerState_do_update(self, call_num)
935 def get_version_info(self):
936 """get_version_info(SaveOptimizerState self) -> VersionInfo"""
937 return _IMP_rmf.SaveOptimizerState_get_version_info(self)
941 """__str__(SaveOptimizerState self) -> std::string"""
942 return _IMP_rmf.SaveOptimizerState___str__(self)
946 """__repr__(SaveOptimizerState self) -> std::string"""
947 return _IMP_rmf.SaveOptimizerState___repr__(self)
952 return _object_cast_to_SaveOptimizerState(o)
954 SaveOptimizerState_swigregister = _IMP_rmf.SaveOptimizerState_swigregister
955 SaveOptimizerState_swigregister(SaveOptimizerState)
959 """load_frame(FileConstHandle file, FrameID frame)"""
960 return _IMP_rmf.load_frame(file, frame)
964 save_frame(FileHandle file, std::string name) -> FrameID
965 save_frame(FileHandle file) -> FrameID
967 return _IMP_rmf.save_frame(*args)
968 class _ParticleSaveLink(SaveLink):
969 """Proxy of C++ IMP::rmf::SimpleSaveLink<(IMP::Particle)> class."""
971 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
973 def __init__(self, *args, **kwargs):
974 raise AttributeError(
"No constructor defined - class is abstract")
975 __repr__ = _swig_repr
977 def add(self, parent, os):
978 """add(_ParticleSaveLink self, NodeHandle parent, IMP::Vector< Pointer< IMP::Particle > > const & os)"""
979 return _IMP_rmf._ParticleSaveLink_add(self, parent, os)
981 __swig_destroy__ = _IMP_rmf.delete__ParticleSaveLink
982 __del__ =
lambda self:
None
983 _ParticleSaveLink_swigregister = _IMP_rmf._ParticleSaveLink_swigregister
984 _ParticleSaveLink_swigregister(_ParticleSaveLink)
986 class _ParticleLoadLink(LoadLink):
987 """Proxy of C++ IMP::rmf::SimpleLoadLink<(IMP::Particle)> class."""
989 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
991 def __init__(self, *args, **kwargs):
992 raise AttributeError(
"No constructor defined - class is abstract")
993 __repr__ = _swig_repr
995 def create(self, *args):
997 create(_ParticleLoadLink self, NodeConstHandle rt) -> IMP::Vector< Pointer< IMP::Particle > >
998 create(_ParticleLoadLink self, NodeConstHandle rt, Model m) -> IMP::Vector< Pointer< IMP::Particle > >
1000 return _IMP_rmf._ParticleLoadLink_create(self, *args)
1003 def link(self, rt, ps):
1004 """link(_ParticleLoadLink self, NodeConstHandle rt, IMP::Vector< Pointer< IMP::Particle > > const & ps)"""
1005 return _IMP_rmf._ParticleLoadLink_link(self, rt, ps)
1007 __swig_destroy__ = _IMP_rmf.delete__ParticleLoadLink
1008 __del__ =
lambda self:
None
1009 _ParticleLoadLink_swigregister = _IMP_rmf._ParticleLoadLink_swigregister
1010 _ParticleLoadLink_swigregister(_ParticleLoadLink)
1012 class HierarchyLoadLink(_ParticleLoadLink):
1013 """Proxy of C++ IMP::rmf::HierarchyLoadLink class."""
1015 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1018 """__init__(IMP::rmf::HierarchyLoadLink self, FileConstHandle fh) -> HierarchyLoadLink"""
1019 this = _IMP_rmf.new_HierarchyLoadLink(fh)
1021 self.this.append(this)
1022 except __builtin__.Exception:
1026 """get_name() -> char const *"""
1027 return _IMP_rmf.HierarchyLoadLink_get_name()
1029 get_name = staticmethod(get_name)
1031 def get_version_info(self):
1032 """get_version_info(HierarchyLoadLink self) -> VersionInfo"""
1033 return _IMP_rmf.HierarchyLoadLink_get_version_info(self)
1037 """__str__(HierarchyLoadLink self) -> std::string"""
1038 return _IMP_rmf.HierarchyLoadLink___str__(self)
1042 """__repr__(HierarchyLoadLink self) -> std::string"""
1043 return _IMP_rmf.HierarchyLoadLink___repr__(self)
1048 return _object_cast_to_HierarchyLoadLink(o)
1050 HierarchyLoadLink_swigregister = _IMP_rmf.HierarchyLoadLink_swigregister
1051 HierarchyLoadLink_swigregister(HierarchyLoadLink)
1053 def HierarchyLoadLink_get_name():
1054 """HierarchyLoadLink_get_name() -> char const *"""
1055 return _IMP_rmf.HierarchyLoadLink_get_name()
1057 class HierarchySaveLink(_ParticleSaveLink):
1058 """Proxy of C++ IMP::rmf::HierarchySaveLink class."""
1060 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1063 """__init__(IMP::rmf::HierarchySaveLink self, FileHandle fh) -> HierarchySaveLink"""
1064 this = _IMP_rmf.new_HierarchySaveLink(fh)
1066 self.this.append(this)
1067 except __builtin__.Exception:
1071 """get_name() -> char const *"""
1072 return _IMP_rmf.HierarchySaveLink_get_name()
1074 get_name = staticmethod(get_name)
1076 def get_version_info(self):
1077 """get_version_info(HierarchySaveLink self) -> VersionInfo"""
1078 return _IMP_rmf.HierarchySaveLink_get_version_info(self)
1082 """__str__(HierarchySaveLink self) -> std::string"""
1083 return _IMP_rmf.HierarchySaveLink___str__(self)
1087 """__repr__(HierarchySaveLink self) -> std::string"""
1088 return _IMP_rmf.HierarchySaveLink___repr__(self)
1093 return _object_cast_to_HierarchySaveLink(o)
1095 HierarchySaveLink_swigregister = _IMP_rmf.HierarchySaveLink_swigregister
1096 HierarchySaveLink_swigregister(HierarchySaveLink)
1098 def HierarchySaveLink_get_name():
1099 """HierarchySaveLink_get_name() -> char const *"""
1100 return _IMP_rmf.HierarchySaveLink_get_name()
1103 suffixes = [
".rmf",
".rmfz"]
1106 def get_module_version():
1107 """get_module_version() -> std::string const"""
1108 return _IMP_rmf.get_module_version()
1111 """get_example_path(std::string fname) -> std::string"""
1112 return _IMP_rmf.get_example_path(fname)
1115 """get_data_path(std::string fname) -> std::string"""
1116 return _IMP_rmf.get_data_path(fname)
1118 from .
import _version_check
1119 _version_check.check_version(get_module_version())
1120 __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.
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.