11 from sys
import version_info
12 if version_info >= (2,6,0):
13 def swig_import_helper():
14 from os.path
import dirname
18 fp, pathname, description = imp.find_module(
'_IMP_rmf', [dirname(__file__)])
24 _mod = imp.load_module(
'_IMP_rmf', fp, pathname, description)
28 _IMP_rmf = swig_import_helper()
29 del swig_import_helper
34 _swig_property = property
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38 if (name ==
"thisown"):
return self.this.own(value)
40 if type(value).__name__ ==
'SwigPyObject':
41 self.__dict__[name] = value
43 method = class_type.__swig_setmethods__.get(name,
None)
44 if method:
return method(self,value)
46 self.__dict__[name] = value
48 raise AttributeError(
"You cannot add attributes to %s" % self)
50 def _swig_setattr(self,class_type,name,value):
51 return _swig_setattr_nondynamic(self,class_type,name,value,0)
53 def _swig_getattr(self,class_type,name):
54 if (name ==
"thisown"):
return self.this.own()
55 method = class_type.__swig_getmethods__.get(name,
None)
56 if method:
return method(self)
57 raise AttributeError(name)
60 try: strthis =
"proxy of " + self.this.__repr__()
62 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
67 except AttributeError:
72 def _swig_setattr_nondynamic_method(set):
73 def set_attr(self,name,value):
74 if (name ==
"thisown"):
return self.this.own(value)
75 if hasattr(self,name)
or (name ==
"this"):
78 raise AttributeError(
"You cannot add attributes to %s" % self)
84 weakref_proxy = weakref.proxy
86 weakref_proxy =
lambda x: x
89 class IMP_RMF_SwigPyIterator(object):
90 """Proxy of C++ swig::IMP_RMF_SwigPyIterator class"""
91 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
92 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
94 __swig_destroy__ = _IMP_rmf.delete_IMP_RMF_SwigPyIterator
95 __del__ =
lambda self :
None;
97 """value(IMP_RMF_SwigPyIterator self) -> PyObject *"""
98 return _IMP_rmf.IMP_RMF_SwigPyIterator_value(self)
102 incr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
103 incr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
105 return _IMP_rmf.IMP_RMF_SwigPyIterator_incr(self, n)
109 decr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
110 decr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
112 return _IMP_rmf.IMP_RMF_SwigPyIterator_decr(self, n)
114 def distance(self, *args):
115 """distance(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> ptrdiff_t"""
116 return _IMP_rmf.IMP_RMF_SwigPyIterator_distance(self, *args)
118 def equal(self, *args):
119 """equal(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
120 return _IMP_rmf.IMP_RMF_SwigPyIterator_equal(self, *args)
123 """copy(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator"""
124 return _IMP_rmf.IMP_RMF_SwigPyIterator_copy(self)
127 """next(IMP_RMF_SwigPyIterator self) -> PyObject *"""
128 return _IMP_rmf.IMP_RMF_SwigPyIterator_next(self)
131 """__next__(IMP_RMF_SwigPyIterator self) -> PyObject *"""
132 return _IMP_rmf.IMP_RMF_SwigPyIterator___next__(self)
135 """previous(IMP_RMF_SwigPyIterator self) -> PyObject *"""
136 return _IMP_rmf.IMP_RMF_SwigPyIterator_previous(self)
138 def advance(self, *args):
139 """advance(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
140 return _IMP_rmf.IMP_RMF_SwigPyIterator_advance(self, *args)
142 def __eq__(self, *args):
143 """__eq__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
144 return _IMP_rmf.IMP_RMF_SwigPyIterator___eq__(self, *args)
146 def __ne__(self, *args):
147 """__ne__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
148 return _IMP_rmf.IMP_RMF_SwigPyIterator___ne__(self, *args)
150 def __iadd__(self, *args):
151 """__iadd__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
152 return _IMP_rmf.IMP_RMF_SwigPyIterator___iadd__(self, *args)
154 def __isub__(self, *args):
155 """__isub__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
156 return _IMP_rmf.IMP_RMF_SwigPyIterator___isub__(self, *args)
158 def __add__(self, *args):
159 """__add__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
160 return _IMP_rmf.IMP_RMF_SwigPyIterator___add__(self, *args)
162 def __sub__(self, *args):
164 __sub__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator
165 __sub__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> ptrdiff_t
167 return _IMP_rmf.IMP_RMF_SwigPyIterator___sub__(self, *args)
169 def __iter__(self):
return self
170 IMP_RMF_SwigPyIterator_swigregister = _IMP_rmf.IMP_RMF_SwigPyIterator_swigregister
171 IMP_RMF_SwigPyIterator_swigregister(IMP_RMF_SwigPyIterator)
178 IMP_DEBUG = _IMP_rmf.IMP_DEBUG
179 IMP_RELEASE = _IMP_rmf.IMP_RELEASE
180 IMP_SILENT = _IMP_rmf.IMP_SILENT
181 IMP_PROGRESS = _IMP_rmf.IMP_PROGRESS
182 IMP_TERSE = _IMP_rmf.IMP_TERSE
183 IMP_VERBOSE = _IMP_rmf.IMP_VERBOSE
184 IMP_MEMORY = _IMP_rmf.IMP_MEMORY
185 IMP_NONE = _IMP_rmf.IMP_NONE
186 IMP_USAGE = _IMP_rmf.IMP_USAGE
187 IMP_INTERNAL = _IMP_rmf.IMP_INTERNAL
188 IMP_BASE_HAS_LOG4CXX = _IMP_rmf.IMP_BASE_HAS_LOG4CXX
189 IMP_COMPILER_HAS_AUTO = _IMP_rmf.IMP_COMPILER_HAS_AUTO
190 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_rmf.IMP_COMPILER_HAS_DEBUG_VECTOR
191 IMP_BASE_HAS_BOOST_RANDOM = _IMP_rmf.IMP_BASE_HAS_BOOST_RANDOM
192 IMP_BASE_HAS_GPERFTOOLS = _IMP_rmf.IMP_BASE_HAS_GPERFTOOLS
193 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_rmf.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
194 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_rmf.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
195 IMPBASE_SHOW_WARNINGS = _IMP_rmf.IMPBASE_SHOW_WARNINGS
197 class _DirectorObjects(object):
198 """@internal Simple class to keep references to director objects
199 to prevent premature deletion."""
202 def register(self, obj):
203 """Take a reference to a director object; will only work for
204 refcounted C++ classes"""
205 if hasattr(obj,
'get_ref_count'):
206 self._objects.append(obj)
208 """Only drop our reference and allow cleanup by Python if no other
209 Python references exist (we hold 3 references: one in self._objects,
210 one in x, and one in the argument list for getrefcount) *and* no
211 other C++ references exist (the Python object always holds one)"""
212 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
213 or x.get_ref_count() > 1]
217 def get_object_count(self):
218 """Get number of director objects (useful for testing only)"""
219 return len(self._objects)
220 _director_objects = _DirectorObjects()
222 class _ostream(object):
223 """Proxy of C++ std::ostream class"""
224 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
225 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
226 __repr__ = _swig_repr
227 def write(self, *args):
228 """write(_ostream self, char const * osa_buf)"""
229 return _IMP_rmf._ostream_write(self, *args)
231 _ostream_swigregister = _IMP_rmf._ostream_swigregister
232 _ostream_swigregister(_ostream)
234 IMP_COMPILER_HAS_OVERRIDE = _IMP_rmf.IMP_COMPILER_HAS_OVERRIDE
235 IMP_COMPILER_HAS_FINAL = _IMP_rmf.IMP_COMPILER_HAS_FINAL
236 IMP_HAS_NOEXCEPT = _IMP_rmf.IMP_HAS_NOEXCEPT
238 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_FILESYSTEM
239 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
240 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CGAL_HAS_BOOST_RANDOM
241 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_SYSTEM
242 IMPCGAL_SHOW_WARNINGS = _IMP_rmf.IMPCGAL_SHOW_WARNINGS
244 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_IMP_CGAL
245 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
246 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
247 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_RANDOM
248 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_SYSTEM
249 IMP_ALGEBRA_HAS_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_CGAL
250 IMP_ALGEBRA_HAS_ANN = _IMP_rmf.IMP_ALGEBRA_HAS_ANN
251 IMPALGEBRA_SHOW_WARNINGS = _IMP_rmf.IMPALGEBRA_SHOW_WARNINGS
253 IMP_KERNEL_HAS_IMP_CGAL = _IMP_rmf.IMP_KERNEL_HAS_IMP_CGAL
254 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
255 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_KERNEL_HAS_BOOST_RANDOM
256 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_KERNEL_HAS_BOOST_SYSTEM
257 IMP_KERNEL_HAS_CGAL = _IMP_rmf.IMP_KERNEL_HAS_CGAL
258 IMPKERNEL_SHOW_WARNINGS = _IMP_rmf.IMPKERNEL_SHOW_WARNINGS
260 IMP_DISPLAY_HAS_IMP_BASE = _IMP_rmf.IMP_DISPLAY_HAS_IMP_BASE
261 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_IMP_CGAL
262 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
263 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
264 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_RANDOM
265 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_SYSTEM
266 IMP_DISPLAY_HAS_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_CGAL
267 IMPDISPLAY_SHOW_WARNINGS = _IMP_rmf.IMPDISPLAY_SHOW_WARNINGS
269 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
270 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
271 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
272 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
273 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
274 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_CGAL
275 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_HDF5
276 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_rmf.IMPSCOREFUNCTOR_SHOW_WARNINGS
278 IMP_CORE_HAS_IMP_BASE = _IMP_rmf.IMP_CORE_HAS_IMP_BASE
279 IMP_CORE_HAS_IMP_CGAL = _IMP_rmf.IMP_CORE_HAS_IMP_CGAL
280 IMP_CORE_HAS_IMP_KERNEL = _IMP_rmf.IMP_CORE_HAS_IMP_KERNEL
281 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_FILESYSTEM
282 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
283 IMP_CORE_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CORE_HAS_BOOST_RANDOM
284 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_SYSTEM
285 IMP_CORE_HAS_CGAL = _IMP_rmf.IMP_CORE_HAS_CGAL
286 IMP_CORE_HAS_HDF5 = _IMP_rmf.IMP_CORE_HAS_HDF5
287 IMPCORE_SHOW_WARNINGS = _IMP_rmf.IMPCORE_SHOW_WARNINGS
289 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_rmf.IMP_CONTAINER_HAS_IMP_ALGEBRA
290 IMP_CONTAINER_HAS_IMP_BASE = _IMP_rmf.IMP_CONTAINER_HAS_IMP_BASE
291 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_CGAL
292 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_rmf.IMP_CONTAINER_HAS_IMP_DISPLAY
293 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_KERNEL
294 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
295 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
296 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
297 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_RANDOM
298 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_SYSTEM
299 IMP_CONTAINER_HAS_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_CGAL
300 IMP_CONTAINER_HAS_HDF5 = _IMP_rmf.IMP_CONTAINER_HAS_HDF5
301 IMPCONTAINER_SHOW_WARNINGS = _IMP_rmf.IMPCONTAINER_SHOW_WARNINGS
303 IMP_ATOM_HAS_IMP_BASE = _IMP_rmf.IMP_ATOM_HAS_IMP_BASE
304 IMP_ATOM_HAS_IMP_CGAL = _IMP_rmf.IMP_ATOM_HAS_IMP_CGAL
305 IMP_ATOM_HAS_IMP_KERNEL = _IMP_rmf.IMP_ATOM_HAS_IMP_KERNEL
306 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
307 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
308 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ATOM_HAS_BOOST_RANDOM
309 IMP_ATOM_HAS_BOOST_REGEX = _IMP_rmf.IMP_ATOM_HAS_BOOST_REGEX
310 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ATOM_HAS_BOOST_SYSTEM
311 IMP_ATOM_HAS_CGAL = _IMP_rmf.IMP_ATOM_HAS_CGAL
312 IMP_ATOM_HAS_HDF5 = _IMP_rmf.IMP_ATOM_HAS_HDF5
313 IMPATOM_SHOW_WARNINGS = _IMP_rmf.IMPATOM_SHOW_WARNINGS
314 IMP_ATOM_TYPE_INDEX = _IMP_rmf.IMP_ATOM_TYPE_INDEX
315 IMP_RESIDUE_TYPE_INDEX = _IMP_rmf.IMP_RESIDUE_TYPE_INDEX
316 IMP_HIERARCHY_TYPE_INDEX = _IMP_rmf.IMP_HIERARCHY_TYPE_INDEX
318 IMP_RMF_HAS_IMP_BASE = _IMP_rmf.IMP_RMF_HAS_IMP_BASE
319 IMP_RMF_HAS_IMP_CGAL = _IMP_rmf.IMP_RMF_HAS_IMP_CGAL
320 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
321 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_FILESYSTEM
322 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
323 IMP_RMF_HAS_BOOST_RANDOM = _IMP_rmf.IMP_RMF_HAS_BOOST_RANDOM
324 IMP_RMF_HAS_BOOST_REGEX = _IMP_rmf.IMP_RMF_HAS_BOOST_REGEX
325 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_SYSTEM
326 IMP_RMF_HAS_CGAL = _IMP_rmf.IMP_RMF_HAS_CGAL
327 IMP_RMF_HAS_HDF5 = _IMP_rmf.IMP_RMF_HAS_HDF5
328 IMPRMF_SHOW_WARNINGS = _IMP_rmf.IMPRMF_SHOW_WARNINGS
330 _object_types.append(
"SaveOptimizerState")
333 def _object_cast_to_SaveOptimizerState(*args):
334 """_object_cast_to_SaveOptimizerState(Object o) -> SaveOptimizerState"""
335 return _IMP_rmf._object_cast_to_SaveOptimizerState(*args)
336 _object_types.append(
"LoadLink")
339 def _object_cast_to_LoadLink(*args):
340 """_object_cast_to_LoadLink(Object o) -> LoadLink"""
341 return _IMP_rmf._object_cast_to_LoadLink(*args)
342 _object_types.append(
"SaveLink")
345 def _object_cast_to_SaveLink(*args):
346 """_object_cast_to_SaveLink(Object o) -> SaveLink"""
347 return _IMP_rmf._object_cast_to_SaveLink(*args)
348 _object_types.append(
"HierarchySaveLink")
351 def _object_cast_to_HierarchySaveLink(*args):
352 """_object_cast_to_HierarchySaveLink(Object o) -> HierarchySaveLink"""
353 return _IMP_rmf._object_cast_to_HierarchySaveLink(*args)
354 _object_types.append(
"HierarchyLoadLink")
357 def _object_cast_to_HierarchyLoadLink(*args):
358 """_object_cast_to_HierarchyLoadLink(Object o) -> HierarchyLoadLink"""
359 return _IMP_rmf._object_cast_to_HierarchyLoadLink(*args)
361 """Proxy of C++ IMP::rmf::LoadLink class"""
362 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
363 def do_load(self, *args):
364 """do_load(LoadLink self, FileConstHandle fh)"""
365 return _IMP_rmf.LoadLink_do_load(self, *args)
367 def __init__(self, *args):
368 """__init__(IMP::rmf::LoadLink self, std::string name) -> LoadLink"""
369 if self.__class__ == LoadLink:
373 this = _IMP_rmf.new_LoadLink(_self, *args)
374 try: self.this.append(this)
375 except: self.this = this
376 if self.__class__ != LoadLink:
378 IMP.base._director_objects.register(self)
382 def load(self, *args):
383 """load(LoadLink self, FileConstHandle fh)"""
384 return _IMP_rmf.LoadLink_load(self, *args)
386 __swig_destroy__ = _IMP_rmf.delete_LoadLink
387 __del__ =
lambda self :
None;
389 """__str__(LoadLink self) -> std::string"""
390 return _IMP_rmf.LoadLink___str__(self)
393 """__repr__(LoadLink self) -> std::string"""
394 return _IMP_rmf.LoadLink___repr__(self)
397 return _object_cast_to_LoadLink(o)
398 get_from = staticmethod(get_from)
400 def get_type_name(self):
401 return self.__class__.__name__
402 def do_show(self, out):
404 def get_version_info(self):
405 if"IMP::rmf" ==
"IMP":
406 return VersionInfo(
"python",
"0")
408 return IMP.VersionInfo(
"python",
"0")
410 return _object_cast_to_LoadLink(o)
411 get_from = staticmethod(get_from)
413 def __disown__(self):
415 _IMP_rmf.disown_LoadLink(self)
416 return weakref_proxy(self)
417 def do_destroy(self):
418 """do_destroy(LoadLink self)"""
419 return _IMP_rmf.LoadLink_do_destroy(self)
421 LoadLink_swigregister = _IMP_rmf.LoadLink_swigregister
422 LoadLink_swigregister(LoadLink)
425 """Proxy of C++ IMP::rmf::SaveLink class"""
426 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
427 def do_save(self, *args):
428 """do_save(SaveLink self, FileHandle hf)"""
429 return _IMP_rmf.SaveLink_do_save(self, *args)
431 def __init__(self, *args):
432 """__init__(IMP::rmf::SaveLink self, std::string name) -> SaveLink"""
433 if self.__class__ == SaveLink:
437 this = _IMP_rmf.new_SaveLink(_self, *args)
438 try: self.this.append(this)
439 except: self.this = this
440 if self.__class__ != SaveLink:
442 IMP.base._director_objects.register(self)
446 def save(self, *args):
447 """save(SaveLink self, FileHandle fh)"""
448 return _IMP_rmf.SaveLink_save(self, *args)
450 __swig_destroy__ = _IMP_rmf.delete_SaveLink
451 __del__ =
lambda self :
None;
453 """__str__(SaveLink self) -> std::string"""
454 return _IMP_rmf.SaveLink___str__(self)
457 """__repr__(SaveLink self) -> std::string"""
458 return _IMP_rmf.SaveLink___repr__(self)
461 return _object_cast_to_SaveLink(o)
462 get_from = staticmethod(get_from)
464 def get_type_name(self):
465 return self.__class__.__name__
466 def do_show(self, out):
468 def get_version_info(self):
469 if"IMP::rmf" ==
"IMP":
470 return VersionInfo(
"python",
"0")
472 return IMP.VersionInfo(
"python",
"0")
474 return _object_cast_to_SaveLink(o)
475 get_from = staticmethod(get_from)
477 def __disown__(self):
479 _IMP_rmf.disown_SaveLink(self)
480 return weakref_proxy(self)
481 def do_destroy(self):
482 """do_destroy(SaveLink self)"""
483 return _IMP_rmf.SaveLink_do_destroy(self)
485 SaveLink_swigregister = _IMP_rmf.SaveLink_swigregister
486 SaveLink_swigregister(SaveLink)
491 add_hierarchies(FileHandle fh, IMP::atom::Hierarchies const & hs)
492 add_hierarchies(NodeHandle fh, IMP::atom::Hierarchies const & hs)
494 return _IMP_rmf.add_hierarchies(*args)
497 """add_hierarchy(FileHandle fh, Hierarchy hs)"""
498 return _IMP_rmf.add_hierarchy(*args)
501 """create_hierarchies(FileConstHandle fh, Model m) -> IMP::atom::Hierarchies"""
502 return _IMP_rmf.create_hierarchies(*args)
505 """link_hierarchies(FileConstHandle fh, IMP::atom::Hierarchies const & hs)"""
506 return _IMP_rmf.link_hierarchies(*args)
510 add_restraints(FileHandle fh, IMP::kernel::Restraints const & hs)
511 add_restraints(NodeHandle fh, IMP::kernel::Restraints const & hs)
513 return _IMP_rmf.add_restraints(*args)
516 """add_restraint(FileHandle fh, Restraint hs)"""
517 return _IMP_rmf.add_restraint(*args)
520 """create_restraints(FileConstHandle fh, Model m) -> IMP::kernel::Restraints"""
521 return _IMP_rmf.create_restraints(*args)
524 """link_restraints(FileConstHandle fh, IMP::kernel::Restraints const & hs)"""
525 return _IMP_rmf.link_restraints(*args)
528 """add_restraints_as_bonds(FileHandle fh, IMP::kernel::Restraints const & rs)"""
529 return _IMP_rmf.add_restraints_as_bonds(*args)
532 """set_maximum_number_of_terms(FileHandle fh, unsigned int num)"""
533 return _IMP_rmf.set_maximum_number_of_terms(*args)
537 add_particles(FileHandle fh, IMP::kernel::ParticlesTemp const & hs)
538 add_particles(NodeHandle fh, IMP::kernel::ParticlesTemp const & hs)
540 return _IMP_rmf.add_particles(*args)
543 """add_particle(FileHandle fh, Particle hs)"""
544 return _IMP_rmf.add_particle(*args)
547 """create_particles(FileConstHandle fh, Model m) -> IMP::kernel::ParticlesTemp"""
548 return _IMP_rmf.create_particles(*args)
551 """link_particles(FileConstHandle fh, IMP::kernel::ParticlesTemp const & hs)"""
552 return _IMP_rmf.link_particles(*args)
556 add_geometries(FileHandle file, IMP::display::GeometriesTemp const & r)
557 add_geometries(NodeHandle parent, IMP::display::GeometriesTemp const & r)
559 return _IMP_rmf.add_geometries(*args)
562 """add_static_geometries(FileHandle parent, IMP::display::GeometriesTemp const & r)"""
563 return _IMP_rmf.add_static_geometries(*args)
565 def add_geometry(*args):
566 """add_geometry(FileHandle parent, Geometry r)"""
567 return _IMP_rmf.add_geometry(*args)
570 """create_geometries(FileConstHandle parent) -> IMP::display::Geometries"""
571 return _IMP_rmf.create_geometries(*args)
574 """link_geometries(FileConstHandle parent, IMP::display::GeometriesTemp const & r)"""
575 return _IMP_rmf.link_geometries(*args)
577 def set_association(*args):
579 set_association(NodeConstHandle nh, Object o, bool overwrite=False)
580 set_association(NodeConstHandle nh, Object o)
582 return _IMP_rmf.set_association(*args)
584 def get_node_from_association(*args):
586 get_node_from_association(FileConstHandle nh, Object oi) -> NodeConstHandle
587 get_node_from_association(FileHandle nh, Object oi) -> NodeHandle
589 return _IMP_rmf.get_node_from_association(*args)
591 def get_has_associated_node(*args):
592 """get_has_associated_node(FileConstHandle nh, Object oi) -> bool"""
593 return _IMP_rmf.get_has_associated_node(*args)
595 """Proxy of C++ IMP::rmf::SaveOptimizerState class"""
596 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
597 def __init__(self, *args):
598 """__init__(IMP::rmf::SaveOptimizerState self, Model m, FileHandle fh) -> SaveOptimizerState"""
599 this = _IMP_rmf.new_SaveOptimizerState(*args)
600 try: self.this.append(this)
601 except: self.this = this
602 def remove_hierarchy(self, *args):
603 """remove_hierarchy(SaveOptimizerState self, Particle d)"""
604 return _IMP_rmf.SaveOptimizerState_remove_hierarchy(self, *args)
606 def remove_hierarchies(self, *args):
607 """remove_hierarchies(SaveOptimizerState self, IMP::kernel::Particles const & d)"""
608 return _IMP_rmf.SaveOptimizerState_remove_hierarchies(self, *args)
610 def set_hierarchies(self, *args):
611 """set_hierarchies(SaveOptimizerState self, IMP::kernel::Particles const & ps)"""
612 return _IMP_rmf.SaveOptimizerState_set_hierarchies(self, *args)
614 def set_hierarchies_order(self, *args):
615 """set_hierarchies_order(SaveOptimizerState self, IMP::kernel::Particles const & objs)"""
616 return _IMP_rmf.SaveOptimizerState_set_hierarchies_order(self, *args)
619 """add_hierarchy(SaveOptimizerState self, Particle obj) -> unsigned int"""
620 return _IMP_rmf.SaveOptimizerState_add_hierarchy(self, *args)
623 """add_hierarchies(SaveOptimizerState self, IMP::kernel::Particles const & objs)"""
624 return _IMP_rmf.SaveOptimizerState_add_hierarchies(self, *args)
626 def clear_hierarchies(self):
627 """clear_hierarchies(SaveOptimizerState self)"""
628 return _IMP_rmf.SaveOptimizerState_clear_hierarchies(self)
630 def get_number_of_hierarchies(self):
631 """get_number_of_hierarchies(SaveOptimizerState self) -> unsigned int"""
632 return _IMP_rmf.SaveOptimizerState_get_number_of_hierarchies(self)
634 def get_has_hierarchies(self):
635 """get_has_hierarchies(SaveOptimizerState self) -> bool"""
636 return _IMP_rmf.SaveOptimizerState_get_has_hierarchies(self)
638 def get_hierarchy(self, *args):
639 """get_hierarchy(SaveOptimizerState self, unsigned int i) -> Particle"""
640 return _IMP_rmf.SaveOptimizerState_get_hierarchy(self, *args)
642 def get_hierarchies(self):
643 """get_hierarchies(SaveOptimizerState self) -> IMP::kernel::Particles"""
644 return _IMP_rmf.SaveOptimizerState_get_hierarchies(self)
646 def reserve_hierarchies(self, *args):
647 """reserve_hierarchies(SaveOptimizerState self, unsigned int sz)"""
648 return _IMP_rmf.SaveOptimizerState_reserve_hierarchies(self, *args)
650 def remove_restraint(self, *args):
651 """remove_restraint(SaveOptimizerState self, Restraint d)"""
652 return _IMP_rmf.SaveOptimizerState_remove_restraint(self, *args)
654 def remove_restraints(self, *args):
655 """remove_restraints(SaveOptimizerState self, IMP::kernel::Restraints const & d)"""
656 return _IMP_rmf.SaveOptimizerState_remove_restraints(self, *args)
658 def set_restraints(self, *args):
659 """set_restraints(SaveOptimizerState self, IMP::kernel::Restraints const & ps)"""
660 return _IMP_rmf.SaveOptimizerState_set_restraints(self, *args)
662 def set_restraints_order(self, *args):
663 """set_restraints_order(SaveOptimizerState self, IMP::kernel::Restraints const & objs)"""
664 return _IMP_rmf.SaveOptimizerState_set_restraints_order(self, *args)
667 """add_restraint(SaveOptimizerState self, Restraint obj) -> unsigned int"""
668 return _IMP_rmf.SaveOptimizerState_add_restraint(self, *args)
671 """add_restraints(SaveOptimizerState self, IMP::kernel::Restraints const & objs)"""
672 return _IMP_rmf.SaveOptimizerState_add_restraints(self, *args)
674 def clear_restraints(self):
675 """clear_restraints(SaveOptimizerState self)"""
676 return _IMP_rmf.SaveOptimizerState_clear_restraints(self)
678 def get_number_of_restraints(self):
679 """get_number_of_restraints(SaveOptimizerState self) -> unsigned int"""
680 return _IMP_rmf.SaveOptimizerState_get_number_of_restraints(self)
682 def get_has_restraints(self):
683 """get_has_restraints(SaveOptimizerState self) -> bool"""
684 return _IMP_rmf.SaveOptimizerState_get_has_restraints(self)
686 def get_restraint(self, *args):
687 """get_restraint(SaveOptimizerState self, unsigned int i) -> Restraint"""
688 return _IMP_rmf.SaveOptimizerState_get_restraint(self, *args)
691 """get_restraints(SaveOptimizerState self) -> IMP::kernel::Restraints"""
692 return _IMP_rmf.SaveOptimizerState_get_restraints(self)
694 def reserve_restraints(self, *args):
695 """reserve_restraints(SaveOptimizerState self, unsigned int sz)"""
696 return _IMP_rmf.SaveOptimizerState_reserve_restraints(self, *args)
698 def remove_particle(self, *args):
699 """remove_particle(SaveOptimizerState self, Particle d)"""
700 return _IMP_rmf.SaveOptimizerState_remove_particle(self, *args)
702 def remove_particles(self, *args):
703 """remove_particles(SaveOptimizerState self, IMP::kernel::Particles const & d)"""
704 return _IMP_rmf.SaveOptimizerState_remove_particles(self, *args)
706 def set_particles(self, *args):
707 """set_particles(SaveOptimizerState self, IMP::kernel::Particles const & ps)"""
708 return _IMP_rmf.SaveOptimizerState_set_particles(self, *args)
710 def set_particles_order(self, *args):
711 """set_particles_order(SaveOptimizerState self, IMP::kernel::Particles const & objs)"""
712 return _IMP_rmf.SaveOptimizerState_set_particles_order(self, *args)
715 """add_particle(SaveOptimizerState self, Particle obj) -> unsigned int"""
716 return _IMP_rmf.SaveOptimizerState_add_particle(self, *args)
719 """add_particles(SaveOptimizerState self, IMP::kernel::Particles const & objs)"""
720 return _IMP_rmf.SaveOptimizerState_add_particles(self, *args)
722 def clear_particles(self):
723 """clear_particles(SaveOptimizerState self)"""
724 return _IMP_rmf.SaveOptimizerState_clear_particles(self)
726 def get_number_of_particles(self):
727 """get_number_of_particles(SaveOptimizerState self) -> unsigned int"""
728 return _IMP_rmf.SaveOptimizerState_get_number_of_particles(self)
730 def get_has_particles(self):
731 """get_has_particles(SaveOptimizerState self) -> bool"""
732 return _IMP_rmf.SaveOptimizerState_get_has_particles(self)
734 def get_particle(self, *args):
735 """get_particle(SaveOptimizerState self, unsigned int i) -> Particle"""
736 return _IMP_rmf.SaveOptimizerState_get_particle(self, *args)
739 """get_particles(SaveOptimizerState self) -> IMP::kernel::Particles"""
740 return _IMP_rmf.SaveOptimizerState_get_particles(self)
742 def reserve_particles(self, *args):
743 """reserve_particles(SaveOptimizerState self, unsigned int sz)"""
744 return _IMP_rmf.SaveOptimizerState_reserve_particles(self, *args)
746 def remove_geometry(self, *args):
747 """remove_geometry(SaveOptimizerState self, Geometry d)"""
748 return _IMP_rmf.SaveOptimizerState_remove_geometry(self, *args)
750 def remove_geometries(self, *args):
751 """remove_geometries(SaveOptimizerState self, IMP::display::Geometries const & d)"""
752 return _IMP_rmf.SaveOptimizerState_remove_geometries(self, *args)
754 def set_geometries(self, *args):
755 """set_geometries(SaveOptimizerState self, IMP::display::Geometries const & ps)"""
756 return _IMP_rmf.SaveOptimizerState_set_geometries(self, *args)
758 def set_geometries_order(self, *args):
759 """set_geometries_order(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
760 return _IMP_rmf.SaveOptimizerState_set_geometries_order(self, *args)
762 def add_geometry(self, *args):
763 """add_geometry(SaveOptimizerState self, Geometry obj) -> unsigned int"""
764 return _IMP_rmf.SaveOptimizerState_add_geometry(self, *args)
767 """add_geometries(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
768 return _IMP_rmf.SaveOptimizerState_add_geometries(self, *args)
770 def clear_geometries(self):
771 """clear_geometries(SaveOptimizerState self)"""
772 return _IMP_rmf.SaveOptimizerState_clear_geometries(self)
774 def get_number_of_geometries(self):
775 """get_number_of_geometries(SaveOptimizerState self) -> unsigned int"""
776 return _IMP_rmf.SaveOptimizerState_get_number_of_geometries(self)
778 def get_has_geometries(self):
779 """get_has_geometries(SaveOptimizerState self) -> bool"""
780 return _IMP_rmf.SaveOptimizerState_get_has_geometries(self)
782 def get_geometry(self, *args):
783 """get_geometry(SaveOptimizerState self, unsigned int i) -> Geometry"""
784 return _IMP_rmf.SaveOptimizerState_get_geometry(self, *args)
786 def get_geometries(self):
787 """get_geometries(SaveOptimizerState self) -> IMP::display::Geometries"""
788 return _IMP_rmf.SaveOptimizerState_get_geometries(self)
790 def reserve_geometries(self, *args):
791 """reserve_geometries(SaveOptimizerState self, unsigned int sz)"""
792 return _IMP_rmf.SaveOptimizerState_reserve_geometries(self, *args)
794 def set_simulator(self, *args):
795 """set_simulator(SaveOptimizerState self, Simulator sim)"""
796 return _IMP_rmf.SaveOptimizerState_set_simulator(self, *args)
798 def update_always(self, *args):
800 update_always(SaveOptimizerState self, std::string name)
801 update_always(SaveOptimizerState self)
803 return _IMP_rmf.SaveOptimizerState_update_always(self, *args)
805 def do_update(self, *args):
806 """do_update(SaveOptimizerState self, unsigned int call_num)"""
807 return _IMP_rmf.SaveOptimizerState_do_update(self, *args)
809 def get_version_info(self):
810 """get_version_info(SaveOptimizerState self) -> VersionInfo"""
811 return _IMP_rmf.SaveOptimizerState_get_version_info(self)
814 """__str__(SaveOptimizerState self) -> std::string"""
815 return _IMP_rmf.SaveOptimizerState___str__(self)
818 """__repr__(SaveOptimizerState self) -> std::string"""
819 return _IMP_rmf.SaveOptimizerState___repr__(self)
822 return _object_cast_to_SaveOptimizerState(o)
823 get_from = staticmethod(get_from)
825 SaveOptimizerState_swigregister = _IMP_rmf.SaveOptimizerState_swigregister
826 SaveOptimizerState_swigregister(SaveOptimizerState)
831 load_frame(FileConstHandle file, FrameID frame)
832 load_frame(FileConstHandle file, unsigned int frame)
834 return _IMP_rmf.load_frame(*args)
838 save_frame(FileHandle file, std::string name="") -> FrameID
839 save_frame(FileHandle file) -> FrameID
840 save_frame(FileHandle file, unsigned int arg2, std::string name="")
841 save_frame(FileHandle file, unsigned int arg2)
843 return _IMP_rmf.save_frame(*args)
844 class _ParticleSaveLink(SaveLink):
845 """Proxy of C++ IMP::rmf::SimpleSaveLink<(IMP::kernel::Particle)> class"""
846 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
847 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
848 __repr__ = _swig_repr
849 def add(self, *args):
850 """add(_ParticleSaveLink self, NodeHandle parent, IMP::base::Vector< IMP::base::Pointer< IMP::kernel::Particle > > const & os)"""
851 return _IMP_rmf._ParticleSaveLink_add(self, *args)
853 __swig_destroy__ = _IMP_rmf.delete__ParticleSaveLink
854 __del__ =
lambda self :
None;
855 _ParticleSaveLink_swigregister = _IMP_rmf._ParticleSaveLink_swigregister
856 _ParticleSaveLink_swigregister(_ParticleSaveLink)
858 class _ParticleLoadLink(LoadLink):
859 """Proxy of C++ IMP::rmf::SimpleLoadLink<(IMP::kernel::Particle)> class"""
860 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
861 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
862 __repr__ = _swig_repr
863 def create(self, *args):
865 create(_ParticleLoadLink self, NodeConstHandle rt) -> IMP::base::Vector< IMP::base::Pointer< IMP::kernel::Particle > >
866 create(_ParticleLoadLink self, NodeConstHandle rt, Model m) -> IMP::base::Vector< IMP::base::Pointer< IMP::kernel::Particle > >
868 return _IMP_rmf._ParticleLoadLink_create(self, *args)
870 def link(self, *args):
871 """link(_ParticleLoadLink self, NodeConstHandle rt, IMP::base::Vector< IMP::base::Pointer< IMP::kernel::Particle > > const & ps)"""
872 return _IMP_rmf._ParticleLoadLink_link(self, *args)
874 __swig_destroy__ = _IMP_rmf.delete__ParticleLoadLink
875 __del__ =
lambda self :
None;
876 _ParticleLoadLink_swigregister = _IMP_rmf._ParticleLoadLink_swigregister
877 _ParticleLoadLink_swigregister(_ParticleLoadLink)
879 class HierarchyLoadLink(_ParticleLoadLink):
880 """Proxy of C++ IMP::rmf::HierarchyLoadLink class"""
881 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
882 def __init__(self, *args):
883 """__init__(IMP::rmf::HierarchyLoadLink self, FileConstHandle fh) -> HierarchyLoadLink"""
884 this = _IMP_rmf.new_HierarchyLoadLink(*args)
885 try: self.this.append(this)
886 except: self.this = this
888 """get_name() -> char const *"""
889 return _IMP_rmf.HierarchyLoadLink_get_name()
891 get_name = staticmethod(get_name)
892 def get_version_info(self):
893 """get_version_info(HierarchyLoadLink self) -> VersionInfo"""
894 return _IMP_rmf.HierarchyLoadLink_get_version_info(self)
897 """__str__(HierarchyLoadLink self) -> std::string"""
898 return _IMP_rmf.HierarchyLoadLink___str__(self)
901 """__repr__(HierarchyLoadLink self) -> std::string"""
902 return _IMP_rmf.HierarchyLoadLink___repr__(self)
905 return _object_cast_to_HierarchyLoadLink(o)
906 get_from = staticmethod(get_from)
908 HierarchyLoadLink_swigregister = _IMP_rmf.HierarchyLoadLink_swigregister
909 HierarchyLoadLink_swigregister(HierarchyLoadLink)
911 def HierarchyLoadLink_get_name():
912 """HierarchyLoadLink_get_name() -> char const *"""
913 return _IMP_rmf.HierarchyLoadLink_get_name()
915 class HierarchySaveLink(_ParticleSaveLink):
916 """Proxy of C++ IMP::rmf::HierarchySaveLink class"""
917 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
918 def __init__(self, *args):
919 """__init__(IMP::rmf::HierarchySaveLink self, FileHandle fh) -> HierarchySaveLink"""
920 this = _IMP_rmf.new_HierarchySaveLink(*args)
921 try: self.this.append(this)
922 except: self.this = this
924 """get_name() -> char const *"""
925 return _IMP_rmf.HierarchySaveLink_get_name()
927 get_name = staticmethod(get_name)
928 def get_version_info(self):
929 """get_version_info(HierarchySaveLink self) -> VersionInfo"""
930 return _IMP_rmf.HierarchySaveLink_get_version_info(self)
933 """__str__(HierarchySaveLink self) -> std::string"""
934 return _IMP_rmf.HierarchySaveLink___str__(self)
937 """__repr__(HierarchySaveLink self) -> std::string"""
938 return _IMP_rmf.HierarchySaveLink___repr__(self)
941 return _object_cast_to_HierarchySaveLink(o)
942 get_from = staticmethod(get_from)
944 HierarchySaveLink_swigregister = _IMP_rmf.HierarchySaveLink_swigregister
945 HierarchySaveLink_swigregister(HierarchySaveLink)
947 def HierarchySaveLink_get_name():
948 """HierarchySaveLink_get_name() -> char const *"""
949 return _IMP_rmf.HierarchySaveLink_get_name()
951 suffixes = [
".rmf",
".rmfz"]
954 def get_module_version():
955 """get_module_version() -> std::string const"""
956 return _IMP_rmf.get_module_version()
959 """get_example_path(std::string fname) -> std::string"""
960 return _IMP_rmf.get_example_path(*args)
963 """get_data_path(std::string fname) -> std::string"""
964 return _IMP_rmf.get_data_path(*args)
965 from .
import _version_check
966 _version_check.check_version(get_module_version())
display::Geometries create_geometries(RMF::FileConstHandle parent)
atom::Hierarchies create_hierarchies(RMF::FileConstHandle fh, kernel::Model *m)
void link_particles(RMF::FileConstHandle fh, const kernel::ParticlesTemp &hs)
RMF::FrameID save_frame(RMF::FileHandle file, std::string name="")
Various classes to hold sets of particles.
kernel::Restraints create_restraints(RMF::FileConstHandle fh, kernel::Model *m)
void add_restraints(RMF::FileHandle fh, const kernel::Restraints &hs)
Shared optimizer state that is invoked upon commitment of new coordinates.
ParticlesTemp get_particles(kernel::Model *m, const ParticleIndexes &ps)
Make CGAL functionality available to IMP.
std::string get_data_path(std::string file_name)
Return the full path to installed data.
Low level functionality (logging, error handling, profiling, command line flags etc) that is used by ...
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
kernel::RestraintsTemp get_restraints(const Subset &s, const ParticleStatesTable *pst, const DependencyGraph &dg, kernel::RestraintSet *rs)
void add_hierarchies(RMF::FileHandle fh, const atom::Hierarchies &hs)
Composable functors to implement scores via compile-time composition.
void add_hierarchy(RMF::FileHandle fh, atom::Hierarchy hs)
kernel::ParticlesTemp create_particles(RMF::FileConstHandle fh, kernel::Model *m)
void add_particles(RMF::FileHandle fh, const kernel::ParticlesTemp &hs)
Base functionality and abstract base classes for representation, scoring and sampling.
void link_geometries(RMF::FileConstHandle parent, const display::GeometriesTemp &r)
void link_restraints(RMF::FileConstHandle fh, const kernel::Restraints &hs)
void load_frame(RMF::FileConstHandle file, RMF::FrameID frame)
Common base class for heavy weight IMP objects.
void set_maximum_number_of_terms(RMF::FileHandle fh, unsigned int num)
void add_restraints_as_bonds(RMF::FileHandle fh, const kernel::Restraints &rs)
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...
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)
void add_particle(RMF::FileHandle fh, kernel::Particle *hs)
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
void add_restraint(RMF::FileHandle fh, kernel::Restraint *hs)