10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_rmf', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_rmf', fp, pathname, description)
32 _IMP_rmf = swig_import_helper()
33 del swig_import_helper
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
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
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)
224 _IMP_rmf.IMP_DEBUG_swigconstant(_IMP_rmf)
225 IMP_DEBUG = _IMP_rmf.IMP_DEBUG
227 _IMP_rmf.IMP_RELEASE_swigconstant(_IMP_rmf)
228 IMP_RELEASE = _IMP_rmf.IMP_RELEASE
230 _IMP_rmf.IMP_SILENT_swigconstant(_IMP_rmf)
231 IMP_SILENT = _IMP_rmf.IMP_SILENT
233 _IMP_rmf.IMP_PROGRESS_swigconstant(_IMP_rmf)
234 IMP_PROGRESS = _IMP_rmf.IMP_PROGRESS
236 _IMP_rmf.IMP_TERSE_swigconstant(_IMP_rmf)
237 IMP_TERSE = _IMP_rmf.IMP_TERSE
239 _IMP_rmf.IMP_VERBOSE_swigconstant(_IMP_rmf)
240 IMP_VERBOSE = _IMP_rmf.IMP_VERBOSE
242 _IMP_rmf.IMP_MEMORY_swigconstant(_IMP_rmf)
243 IMP_MEMORY = _IMP_rmf.IMP_MEMORY
245 _IMP_rmf.IMP_NONE_swigconstant(_IMP_rmf)
246 IMP_NONE = _IMP_rmf.IMP_NONE
248 _IMP_rmf.IMP_USAGE_swigconstant(_IMP_rmf)
249 IMP_USAGE = _IMP_rmf.IMP_USAGE
251 _IMP_rmf.IMP_INTERNAL_swigconstant(_IMP_rmf)
252 IMP_INTERNAL = _IMP_rmf.IMP_INTERNAL
254 _IMP_rmf.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_rmf)
255 IMP_KERNEL_HAS_LOG4CXX = _IMP_rmf.IMP_KERNEL_HAS_LOG4CXX
257 _IMP_rmf.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_rmf)
258 IMP_COMPILER_HAS_AUTO = _IMP_rmf.IMP_COMPILER_HAS_AUTO
260 _IMP_rmf.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_rmf)
261 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_rmf.IMP_COMPILER_HAS_DEBUG_VECTOR
263 _IMP_rmf.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_rmf)
264 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_rmf.IMP_COMPILER_HAS_UNIQUE_PTR
266 _IMP_rmf.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
267 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_KERNEL_HAS_BOOST_RANDOM
269 _IMP_rmf.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_rmf)
270 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_rmf.IMP_KERNEL_HAS_GPERFTOOLS
272 _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_rmf)
273 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
275 _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_rmf)
276 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
278 _IMP_rmf.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_rmf)
279 IMPKERNEL_SHOW_WARNINGS = _IMP_rmf.IMPKERNEL_SHOW_WARNINGS
282 class _DirectorObjects(object):
283 """@internal Simple class to keep references to director objects
284 to prevent premature deletion."""
287 def register(self, obj):
288 """Take a reference to a director object; will only work for
289 refcounted C++ classes"""
290 if hasattr(obj,
'get_ref_count'):
291 self._objects.append(obj)
293 """Only drop our reference and allow cleanup by Python if no other
294 Python references exist (we hold 3 references: one in self._objects,
295 one in x, and one in the argument list for getrefcount) *and* no
296 other C++ references exist (the Python object always holds one)"""
297 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
298 or x.get_ref_count() > 1]
302 def get_object_count(self):
303 """Get number of director objects (useful for testing only)"""
304 return len(self._objects)
305 _director_objects = _DirectorObjects()
307 class _ostream(object):
308 """Proxy of C++ std::ostream class."""
310 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
312 def __init__(self, *args, **kwargs):
313 raise AttributeError(
"No constructor defined")
314 __repr__ = _swig_repr
316 def write(self, osa_buf):
317 """write(_ostream self, char const * osa_buf)"""
318 return _IMP_rmf._ostream_write(self, osa_buf)
320 _ostream_swigregister = _IMP_rmf._ostream_swigregister
321 _ostream_swigregister(_ostream)
324 _IMP_rmf.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_rmf)
325 IMP_COMPILER_HAS_OVERRIDE = _IMP_rmf.IMP_COMPILER_HAS_OVERRIDE
327 _IMP_rmf.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_rmf)
328 IMP_COMPILER_HAS_FINAL = _IMP_rmf.IMP_COMPILER_HAS_FINAL
330 _IMP_rmf.IMP_HAS_NOEXCEPT_swigconstant(_IMP_rmf)
331 IMP_HAS_NOEXCEPT = _IMP_rmf.IMP_HAS_NOEXCEPT
334 _IMP_rmf.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_rmf.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_rmf.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_rmf.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_SYSTEM
346 _IMP_rmf.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_rmf)
347 IMPCGAL_SHOW_WARNINGS = _IMP_rmf.IMPCGAL_SHOW_WARNINGS
350 _IMP_rmf.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
351 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_IMP_CGAL
353 _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
354 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
356 _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
357 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
359 _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
360 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_RANDOM
362 _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
363 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_SYSTEM
365 _IMP_rmf.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_rmf)
366 IMP_ALGEBRA_HAS_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_CGAL
368 _IMP_rmf.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_rmf)
369 IMP_ALGEBRA_HAS_ANN = _IMP_rmf.IMP_ALGEBRA_HAS_ANN
371 _IMP_rmf.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_rmf)
372 IMPALGEBRA_SHOW_WARNINGS = _IMP_rmf.IMPALGEBRA_SHOW_WARNINGS
375 _IMP_rmf.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
376 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_IMP_CGAL
378 _IMP_rmf.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
379 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
381 _IMP_rmf.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
382 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
384 _IMP_rmf.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
385 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_RANDOM
387 _IMP_rmf.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
388 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_SYSTEM
390 _IMP_rmf.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_rmf)
391 IMP_DISPLAY_HAS_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_CGAL
393 _IMP_rmf.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_rmf)
394 IMPDISPLAY_SHOW_WARNINGS = _IMP_rmf.IMPDISPLAY_SHOW_WARNINGS
397 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
398 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
400 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
401 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
403 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
404 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
406 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
407 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
409 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
412 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_rmf)
413 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_CGAL
415 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_rmf)
416 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_HDF5
418 _IMP_rmf.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_rmf)
419 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_rmf.IMPSCOREFUNCTOR_SHOW_WARNINGS
422 _IMP_rmf.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
423 IMP_CORE_HAS_IMP_CGAL = _IMP_rmf.IMP_CORE_HAS_IMP_CGAL
425 _IMP_rmf.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_rmf)
426 IMP_CORE_HAS_IMP_KERNEL = _IMP_rmf.IMP_CORE_HAS_IMP_KERNEL
428 _IMP_rmf.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
429 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_FILESYSTEM
431 _IMP_rmf.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
432 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
434 _IMP_rmf.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
435 IMP_CORE_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CORE_HAS_BOOST_RANDOM
437 _IMP_rmf.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
438 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_SYSTEM
440 _IMP_rmf.IMP_CORE_HAS_CGAL_swigconstant(_IMP_rmf)
441 IMP_CORE_HAS_CGAL = _IMP_rmf.IMP_CORE_HAS_CGAL
443 _IMP_rmf.IMP_CORE_HAS_HDF5_swigconstant(_IMP_rmf)
444 IMP_CORE_HAS_HDF5 = _IMP_rmf.IMP_CORE_HAS_HDF5
446 _IMP_rmf.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_rmf)
447 IMPCORE_SHOW_WARNINGS = _IMP_rmf.IMPCORE_SHOW_WARNINGS
450 _IMP_rmf.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_rmf)
451 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_rmf.IMP_CONTAINER_HAS_IMP_ALGEBRA
453 _IMP_rmf.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
454 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_CGAL
456 _IMP_rmf.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_rmf)
457 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_rmf.IMP_CONTAINER_HAS_IMP_DISPLAY
459 _IMP_rmf.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_rmf)
460 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_KERNEL
462 _IMP_rmf.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_rmf)
463 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
465 _IMP_rmf.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
466 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
468 _IMP_rmf.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
469 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
471 _IMP_rmf.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
472 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_RANDOM
474 _IMP_rmf.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
475 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_SYSTEM
477 _IMP_rmf.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_rmf)
478 IMP_CONTAINER_HAS_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_CGAL
480 _IMP_rmf.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_rmf)
481 IMP_CONTAINER_HAS_HDF5 = _IMP_rmf.IMP_CONTAINER_HAS_HDF5
483 _IMP_rmf.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_rmf)
484 IMPCONTAINER_SHOW_WARNINGS = _IMP_rmf.IMPCONTAINER_SHOW_WARNINGS
487 _IMP_rmf.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
488 IMP_ATOM_HAS_IMP_CGAL = _IMP_rmf.IMP_ATOM_HAS_IMP_CGAL
490 _IMP_rmf.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_rmf)
491 IMP_ATOM_HAS_IMP_KERNEL = _IMP_rmf.IMP_ATOM_HAS_IMP_KERNEL
493 _IMP_rmf.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_rmf)
494 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
496 _IMP_rmf.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
497 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
499 _IMP_rmf.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
500 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ATOM_HAS_BOOST_RANDOM
502 _IMP_rmf.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_rmf)
503 IMP_ATOM_HAS_BOOST_REGEX = _IMP_rmf.IMP_ATOM_HAS_BOOST_REGEX
505 _IMP_rmf.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
506 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ATOM_HAS_BOOST_SYSTEM
508 _IMP_rmf.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_rmf)
509 IMP_ATOM_HAS_CGAL = _IMP_rmf.IMP_ATOM_HAS_CGAL
511 _IMP_rmf.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_rmf)
512 IMP_ATOM_HAS_HDF5 = _IMP_rmf.IMP_ATOM_HAS_HDF5
514 _IMP_rmf.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_rmf)
515 IMPATOM_SHOW_WARNINGS = _IMP_rmf.IMPATOM_SHOW_WARNINGS
517 _IMP_rmf.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_rmf)
518 IMP_ATOM_TYPE_INDEX = _IMP_rmf.IMP_ATOM_TYPE_INDEX
520 _IMP_rmf.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_rmf)
521 IMP_RESIDUE_TYPE_INDEX = _IMP_rmf.IMP_RESIDUE_TYPE_INDEX
523 _IMP_rmf.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_rmf)
524 IMP_HIERARCHY_TYPE_INDEX = _IMP_rmf.IMP_HIERARCHY_TYPE_INDEX
527 _IMP_rmf.IMP_RMF_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
528 IMP_RMF_HAS_IMP_CGAL = _IMP_rmf.IMP_RMF_HAS_IMP_CGAL
530 _IMP_rmf.IMP_RMF_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_rmf)
531 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
533 _IMP_rmf.IMP_RMF_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
534 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_FILESYSTEM
536 _IMP_rmf.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
537 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
539 _IMP_rmf.IMP_RMF_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
540 IMP_RMF_HAS_BOOST_RANDOM = _IMP_rmf.IMP_RMF_HAS_BOOST_RANDOM
542 _IMP_rmf.IMP_RMF_HAS_BOOST_REGEX_swigconstant(_IMP_rmf)
543 IMP_RMF_HAS_BOOST_REGEX = _IMP_rmf.IMP_RMF_HAS_BOOST_REGEX
545 _IMP_rmf.IMP_RMF_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
546 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_SYSTEM
548 _IMP_rmf.IMP_RMF_HAS_CGAL_swigconstant(_IMP_rmf)
549 IMP_RMF_HAS_CGAL = _IMP_rmf.IMP_RMF_HAS_CGAL
551 _IMP_rmf.IMP_RMF_HAS_HDF5_swigconstant(_IMP_rmf)
552 IMP_RMF_HAS_HDF5 = _IMP_rmf.IMP_RMF_HAS_HDF5
554 _IMP_rmf.IMPRMF_SHOW_WARNINGS_swigconstant(_IMP_rmf)
555 IMPRMF_SHOW_WARNINGS = _IMP_rmf.IMPRMF_SHOW_WARNINGS
558 _object_types.append(
"SaveOptimizerState")
561 def _object_cast_to_SaveOptimizerState(o):
562 """_object_cast_to_SaveOptimizerState(Object o) -> SaveOptimizerState"""
563 return _IMP_rmf._object_cast_to_SaveOptimizerState(o)
565 _object_types.append(
"LoadLink")
568 def _object_cast_to_LoadLink(o):
569 """_object_cast_to_LoadLink(Object o) -> LoadLink"""
570 return _IMP_rmf._object_cast_to_LoadLink(o)
572 _object_types.append(
"SaveLink")
575 def _object_cast_to_SaveLink(o):
576 """_object_cast_to_SaveLink(Object o) -> SaveLink"""
577 return _IMP_rmf._object_cast_to_SaveLink(o)
579 _object_types.append(
"HierarchySaveLink")
582 def _object_cast_to_HierarchySaveLink(o):
583 """_object_cast_to_HierarchySaveLink(Object o) -> HierarchySaveLink"""
584 return _IMP_rmf._object_cast_to_HierarchySaveLink(o)
586 _object_types.append(
"HierarchyLoadLink")
589 def _object_cast_to_HierarchyLoadLink(o):
590 """_object_cast_to_HierarchyLoadLink(Object o) -> HierarchyLoadLink"""
591 return _IMP_rmf._object_cast_to_HierarchyLoadLink(o)
593 """Proxy of C++ IMP::rmf::LoadLink class."""
595 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
597 def do_load(self, fh):
598 """do_load(LoadLink self, FileConstHandle fh)"""
599 return _IMP_rmf.LoadLink_do_load(self, fh)
602 def __init__(self, name):
603 """__init__(IMP::rmf::LoadLink self, std::string name) -> LoadLink"""
604 if self.__class__ == LoadLink:
608 this = _IMP_rmf.new_LoadLink(_self, name)
610 self.this.append(this)
614 if self.__class__ != LoadLink:
615 _director_objects.register(self)
621 """load(LoadLink self, FileConstHandle fh)"""
622 return _IMP_rmf.LoadLink_load(self, fh)
624 __swig_destroy__ = _IMP_rmf.delete_LoadLink
625 __del__ =
lambda self:
None
628 """__str__(LoadLink self) -> std::string"""
629 return _IMP_rmf.LoadLink___str__(self)
633 """__repr__(LoadLink self) -> std::string"""
634 return _IMP_rmf.LoadLink___repr__(self)
639 return _object_cast_to_LoadLink(o)
642 def get_type_name(self):
643 return self.__class__.__name__
644 def do_show(self, out):
646 def get_version_info(self):
647 if"IMP::rmf" ==
"IMP":
648 return VersionInfo(self.__module__,
649 __import__(self.__module__).get_module_version())
652 __import__(self.__module__).get_module_version())
655 return _object_cast_to_LoadLink(o)
657 def __disown__(self):
659 _IMP_rmf.disown_LoadLink(self)
660 return weakref_proxy(self)
662 def do_destroy(self):
663 """do_destroy(LoadLink self)"""
664 return _IMP_rmf.LoadLink_do_destroy(self)
666 LoadLink_swigregister = _IMP_rmf.LoadLink_swigregister
667 LoadLink_swigregister(LoadLink)
670 """Proxy of C++ IMP::rmf::SaveLink class."""
672 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
674 def do_save(self, hf):
675 """do_save(SaveLink self, FileHandle hf)"""
676 return _IMP_rmf.SaveLink_do_save(self, hf)
679 def __init__(self, name):
680 """__init__(IMP::rmf::SaveLink self, std::string name) -> SaveLink"""
681 if self.__class__ == SaveLink:
685 this = _IMP_rmf.new_SaveLink(_self, name)
687 self.this.append(this)
691 if self.__class__ != SaveLink:
692 _director_objects.register(self)
698 """save(SaveLink self, FileHandle fh)"""
699 return _IMP_rmf.SaveLink_save(self, fh)
701 __swig_destroy__ = _IMP_rmf.delete_SaveLink
702 __del__ =
lambda self:
None
705 """__str__(SaveLink self) -> std::string"""
706 return _IMP_rmf.SaveLink___str__(self)
710 """__repr__(SaveLink self) -> std::string"""
711 return _IMP_rmf.SaveLink___repr__(self)
716 return _object_cast_to_SaveLink(o)
719 def get_type_name(self):
720 return self.__class__.__name__
721 def do_show(self, out):
723 def get_version_info(self):
724 if"IMP::rmf" ==
"IMP":
725 return VersionInfo(self.__module__,
726 __import__(self.__module__).get_module_version())
729 __import__(self.__module__).get_module_version())
732 return _object_cast_to_SaveLink(o)
734 def __disown__(self):
736 _IMP_rmf.disown_SaveLink(self)
737 return weakref_proxy(self)
739 def do_destroy(self):
740 """do_destroy(SaveLink self)"""
741 return _IMP_rmf.SaveLink_do_destroy(self)
743 SaveLink_swigregister = _IMP_rmf.SaveLink_swigregister
744 SaveLink_swigregister(SaveLink)
749 add_hierarchies(FileHandle fh, IMP::atom::Hierarchies const & hs)
750 add_hierarchies(NodeHandle fh, IMP::atom::Hierarchies const & hs)
752 return _IMP_rmf.add_hierarchies(*args)
755 """add_hierarchy(FileHandle fh, Hierarchy hs)"""
756 return _IMP_rmf.add_hierarchy(fh, hs)
759 """create_hierarchies(FileConstHandle fh, Model m) -> IMP::atom::Hierarchies"""
760 return _IMP_rmf.create_hierarchies(fh, m)
763 """link_hierarchies(FileConstHandle fh, IMP::atom::Hierarchies const & hs)"""
764 return _IMP_rmf.link_hierarchies(fh, hs)
768 add_restraints(FileHandle fh, IMP::Restraints const & hs)
769 add_restraints(NodeHandle fh, IMP::Restraints const & hs)
771 return _IMP_rmf.add_restraints(*args)
774 """add_restraint(FileHandle fh, Restraint hs)"""
775 return _IMP_rmf.add_restraint(fh, hs)
778 """create_restraints(FileConstHandle fh, Model m) -> IMP::Restraints"""
779 return _IMP_rmf.create_restraints(fh, m)
782 """link_restraints(FileConstHandle fh, IMP::Restraints const & hs)"""
783 return _IMP_rmf.link_restraints(fh, hs)
786 """add_restraints_as_bonds(FileHandle fh, IMP::Restraints const & rs)"""
787 return _IMP_rmf.add_restraints_as_bonds(fh, rs)
790 """set_maximum_number_of_terms(FileHandle fh, unsigned int num)"""
791 return _IMP_rmf.set_maximum_number_of_terms(fh, num)
795 add_particles(FileHandle fh, IMP::ParticlesTemp const & hs)
796 add_particles(NodeHandle fh, IMP::ParticlesTemp const & hs)
798 return _IMP_rmf.add_particles(*args)
801 """add_particle(FileHandle fh, Particle hs)"""
802 return _IMP_rmf.add_particle(fh, hs)
805 """create_particles(FileConstHandle fh, Model m) -> IMP::ParticlesTemp"""
806 return _IMP_rmf.create_particles(fh, m)
809 """link_particles(FileConstHandle fh, IMP::ParticlesTemp const & hs)"""
810 return _IMP_rmf.link_particles(fh, hs)
814 add_geometries(FileHandle file, IMP::display::GeometriesTemp const & r)
815 add_geometries(NodeHandle parent, IMP::display::GeometriesTemp const & r)
817 return _IMP_rmf.add_geometries(*args)
820 """add_static_geometries(FileHandle parent, IMP::display::GeometriesTemp const & r)"""
821 return _IMP_rmf.add_static_geometries(parent, r)
824 """add_geometry(FileHandle file, Geometry r)"""
825 return _IMP_rmf.add_geometry(file, r)
828 """create_geometries(FileConstHandle parent) -> IMP::display::Geometries"""
829 return _IMP_rmf.create_geometries(parent)
832 """link_geometries(FileConstHandle parent, IMP::display::GeometriesTemp const & r)"""
833 return _IMP_rmf.link_geometries(parent, r)
835 def set_association(nh, o, overwrite=False):
837 set_association(NodeConstHandle nh, Object o, bool overwrite=False)
838 set_association(NodeConstHandle nh, Object o)
840 return _IMP_rmf.set_association(nh, o, overwrite)
842 def get_node_from_association(*args):
844 get_node_from_association(FileConstHandle nh, Object oi) -> NodeConstHandle
845 get_node_from_association(FileHandle nh, Object oi) -> NodeHandle
847 return _IMP_rmf.get_node_from_association(*args)
849 def get_has_associated_node(nh, oi):
850 """get_has_associated_node(FileConstHandle nh, Object oi) -> bool"""
851 return _IMP_rmf.get_has_associated_node(nh, oi)
853 """Proxy of C++ IMP::rmf::SaveOptimizerState class."""
855 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
857 def __init__(self, m, fh):
858 """__init__(IMP::rmf::SaveOptimizerState self, Model m, FileHandle fh) -> SaveOptimizerState"""
859 this = _IMP_rmf.new_SaveOptimizerState(m, fh)
861 self.this.append(this)
865 def remove_hierarchy(self, d):
866 """remove_hierarchy(SaveOptimizerState self, Particle d)"""
867 return _IMP_rmf.SaveOptimizerState_remove_hierarchy(self, d)
870 def remove_hierarchies(self, d):
871 """remove_hierarchies(SaveOptimizerState self, IMP::Particles const & d)"""
872 return _IMP_rmf.SaveOptimizerState_remove_hierarchies(self, d)
875 def set_hierarchies(self, ps):
876 """set_hierarchies(SaveOptimizerState self, IMP::Particles const & ps)"""
877 return _IMP_rmf.SaveOptimizerState_set_hierarchies(self, ps)
880 def set_hierarchies_order(self, objs):
881 """set_hierarchies_order(SaveOptimizerState self, IMP::Particles const & objs)"""
882 return _IMP_rmf.SaveOptimizerState_set_hierarchies_order(self, objs)
886 """add_hierarchy(SaveOptimizerState self, Particle obj) -> unsigned int"""
887 return _IMP_rmf.SaveOptimizerState_add_hierarchy(self, obj)
891 """add_hierarchies(SaveOptimizerState self, IMP::Particles const & objs)"""
892 return _IMP_rmf.SaveOptimizerState_add_hierarchies(self, objs)
895 def clear_hierarchies(self):
896 """clear_hierarchies(SaveOptimizerState self)"""
897 return _IMP_rmf.SaveOptimizerState_clear_hierarchies(self)
900 def get_number_of_hierarchies(self):
901 """get_number_of_hierarchies(SaveOptimizerState self) -> unsigned int"""
902 return _IMP_rmf.SaveOptimizerState_get_number_of_hierarchies(self)
905 def get_has_hierarchies(self):
906 """get_has_hierarchies(SaveOptimizerState self) -> bool"""
907 return _IMP_rmf.SaveOptimizerState_get_has_hierarchies(self)
910 def get_hierarchy(self, i):
911 """get_hierarchy(SaveOptimizerState self, unsigned int i) -> Particle"""
912 return _IMP_rmf.SaveOptimizerState_get_hierarchy(self, i)
915 def get_hierarchies(self):
916 """get_hierarchies(SaveOptimizerState self) -> IMP::Particles"""
917 return _IMP_rmf.SaveOptimizerState_get_hierarchies(self)
920 def reserve_hierarchies(self, sz):
921 """reserve_hierarchies(SaveOptimizerState self, unsigned int sz)"""
922 return _IMP_rmf.SaveOptimizerState_reserve_hierarchies(self, sz)
925 def remove_restraint(self, d):
926 """remove_restraint(SaveOptimizerState self, Restraint d)"""
927 return _IMP_rmf.SaveOptimizerState_remove_restraint(self, d)
930 def remove_restraints(self, d):
931 """remove_restraints(SaveOptimizerState self, IMP::Restraints const & d)"""
932 return _IMP_rmf.SaveOptimizerState_remove_restraints(self, d)
935 def set_restraints(self, ps):
936 """set_restraints(SaveOptimizerState self, IMP::Restraints const & ps)"""
937 return _IMP_rmf.SaveOptimizerState_set_restraints(self, ps)
940 def set_restraints_order(self, objs):
941 """set_restraints_order(SaveOptimizerState self, IMP::Restraints const & objs)"""
942 return _IMP_rmf.SaveOptimizerState_set_restraints_order(self, objs)
946 """add_restraint(SaveOptimizerState self, Restraint obj) -> unsigned int"""
947 return _IMP_rmf.SaveOptimizerState_add_restraint(self, obj)
951 """add_restraints(SaveOptimizerState self, IMP::Restraints const & objs)"""
952 return _IMP_rmf.SaveOptimizerState_add_restraints(self, objs)
955 def clear_restraints(self):
956 """clear_restraints(SaveOptimizerState self)"""
957 return _IMP_rmf.SaveOptimizerState_clear_restraints(self)
960 def get_number_of_restraints(self):
961 """get_number_of_restraints(SaveOptimizerState self) -> unsigned int"""
962 return _IMP_rmf.SaveOptimizerState_get_number_of_restraints(self)
965 def get_has_restraints(self):
966 """get_has_restraints(SaveOptimizerState self) -> bool"""
967 return _IMP_rmf.SaveOptimizerState_get_has_restraints(self)
970 def get_restraint(self, i):
971 """get_restraint(SaveOptimizerState self, unsigned int i) -> Restraint"""
972 return _IMP_rmf.SaveOptimizerState_get_restraint(self, i)
975 def get_restraints(self):
976 """get_restraints(SaveOptimizerState self) -> IMP::Restraints"""
977 return _IMP_rmf.SaveOptimizerState_get_restraints(self)
980 def reserve_restraints(self, sz):
981 """reserve_restraints(SaveOptimizerState self, unsigned int sz)"""
982 return _IMP_rmf.SaveOptimizerState_reserve_restraints(self, sz)
985 def remove_particle(self, d):
986 """remove_particle(SaveOptimizerState self, Particle d)"""
987 return _IMP_rmf.SaveOptimizerState_remove_particle(self, d)
990 def remove_particles(self, d):
991 """remove_particles(SaveOptimizerState self, IMP::Particles const & d)"""
992 return _IMP_rmf.SaveOptimizerState_remove_particles(self, d)
995 def set_particles(self, ps):
996 """set_particles(SaveOptimizerState self, IMP::Particles const & ps)"""
997 return _IMP_rmf.SaveOptimizerState_set_particles(self, ps)
1000 def set_particles_order(self, objs):
1001 """set_particles_order(SaveOptimizerState self, IMP::Particles const & objs)"""
1002 return _IMP_rmf.SaveOptimizerState_set_particles_order(self, objs)
1006 """add_particle(SaveOptimizerState self, Particle obj) -> unsigned int"""
1007 return _IMP_rmf.SaveOptimizerState_add_particle(self, obj)
1011 """add_particles(SaveOptimizerState self, IMP::Particles const & objs)"""
1012 return _IMP_rmf.SaveOptimizerState_add_particles(self, objs)
1015 def clear_particles(self):
1016 """clear_particles(SaveOptimizerState self)"""
1017 return _IMP_rmf.SaveOptimizerState_clear_particles(self)
1020 def get_number_of_particles(self):
1021 """get_number_of_particles(SaveOptimizerState self) -> unsigned int"""
1022 return _IMP_rmf.SaveOptimizerState_get_number_of_particles(self)
1025 def get_has_particles(self):
1026 """get_has_particles(SaveOptimizerState self) -> bool"""
1027 return _IMP_rmf.SaveOptimizerState_get_has_particles(self)
1030 def get_particle(self, i):
1031 """get_particle(SaveOptimizerState self, unsigned int i) -> Particle"""
1032 return _IMP_rmf.SaveOptimizerState_get_particle(self, i)
1036 """get_particles(SaveOptimizerState self) -> IMP::Particles"""
1037 return _IMP_rmf.SaveOptimizerState_get_particles(self)
1040 def reserve_particles(self, sz):
1041 """reserve_particles(SaveOptimizerState self, unsigned int sz)"""
1042 return _IMP_rmf.SaveOptimizerState_reserve_particles(self, sz)
1045 def remove_geometry(self, d):
1046 """remove_geometry(SaveOptimizerState self, Geometry d)"""
1047 return _IMP_rmf.SaveOptimizerState_remove_geometry(self, d)
1050 def remove_geometries(self, d):
1051 """remove_geometries(SaveOptimizerState self, IMP::display::Geometries const & d)"""
1052 return _IMP_rmf.SaveOptimizerState_remove_geometries(self, d)
1055 def set_geometries(self, ps):
1056 """set_geometries(SaveOptimizerState self, IMP::display::Geometries const & ps)"""
1057 return _IMP_rmf.SaveOptimizerState_set_geometries(self, ps)
1060 def set_geometries_order(self, objs):
1061 """set_geometries_order(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
1062 return _IMP_rmf.SaveOptimizerState_set_geometries_order(self, objs)
1066 """add_geometry(SaveOptimizerState self, Geometry obj) -> unsigned int"""
1067 return _IMP_rmf.SaveOptimizerState_add_geometry(self, obj)
1071 """add_geometries(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
1072 return _IMP_rmf.SaveOptimizerState_add_geometries(self, objs)
1075 def clear_geometries(self):
1076 """clear_geometries(SaveOptimizerState self)"""
1077 return _IMP_rmf.SaveOptimizerState_clear_geometries(self)
1080 def get_number_of_geometries(self):
1081 """get_number_of_geometries(SaveOptimizerState self) -> unsigned int"""
1082 return _IMP_rmf.SaveOptimizerState_get_number_of_geometries(self)
1085 def get_has_geometries(self):
1086 """get_has_geometries(SaveOptimizerState self) -> bool"""
1087 return _IMP_rmf.SaveOptimizerState_get_has_geometries(self)
1090 def get_geometry(self, i):
1091 """get_geometry(SaveOptimizerState self, unsigned int i) -> Geometry"""
1092 return _IMP_rmf.SaveOptimizerState_get_geometry(self, i)
1095 def get_geometries(self):
1096 """get_geometries(SaveOptimizerState self) -> IMP::display::Geometries"""
1097 return _IMP_rmf.SaveOptimizerState_get_geometries(self)
1100 def reserve_geometries(self, sz):
1101 """reserve_geometries(SaveOptimizerState self, unsigned int sz)"""
1102 return _IMP_rmf.SaveOptimizerState_reserve_geometries(self, sz)
1105 def set_simulator(self, sim):
1106 """set_simulator(SaveOptimizerState self, Simulator sim)"""
1107 return _IMP_rmf.SaveOptimizerState_set_simulator(self, sim)
1110 def update_always(self, *args):
1112 update_always(SaveOptimizerState self, std::string name)
1113 update_always(SaveOptimizerState self)
1115 return _IMP_rmf.SaveOptimizerState_update_always(self, *args)
1118 def do_update(self, call_num):
1119 """do_update(SaveOptimizerState self, unsigned int call_num)"""
1120 return _IMP_rmf.SaveOptimizerState_do_update(self, call_num)
1123 def get_version_info(self):
1124 """get_version_info(SaveOptimizerState self) -> VersionInfo"""
1125 return _IMP_rmf.SaveOptimizerState_get_version_info(self)
1129 """__str__(SaveOptimizerState self) -> std::string"""
1130 return _IMP_rmf.SaveOptimizerState___str__(self)
1134 """__repr__(SaveOptimizerState self) -> std::string"""
1135 return _IMP_rmf.SaveOptimizerState___repr__(self)
1140 return _object_cast_to_SaveOptimizerState(o)
1142 SaveOptimizerState_swigregister = _IMP_rmf.SaveOptimizerState_swigregister
1143 SaveOptimizerState_swigregister(SaveOptimizerState)
1147 """load_frame(FileConstHandle file, FrameID frame)"""
1148 return _IMP_rmf.load_frame(file, frame)
1152 save_frame(FileHandle file, std::string name) -> FrameID
1153 save_frame(FileHandle file) -> FrameID
1155 return _IMP_rmf.save_frame(*args)
1156 class _ParticleSaveLink(SaveLink):
1157 """Proxy of C++ IMP::rmf::SimpleSaveLink<(IMP::Particle)> class."""
1159 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1161 def __init__(self, *args, **kwargs):
1162 raise AttributeError(
"No constructor defined - class is abstract")
1163 __repr__ = _swig_repr
1165 def add(self, parent, os):
1166 """add(_ParticleSaveLink self, NodeHandle parent, IMP::Vector< Pointer< IMP::Particle > > const & os)"""
1167 return _IMP_rmf._ParticleSaveLink_add(self, parent, os)
1169 __swig_destroy__ = _IMP_rmf.delete__ParticleSaveLink
1170 __del__ =
lambda self:
None
1171 _ParticleSaveLink_swigregister = _IMP_rmf._ParticleSaveLink_swigregister
1172 _ParticleSaveLink_swigregister(_ParticleSaveLink)
1174 class _ParticleLoadLink(LoadLink):
1175 """Proxy of C++ IMP::rmf::SimpleLoadLink<(IMP::Particle)> class."""
1177 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1179 def __init__(self, *args, **kwargs):
1180 raise AttributeError(
"No constructor defined - class is abstract")
1181 __repr__ = _swig_repr
1183 def create(self, *args):
1185 create(_ParticleLoadLink self, NodeConstHandle rt) -> IMP::Vector< Pointer< IMP::Particle > >
1186 create(_ParticleLoadLink self, NodeConstHandle rt, Model m) -> IMP::Vector< Pointer< IMP::Particle > >
1188 return _IMP_rmf._ParticleLoadLink_create(self, *args)
1191 def link(self, rt, ps):
1192 """link(_ParticleLoadLink self, NodeConstHandle rt, IMP::Vector< Pointer< IMP::Particle > > const & ps)"""
1193 return _IMP_rmf._ParticleLoadLink_link(self, rt, ps)
1195 __swig_destroy__ = _IMP_rmf.delete__ParticleLoadLink
1196 __del__ =
lambda self:
None
1197 _ParticleLoadLink_swigregister = _IMP_rmf._ParticleLoadLink_swigregister
1198 _ParticleLoadLink_swigregister(_ParticleLoadLink)
1200 class HierarchyLoadLink(_ParticleLoadLink):
1201 """Proxy of C++ IMP::rmf::HierarchyLoadLink class."""
1203 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1205 def __init__(self, fh):
1206 """__init__(IMP::rmf::HierarchyLoadLink self, FileConstHandle fh) -> HierarchyLoadLink"""
1207 this = _IMP_rmf.new_HierarchyLoadLink(fh)
1209 self.this.append(this)
1214 """get_name() -> char const *"""
1215 return _IMP_rmf.HierarchyLoadLink_get_name()
1217 get_name = staticmethod(get_name)
1219 def get_version_info(self):
1220 """get_version_info(HierarchyLoadLink self) -> VersionInfo"""
1221 return _IMP_rmf.HierarchyLoadLink_get_version_info(self)
1225 """__str__(HierarchyLoadLink self) -> std::string"""
1226 return _IMP_rmf.HierarchyLoadLink___str__(self)
1230 """__repr__(HierarchyLoadLink self) -> std::string"""
1231 return _IMP_rmf.HierarchyLoadLink___repr__(self)
1236 return _object_cast_to_HierarchyLoadLink(o)
1238 HierarchyLoadLink_swigregister = _IMP_rmf.HierarchyLoadLink_swigregister
1239 HierarchyLoadLink_swigregister(HierarchyLoadLink)
1241 def HierarchyLoadLink_get_name():
1242 """HierarchyLoadLink_get_name() -> char const *"""
1243 return _IMP_rmf.HierarchyLoadLink_get_name()
1245 class HierarchySaveLink(_ParticleSaveLink):
1246 """Proxy of C++ IMP::rmf::HierarchySaveLink class."""
1248 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1250 def __init__(self, fh):
1251 """__init__(IMP::rmf::HierarchySaveLink self, FileHandle fh) -> HierarchySaveLink"""
1252 this = _IMP_rmf.new_HierarchySaveLink(fh)
1254 self.this.append(this)
1259 """get_name() -> char const *"""
1260 return _IMP_rmf.HierarchySaveLink_get_name()
1262 get_name = staticmethod(get_name)
1264 def get_version_info(self):
1265 """get_version_info(HierarchySaveLink self) -> VersionInfo"""
1266 return _IMP_rmf.HierarchySaveLink_get_version_info(self)
1270 """__str__(HierarchySaveLink self) -> std::string"""
1271 return _IMP_rmf.HierarchySaveLink___str__(self)
1275 """__repr__(HierarchySaveLink self) -> std::string"""
1276 return _IMP_rmf.HierarchySaveLink___repr__(self)
1281 return _object_cast_to_HierarchySaveLink(o)
1283 HierarchySaveLink_swigregister = _IMP_rmf.HierarchySaveLink_swigregister
1284 HierarchySaveLink_swigregister(HierarchySaveLink)
1286 def HierarchySaveLink_get_name():
1287 """HierarchySaveLink_get_name() -> char const *"""
1288 return _IMP_rmf.HierarchySaveLink_get_name()
1291 suffixes = [
".rmf",
".rmfz"]
1294 def get_module_version():
1295 """get_module_version() -> std::string const"""
1296 return _IMP_rmf.get_module_version()
1299 """get_example_path(std::string fname) -> std::string"""
1300 return _IMP_rmf.get_example_path(fname)
1303 """get_data_path(std::string fname) -> std::string"""
1304 return _IMP_rmf.get_data_path(fname)
1306 from .
import _version_check
1307 _version_check.check_version(get_module_version())
1308 __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)
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.