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"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_rmf.delete_IMP_RMF_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_RMF_SwigPyIterator self) -> PyObject *"""
125 return _IMP_rmf.IMP_RMF_SwigPyIterator_value(self)
130 incr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
131 incr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
133 return _IMP_rmf.IMP_RMF_SwigPyIterator_incr(self, n)
138 decr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
139 decr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
141 return _IMP_rmf.IMP_RMF_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_rmf.IMP_RMF_SwigPyIterator_distance(self, x)
150 """equal(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
151 return _IMP_rmf.IMP_RMF_SwigPyIterator_equal(self, x)
155 """copy(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator"""
156 return _IMP_rmf.IMP_RMF_SwigPyIterator_copy(self)
160 """next(IMP_RMF_SwigPyIterator self) -> PyObject *"""
161 return _IMP_rmf.IMP_RMF_SwigPyIterator_next(self)
165 """__next__(IMP_RMF_SwigPyIterator self) -> PyObject *"""
166 return _IMP_rmf.IMP_RMF_SwigPyIterator___next__(self)
170 """previous(IMP_RMF_SwigPyIterator self) -> PyObject *"""
171 return _IMP_rmf.IMP_RMF_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
176 return _IMP_rmf.IMP_RMF_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
181 return _IMP_rmf.IMP_RMF_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
186 return _IMP_rmf.IMP_RMF_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
191 return _IMP_rmf.IMP_RMF_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
196 return _IMP_rmf.IMP_RMF_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
201 return _IMP_rmf.IMP_RMF_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator
207 __sub__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_rmf.IMP_RMF_SwigPyIterator___sub__(self, *args)
213 IMP_RMF_SwigPyIterator_swigregister = _IMP_rmf.IMP_RMF_SwigPyIterator_swigregister
214 IMP_RMF_SwigPyIterator_swigregister(IMP_RMF_SwigPyIterator)
222 _IMP_rmf.IMP_DEBUG_swigconstant(_IMP_rmf)
223 IMP_DEBUG = _IMP_rmf.IMP_DEBUG
225 _IMP_rmf.IMP_RELEASE_swigconstant(_IMP_rmf)
226 IMP_RELEASE = _IMP_rmf.IMP_RELEASE
228 _IMP_rmf.IMP_SILENT_swigconstant(_IMP_rmf)
229 IMP_SILENT = _IMP_rmf.IMP_SILENT
231 _IMP_rmf.IMP_PROGRESS_swigconstant(_IMP_rmf)
232 IMP_PROGRESS = _IMP_rmf.IMP_PROGRESS
234 _IMP_rmf.IMP_TERSE_swigconstant(_IMP_rmf)
235 IMP_TERSE = _IMP_rmf.IMP_TERSE
237 _IMP_rmf.IMP_VERBOSE_swigconstant(_IMP_rmf)
238 IMP_VERBOSE = _IMP_rmf.IMP_VERBOSE
240 _IMP_rmf.IMP_MEMORY_swigconstant(_IMP_rmf)
241 IMP_MEMORY = _IMP_rmf.IMP_MEMORY
243 _IMP_rmf.IMP_NONE_swigconstant(_IMP_rmf)
244 IMP_NONE = _IMP_rmf.IMP_NONE
246 _IMP_rmf.IMP_USAGE_swigconstant(_IMP_rmf)
247 IMP_USAGE = _IMP_rmf.IMP_USAGE
249 _IMP_rmf.IMP_INTERNAL_swigconstant(_IMP_rmf)
250 IMP_INTERNAL = _IMP_rmf.IMP_INTERNAL
252 _IMP_rmf.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_rmf)
253 IMP_KERNEL_HAS_LOG4CXX = _IMP_rmf.IMP_KERNEL_HAS_LOG4CXX
255 _IMP_rmf.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_rmf)
256 IMP_COMPILER_HAS_AUTO = _IMP_rmf.IMP_COMPILER_HAS_AUTO
258 _IMP_rmf.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_rmf)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_rmf.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_rmf.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
262 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_KERNEL_HAS_BOOST_RANDOM
264 _IMP_rmf.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_rmf)
265 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_rmf.IMP_KERNEL_HAS_GPERFTOOLS
267 _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_rmf)
268 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
270 _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_rmf)
271 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
273 _IMP_rmf.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_rmf)
274 IMPKERNEL_SHOW_WARNINGS = _IMP_rmf.IMPKERNEL_SHOW_WARNINGS
276 class _DirectorObjects(object):
277 """@internal Simple class to keep references to director objects
278 to prevent premature deletion."""
281 def register(self, obj):
282 """Take a reference to a director object; will only work for
283 refcounted C++ classes"""
284 if hasattr(obj,
'get_ref_count'):
285 self._objects.append(obj)
287 """Only drop our reference and allow cleanup by Python if no other
288 Python references exist (we hold 3 references: one in self._objects,
289 one in x, and one in the argument list for getrefcount) *and* no
290 other C++ references exist (the Python object always holds one)"""
291 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
292 or x.get_ref_count() > 1]
296 def get_object_count(self):
297 """Get number of director objects (useful for testing only)"""
298 return len(self._objects)
299 _director_objects = _DirectorObjects()
301 class _ostream(object):
302 """Proxy of C++ std::ostream class"""
303 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
305 def __init__(self, *args, **kwargs):
306 raise AttributeError(
"No constructor defined")
307 __repr__ = _swig_repr
309 def write(self, osa_buf):
310 """write(_ostream self, char const * osa_buf)"""
311 return _IMP_rmf._ostream_write(self, osa_buf)
313 _ostream_swigregister = _IMP_rmf._ostream_swigregister
314 _ostream_swigregister(_ostream)
317 _IMP_rmf.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_rmf)
318 IMP_COMPILER_HAS_OVERRIDE = _IMP_rmf.IMP_COMPILER_HAS_OVERRIDE
320 _IMP_rmf.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_rmf)
321 IMP_COMPILER_HAS_FINAL = _IMP_rmf.IMP_COMPILER_HAS_FINAL
323 _IMP_rmf.IMP_HAS_NOEXCEPT_swigconstant(_IMP_rmf)
324 IMP_HAS_NOEXCEPT = _IMP_rmf.IMP_HAS_NOEXCEPT
327 _IMP_rmf.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
328 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_FILESYSTEM
330 _IMP_rmf.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
331 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
333 _IMP_rmf.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
334 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CGAL_HAS_BOOST_RANDOM
336 _IMP_rmf.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
337 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_SYSTEM
339 _IMP_rmf.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_rmf)
340 IMPCGAL_SHOW_WARNINGS = _IMP_rmf.IMPCGAL_SHOW_WARNINGS
343 _IMP_rmf.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
344 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_IMP_CGAL
346 _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
347 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
349 _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
350 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
352 _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
353 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_RANDOM
355 _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
356 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_SYSTEM
358 _IMP_rmf.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_rmf)
359 IMP_ALGEBRA_HAS_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_CGAL
361 _IMP_rmf.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_rmf)
362 IMP_ALGEBRA_HAS_ANN = _IMP_rmf.IMP_ALGEBRA_HAS_ANN
364 _IMP_rmf.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_rmf)
365 IMPALGEBRA_SHOW_WARNINGS = _IMP_rmf.IMPALGEBRA_SHOW_WARNINGS
368 _IMP_rmf.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
369 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_IMP_CGAL
371 _IMP_rmf.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
372 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
374 _IMP_rmf.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
375 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
377 _IMP_rmf.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
378 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_RANDOM
380 _IMP_rmf.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
381 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_SYSTEM
383 _IMP_rmf.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_rmf)
384 IMP_DISPLAY_HAS_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_CGAL
386 _IMP_rmf.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_rmf)
387 IMPDISPLAY_SHOW_WARNINGS = _IMP_rmf.IMPDISPLAY_SHOW_WARNINGS
390 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
391 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
393 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
394 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
396 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
397 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
399 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
400 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
402 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
403 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
405 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_rmf)
406 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_CGAL
408 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_rmf)
409 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_HDF5
411 _IMP_rmf.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_rmf)
412 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_rmf.IMPSCOREFUNCTOR_SHOW_WARNINGS
415 _IMP_rmf.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
416 IMP_CORE_HAS_IMP_CGAL = _IMP_rmf.IMP_CORE_HAS_IMP_CGAL
418 _IMP_rmf.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_rmf)
419 IMP_CORE_HAS_IMP_KERNEL = _IMP_rmf.IMP_CORE_HAS_IMP_KERNEL
421 _IMP_rmf.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
422 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_FILESYSTEM
424 _IMP_rmf.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
425 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
427 _IMP_rmf.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
428 IMP_CORE_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CORE_HAS_BOOST_RANDOM
430 _IMP_rmf.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
431 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_SYSTEM
433 _IMP_rmf.IMP_CORE_HAS_CGAL_swigconstant(_IMP_rmf)
434 IMP_CORE_HAS_CGAL = _IMP_rmf.IMP_CORE_HAS_CGAL
436 _IMP_rmf.IMP_CORE_HAS_HDF5_swigconstant(_IMP_rmf)
437 IMP_CORE_HAS_HDF5 = _IMP_rmf.IMP_CORE_HAS_HDF5
439 _IMP_rmf.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_rmf)
440 IMPCORE_SHOW_WARNINGS = _IMP_rmf.IMPCORE_SHOW_WARNINGS
443 _IMP_rmf.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_rmf)
444 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_rmf.IMP_CONTAINER_HAS_IMP_ALGEBRA
446 _IMP_rmf.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
447 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_CGAL
449 _IMP_rmf.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_rmf)
450 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_rmf.IMP_CONTAINER_HAS_IMP_DISPLAY
452 _IMP_rmf.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_rmf)
453 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_KERNEL
455 _IMP_rmf.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_rmf)
456 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
458 _IMP_rmf.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
459 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
461 _IMP_rmf.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
462 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
464 _IMP_rmf.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
465 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_RANDOM
467 _IMP_rmf.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
468 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_SYSTEM
470 _IMP_rmf.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_rmf)
471 IMP_CONTAINER_HAS_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_CGAL
473 _IMP_rmf.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_rmf)
474 IMP_CONTAINER_HAS_HDF5 = _IMP_rmf.IMP_CONTAINER_HAS_HDF5
476 _IMP_rmf.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_rmf)
477 IMPCONTAINER_SHOW_WARNINGS = _IMP_rmf.IMPCONTAINER_SHOW_WARNINGS
480 _IMP_rmf.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
481 IMP_ATOM_HAS_IMP_CGAL = _IMP_rmf.IMP_ATOM_HAS_IMP_CGAL
483 _IMP_rmf.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_rmf)
484 IMP_ATOM_HAS_IMP_KERNEL = _IMP_rmf.IMP_ATOM_HAS_IMP_KERNEL
486 _IMP_rmf.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_rmf)
487 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
489 _IMP_rmf.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
490 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
492 _IMP_rmf.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
493 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ATOM_HAS_BOOST_RANDOM
495 _IMP_rmf.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_rmf)
496 IMP_ATOM_HAS_BOOST_REGEX = _IMP_rmf.IMP_ATOM_HAS_BOOST_REGEX
498 _IMP_rmf.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
499 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ATOM_HAS_BOOST_SYSTEM
501 _IMP_rmf.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_rmf)
502 IMP_ATOM_HAS_CGAL = _IMP_rmf.IMP_ATOM_HAS_CGAL
504 _IMP_rmf.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_rmf)
505 IMP_ATOM_HAS_HDF5 = _IMP_rmf.IMP_ATOM_HAS_HDF5
507 _IMP_rmf.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_rmf)
508 IMPATOM_SHOW_WARNINGS = _IMP_rmf.IMPATOM_SHOW_WARNINGS
510 _IMP_rmf.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_rmf)
511 IMP_ATOM_TYPE_INDEX = _IMP_rmf.IMP_ATOM_TYPE_INDEX
513 _IMP_rmf.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_rmf)
514 IMP_RESIDUE_TYPE_INDEX = _IMP_rmf.IMP_RESIDUE_TYPE_INDEX
516 _IMP_rmf.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_rmf)
517 IMP_HIERARCHY_TYPE_INDEX = _IMP_rmf.IMP_HIERARCHY_TYPE_INDEX
520 _IMP_rmf.IMP_RMF_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
521 IMP_RMF_HAS_IMP_CGAL = _IMP_rmf.IMP_RMF_HAS_IMP_CGAL
523 _IMP_rmf.IMP_RMF_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_rmf)
524 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
526 _IMP_rmf.IMP_RMF_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
527 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_FILESYSTEM
529 _IMP_rmf.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
530 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
532 _IMP_rmf.IMP_RMF_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
533 IMP_RMF_HAS_BOOST_RANDOM = _IMP_rmf.IMP_RMF_HAS_BOOST_RANDOM
535 _IMP_rmf.IMP_RMF_HAS_BOOST_REGEX_swigconstant(_IMP_rmf)
536 IMP_RMF_HAS_BOOST_REGEX = _IMP_rmf.IMP_RMF_HAS_BOOST_REGEX
538 _IMP_rmf.IMP_RMF_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
539 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_SYSTEM
541 _IMP_rmf.IMP_RMF_HAS_CGAL_swigconstant(_IMP_rmf)
542 IMP_RMF_HAS_CGAL = _IMP_rmf.IMP_RMF_HAS_CGAL
544 _IMP_rmf.IMP_RMF_HAS_HDF5_swigconstant(_IMP_rmf)
545 IMP_RMF_HAS_HDF5 = _IMP_rmf.IMP_RMF_HAS_HDF5
547 _IMP_rmf.IMPRMF_SHOW_WARNINGS_swigconstant(_IMP_rmf)
548 IMPRMF_SHOW_WARNINGS = _IMP_rmf.IMPRMF_SHOW_WARNINGS
550 _object_types.append(
"SaveOptimizerState")
553 def _object_cast_to_SaveOptimizerState(o):
554 """_object_cast_to_SaveOptimizerState(Object o) -> SaveOptimizerState"""
555 return _IMP_rmf._object_cast_to_SaveOptimizerState(o)
556 _object_types.append(
"LoadLink")
559 def _object_cast_to_LoadLink(o):
560 """_object_cast_to_LoadLink(Object o) -> LoadLink"""
561 return _IMP_rmf._object_cast_to_LoadLink(o)
562 _object_types.append(
"SaveLink")
565 def _object_cast_to_SaveLink(o):
566 """_object_cast_to_SaveLink(Object o) -> SaveLink"""
567 return _IMP_rmf._object_cast_to_SaveLink(o)
568 _object_types.append(
"HierarchySaveLink")
571 def _object_cast_to_HierarchySaveLink(o):
572 """_object_cast_to_HierarchySaveLink(Object o) -> HierarchySaveLink"""
573 return _IMP_rmf._object_cast_to_HierarchySaveLink(o)
574 _object_types.append(
"HierarchyLoadLink")
577 def _object_cast_to_HierarchyLoadLink(o):
578 """_object_cast_to_HierarchyLoadLink(Object o) -> HierarchyLoadLink"""
579 return _IMP_rmf._object_cast_to_HierarchyLoadLink(o)
581 """Proxy of C++ IMP::rmf::LoadLink class"""
582 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
584 def do_load(self, fh):
585 """do_load(LoadLink self, FileConstHandle fh)"""
586 return _IMP_rmf.LoadLink_do_load(self, fh)
589 def __init__(self, name):
590 """__init__(IMP::rmf::LoadLink self, std::string name) -> LoadLink"""
591 if self.__class__ == LoadLink:
595 this = _IMP_rmf.new_LoadLink(_self, name)
597 self.this.append(this)
600 if self.__class__ != LoadLink:
601 _director_objects.register(self)
607 """load(LoadLink self, FileConstHandle fh)"""
608 return _IMP_rmf.LoadLink_load(self, fh)
610 __swig_destroy__ = _IMP_rmf.delete_LoadLink
611 __del__ =
lambda self:
None
614 """__str__(LoadLink self) -> std::string"""
615 return _IMP_rmf.LoadLink___str__(self)
619 """__repr__(LoadLink self) -> std::string"""
620 return _IMP_rmf.LoadLink___repr__(self)
623 return _object_cast_to_LoadLink(o)
624 get_from = staticmethod(get_from)
626 def get_type_name(self):
627 return self.__class__.__name__
628 def do_show(self, out):
630 def get_version_info(self):
631 if"IMP::rmf" ==
"IMP":
632 return VersionInfo(self.__module__,
633 __import__(self.__module__).get_module_version())
636 __import__(self.__module__).get_module_version())
638 return _object_cast_to_LoadLink(o)
639 get_from = staticmethod(get_from)
641 def __disown__(self):
643 _IMP_rmf.disown_LoadLink(self)
644 return weakref_proxy(self)
646 def do_destroy(self):
647 """do_destroy(LoadLink self)"""
648 return _IMP_rmf.LoadLink_do_destroy(self)
650 LoadLink_swigregister = _IMP_rmf.LoadLink_swigregister
651 LoadLink_swigregister(LoadLink)
654 """Proxy of C++ IMP::rmf::SaveLink class"""
655 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
657 def do_save(self, hf):
658 """do_save(SaveLink self, FileHandle hf)"""
659 return _IMP_rmf.SaveLink_do_save(self, hf)
662 def __init__(self, name):
663 """__init__(IMP::rmf::SaveLink self, std::string name) -> SaveLink"""
664 if self.__class__ == SaveLink:
668 this = _IMP_rmf.new_SaveLink(_self, name)
670 self.this.append(this)
673 if self.__class__ != SaveLink:
674 _director_objects.register(self)
680 """save(SaveLink self, FileHandle fh)"""
681 return _IMP_rmf.SaveLink_save(self, fh)
683 __swig_destroy__ = _IMP_rmf.delete_SaveLink
684 __del__ =
lambda self:
None
687 """__str__(SaveLink self) -> std::string"""
688 return _IMP_rmf.SaveLink___str__(self)
692 """__repr__(SaveLink self) -> std::string"""
693 return _IMP_rmf.SaveLink___repr__(self)
696 return _object_cast_to_SaveLink(o)
697 get_from = staticmethod(get_from)
699 def get_type_name(self):
700 return self.__class__.__name__
701 def do_show(self, out):
703 def get_version_info(self):
704 if"IMP::rmf" ==
"IMP":
705 return VersionInfo(self.__module__,
706 __import__(self.__module__).get_module_version())
709 __import__(self.__module__).get_module_version())
711 return _object_cast_to_SaveLink(o)
712 get_from = staticmethod(get_from)
714 def __disown__(self):
716 _IMP_rmf.disown_SaveLink(self)
717 return weakref_proxy(self)
719 def do_destroy(self):
720 """do_destroy(SaveLink self)"""
721 return _IMP_rmf.SaveLink_do_destroy(self)
723 SaveLink_swigregister = _IMP_rmf.SaveLink_swigregister
724 SaveLink_swigregister(SaveLink)
729 add_hierarchies(FileHandle fh, IMP::atom::Hierarchies const & hs)
730 add_hierarchies(NodeHandle fh, IMP::atom::Hierarchies const & hs)
732 return _IMP_rmf.add_hierarchies(*args)
735 """add_hierarchy(FileHandle fh, Hierarchy hs)"""
736 return _IMP_rmf.add_hierarchy(fh, hs)
739 """create_hierarchies(FileConstHandle fh, Model m) -> IMP::atom::Hierarchies"""
740 return _IMP_rmf.create_hierarchies(fh, m)
743 """link_hierarchies(FileConstHandle fh, IMP::atom::Hierarchies const & hs)"""
744 return _IMP_rmf.link_hierarchies(fh, hs)
748 add_restraints(FileHandle fh, IMP::Restraints const & hs)
749 add_restraints(NodeHandle fh, IMP::Restraints const & hs)
751 return _IMP_rmf.add_restraints(*args)
754 """add_restraint(FileHandle fh, Restraint hs)"""
755 return _IMP_rmf.add_restraint(fh, hs)
758 """create_restraints(FileConstHandle fh, Model m) -> IMP::Restraints"""
759 return _IMP_rmf.create_restraints(fh, m)
762 """link_restraints(FileConstHandle fh, IMP::Restraints const & hs)"""
763 return _IMP_rmf.link_restraints(fh, hs)
766 """add_restraints_as_bonds(FileHandle fh, IMP::Restraints const & rs)"""
767 return _IMP_rmf.add_restraints_as_bonds(fh, rs)
770 """set_maximum_number_of_terms(FileHandle fh, unsigned int num)"""
771 return _IMP_rmf.set_maximum_number_of_terms(fh, num)
775 add_particles(FileHandle fh, IMP::ParticlesTemp const & hs)
776 add_particles(NodeHandle fh, IMP::ParticlesTemp const & hs)
778 return _IMP_rmf.add_particles(*args)
781 """add_particle(FileHandle fh, Particle hs)"""
782 return _IMP_rmf.add_particle(fh, hs)
785 """create_particles(FileConstHandle fh, Model m) -> IMP::ParticlesTemp"""
786 return _IMP_rmf.create_particles(fh, m)
789 """link_particles(FileConstHandle fh, IMP::ParticlesTemp const & hs)"""
790 return _IMP_rmf.link_particles(fh, hs)
794 add_geometries(FileHandle file, IMP::display::GeometriesTemp const & r)
795 add_geometries(NodeHandle parent, IMP::display::GeometriesTemp const & r)
797 return _IMP_rmf.add_geometries(*args)
800 """add_static_geometries(FileHandle parent, IMP::display::GeometriesTemp const & r)"""
801 return _IMP_rmf.add_static_geometries(parent, r)
803 def add_geometry(parent, r):
804 """add_geometry(FileHandle parent, Geometry r)"""
805 return _IMP_rmf.add_geometry(parent, r)
808 """create_geometries(FileConstHandle parent) -> IMP::display::Geometries"""
809 return _IMP_rmf.create_geometries(parent)
812 """link_geometries(FileConstHandle parent, IMP::display::GeometriesTemp const & r)"""
813 return _IMP_rmf.link_geometries(parent, r)
815 def set_association(nh, o, overwrite=False):
817 set_association(NodeConstHandle nh, Object o, bool overwrite=False)
818 set_association(NodeConstHandle nh, Object o)
820 return _IMP_rmf.set_association(nh, o, overwrite)
822 def get_node_from_association(*args):
824 get_node_from_association(FileConstHandle nh, Object oi) -> NodeConstHandle
825 get_node_from_association(FileHandle nh, Object oi) -> NodeHandle
827 return _IMP_rmf.get_node_from_association(*args)
829 def get_has_associated_node(nh, oi):
830 """get_has_associated_node(FileConstHandle nh, Object oi) -> bool"""
831 return _IMP_rmf.get_has_associated_node(nh, oi)
833 """Proxy of C++ IMP::rmf::SaveOptimizerState class"""
834 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
836 def __init__(self, m, fh):
837 """__init__(IMP::rmf::SaveOptimizerState self, Model m, FileHandle fh) -> SaveOptimizerState"""
838 this = _IMP_rmf.new_SaveOptimizerState(m, fh)
840 self.this.append(this)
844 def remove_hierarchy(self, d):
845 """remove_hierarchy(SaveOptimizerState self, Particle d)"""
846 return _IMP_rmf.SaveOptimizerState_remove_hierarchy(self, d)
849 def remove_hierarchies(self, d):
850 """remove_hierarchies(SaveOptimizerState self, IMP::Particles const & d)"""
851 return _IMP_rmf.SaveOptimizerState_remove_hierarchies(self, d)
854 def set_hierarchies(self, ps):
855 """set_hierarchies(SaveOptimizerState self, IMP::Particles const & ps)"""
856 return _IMP_rmf.SaveOptimizerState_set_hierarchies(self, ps)
859 def set_hierarchies_order(self, objs):
860 """set_hierarchies_order(SaveOptimizerState self, IMP::Particles const & objs)"""
861 return _IMP_rmf.SaveOptimizerState_set_hierarchies_order(self, objs)
865 """add_hierarchy(SaveOptimizerState self, Particle obj) -> unsigned int"""
866 return _IMP_rmf.SaveOptimizerState_add_hierarchy(self, obj)
870 """add_hierarchies(SaveOptimizerState self, IMP::Particles const & objs)"""
871 return _IMP_rmf.SaveOptimizerState_add_hierarchies(self, objs)
874 def clear_hierarchies(self):
875 """clear_hierarchies(SaveOptimizerState self)"""
876 return _IMP_rmf.SaveOptimizerState_clear_hierarchies(self)
879 def get_number_of_hierarchies(self):
880 """get_number_of_hierarchies(SaveOptimizerState self) -> unsigned int"""
881 return _IMP_rmf.SaveOptimizerState_get_number_of_hierarchies(self)
884 def get_has_hierarchies(self):
885 """get_has_hierarchies(SaveOptimizerState self) -> bool"""
886 return _IMP_rmf.SaveOptimizerState_get_has_hierarchies(self)
889 def get_hierarchy(self, i):
890 """get_hierarchy(SaveOptimizerState self, unsigned int i) -> Particle"""
891 return _IMP_rmf.SaveOptimizerState_get_hierarchy(self, i)
894 def get_hierarchies(self):
895 """get_hierarchies(SaveOptimizerState self) -> IMP::Particles"""
896 return _IMP_rmf.SaveOptimizerState_get_hierarchies(self)
899 def reserve_hierarchies(self, sz):
900 """reserve_hierarchies(SaveOptimizerState self, unsigned int sz)"""
901 return _IMP_rmf.SaveOptimizerState_reserve_hierarchies(self, sz)
904 def remove_restraint(self, d):
905 """remove_restraint(SaveOptimizerState self, Restraint d)"""
906 return _IMP_rmf.SaveOptimizerState_remove_restraint(self, d)
909 def remove_restraints(self, d):
910 """remove_restraints(SaveOptimizerState self, IMP::Restraints const & d)"""
911 return _IMP_rmf.SaveOptimizerState_remove_restraints(self, d)
914 def set_restraints(self, ps):
915 """set_restraints(SaveOptimizerState self, IMP::Restraints const & ps)"""
916 return _IMP_rmf.SaveOptimizerState_set_restraints(self, ps)
919 def set_restraints_order(self, objs):
920 """set_restraints_order(SaveOptimizerState self, IMP::Restraints const & objs)"""
921 return _IMP_rmf.SaveOptimizerState_set_restraints_order(self, objs)
925 """add_restraint(SaveOptimizerState self, Restraint obj) -> unsigned int"""
926 return _IMP_rmf.SaveOptimizerState_add_restraint(self, obj)
930 """add_restraints(SaveOptimizerState self, IMP::Restraints const & objs)"""
931 return _IMP_rmf.SaveOptimizerState_add_restraints(self, objs)
934 def clear_restraints(self):
935 """clear_restraints(SaveOptimizerState self)"""
936 return _IMP_rmf.SaveOptimizerState_clear_restraints(self)
939 def get_number_of_restraints(self):
940 """get_number_of_restraints(SaveOptimizerState self) -> unsigned int"""
941 return _IMP_rmf.SaveOptimizerState_get_number_of_restraints(self)
944 def get_has_restraints(self):
945 """get_has_restraints(SaveOptimizerState self) -> bool"""
946 return _IMP_rmf.SaveOptimizerState_get_has_restraints(self)
949 def get_restraint(self, i):
950 """get_restraint(SaveOptimizerState self, unsigned int i) -> Restraint"""
951 return _IMP_rmf.SaveOptimizerState_get_restraint(self, i)
954 def get_restraints(self):
955 """get_restraints(SaveOptimizerState self) -> IMP::Restraints"""
956 return _IMP_rmf.SaveOptimizerState_get_restraints(self)
959 def reserve_restraints(self, sz):
960 """reserve_restraints(SaveOptimizerState self, unsigned int sz)"""
961 return _IMP_rmf.SaveOptimizerState_reserve_restraints(self, sz)
964 def remove_particle(self, d):
965 """remove_particle(SaveOptimizerState self, Particle d)"""
966 return _IMP_rmf.SaveOptimizerState_remove_particle(self, d)
969 def remove_particles(self, d):
970 """remove_particles(SaveOptimizerState self, IMP::Particles const & d)"""
971 return _IMP_rmf.SaveOptimizerState_remove_particles(self, d)
974 def set_particles(self, ps):
975 """set_particles(SaveOptimizerState self, IMP::Particles const & ps)"""
976 return _IMP_rmf.SaveOptimizerState_set_particles(self, ps)
979 def set_particles_order(self, objs):
980 """set_particles_order(SaveOptimizerState self, IMP::Particles const & objs)"""
981 return _IMP_rmf.SaveOptimizerState_set_particles_order(self, objs)
985 """add_particle(SaveOptimizerState self, Particle obj) -> unsigned int"""
986 return _IMP_rmf.SaveOptimizerState_add_particle(self, obj)
990 """add_particles(SaveOptimizerState self, IMP::Particles const & objs)"""
991 return _IMP_rmf.SaveOptimizerState_add_particles(self, objs)
994 def clear_particles(self):
995 """clear_particles(SaveOptimizerState self)"""
996 return _IMP_rmf.SaveOptimizerState_clear_particles(self)
999 def get_number_of_particles(self):
1000 """get_number_of_particles(SaveOptimizerState self) -> unsigned int"""
1001 return _IMP_rmf.SaveOptimizerState_get_number_of_particles(self)
1004 def get_has_particles(self):
1005 """get_has_particles(SaveOptimizerState self) -> bool"""
1006 return _IMP_rmf.SaveOptimizerState_get_has_particles(self)
1009 def get_particle(self, i):
1010 """get_particle(SaveOptimizerState self, unsigned int i) -> Particle"""
1011 return _IMP_rmf.SaveOptimizerState_get_particle(self, i)
1015 """get_particles(SaveOptimizerState self) -> IMP::Particles"""
1016 return _IMP_rmf.SaveOptimizerState_get_particles(self)
1019 def reserve_particles(self, sz):
1020 """reserve_particles(SaveOptimizerState self, unsigned int sz)"""
1021 return _IMP_rmf.SaveOptimizerState_reserve_particles(self, sz)
1024 def remove_geometry(self, d):
1025 """remove_geometry(SaveOptimizerState self, Geometry d)"""
1026 return _IMP_rmf.SaveOptimizerState_remove_geometry(self, d)
1029 def remove_geometries(self, d):
1030 """remove_geometries(SaveOptimizerState self, IMP::display::Geometries const & d)"""
1031 return _IMP_rmf.SaveOptimizerState_remove_geometries(self, d)
1034 def set_geometries(self, ps):
1035 """set_geometries(SaveOptimizerState self, IMP::display::Geometries const & ps)"""
1036 return _IMP_rmf.SaveOptimizerState_set_geometries(self, ps)
1039 def set_geometries_order(self, objs):
1040 """set_geometries_order(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
1041 return _IMP_rmf.SaveOptimizerState_set_geometries_order(self, objs)
1044 def add_geometry(self, obj):
1045 """add_geometry(SaveOptimizerState self, Geometry obj) -> unsigned int"""
1046 return _IMP_rmf.SaveOptimizerState_add_geometry(self, obj)
1050 """add_geometries(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
1051 return _IMP_rmf.SaveOptimizerState_add_geometries(self, objs)
1054 def clear_geometries(self):
1055 """clear_geometries(SaveOptimizerState self)"""
1056 return _IMP_rmf.SaveOptimizerState_clear_geometries(self)
1059 def get_number_of_geometries(self):
1060 """get_number_of_geometries(SaveOptimizerState self) -> unsigned int"""
1061 return _IMP_rmf.SaveOptimizerState_get_number_of_geometries(self)
1064 def get_has_geometries(self):
1065 """get_has_geometries(SaveOptimizerState self) -> bool"""
1066 return _IMP_rmf.SaveOptimizerState_get_has_geometries(self)
1069 def get_geometry(self, i):
1070 """get_geometry(SaveOptimizerState self, unsigned int i) -> Geometry"""
1071 return _IMP_rmf.SaveOptimizerState_get_geometry(self, i)
1074 def get_geometries(self):
1075 """get_geometries(SaveOptimizerState self) -> IMP::display::Geometries"""
1076 return _IMP_rmf.SaveOptimizerState_get_geometries(self)
1079 def reserve_geometries(self, sz):
1080 """reserve_geometries(SaveOptimizerState self, unsigned int sz)"""
1081 return _IMP_rmf.SaveOptimizerState_reserve_geometries(self, sz)
1084 def set_simulator(self, sim):
1085 """set_simulator(SaveOptimizerState self, Simulator sim)"""
1086 return _IMP_rmf.SaveOptimizerState_set_simulator(self, sim)
1089 def update_always(self, *args):
1091 update_always(SaveOptimizerState self, std::string name)
1092 update_always(SaveOptimizerState self)
1094 return _IMP_rmf.SaveOptimizerState_update_always(self, *args)
1097 def do_update(self, call_num):
1098 """do_update(SaveOptimizerState self, unsigned int call_num)"""
1099 return _IMP_rmf.SaveOptimizerState_do_update(self, call_num)
1102 def get_version_info(self):
1103 """get_version_info(SaveOptimizerState self) -> VersionInfo"""
1104 return _IMP_rmf.SaveOptimizerState_get_version_info(self)
1108 """__str__(SaveOptimizerState self) -> std::string"""
1109 return _IMP_rmf.SaveOptimizerState___str__(self)
1113 """__repr__(SaveOptimizerState self) -> std::string"""
1114 return _IMP_rmf.SaveOptimizerState___repr__(self)
1117 return _object_cast_to_SaveOptimizerState(o)
1118 get_from = staticmethod(get_from)
1120 SaveOptimizerState_swigregister = _IMP_rmf.SaveOptimizerState_swigregister
1121 SaveOptimizerState_swigregister(SaveOptimizerState)
1125 """load_frame(FileConstHandle file, FrameID frame)"""
1126 return _IMP_rmf.load_frame(file, frame)
1130 save_frame(FileHandle file, std::string name) -> FrameID
1131 save_frame(FileHandle file) -> FrameID
1133 return _IMP_rmf.save_frame(*args)
1134 class _ParticleSaveLink(SaveLink):
1135 """Proxy of C++ IMP::rmf::SimpleSaveLink<(IMP::Particle)> class"""
1136 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1138 def __init__(self, *args, **kwargs):
1139 raise AttributeError(
"No constructor defined - class is abstract")
1140 __repr__ = _swig_repr
1142 def add(self, parent, os):
1143 """add(_ParticleSaveLink self, NodeHandle parent, IMP::Vector< Pointer< IMP::Particle > > const & os)"""
1144 return _IMP_rmf._ParticleSaveLink_add(self, parent, os)
1146 __swig_destroy__ = _IMP_rmf.delete__ParticleSaveLink
1147 __del__ =
lambda self:
None
1148 _ParticleSaveLink_swigregister = _IMP_rmf._ParticleSaveLink_swigregister
1149 _ParticleSaveLink_swigregister(_ParticleSaveLink)
1151 class _ParticleLoadLink(LoadLink):
1152 """Proxy of C++ IMP::rmf::SimpleLoadLink<(IMP::Particle)> class"""
1153 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1155 def __init__(self, *args, **kwargs):
1156 raise AttributeError(
"No constructor defined - class is abstract")
1157 __repr__ = _swig_repr
1159 def create(self, *args):
1161 create(_ParticleLoadLink self, NodeConstHandle rt) -> IMP::Vector< Pointer< IMP::Particle > >
1162 create(_ParticleLoadLink self, NodeConstHandle rt, Model m) -> IMP::Vector< Pointer< IMP::Particle > >
1164 return _IMP_rmf._ParticleLoadLink_create(self, *args)
1167 def link(self, rt, ps):
1168 """link(_ParticleLoadLink self, NodeConstHandle rt, IMP::Vector< Pointer< IMP::Particle > > const & ps)"""
1169 return _IMP_rmf._ParticleLoadLink_link(self, rt, ps)
1171 __swig_destroy__ = _IMP_rmf.delete__ParticleLoadLink
1172 __del__ =
lambda self:
None
1173 _ParticleLoadLink_swigregister = _IMP_rmf._ParticleLoadLink_swigregister
1174 _ParticleLoadLink_swigregister(_ParticleLoadLink)
1176 class HierarchyLoadLink(_ParticleLoadLink):
1177 """Proxy of C++ IMP::rmf::HierarchyLoadLink class"""
1178 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1180 def __init__(self, fh):
1181 """__init__(IMP::rmf::HierarchyLoadLink self, FileConstHandle fh) -> HierarchyLoadLink"""
1182 this = _IMP_rmf.new_HierarchyLoadLink(fh)
1184 self.this.append(this)
1189 """get_name() -> char const *"""
1190 return _IMP_rmf.HierarchyLoadLink_get_name()
1192 get_name = staticmethod(get_name)
1194 def get_version_info(self):
1195 """get_version_info(HierarchyLoadLink self) -> VersionInfo"""
1196 return _IMP_rmf.HierarchyLoadLink_get_version_info(self)
1200 """__str__(HierarchyLoadLink self) -> std::string"""
1201 return _IMP_rmf.HierarchyLoadLink___str__(self)
1205 """__repr__(HierarchyLoadLink self) -> std::string"""
1206 return _IMP_rmf.HierarchyLoadLink___repr__(self)
1209 return _object_cast_to_HierarchyLoadLink(o)
1210 get_from = staticmethod(get_from)
1212 HierarchyLoadLink_swigregister = _IMP_rmf.HierarchyLoadLink_swigregister
1213 HierarchyLoadLink_swigregister(HierarchyLoadLink)
1215 def HierarchyLoadLink_get_name():
1216 """HierarchyLoadLink_get_name() -> char const *"""
1217 return _IMP_rmf.HierarchyLoadLink_get_name()
1219 class HierarchySaveLink(_ParticleSaveLink):
1220 """Proxy of C++ IMP::rmf::HierarchySaveLink class"""
1221 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1223 def __init__(self, fh):
1224 """__init__(IMP::rmf::HierarchySaveLink self, FileHandle fh) -> HierarchySaveLink"""
1225 this = _IMP_rmf.new_HierarchySaveLink(fh)
1227 self.this.append(this)
1232 """get_name() -> char const *"""
1233 return _IMP_rmf.HierarchySaveLink_get_name()
1235 get_name = staticmethod(get_name)
1237 def get_version_info(self):
1238 """get_version_info(HierarchySaveLink self) -> VersionInfo"""
1239 return _IMP_rmf.HierarchySaveLink_get_version_info(self)
1243 """__str__(HierarchySaveLink self) -> std::string"""
1244 return _IMP_rmf.HierarchySaveLink___str__(self)
1248 """__repr__(HierarchySaveLink self) -> std::string"""
1249 return _IMP_rmf.HierarchySaveLink___repr__(self)
1252 return _object_cast_to_HierarchySaveLink(o)
1253 get_from = staticmethod(get_from)
1255 HierarchySaveLink_swigregister = _IMP_rmf.HierarchySaveLink_swigregister
1256 HierarchySaveLink_swigregister(HierarchySaveLink)
1258 def HierarchySaveLink_get_name():
1259 """HierarchySaveLink_get_name() -> char const *"""
1260 return _IMP_rmf.HierarchySaveLink_get_name()
1262 suffixes = [
".rmf",
".rmfz"]
1265 def get_module_version():
1266 """get_module_version() -> std::string const"""
1267 return _IMP_rmf.get_module_version()
1270 """get_example_path(std::string fname) -> std::string"""
1271 return _IMP_rmf.get_example_path(fname)
1274 """get_data_path(std::string fname) -> std::string"""
1275 return _IMP_rmf.get_data_path(fname)
1276 from .
import _version_check
1277 _version_check.check_version(get_module_version())
1278 __version__ = get_module_version()
void link_particles(RMF::FileConstHandle fh, const ParticlesTemp &hs)
display::Geometries create_geometries(RMF::FileConstHandle parent)
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)
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_static_geometries(RMF::FileHandle parent, const display::GeometriesTemp &r)
void add_geometries(RMF::FileHandle file, const display::GeometriesTemp &r)
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.