11 from __future__
import print_function, division, absolute_import
17 from sys
import version_info
18 if version_info >= (2, 6, 0):
19 def swig_import_helper():
20 from os.path
import dirname
24 fp, pathname, description = imp.find_module(
'_IMP_kinematics', [dirname(__file__)])
26 import _IMP_kinematics
27 return _IMP_kinematics
30 _mod = imp.load_module(
'_IMP_kinematics', fp, pathname, description)
34 _IMP_kinematics = swig_import_helper()
35 del swig_import_helper
37 import _IMP_kinematics
40 _swig_property = property
45 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
46 if (name ==
"thisown"):
47 return self.this.own(value)
49 if type(value).__name__ ==
'SwigPyObject':
50 self.__dict__[name] = value
52 method = class_type.__swig_setmethods__.get(name,
None)
54 return method(self, value)
56 object.__setattr__(self, name, value)
58 raise AttributeError(
"You cannot add attributes to %s" % self)
61 def _swig_setattr(self, class_type, name, value):
62 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
65 def _swig_getattr_nondynamic(self, class_type, name, static=1):
66 if (name ==
"thisown"):
67 return self.this.own()
68 method = class_type.__swig_getmethods__.get(name,
None)
72 return object.__getattr__(self, name)
74 raise AttributeError(name)
76 def _swig_getattr(self, class_type, name):
77 return _swig_getattr_nondynamic(self, class_type, name, 0)
82 strthis =
"proxy of " + self.this.__repr__()
85 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
90 except AttributeError:
97 def _swig_setattr_nondynamic_method(set):
98 def set_attr(self, name, value):
99 if (name ==
"thisown"):
100 return self.this.own(value)
101 if hasattr(self, name)
or (name ==
"this"):
102 set(self, name, value)
104 raise AttributeError(
"You cannot add attributes to %s" % self)
110 weakref_proxy = weakref.proxy
112 weakref_proxy =
lambda x: x
115 class IMP_KINEMATICS_SwigPyIterator(object):
116 """Proxy of C++ swig::IMP_KINEMATICS_SwigPyIterator class"""
117 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
119 def __init__(self, *args, **kwargs):
120 raise AttributeError(
"No constructor defined - class is abstract")
121 __repr__ = _swig_repr
122 __swig_destroy__ = _IMP_kinematics.delete_IMP_KINEMATICS_SwigPyIterator
123 __del__ =
lambda self:
None
126 """value(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
127 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_value(self)
132 incr(IMP_KINEMATICS_SwigPyIterator self, size_t n=1) -> IMP_KINEMATICS_SwigPyIterator
133 incr(IMP_KINEMATICS_SwigPyIterator self) -> IMP_KINEMATICS_SwigPyIterator
135 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_incr(self, n)
140 decr(IMP_KINEMATICS_SwigPyIterator self, size_t n=1) -> IMP_KINEMATICS_SwigPyIterator
141 decr(IMP_KINEMATICS_SwigPyIterator self) -> IMP_KINEMATICS_SwigPyIterator
143 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_decr(self, n)
146 def distance(self, x):
147 """distance(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> ptrdiff_t"""
148 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_distance(self, x)
152 """equal(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> bool"""
153 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_equal(self, x)
157 """copy(IMP_KINEMATICS_SwigPyIterator self) -> IMP_KINEMATICS_SwigPyIterator"""
158 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_copy(self)
162 """next(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
163 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_next(self)
167 """__next__(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
168 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___next__(self)
172 """previous(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
173 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_previous(self)
176 def advance(self, n):
177 """advance(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator"""
178 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_advance(self, n)
182 """__eq__(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> bool"""
183 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___eq__(self, x)
187 """__ne__(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> bool"""
188 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___ne__(self, x)
191 def __iadd__(self, n):
192 """__iadd__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator"""
193 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___iadd__(self, n)
196 def __isub__(self, n):
197 """__isub__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator"""
198 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___isub__(self, n)
201 def __add__(self, n):
202 """__add__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator"""
203 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___add__(self, n)
206 def __sub__(self, *args):
208 __sub__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator
209 __sub__(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> ptrdiff_t
211 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___sub__(self, *args)
215 IMP_KINEMATICS_SwigPyIterator_swigregister = _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_swigregister
216 IMP_KINEMATICS_SwigPyIterator_swigregister(IMP_KINEMATICS_SwigPyIterator)
225 _IMP_kinematics.IMP_DEBUG_swigconstant(_IMP_kinematics)
226 IMP_DEBUG = _IMP_kinematics.IMP_DEBUG
228 _IMP_kinematics.IMP_RELEASE_swigconstant(_IMP_kinematics)
229 IMP_RELEASE = _IMP_kinematics.IMP_RELEASE
231 _IMP_kinematics.IMP_SILENT_swigconstant(_IMP_kinematics)
232 IMP_SILENT = _IMP_kinematics.IMP_SILENT
234 _IMP_kinematics.IMP_PROGRESS_swigconstant(_IMP_kinematics)
235 IMP_PROGRESS = _IMP_kinematics.IMP_PROGRESS
237 _IMP_kinematics.IMP_TERSE_swigconstant(_IMP_kinematics)
238 IMP_TERSE = _IMP_kinematics.IMP_TERSE
240 _IMP_kinematics.IMP_VERBOSE_swigconstant(_IMP_kinematics)
241 IMP_VERBOSE = _IMP_kinematics.IMP_VERBOSE
243 _IMP_kinematics.IMP_MEMORY_swigconstant(_IMP_kinematics)
244 IMP_MEMORY = _IMP_kinematics.IMP_MEMORY
246 _IMP_kinematics.IMP_NONE_swigconstant(_IMP_kinematics)
247 IMP_NONE = _IMP_kinematics.IMP_NONE
249 _IMP_kinematics.IMP_USAGE_swigconstant(_IMP_kinematics)
250 IMP_USAGE = _IMP_kinematics.IMP_USAGE
252 _IMP_kinematics.IMP_INTERNAL_swigconstant(_IMP_kinematics)
253 IMP_INTERNAL = _IMP_kinematics.IMP_INTERNAL
255 _IMP_kinematics.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_kinematics)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_kinematics.IMP_KERNEL_HAS_LOG4CXX
258 _IMP_kinematics.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_kinematics)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_kinematics.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_kinematics.IMP_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_kinematics)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_kinematics.IMP_COMPILER_HAS_RANDOM_SHUFFLE
264 _IMP_kinematics.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_kinematics)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_kinematics.IMP_COMPILER_HAS_THREE_WAY
267 _IMP_kinematics.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_KERNEL_HAS_BOOST_RANDOM
270 _IMP_kinematics.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_kinematics)
271 IMP_KERNEL_HAS_NUMPY = _IMP_kinematics.IMP_KERNEL_HAS_NUMPY
273 _IMP_kinematics.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_kinematics)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_kinematics.IMP_KERNEL_HAS_GPERFTOOLS
276 _IMP_kinematics.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_kinematics)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_kinematics.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
279 _IMP_kinematics.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_kinematics)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_kinematics.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
282 _IMP_kinematics.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_kinematics.IMPKERNEL_SHOW_WARNINGS
286 class _DirectorObjects(object):
287 """@internal Simple class to keep references to director objects
288 to prevent premature deletion."""
291 def register(self, obj):
292 """Take a reference to a director object; will only work for
293 refcounted C++ classes"""
294 if hasattr(obj,
'get_ref_count'):
295 self._objects.append(obj)
297 """Only drop our reference and allow cleanup by Python if no other
298 Python references exist (we hold 3 references: one in self._objects,
299 one in x, and one in the argument list for getrefcount) *and* no
300 other C++ references exist (the Python object always holds one)"""
301 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
302 or x.get_ref_count() > 1]
306 def get_object_count(self):
307 """Get number of director objects (useful for testing only)"""
308 return len(self._objects)
309 _director_objects = _DirectorObjects()
311 class _ostream(object):
312 """Proxy of C++ std::ostream class"""
313 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
315 def __init__(self, *args, **kwargs):
316 raise AttributeError(
"No constructor defined")
317 __repr__ = _swig_repr
319 def write(self, osa_buf):
320 """write(_ostream self, char const * osa_buf)"""
321 return _IMP_kinematics._ostream_write(self, osa_buf)
323 _ostream_swigregister = _IMP_kinematics._ostream_swigregister
324 _ostream_swigregister(_ostream)
327 _IMP_kinematics.IMP_HAS_NOEXCEPT_swigconstant(_IMP_kinematics)
328 IMP_HAS_NOEXCEPT = _IMP_kinematics.IMP_HAS_NOEXCEPT
330 _IMP_kinematics.IMP_C_OPEN_BINARY_swigconstant(_IMP_kinematics)
331 IMP_C_OPEN_BINARY = _IMP_kinematics.IMP_C_OPEN_BINARY
334 _IMP_kinematics.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_kinematics.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_kinematics.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_kinematics.IMP_CGAL_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_kinematics)
344 IMP_CGAL_HAS_BOOST_SERIALIZATION = _IMP_kinematics.IMP_CGAL_HAS_BOOST_SERIALIZATION
346 _IMP_kinematics.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
347 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CGAL_HAS_BOOST_SYSTEM
349 _IMP_kinematics.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_kinematics)
350 IMP_CGAL_HAS_NUMPY = _IMP_kinematics.IMP_CGAL_HAS_NUMPY
352 _IMP_kinematics.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
353 IMPCGAL_SHOW_WARNINGS = _IMP_kinematics.IMPCGAL_SHOW_WARNINGS
356 _IMP_kinematics.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
357 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_kinematics.IMP_ALGEBRA_HAS_IMP_CGAL
359 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
360 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
362 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
363 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
365 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
366 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_RANDOM
368 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_kinematics)
369 IMP_ALGEBRA_HAS_BOOST_SERIALIZATION = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION
371 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
372 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_SYSTEM
374 _IMP_kinematics.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_kinematics)
375 IMP_ALGEBRA_HAS_CGAL = _IMP_kinematics.IMP_ALGEBRA_HAS_CGAL
377 _IMP_kinematics.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_kinematics)
378 IMP_ALGEBRA_HAS_NUMPY = _IMP_kinematics.IMP_ALGEBRA_HAS_NUMPY
380 _IMP_kinematics.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_kinematics)
381 IMP_ALGEBRA_HAS_ANN = _IMP_kinematics.IMP_ALGEBRA_HAS_ANN
383 _IMP_kinematics.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
384 IMPALGEBRA_SHOW_WARNINGS = _IMP_kinematics.IMPALGEBRA_SHOW_WARNINGS
387 _IMP_kinematics.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
388 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_kinematics.IMP_DISPLAY_HAS_IMP_CGAL
390 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
391 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
393 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
394 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
396 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
397 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_RANDOM
399 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_kinematics)
400 IMP_DISPLAY_HAS_BOOST_SERIALIZATION = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_SERIALIZATION
402 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
403 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_SYSTEM
405 _IMP_kinematics.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_kinematics)
406 IMP_DISPLAY_HAS_CGAL = _IMP_kinematics.IMP_DISPLAY_HAS_CGAL
408 _IMP_kinematics.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_kinematics)
409 IMP_DISPLAY_HAS_NUMPY = _IMP_kinematics.IMP_DISPLAY_HAS_NUMPY
411 _IMP_kinematics.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
412 IMPDISPLAY_SHOW_WARNINGS = _IMP_kinematics.IMPDISPLAY_SHOW_WARNINGS
415 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
416 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
418 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
419 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
421 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
422 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
424 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
425 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
427 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_kinematics)
428 IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION
430 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
431 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
433 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_kinematics)
434 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_CGAL
436 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_kinematics)
437 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_HDF5
439 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_kinematics)
440 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_NUMPY
442 _IMP_kinematics.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
443 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_kinematics.IMPSCOREFUNCTOR_SHOW_WARNINGS
446 _IMP_kinematics.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
447 IMP_CORE_HAS_IMP_CGAL = _IMP_kinematics.IMP_CORE_HAS_IMP_CGAL
449 _IMP_kinematics.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
450 IMP_CORE_HAS_IMP_KERNEL = _IMP_kinematics.IMP_CORE_HAS_IMP_KERNEL
452 _IMP_kinematics.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
453 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CORE_HAS_BOOST_FILESYSTEM
455 _IMP_kinematics.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
456 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
458 _IMP_kinematics.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
459 IMP_CORE_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CORE_HAS_BOOST_RANDOM
461 _IMP_kinematics.IMP_CORE_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_kinematics)
462 IMP_CORE_HAS_BOOST_SERIALIZATION = _IMP_kinematics.IMP_CORE_HAS_BOOST_SERIALIZATION
464 _IMP_kinematics.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
465 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CORE_HAS_BOOST_SYSTEM
467 _IMP_kinematics.IMP_CORE_HAS_CGAL_swigconstant(_IMP_kinematics)
468 IMP_CORE_HAS_CGAL = _IMP_kinematics.IMP_CORE_HAS_CGAL
470 _IMP_kinematics.IMP_CORE_HAS_HDF5_swigconstant(_IMP_kinematics)
471 IMP_CORE_HAS_HDF5 = _IMP_kinematics.IMP_CORE_HAS_HDF5
473 _IMP_kinematics.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_kinematics)
474 IMP_CORE_HAS_NUMPY = _IMP_kinematics.IMP_CORE_HAS_NUMPY
476 _IMP_kinematics.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
477 IMPCORE_SHOW_WARNINGS = _IMP_kinematics.IMPCORE_SHOW_WARNINGS
480 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_kinematics)
481 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_ALGEBRA
483 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
484 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_CGAL
486 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_kinematics)
487 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_DISPLAY
489 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
490 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_KERNEL
492 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_kinematics)
493 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
495 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
496 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
498 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
499 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
501 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
502 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_RANDOM
504 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_kinematics)
505 IMP_CONTAINER_HAS_BOOST_SERIALIZATION = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_SERIALIZATION
507 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
508 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_SYSTEM
510 _IMP_kinematics.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_kinematics)
511 IMP_CONTAINER_HAS_CGAL = _IMP_kinematics.IMP_CONTAINER_HAS_CGAL
513 _IMP_kinematics.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_kinematics)
514 IMP_CONTAINER_HAS_HDF5 = _IMP_kinematics.IMP_CONTAINER_HAS_HDF5
516 _IMP_kinematics.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_kinematics)
517 IMP_CONTAINER_HAS_NUMPY = _IMP_kinematics.IMP_CONTAINER_HAS_NUMPY
519 _IMP_kinematics.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_kinematics)
520 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_kinematics.IMP_CONTAINER_HAS_PYTHON_IHM
522 _IMP_kinematics.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_kinematics)
523 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_kinematics.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
525 _IMP_kinematics.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_kinematics)
526 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_kinematics.IMP_CONTAINER_HAS_ROBIN_MAP
528 _IMP_kinematics.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
529 IMPCONTAINER_SHOW_WARNINGS = _IMP_kinematics.IMPCONTAINER_SHOW_WARNINGS
532 _IMP_kinematics.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
533 IMP_ATOM_HAS_IMP_CGAL = _IMP_kinematics.IMP_ATOM_HAS_IMP_CGAL
535 _IMP_kinematics.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
536 IMP_ATOM_HAS_IMP_KERNEL = _IMP_kinematics.IMP_ATOM_HAS_IMP_KERNEL
538 _IMP_kinematics.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_kinematics)
539 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
541 _IMP_kinematics.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
542 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
544 _IMP_kinematics.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
545 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_ATOM_HAS_BOOST_RANDOM
547 _IMP_kinematics.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_kinematics)
548 IMP_ATOM_HAS_BOOST_REGEX = _IMP_kinematics.IMP_ATOM_HAS_BOOST_REGEX
550 _IMP_kinematics.IMP_ATOM_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_kinematics)
551 IMP_ATOM_HAS_BOOST_SERIALIZATION = _IMP_kinematics.IMP_ATOM_HAS_BOOST_SERIALIZATION
553 _IMP_kinematics.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
554 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_ATOM_HAS_BOOST_SYSTEM
556 _IMP_kinematics.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_kinematics)
557 IMP_ATOM_HAS_CGAL = _IMP_kinematics.IMP_ATOM_HAS_CGAL
559 _IMP_kinematics.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_kinematics)
560 IMP_ATOM_HAS_HDF5 = _IMP_kinematics.IMP_ATOM_HAS_HDF5
562 _IMP_kinematics.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_kinematics)
563 IMP_ATOM_HAS_NUMPY = _IMP_kinematics.IMP_ATOM_HAS_NUMPY
565 _IMP_kinematics.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_kinematics)
566 IMP_ATOM_HAS_PYTHON_IHM = _IMP_kinematics.IMP_ATOM_HAS_PYTHON_IHM
568 _IMP_kinematics.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
569 IMPATOM_SHOW_WARNINGS = _IMP_kinematics.IMPATOM_SHOW_WARNINGS
571 _IMP_kinematics.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_kinematics)
572 IMP_ATOM_TYPE_INDEX = _IMP_kinematics.IMP_ATOM_TYPE_INDEX
574 _IMP_kinematics.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_kinematics)
575 IMP_RESIDUE_TYPE_INDEX = _IMP_kinematics.IMP_RESIDUE_TYPE_INDEX
577 _IMP_kinematics.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_kinematics)
578 IMP_HIERARCHY_TYPE_INDEX = _IMP_kinematics.IMP_HIERARCHY_TYPE_INDEX
580 _IMP_kinematics.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_kinematics)
581 IMP_CHAIN_TYPE_INDEX = _IMP_kinematics.IMP_CHAIN_TYPE_INDEX
584 _IMP_kinematics.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
585 IMP_SAXS_HAS_IMP_CGAL = _IMP_kinematics.IMP_SAXS_HAS_IMP_CGAL
587 _IMP_kinematics.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_kinematics)
588 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_kinematics.IMP_SAXS_HAS_IMP_CONTAINER
590 _IMP_kinematics.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_kinematics)
591 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_SAXS_HAS_IMP_DISPLAY
593 _IMP_kinematics.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
594 IMP_SAXS_HAS_IMP_KERNEL = _IMP_kinematics.IMP_SAXS_HAS_IMP_KERNEL
596 _IMP_kinematics.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_kinematics)
597 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
599 _IMP_kinematics.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
600 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_SAXS_HAS_BOOST_FILESYSTEM
602 _IMP_kinematics.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
603 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
605 _IMP_kinematics.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
606 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_SAXS_HAS_BOOST_RANDOM
608 _IMP_kinematics.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_kinematics)
609 IMP_SAXS_HAS_BOOST_REGEX = _IMP_kinematics.IMP_SAXS_HAS_BOOST_REGEX
611 _IMP_kinematics.IMP_SAXS_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_kinematics)
612 IMP_SAXS_HAS_BOOST_SERIALIZATION = _IMP_kinematics.IMP_SAXS_HAS_BOOST_SERIALIZATION
614 _IMP_kinematics.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
615 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_SAXS_HAS_BOOST_SYSTEM
617 _IMP_kinematics.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_kinematics)
618 IMP_SAXS_HAS_CGAL = _IMP_kinematics.IMP_SAXS_HAS_CGAL
620 _IMP_kinematics.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_kinematics)
621 IMP_SAXS_HAS_HDF5 = _IMP_kinematics.IMP_SAXS_HAS_HDF5
623 _IMP_kinematics.IMP_SAXS_HAS_NUMPY_swigconstant(_IMP_kinematics)
624 IMP_SAXS_HAS_NUMPY = _IMP_kinematics.IMP_SAXS_HAS_NUMPY
626 _IMP_kinematics.IMP_SAXS_HAS_PYTHON_IHM_swigconstant(_IMP_kinematics)
627 IMP_SAXS_HAS_PYTHON_IHM = _IMP_kinematics.IMP_SAXS_HAS_PYTHON_IHM
629 _IMP_kinematics.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
630 IMPSAXS_SHOW_WARNINGS = _IMP_kinematics.IMPSAXS_SHOW_WARNINGS
633 _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
634 IMP_KINEMATICS_HAS_IMP_CGAL = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_CGAL
636 _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_DISPLAY_swigconstant(_IMP_kinematics)
637 IMP_KINEMATICS_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_DISPLAY
639 _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_kinematics)
640 IMP_KINEMATICS_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_SCORE_FUNCTOR
642 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
643 IMP_KINEMATICS_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_FILESYSTEM
645 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
646 IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS
648 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
649 IMP_KINEMATICS_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_RANDOM
651 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_REGEX_swigconstant(_IMP_kinematics)
652 IMP_KINEMATICS_HAS_BOOST_REGEX = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_REGEX
654 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_kinematics)
655 IMP_KINEMATICS_HAS_BOOST_SERIALIZATION = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_SERIALIZATION
657 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
658 IMP_KINEMATICS_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_SYSTEM
660 _IMP_kinematics.IMP_KINEMATICS_HAS_CGAL_swigconstant(_IMP_kinematics)
661 IMP_KINEMATICS_HAS_CGAL = _IMP_kinematics.IMP_KINEMATICS_HAS_CGAL
663 _IMP_kinematics.IMP_KINEMATICS_HAS_HDF5_swigconstant(_IMP_kinematics)
664 IMP_KINEMATICS_HAS_HDF5 = _IMP_kinematics.IMP_KINEMATICS_HAS_HDF5
666 _IMP_kinematics.IMP_KINEMATICS_HAS_NUMPY_swigconstant(_IMP_kinematics)
667 IMP_KINEMATICS_HAS_NUMPY = _IMP_kinematics.IMP_KINEMATICS_HAS_NUMPY
669 _IMP_kinematics.IMP_KINEMATICS_HAS_PYTHON_IHM_swigconstant(_IMP_kinematics)
670 IMP_KINEMATICS_HAS_PYTHON_IHM = _IMP_kinematics.IMP_KINEMATICS_HAS_PYTHON_IHM
672 _IMP_kinematics.IMPKINEMATICS_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
673 IMPKINEMATICS_SHOW_WARNINGS = _IMP_kinematics.IMPKINEMATICS_SHOW_WARNINGS
675 _object_types.append(
"Joint")
678 def _object_cast_to_Joint(o):
679 """_object_cast_to_Joint(Object o) -> Joint"""
680 return _IMP_kinematics._object_cast_to_Joint(o)
682 _object_types.append(
"TransformationJoint")
685 def _object_cast_to_TransformationJoint(o):
686 """_object_cast_to_TransformationJoint(Object o) -> TransformationJoint"""
687 return _IMP_kinematics._object_cast_to_TransformationJoint(o)
689 _object_types.append(
"RevoluteJoint")
692 def _object_cast_to_RevoluteJoint(o):
693 """_object_cast_to_RevoluteJoint(Object o) -> RevoluteJoint"""
694 return _IMP_kinematics._object_cast_to_RevoluteJoint(o)
696 _object_types.append(
"DihedralAngleRevoluteJoint")
699 def _object_cast_to_DihedralAngleRevoluteJoint(o):
700 """_object_cast_to_DihedralAngleRevoluteJoint(Object o) -> DihedralAngleRevoluteJoint"""
701 return _IMP_kinematics._object_cast_to_DihedralAngleRevoluteJoint(o)
703 _object_types.append(
"BondAngleRevoluteJoint")
706 def _object_cast_to_BondAngleRevoluteJoint(o):
707 """_object_cast_to_BondAngleRevoluteJoint(Object o) -> BondAngleRevoluteJoint"""
708 return _IMP_kinematics._object_cast_to_BondAngleRevoluteJoint(o)
710 _object_types.append(
"PrismaticJoint")
713 def _object_cast_to_PrismaticJoint(o):
714 """_object_cast_to_PrismaticJoint(Object o) -> PrismaticJoint"""
715 return _IMP_kinematics._object_cast_to_PrismaticJoint(o)
717 _object_types.append(
"KinematicForest")
720 def _object_cast_to_KinematicForest(o):
721 """_object_cast_to_KinematicForest(Object o) -> KinematicForest"""
722 return _IMP_kinematics._object_cast_to_KinematicForest(o)
724 _object_types.append(
"KinematicForestScoreState")
727 def _object_cast_to_KinematicForestScoreState(o):
728 """_object_cast_to_KinematicForestScoreState(Object o) -> KinematicForestScoreState"""
729 return _IMP_kinematics._object_cast_to_KinematicForestScoreState(o)
731 _object_types.append(
"CompositeJoint")
734 def _object_cast_to_CompositeJoint(o):
735 """_object_cast_to_CompositeJoint(Object o) -> CompositeJoint"""
736 return _IMP_kinematics._object_cast_to_CompositeJoint(o)
738 _object_types.append(
"RevoluteJointMover")
741 def _object_cast_to_RevoluteJointMover(o):
742 """_object_cast_to_RevoluteJointMover(Object o) -> RevoluteJointMover"""
743 return _IMP_kinematics._object_cast_to_RevoluteJointMover(o)
745 _object_types.append(
"DihedralMover")
748 def _object_cast_to_DihedralMover(o):
749 """_object_cast_to_DihedralMover(Object o) -> DihedralMover"""
750 return _IMP_kinematics._object_cast_to_DihedralMover(o)
752 _object_types.append(
"DOF")
755 def _object_cast_to_DOF(o):
756 """_object_cast_to_DOF(Object o) -> DOF"""
757 return _IMP_kinematics._object_cast_to_DOF(o)
760 _plural_types.append(
"DOFValuesList")
761 _value_types.append(
"DOFValues")
764 _object_types.append(
"DirectionalDOF")
767 def _object_cast_to_DirectionalDOF(o):
768 """_object_cast_to_DirectionalDOF(Object o) -> DirectionalDOF"""
769 return _IMP_kinematics._object_cast_to_DirectionalDOF(o)
771 _object_types.append(
"DOFsSampler")
774 def _object_cast_to_DOFsSampler(o):
775 """_object_cast_to_DOFsSampler(Object o) -> DOFsSampler"""
776 return _IMP_kinematics._object_cast_to_DOFsSampler(o)
778 _object_types.append(
"UniformBackboneSampler")
781 def _object_cast_to_UniformBackboneSampler(o):
782 """_object_cast_to_UniformBackboneSampler(Object o) -> UniformBackboneSampler"""
783 return _IMP_kinematics._object_cast_to_UniformBackboneSampler(o)
785 _object_types.append(
"FibrilSampler")
788 def _object_cast_to_FibrilSampler(o):
789 """_object_cast_to_FibrilSampler(Object o) -> FibrilSampler"""
790 return _IMP_kinematics._object_cast_to_FibrilSampler(o)
792 _object_types.append(
"ProteinKinematics")
795 def _object_cast_to_ProteinKinematics(o):
796 """_object_cast_to_ProteinKinematics(Object o) -> ProteinKinematics"""
797 return _IMP_kinematics._object_cast_to_ProteinKinematics(o)
799 _object_types.append(
"LocalPlanner")
802 def _object_cast_to_LocalPlanner(o):
803 """_object_cast_to_LocalPlanner(Object o) -> LocalPlanner"""
804 return _IMP_kinematics._object_cast_to_LocalPlanner(o)
806 _object_types.append(
"PathLocalPlanner")
809 def _object_cast_to_PathLocalPlanner(o):
810 """_object_cast_to_PathLocalPlanner(Object o) -> PathLocalPlanner"""
811 return _IMP_kinematics._object_cast_to_PathLocalPlanner(o)
813 _object_types.append(
"RRT")
816 def _object_cast_to_RRT(o):
817 """_object_cast_to_RRT(Object o) -> RRT"""
818 return _IMP_kinematics._object_cast_to_RRT(o)
820 """Proxy of C++ IMP::kinematics::Joint class"""
821 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
824 """get_version_info(Joint self) -> VersionInfo"""
825 return _IMP_kinematics.Joint_get_version_info(self)
828 def __init__(self, parent, child):
829 """__init__(IMP::kinematics::Joint self, RigidBody parent, RigidBody child) -> Joint"""
830 this = _IMP_kinematics.new_Joint(parent, child)
832 self.this.append(this)
836 def get_owner_kf(self):
837 """get_owner_kf(Joint self) -> KinematicForest"""
838 return _IMP_kinematics.Joint_get_owner_kf(self)
841 def get_transformation_child_to_parent(self):
842 """get_transformation_child_to_parent(Joint self) -> Transformation3D"""
843 return _IMP_kinematics.Joint_get_transformation_child_to_parent(self)
846 def get_parent_node(self):
847 """get_parent_node(Joint self) -> RigidBody"""
848 return _IMP_kinematics.Joint_get_parent_node(self)
851 def get_child_node(self):
852 """get_child_node(Joint self) -> RigidBody"""
853 return _IMP_kinematics.Joint_get_child_node(self)
857 """__str__(Joint self) -> std::string"""
858 return _IMP_kinematics.Joint___str__(self)
862 """__repr__(Joint self) -> std::string"""
863 return _IMP_kinematics.Joint___repr__(self)
868 return _object_cast_to_Joint(o)
870 Joint_swigregister = _IMP_kinematics.Joint_swigregister
871 Joint_swigregister(Joint)
873 class TransformationJoint(Joint):
874 """Proxy of C++ IMP::kinematics::TransformationJoint class"""
875 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
877 def __init__(self, parent, child):
878 """__init__(IMP::kinematics::TransformationJoint self, RigidBody parent, RigidBody child) -> TransformationJoint"""
879 this = _IMP_kinematics.new_TransformationJoint(parent, child)
881 self.this.append(this)
885 def set_transformation_child_to_parent(self, transformation):
886 """set_transformation_child_to_parent(TransformationJoint self, Transformation3D transformation)"""
887 return _IMP_kinematics.TransformationJoint_set_transformation_child_to_parent(self, transformation)
891 """__str__(TransformationJoint self) -> std::string"""
892 return _IMP_kinematics.TransformationJoint___str__(self)
896 """__repr__(TransformationJoint self) -> std::string"""
897 return _IMP_kinematics.TransformationJoint___repr__(self)
902 return _object_cast_to_TransformationJoint(o)
904 __swig_destroy__ = _IMP_kinematics.delete_TransformationJoint
905 __del__ =
lambda self:
None
906 TransformationJoint_swigregister = _IMP_kinematics.TransformationJoint_swigregister
907 TransformationJoint_swigregister(TransformationJoint)
909 class PrismaticJoint(Joint):
910 """Proxy of C++ IMP::kinematics::PrismaticJoint class"""
911 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
913 def __init__(self, *args):
915 __init__(IMP::kinematics::PrismaticJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b) -> PrismaticJoint
916 __init__(IMP::kinematics::PrismaticJoint self, RigidBody parent, RigidBody child) -> PrismaticJoint
918 this = _IMP_kinematics.new_PrismaticJoint(*args)
920 self.this.append(this)
924 def get_length(self):
925 """get_length(PrismaticJoint self) -> double"""
926 return _IMP_kinematics.PrismaticJoint_get_length(self)
929 def set_length(self, l):
930 """set_length(PrismaticJoint self, double l)"""
931 return _IMP_kinematics.PrismaticJoint_set_length(self, l)
935 """__str__(PrismaticJoint self) -> std::string"""
936 return _IMP_kinematics.PrismaticJoint___str__(self)
940 """__repr__(PrismaticJoint self) -> std::string"""
941 return _IMP_kinematics.PrismaticJoint___repr__(self)
946 return _object_cast_to_PrismaticJoint(o)
948 __swig_destroy__ = _IMP_kinematics.delete_PrismaticJoint
949 __del__ =
lambda self:
None
950 PrismaticJoint_swigregister = _IMP_kinematics.PrismaticJoint_swigregister
951 PrismaticJoint_swigregister(PrismaticJoint)
953 class CompositeJoint(Joint):
954 """Proxy of C++ IMP::kinematics::CompositeJoint class"""
955 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
957 def __init__(self, *args):
959 __init__(IMP::kinematics::CompositeJoint self, RigidBody parent, RigidBody child, IMP::kinematics::Joints joints) -> CompositeJoint
960 __init__(IMP::kinematics::CompositeJoint self, RigidBody parent, RigidBody child) -> CompositeJoint
962 this = _IMP_kinematics.new_CompositeJoint(*args)
964 self.this.append(this)
968 def add_downstream_joint(self, j):
969 """add_downstream_joint(CompositeJoint self, Joint j)"""
970 return _IMP_kinematics.CompositeJoint_add_downstream_joint(self, j)
973 def add_upstream_joint(self, j):
974 """add_upstream_joint(CompositeJoint self, Joint j)"""
975 return _IMP_kinematics.CompositeJoint_add_upstream_joint(self, j)
978 def set_joints(self, joints):
979 """set_joints(CompositeJoint self, IMP::kinematics::Joints joints)"""
980 return _IMP_kinematics.CompositeJoint_set_joints(self, joints)
983 def get_inner_joints(self):
984 """get_inner_joints(CompositeJoint self) -> IMP::kinematics::Joints const &"""
985 return _IMP_kinematics.CompositeJoint_get_inner_joints(self)
989 """__str__(CompositeJoint self) -> std::string"""
990 return _IMP_kinematics.CompositeJoint___str__(self)
994 """__repr__(CompositeJoint self) -> std::string"""
995 return _IMP_kinematics.CompositeJoint___repr__(self)
1000 return _object_cast_to_CompositeJoint(o)
1002 __swig_destroy__ = _IMP_kinematics.delete_CompositeJoint
1003 __del__ =
lambda self:
None
1004 CompositeJoint_swigregister = _IMP_kinematics.CompositeJoint_swigregister
1005 CompositeJoint_swigregister(CompositeJoint)
1007 class RevoluteJoint(Joint):
1008 """Proxy of C++ IMP::kinematics::RevoluteJoint class"""
1009 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1011 def __init__(self, parent, child):
1012 """__init__(IMP::kinematics::RevoluteJoint self, RigidBody parent, RigidBody child) -> RevoluteJoint"""
1013 if self.__class__ == RevoluteJoint:
1017 this = _IMP_kinematics.new_RevoluteJoint(_self, parent, child)
1019 self.this.append(this)
1023 if self.__class__ != RevoluteJoint:
1024 _director_objects.register(self)
1028 __swig_destroy__ = _IMP_kinematics.delete_RevoluteJoint
1029 __del__ =
lambda self:
None
1031 def set_angle(self, angle):
1032 """set_angle(RevoluteJoint self, double angle)"""
1033 return _IMP_kinematics.RevoluteJoint_set_angle(self, angle)
1037 """get_angle(RevoluteJoint self) -> double"""
1038 return _IMP_kinematics.RevoluteJoint_get_angle(self)
1041 def get_rot_axis_origin(self):
1042 """get_rot_axis_origin(RevoluteJoint self) -> Vector3D"""
1043 return _IMP_kinematics.RevoluteJoint_get_rot_axis_origin(self)
1046 def get_rot_axis_unit_vector(self):
1047 """get_rot_axis_unit_vector(RevoluteJoint self) -> Vector3D"""
1048 return _IMP_kinematics.RevoluteJoint_get_rot_axis_unit_vector(self)
1051 def update_child_node_reference_frame(self):
1052 """update_child_node_reference_frame(RevoluteJoint self)"""
1053 return _IMP_kinematics.RevoluteJoint_update_child_node_reference_frame(self)
1056 def update_axis_of_rotation_from_cartesian_witnesses(self):
1057 """update_axis_of_rotation_from_cartesian_witnesses(RevoluteJoint self)"""
1058 return _IMP_kinematics.RevoluteJoint_update_axis_of_rotation_from_cartesian_witnesses(self)
1061 def get_current_angle_from_cartesian_witnesses(self):
1062 """get_current_angle_from_cartesian_witnesses(RevoluteJoint self) -> double"""
1063 return _IMP_kinematics.RevoluteJoint_get_current_angle_from_cartesian_witnesses(self)
1066 def update_joint_from_cartesian_witnesses(self):
1067 """update_joint_from_cartesian_witnesses(RevoluteJoint self)"""
1068 return _IMP_kinematics.RevoluteJoint_update_joint_from_cartesian_witnesses(self)
1071 def get_rotation_about_joint_in_parent_coordinates(self):
1072 """get_rotation_about_joint_in_parent_coordinates(RevoluteJoint self) -> Transformation3D"""
1073 return _IMP_kinematics.RevoluteJoint_get_rotation_about_joint_in_parent_coordinates(self)
1075 angle_ = _swig_property(_IMP_kinematics.RevoluteJoint_angle__get, _IMP_kinematics.RevoluteJoint_angle__set)
1076 last_updated_angle_ = _swig_property(_IMP_kinematics.RevoluteJoint_last_updated_angle__get, _IMP_kinematics.RevoluteJoint_last_updated_angle__set)
1077 rot_axis_unit_vector_ = _swig_property(_IMP_kinematics.RevoluteJoint_rot_axis_unit_vector__get, _IMP_kinematics.RevoluteJoint_rot_axis_unit_vector__set)
1078 rot_axis_origin_ = _swig_property(_IMP_kinematics.RevoluteJoint_rot_axis_origin__get, _IMP_kinematics.RevoluteJoint_rot_axis_origin__set)
1081 """__str__(RevoluteJoint self) -> std::string"""
1082 return _IMP_kinematics.RevoluteJoint___str__(self)
1086 """__repr__(RevoluteJoint self) -> std::string"""
1087 return _IMP_kinematics.RevoluteJoint___repr__(self)
1092 return _object_cast_to_RevoluteJoint(o)
1095 def get_type_name(self):
1096 return self.__class__.__name__
1097 def do_show(self, out):
1100 if"IMP::kinematics" ==
"IMP":
1101 return VersionInfo(self.__module__,
1108 return _object_cast_to_RevoluteJoint(o)
1110 def __disown__(self):
1112 _IMP_kinematics.disown_RevoluteJoint(self)
1113 return weakref_proxy(self)
1116 """do_destroy(RevoluteJoint self)"""
1117 return _IMP_kinematics.RevoluteJoint_do_destroy(self)
1119 RevoluteJoint_swigregister = _IMP_kinematics.RevoluteJoint_swigregister
1120 RevoluteJoint_swigregister(RevoluteJoint)
1122 class DihedralAngleRevoluteJoint(RevoluteJoint):
1123 """Proxy of C++ IMP::kinematics::DihedralAngleRevoluteJoint class"""
1124 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1126 def __init__(self, parent, child, a, b, c, d):
1127 """__init__(IMP::kinematics::DihedralAngleRevoluteJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b, XYZ c, XYZ d) -> DihedralAngleRevoluteJoint"""
1128 this = _IMP_kinematics.new_DihedralAngleRevoluteJoint(parent, child, a, b, c, d)
1130 self.this.append(this)
1135 """get_a(DihedralAngleRevoluteJoint self) -> XYZ"""
1136 return _IMP_kinematics.DihedralAngleRevoluteJoint_get_a(self)
1140 """get_b(DihedralAngleRevoluteJoint self) -> XYZ"""
1141 return _IMP_kinematics.DihedralAngleRevoluteJoint_get_b(self)
1145 """get_c(DihedralAngleRevoluteJoint self) -> XYZ"""
1146 return _IMP_kinematics.DihedralAngleRevoluteJoint_get_c(self)
1150 """get_d(DihedralAngleRevoluteJoint self) -> XYZ"""
1151 return _IMP_kinematics.DihedralAngleRevoluteJoint_get_d(self)
1155 """__str__(DihedralAngleRevoluteJoint self) -> std::string"""
1156 return _IMP_kinematics.DihedralAngleRevoluteJoint___str__(self)
1160 """__repr__(DihedralAngleRevoluteJoint self) -> std::string"""
1161 return _IMP_kinematics.DihedralAngleRevoluteJoint___repr__(self)
1166 return _object_cast_to_DihedralAngleRevoluteJoint(o)
1168 __swig_destroy__ = _IMP_kinematics.delete_DihedralAngleRevoluteJoint
1169 __del__ =
lambda self:
None
1170 DihedralAngleRevoluteJoint_swigregister = _IMP_kinematics.DihedralAngleRevoluteJoint_swigregister
1171 DihedralAngleRevoluteJoint_swigregister(DihedralAngleRevoluteJoint)
1173 class BondAngleRevoluteJoint(RevoluteJoint):
1174 """Proxy of C++ IMP::kinematics::BondAngleRevoluteJoint class"""
1175 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1177 def __init__(self, parent, child, a, b, c):
1178 """__init__(IMP::kinematics::BondAngleRevoluteJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b, XYZ c) -> BondAngleRevoluteJoint"""
1179 this = _IMP_kinematics.new_BondAngleRevoluteJoint(parent, child, a, b, c)
1181 self.this.append(this)
1186 """__str__(BondAngleRevoluteJoint self) -> std::string"""
1187 return _IMP_kinematics.BondAngleRevoluteJoint___str__(self)
1191 """__repr__(BondAngleRevoluteJoint self) -> std::string"""
1192 return _IMP_kinematics.BondAngleRevoluteJoint___repr__(self)
1197 return _object_cast_to_BondAngleRevoluteJoint(o)
1199 __swig_destroy__ = _IMP_kinematics.delete_BondAngleRevoluteJoint
1200 __del__ =
lambda self:
None
1201 BondAngleRevoluteJoint_swigregister = _IMP_kinematics.BondAngleRevoluteJoint_swigregister
1202 BondAngleRevoluteJoint_swigregister(BondAngleRevoluteJoint)
1205 """Proxy of C++ IMP::kinematics::RevoluteJointMover class"""
1206 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1208 def __init__(self, m, joints, stddev=0.01):
1210 __init__(IMP::kinematics::RevoluteJointMover self, Model m, IMP::kinematics::RevoluteJoints const & joints, double const stddev=0.01) -> RevoluteJointMover
1211 __init__(IMP::kinematics::RevoluteJointMover self, Model m, IMP::kinematics::RevoluteJoints const & joints) -> RevoluteJointMover
1213 this = _IMP_kinematics.new_RevoluteJointMover(m, joints, stddev)
1215 self.this.append(this)
1219 def set_sigma(self, sigma):
1220 """set_sigma(RevoluteJointMover self, IMP::Float sigma)"""
1221 return _IMP_kinematics.RevoluteJointMover_set_sigma(self, sigma)
1224 def get_sigma(self):
1225 """get_sigma(RevoluteJointMover self) -> IMP::Float"""
1226 return _IMP_kinematics.RevoluteJointMover_get_sigma(self)
1230 """get_version_info(RevoluteJointMover self) -> VersionInfo"""
1231 return _IMP_kinematics.RevoluteJointMover_get_version_info(self)
1235 """__str__(RevoluteJointMover self) -> std::string"""
1236 return _IMP_kinematics.RevoluteJointMover___str__(self)
1240 """__repr__(RevoluteJointMover self) -> std::string"""
1241 return _IMP_kinematics.RevoluteJointMover___repr__(self)
1246 return _object_cast_to_RevoluteJointMover(o)
1248 RevoluteJointMover_swigregister = _IMP_kinematics.RevoluteJointMover_swigregister
1249 RevoluteJointMover_swigregister(RevoluteJointMover)
1252 """Proxy of C++ IMP::kinematics::DihedralMover class"""
1253 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1255 def __init__(self, m, joints, max_rot=0.1):
1257 __init__(IMP::kinematics::DihedralMover self, Model m, IMP::kinematics::RevoluteJoints const & joints, double const max_rot=0.1) -> DihedralMover
1258 __init__(IMP::kinematics::DihedralMover self, Model m, IMP::kinematics::RevoluteJoints const & joints) -> DihedralMover
1260 this = _IMP_kinematics.new_DihedralMover(m, joints, max_rot)
1262 self.this.append(this)
1267 """get_version_info(DihedralMover self) -> VersionInfo"""
1268 return _IMP_kinematics.DihedralMover_get_version_info(self)
1272 """__str__(DihedralMover self) -> std::string"""
1273 return _IMP_kinematics.DihedralMover___str__(self)
1277 """__repr__(DihedralMover self) -> std::string"""
1278 return _IMP_kinematics.DihedralMover___repr__(self)
1283 return _object_cast_to_DihedralMover(o)
1285 DihedralMover_swigregister = _IMP_kinematics.DihedralMover_swigregister
1286 DihedralMover_swigregister(DihedralMover)
1289 """Proxy of C++ IMP::kinematics::KinematicForest class"""
1290 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1293 """get_version_info(KinematicForest self) -> VersionInfo"""
1294 return _IMP_kinematics.KinematicForest_get_version_info(self)
1297 def __init__(self, *args):
1299 __init__(IMP::kinematics::KinematicForest self, Model m) -> KinematicForest
1300 __init__(IMP::kinematics::KinematicForest self, Model m, Hierarchy hierarchy) -> KinematicForest
1302 this = _IMP_kinematics.new_KinematicForest(*args)
1304 self.this.append(this)
1308 def add_edge(self, *args):
1310 add_edge(KinematicForest self, RigidBody parent, RigidBody child) -> Joint
1311 add_edge(KinematicForest self, Joint joint)
1313 return _IMP_kinematics.KinematicForest_add_edge(self, *args)
1316 def add_rigid_bodies_in_chain(self, rbs):
1317 """add_rigid_bodies_in_chain(KinematicForest self, IMP::core::RigidBodies rbs)"""
1318 return _IMP_kinematics.KinematicForest_add_rigid_bodies_in_chain(self, rbs)
1321 def reset_root(self, new_root):
1322 """reset_root(KinematicForest self, Particle new_root)"""
1323 return _IMP_kinematics.KinematicForest_reset_root(self, new_root)
1326 def update_all_internal_coordinates(self):
1327 """update_all_internal_coordinates(KinematicForest self)"""
1328 return _IMP_kinematics.KinematicForest_update_all_internal_coordinates(self)
1331 def update_all_external_coordinates(self):
1332 """update_all_external_coordinates(KinematicForest self)"""
1333 return _IMP_kinematics.KinematicForest_update_all_external_coordinates(self)
1336 def get_ordered_joints(self):
1337 """get_ordered_joints(KinematicForest self) -> IMP::kinematics::Joints"""
1338 return _IMP_kinematics.KinematicForest_get_ordered_joints(self)
1341 def transform_safe(self, tr):
1342 """transform_safe(KinematicForest self, Transformation3D tr)"""
1343 return _IMP_kinematics.KinematicForest_transform_safe(self, tr)
1346 def mark_internal_coordinates_changed(self):
1347 """mark_internal_coordinates_changed(KinematicForest self)"""
1348 return _IMP_kinematics.KinematicForest_mark_internal_coordinates_changed(self)
1351 def mark_external_coordinates_changed(self):
1352 """mark_external_coordinates_changed(KinematicForest self)"""
1353 return _IMP_kinematics.KinematicForest_mark_external_coordinates_changed(self)
1356 def set_coordinates_safe(self, rb, c):
1357 """set_coordinates_safe(KinematicForest self, RigidBody rb, Vector3D c)"""
1358 return _IMP_kinematics.KinematicForest_set_coordinates_safe(self, rb, c)
1361 def get_coordinates_safe(self, rb):
1362 """get_coordinates_safe(KinematicForest self, RigidBody rb) -> Vector3D"""
1363 return _IMP_kinematics.KinematicForest_get_coordinates_safe(self, rb)
1366 def get_is_member(self, rb):
1367 """get_is_member(KinematicForest self, RigidBody rb) -> bool"""
1368 return _IMP_kinematics.KinematicForest_get_is_member(self, rb)
1371 def get_reference_frame_safe(self, rb):
1372 """get_reference_frame_safe(KinematicForest self, RigidBody rb) -> ReferenceFrame3D"""
1373 return _IMP_kinematics.KinematicForest_get_reference_frame_safe(self, rb)
1376 def set_reference_frame_safe(self, rb, r):
1377 """set_reference_frame_safe(KinematicForest self, RigidBody rb, ReferenceFrame3D r)"""
1378 return _IMP_kinematics.KinematicForest_set_reference_frame_safe(self, rb, r)
1381 def apply_transform_safely(self, tr):
1382 """apply_transform_safely(KinematicForest self, Transformation3D tr)"""
1383 return _IMP_kinematics.KinematicForest_apply_transform_safely(self, tr)
1387 """__str__(KinematicForest self) -> std::string"""
1388 return _IMP_kinematics.KinematicForest___str__(self)
1392 """__repr__(KinematicForest self) -> std::string"""
1393 return _IMP_kinematics.KinematicForest___repr__(self)
1398 return _object_cast_to_KinematicForest(o)
1400 KinematicForest_swigregister = _IMP_kinematics.KinematicForest_swigregister
1401 KinematicForest_swigregister(KinematicForest)
1404 """Proxy of C++ IMP::kinematics::KinematicForestScoreState class"""
1405 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1408 """get_version_info(KinematicForestScoreState self) -> VersionInfo"""
1409 return _IMP_kinematics.KinematicForestScoreState_get_version_info(self)
1412 def __init__(self, kf, rbs, atoms):
1413 """__init__(IMP::kinematics::KinematicForestScoreState self, KinematicForest kf, IMP::core::RigidBodies rbs, IMP::ParticlesTemp atoms) -> KinematicForestScoreState"""
1414 this = _IMP_kinematics.new_KinematicForestScoreState(kf, rbs, atoms)
1416 self.this.append(this)
1420 def do_before_evaluate(self):
1421 """do_before_evaluate(KinematicForestScoreState self)"""
1422 return _IMP_kinematics.KinematicForestScoreState_do_before_evaluate(self)
1425 def do_after_evaluate(self, da):
1426 """do_after_evaluate(KinematicForestScoreState self, DerivativeAccumulator da)"""
1427 return _IMP_kinematics.KinematicForestScoreState_do_after_evaluate(self, da)
1431 """do_get_inputs(KinematicForestScoreState self) -> IMP::ModelObjectsTemp"""
1432 return _IMP_kinematics.KinematicForestScoreState_do_get_inputs(self)
1436 """do_get_outputs(KinematicForestScoreState self) -> IMP::ModelObjectsTemp"""
1437 return _IMP_kinematics.KinematicForestScoreState_do_get_outputs(self)
1441 """__str__(KinematicForestScoreState self) -> std::string"""
1442 return _IMP_kinematics.KinematicForestScoreState___str__(self)
1446 """__repr__(KinematicForestScoreState self) -> std::string"""
1447 return _IMP_kinematics.KinematicForestScoreState___repr__(self)
1452 return _object_cast_to_KinematicForestScoreState(o)
1454 KinematicForestScoreState_swigregister = _IMP_kinematics.KinematicForestScoreState_swigregister
1455 KinematicForestScoreState_swigregister(KinematicForestScoreState)
1458 """Proxy of C++ IMP::kinematics::DOF class"""
1459 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1462 """get_version_info(DOF self) -> VersionInfo"""
1463 return _IMP_kinematics.DOF_get_version_info(self)
1466 def __init__(self, *args):
1468 __init__(IMP::kinematics::DOF self, double v) -> DOF
1469 __init__(IMP::kinematics::DOF self, double v, double min, double max, double step_size) -> DOF
1471 this = _IMP_kinematics.new_DOF(*args)
1473 self.this.append(this)
1477 def get_value(self):
1478 """get_value(DOF self) -> double"""
1479 return _IMP_kinematics.DOF_get_value(self)
1482 def set_value(self, v):
1483 """set_value(DOF self, double v)"""
1484 return _IMP_kinematics.DOF_set_value(self, v)
1487 def get_range(self):
1488 """get_range(DOF self) -> std::pair< double,double >"""
1489 return _IMP_kinematics.DOF_get_range(self)
1492 def set_range(self, range):
1493 """set_range(DOF self, std::pair< double,double > range)"""
1494 return _IMP_kinematics.DOF_set_range(self, range)
1497 def get_step_size(self):
1498 """get_step_size(DOF self) -> double"""
1499 return _IMP_kinematics.DOF_get_step_size(self)
1502 def set_step_size(self, step_size):
1503 """set_step_size(DOF self, double step_size)"""
1504 return _IMP_kinematics.DOF_set_step_size(self, step_size)
1507 def get_number_of_steps(self, *args):
1509 get_number_of_steps(DOF self, double value) -> int
1510 get_number_of_steps(DOF self, double value1, double value2) -> int
1512 return _IMP_kinematics.DOF_get_number_of_steps(self, *args)
1516 """__str__(DOF self) -> std::string"""
1517 return _IMP_kinematics.DOF___str__(self)
1521 """__repr__(DOF self) -> std::string"""
1522 return _IMP_kinematics.DOF___repr__(self)
1527 return _object_cast_to_DOF(o)
1529 DOF_swigregister = _IMP_kinematics.DOF_swigregister
1530 DOF_swigregister(DOF)
1532 class DOFValues(IMP.saxs.DistBase):
1533 """Proxy of C++ IMP::kinematics::DOFValues class"""
1534 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1536 def __init__(self, *args):
1538 __init__(IMP::kinematics::DOFValues self, IMP::kinematics::DOFs const & dofs) -> DOFValues
1539 __init__(IMP::kinematics::DOFValues self) -> DOFValues
1541 this = _IMP_kinematics.new_DOFValues(*args)
1543 self.this.append(this)
1547 def get_distance2(self, *args):
1549 get_distance2(DOFValues self, DOFValues other_dof_values) -> double
1550 get_distance2(DOFValues self, DOFValues other_dof_values, std::vector< bool,std::allocator< bool > > const & active_dofs) -> double
1552 return _IMP_kinematics.DOFValues_get_distance2(self, *args)
1557 get_distance(DOFValues self, DOFValues other_dof_values) -> double
1558 get_distance(DOFValues self, DOFValues other_dof_values, std::vector< bool,std::allocator< bool > > const & active_dofs) -> double
1560 return _IMP_kinematics.DOFValues_get_distance(self, *args)
1563 def show(self, *args):
1565 show(DOFValues self, _ostream out)
1566 show(DOFValues self)
1568 return _IMP_kinematics.DOFValues_show(self, *args)
1572 """__str__(DOFValues self) -> std::string"""
1573 return _IMP_kinematics.DOFValues___str__(self)
1577 """__repr__(DOFValues self) -> std::string"""
1578 return _IMP_kinematics.DOFValues___repr__(self)
1581 def _get_as_binary(self):
1582 """_get_as_binary(DOFValues self) -> PyObject *"""
1583 return _IMP_kinematics.DOFValues__get_as_binary(self)
1586 def _set_from_binary(self, p):
1587 """_set_from_binary(DOFValues self, PyObject * p)"""
1588 return _IMP_kinematics.DOFValues__set_from_binary(self, p)
1591 def __getstate__(self):
1592 p = self._get_as_binary()
1593 if len(self.__dict__) > 1:
1594 d = self.__dict__.copy()
1599 def __setstate__(self, p):
1600 if not hasattr(self,
'this'):
1602 if isinstance(p, tuple):
1604 self.__dict__.update(d)
1605 return self._set_from_binary(p)
1607 __swig_destroy__ = _IMP_kinematics.delete_DOFValues
1608 __del__ =
lambda self:
None
1609 DOFValues_swigregister = _IMP_kinematics.DOFValues_swigregister
1610 DOFValues_swigregister(DOFValues)
1613 """Proxy of C++ IMP::kinematics::DirectionalDOF class"""
1614 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1616 def __init__(self, dofs):
1617 """__init__(IMP::kinematics::DirectionalDOF self, IMP::kinematics::DOFs const & dofs) -> DirectionalDOF"""
1618 this = _IMP_kinematics.new_DirectionalDOF(dofs)
1620 self.this.append(this)
1624 def set_end_points(self, q1, q2):
1625 """set_end_points(DirectionalDOF self, DOFValues q1, DOFValues q2)"""
1626 return _IMP_kinematics.DirectionalDOF_set_end_points(self, q1, q2)
1629 def get_dofs_values(self):
1630 """get_dofs_values(DirectionalDOF self) -> DOFValues"""
1631 return _IMP_kinematics.DirectionalDOF_get_dofs_values(self)
1634 def get_value(self):
1635 """get_value(DirectionalDOF self) -> double"""
1636 return _IMP_kinematics.DirectionalDOF_get_value(self)
1640 """get_version_info(DirectionalDOF self) -> VersionInfo"""
1641 return _IMP_kinematics.DirectionalDOF_get_version_info(self)
1645 """__str__(DirectionalDOF self) -> std::string"""
1646 return _IMP_kinematics.DirectionalDOF___str__(self)
1650 """__repr__(DirectionalDOF self) -> std::string"""
1651 return _IMP_kinematics.DirectionalDOF___repr__(self)
1656 return _object_cast_to_DirectionalDOF(o)
1658 DirectionalDOF_swigregister = _IMP_kinematics.DirectionalDOF_swigregister
1659 DirectionalDOF_swigregister(DirectionalDOF)
1662 """Proxy of C++ IMP::kinematics::DOFsSampler class"""
1663 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1665 def get_type_name(self):
1666 """get_type_name(DOFsSampler self) -> std::string"""
1667 return _IMP_kinematics.DOFsSampler_get_type_name(self)
1671 """get_version_info(DOFsSampler self) -> VersionInfo"""
1672 return _IMP_kinematics.DOFsSampler_get_version_info(self)
1675 def __init__(self, dofs):
1676 """__init__(IMP::kinematics::DOFsSampler self, IMP::kinematics::DOFs dofs) -> DOFsSampler"""
1677 if self.__class__ == DOFsSampler:
1681 this = _IMP_kinematics.new_DOFsSampler(_self, dofs)
1683 self.this.append(this)
1687 if self.__class__ != DOFsSampler:
1688 _director_objects.register(self)
1693 def get_sample(self):
1694 """get_sample(DOFsSampler self) -> DOFValues"""
1695 return _IMP_kinematics.DOFsSampler_get_sample(self)
1698 def apply(self, values):
1699 """apply(DOFsSampler self, DOFValues values)"""
1700 return _IMP_kinematics.DOFsSampler_apply(self, values)
1703 def apply_last_sample(self):
1704 """apply_last_sample(DOFsSampler self)"""
1705 return _IMP_kinematics.DOFsSampler_apply_last_sample(self)
1708 def sample_and_apply(self):
1709 """sample_and_apply(DOFsSampler self)"""
1710 return _IMP_kinematics.DOFsSampler_sample_and_apply(self)
1714 """get_dofs(DOFsSampler self) -> IMP::kinematics::DOFs const &"""
1715 return _IMP_kinematics.DOFsSampler_get_dofs(self)
1718 def get_dof(self, i):
1719 """get_dof(DOFsSampler self, unsigned int i) -> DOF"""
1720 return _IMP_kinematics.DOFsSampler_get_dof(self, i)
1723 def get_number_of_dofs(self):
1724 """get_number_of_dofs(DOFsSampler self) -> unsigned int"""
1725 return _IMP_kinematics.DOFsSampler_get_number_of_dofs(self)
1728 def do_get_sample(self):
1729 """do_get_sample(DOFsSampler self) -> DOFValues"""
1730 return _IMP_kinematics.DOFsSampler_do_get_sample(self)
1734 """__str__(DOFsSampler self) -> std::string"""
1735 return _IMP_kinematics.DOFsSampler___str__(self)
1739 """__repr__(DOFsSampler self) -> std::string"""
1740 return _IMP_kinematics.DOFsSampler___repr__(self)
1745 return _object_cast_to_DOFsSampler(o)
1748 def get_type_name(self):
1749 return self.__class__.__name__
1750 def do_show(self, out):
1753 if"IMP::kinematics" ==
"IMP":
1754 return VersionInfo(self.__module__,
1761 return _object_cast_to_DOFsSampler(o)
1763 def __disown__(self):
1765 _IMP_kinematics.disown_DOFsSampler(self)
1766 return weakref_proxy(self)
1769 """do_destroy(DOFsSampler self)"""
1770 return _IMP_kinematics.DOFsSampler_do_destroy(self)
1772 DOFsSampler_swigregister = _IMP_kinematics.DOFsSampler_swigregister
1773 DOFsSampler_swigregister(DOFsSampler)
1775 class FibrilSampler(DOFsSampler):
1776 """Proxy of C++ IMP::kinematics::FibrilSampler class"""
1777 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1779 def __init__(self, trans_joint, dihedral_joints, dofs):
1780 """__init__(IMP::kinematics::FibrilSampler self, IMP::kinematics::TransformationJoints trans_joint, IMP::kinematics::DihedralAngleRevoluteJoints dihedral_joints, IMP::kinematics::DOFs dofs) -> FibrilSampler"""
1781 this = _IMP_kinematics.new_FibrilSampler(trans_joint, dihedral_joints, dofs)
1783 self.this.append(this)
1787 def apply_floats(self, values):
1788 """apply_floats(FibrilSampler self, IMP::Floats const & values)"""
1789 return _IMP_kinematics.FibrilSampler_apply_floats(self, values)
1792 def get_dihedral_joints(self):
1793 """get_dihedral_joints(FibrilSampler self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1794 return _IMP_kinematics.FibrilSampler_get_dihedral_joints(self)
1797 def get_transformation_joint(self):
1798 """get_transformation_joint(FibrilSampler self) -> IMP::kinematics::TransformationJoints"""
1799 return _IMP_kinematics.FibrilSampler_get_transformation_joint(self)
1803 """__str__(FibrilSampler self) -> std::string"""
1804 return _IMP_kinematics.FibrilSampler___str__(self)
1808 """__repr__(FibrilSampler self) -> std::string"""
1809 return _IMP_kinematics.FibrilSampler___repr__(self)
1814 return _object_cast_to_FibrilSampler(o)
1816 __swig_destroy__ = _IMP_kinematics.delete_FibrilSampler
1817 __del__ =
lambda self:
None
1818 FibrilSampler_swigregister = _IMP_kinematics.FibrilSampler_swigregister
1819 FibrilSampler_swigregister(FibrilSampler)
1821 class UniformBackboneSampler(DOFsSampler):
1822 """Proxy of C++ IMP::kinematics::UniformBackboneSampler class"""
1823 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1825 def __init__(self, joints, dofs):
1826 """__init__(IMP::kinematics::UniformBackboneSampler self, IMP::kinematics::DihedralAngleRevoluteJoints joints, IMP::kinematics::DOFs dofs) -> UniformBackboneSampler"""
1827 this = _IMP_kinematics.new_UniformBackboneSampler(joints, dofs)
1829 self.this.append(this)
1833 def apply_floats(self, values):
1834 """apply_floats(UniformBackboneSampler self, IMP::Floats const & values)"""
1835 return _IMP_kinematics.UniformBackboneSampler_apply_floats(self, values)
1838 def get_joints(self):
1839 """get_joints(UniformBackboneSampler self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1840 return _IMP_kinematics.UniformBackboneSampler_get_joints(self)
1844 """__str__(UniformBackboneSampler self) -> std::string"""
1845 return _IMP_kinematics.UniformBackboneSampler___str__(self)
1849 """__repr__(UniformBackboneSampler self) -> std::string"""
1850 return _IMP_kinematics.UniformBackboneSampler___repr__(self)
1855 return _object_cast_to_UniformBackboneSampler(o)
1857 __swig_destroy__ = _IMP_kinematics.delete_UniformBackboneSampler
1858 __del__ =
lambda self:
None
1859 UniformBackboneSampler_swigregister = _IMP_kinematics.UniformBackboneSampler_swigregister
1860 UniformBackboneSampler_swigregister(UniformBackboneSampler)
1863 _IMP_kinematics.PHI_swigconstant(_IMP_kinematics)
1864 PHI = _IMP_kinematics.PHI
1866 _IMP_kinematics.PSI_swigconstant(_IMP_kinematics)
1867 PSI = _IMP_kinematics.PSI
1869 _IMP_kinematics.CHI_swigconstant(_IMP_kinematics)
1870 CHI = _IMP_kinematics.CHI
1872 _IMP_kinematics.CHI1_swigconstant(_IMP_kinematics)
1873 CHI1 = _IMP_kinematics.CHI1
1875 _IMP_kinematics.CHI2_swigconstant(_IMP_kinematics)
1876 CHI2 = _IMP_kinematics.CHI2
1878 _IMP_kinematics.CHI3_swigconstant(_IMP_kinematics)
1879 CHI3 = _IMP_kinematics.CHI3
1881 _IMP_kinematics.CHI4_swigconstant(_IMP_kinematics)
1882 CHI4 = _IMP_kinematics.CHI4
1884 _IMP_kinematics.CHI5_swigconstant(_IMP_kinematics)
1885 CHI5 = _IMP_kinematics.CHI5
1887 _IMP_kinematics.OTHER_swigconstant(_IMP_kinematics)
1888 OTHER = _IMP_kinematics.OTHER
1890 _IMP_kinematics.OTHER2_swigconstant(_IMP_kinematics)
1891 OTHER2 = _IMP_kinematics.OTHER2
1893 _IMP_kinematics.OTHER3_swigconstant(_IMP_kinematics)
1894 OTHER3 = _IMP_kinematics.OTHER3
1896 _IMP_kinematics.OTHER4_swigconstant(_IMP_kinematics)
1897 OTHER4 = _IMP_kinematics.OTHER4
1899 _IMP_kinematics.OTHER5_swigconstant(_IMP_kinematics)
1900 OTHER5 = _IMP_kinematics.OTHER5
1902 _IMP_kinematics.TOTAL_swigconstant(_IMP_kinematics)
1903 TOTAL = _IMP_kinematics.TOTAL
1905 """Proxy of C++ IMP::kinematics::ProteinKinematics class"""
1906 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1908 def __init__(self, *args):
1910 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, bool flexible_backbone=True, bool flexible_side_chains=False) -> ProteinKinematics
1911 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, bool flexible_backbone=True) -> ProteinKinematics
1912 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd) -> ProteinKinematics
1913 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, IMP::atom::Residues const & flexible_residues, IMP::ParticleIndexQuads const custom_dihedral_angles, IMP::atom::Atoms open_loop_bond_atoms, bool flexible_backbone=True, bool flexible_side_chains=False) -> ProteinKinematics
1914 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, IMP::atom::Residues const & flexible_residues, IMP::ParticleIndexQuads const custom_dihedral_angles, IMP::atom::Atoms open_loop_bond_atoms, bool flexible_backbone=True) -> ProteinKinematics
1915 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, IMP::atom::Residues const & flexible_residues, IMP::ParticleIndexQuads const custom_dihedral_angles, IMP::atom::Atoms open_loop_bond_atoms) -> ProteinKinematics
1916 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, IMP::atom::Residues const & flexible_residues, IMP::ParticleIndexQuads const custom_dihedral_angles) -> ProteinKinematics
1917 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, IMP::atom::Residues const & flexible_residues, std::vector< IMP::atom::Atoms,std::allocator< IMP::atom::Atoms > > const & custom_dihedral_atoms, IMP::atom::Atoms open_loop_bond_atoms, bool flexible_backbone=True, bool flexible_side_chains=False) -> ProteinKinematics
1918 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, IMP::atom::Residues const & flexible_residues, std::vector< IMP::atom::Atoms,std::allocator< IMP::atom::Atoms > > const & custom_dihedral_atoms, IMP::atom::Atoms open_loop_bond_atoms, bool flexible_backbone=True) -> ProteinKinematics
1919 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, IMP::atom::Residues const & flexible_residues, std::vector< IMP::atom::Atoms,std::allocator< IMP::atom::Atoms > > const & custom_dihedral_atoms, IMP::atom::Atoms open_loop_bond_atoms) -> ProteinKinematics
1920 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, IMP::atom::Residues const & flexible_residues, std::vector< IMP::atom::Atoms,std::allocator< IMP::atom::Atoms > > const & custom_dihedral_atoms) -> ProteinKinematics
1921 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, IMP::atom::Residues const & flexible_residues, IMP::ParticleIndexQuads const custom_dihedral_angles, std::vector< IMP::kinematics::ProteinAngleType,std::allocator< IMP::kinematics::ProteinAngleType > > const & custom_dihedral_angle_types, IMP::atom::Atoms open_loop_bond_atoms, bool flexible_backbone=True, bool flexible_side_chains=False) -> ProteinKinematics
1922 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, IMP::atom::Residues const & flexible_residues, IMP::ParticleIndexQuads const custom_dihedral_angles, std::vector< IMP::kinematics::ProteinAngleType,std::allocator< IMP::kinematics::ProteinAngleType > > const & custom_dihedral_angle_types, IMP::atom::Atoms open_loop_bond_atoms, bool flexible_backbone=True) -> ProteinKinematics
1923 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, IMP::atom::Residues const & flexible_residues, IMP::ParticleIndexQuads const custom_dihedral_angles, std::vector< IMP::kinematics::ProteinAngleType,std::allocator< IMP::kinematics::ProteinAngleType > > const & custom_dihedral_angle_types, IMP::atom::Atoms open_loop_bond_atoms) -> ProteinKinematics
1924 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, IMP::atom::Residues const & flexible_residues, IMP::ParticleIndexQuads const custom_dihedral_angles, std::vector< IMP::kinematics::ProteinAngleType,std::allocator< IMP::kinematics::ProteinAngleType > > const & custom_dihedral_angle_types) -> ProteinKinematics
1926 this = _IMP_kinematics.new_ProteinKinematics(*args)
1928 self.this.append(this)
1932 def get_phi(self, r):
1933 """get_phi(ProteinKinematics self, Residue r) -> double"""
1934 return _IMP_kinematics.ProteinKinematics_get_phi(self, r)
1937 def get_psi(self, r):
1938 """get_psi(ProteinKinematics self, Residue r) -> double"""
1939 return _IMP_kinematics.ProteinKinematics_get_psi(self, r)
1942 def get_joints(self):
1943 """get_joints(ProteinKinematics self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1944 return _IMP_kinematics.ProteinKinematics_get_joints(self)
1947 def get_loop_joints(self):
1948 """get_loop_joints(ProteinKinematics self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1949 return _IMP_kinematics.ProteinKinematics_get_loop_joints(self)
1952 def get_ordered_joints(self):
1953 """get_ordered_joints(ProteinKinematics self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1954 return _IMP_kinematics.ProteinKinematics_get_ordered_joints(self)
1957 def get_kinematic_forest(self):
1958 """get_kinematic_forest(ProteinKinematics self) -> KinematicForest"""
1959 return _IMP_kinematics.ProteinKinematics_get_kinematic_forest(self)
1962 def get_rigid_bodies(self):
1963 """get_rigid_bodies(ProteinKinematics self) -> IMP::core::RigidBodies"""
1964 return _IMP_kinematics.ProteinKinematics_get_rigid_bodies(self)
1967 def set_phi(self, r, angle):
1968 """set_phi(ProteinKinematics self, Residue r, double angle)"""
1969 return _IMP_kinematics.ProteinKinematics_set_phi(self, r, angle)
1972 def set_psi(self, r, angle):
1973 """set_psi(ProteinKinematics self, Residue r, double angle)"""
1974 return _IMP_kinematics.ProteinKinematics_set_psi(self, r, angle)
1978 """get_version_info(ProteinKinematics self) -> VersionInfo"""
1979 return _IMP_kinematics.ProteinKinematics_get_version_info(self)
1982 def build_topology_graph(self):
1983 """build_topology_graph(ProteinKinematics self)"""
1984 return _IMP_kinematics.ProteinKinematics_build_topology_graph(self)
1987 def order_rigid_bodies(self, dihedral_angles, phi_angles, psi_angles, chi1_angles, chi2_angles, chi3_angles, chi4_angles, chi5_angles, open_loop_bond_atoms):
1988 """order_rigid_bodies(ProteinKinematics self, std::vector< IMP::atom::Atoms,std::allocator< IMP::atom::Atoms > > const & dihedral_angles, std::vector< IMP::atom::Atoms,std::allocator< IMP::atom::Atoms > > const & phi_angles, std::vector< IMP::atom::Atoms,std::allocator< IMP::atom::Atoms > > const & psi_angles, std::vector< IMP::atom::Atoms,std::allocator< IMP::atom::Atoms > > const & chi1_angles, std::vector< IMP::atom::Atoms,std::allocator< IMP::atom::Atoms > > const & chi2_angles, std::vector< IMP::atom::Atoms,std::allocator< IMP::atom::Atoms > > const & chi3_angles, std::vector< IMP::atom::Atoms,std::allocator< IMP::atom::Atoms > > const & chi4_angles, std::vector< IMP::atom::Atoms,std::allocator< IMP::atom::Atoms > > const & chi5_angles, IMP::atom::Atoms open_loop_bond_atoms)"""
1989 return _IMP_kinematics.ProteinKinematics_order_rigid_bodies(self, dihedral_angles, phi_angles, psi_angles, chi1_angles, chi2_angles, chi3_angles, chi4_angles, chi5_angles, open_loop_bond_atoms)
1992 def mark_rotatable_angles(self, dihedral_angles):
1993 """mark_rotatable_angles(ProteinKinematics self, std::vector< IMP::atom::Atoms,std::allocator< IMP::atom::Atoms > > const & dihedral_angles)"""
1994 return _IMP_kinematics.ProteinKinematics_mark_rotatable_angles(self, dihedral_angles)
1997 def mark_rotatable_angle(self, dihedral_angle):
1998 """mark_rotatable_angle(ProteinKinematics self, std::vector< IMP::atom::Atom,std::allocator< IMP::atom::Atom > > const & dihedral_angle)"""
1999 return _IMP_kinematics.ProteinKinematics_mark_rotatable_angle(self, dihedral_angle)
2002 def build_rigid_bodies(self):
2003 """build_rigid_bodies(ProteinKinematics self)"""
2004 return _IMP_kinematics.ProteinKinematics_build_rigid_bodies(self)
2007 def add_dihedral_joints(self, residues, angle_type, dihedral_angles):
2008 """add_dihedral_joints(ProteinKinematics self, std::vector< IMP::atom::Residue,std::allocator< IMP::atom::Residue > > const & residues, IMP::kinematics::ProteinAngleType angle_type, std::vector< IMP::atom::Atoms,std::allocator< IMP::atom::Atoms > > const & dihedral_angles)"""
2009 return _IMP_kinematics.ProteinKinematics_add_dihedral_joints(self, residues, angle_type, dihedral_angles)
2012 def add_dihedral_joint(self, r, angle_type, atoms):
2013 """add_dihedral_joint(ProteinKinematics self, Residue r, IMP::kinematics::ProteinAngleType angle_type, IMP::atom::Atoms const & atoms)"""
2014 return _IMP_kinematics.ProteinKinematics_add_dihedral_joint(self, r, angle_type, atoms)
2017 def open_loop(self, open_loop_bond_atoms):
2018 """open_loop(ProteinKinematics self, IMP::atom::Atoms open_loop_bond_atoms)"""
2019 return _IMP_kinematics.ProteinKinematics_open_loop(self, open_loop_bond_atoms)
2022 def get_phi_joint(self, r):
2023 """get_phi_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
2024 return _IMP_kinematics.ProteinKinematics_get_phi_joint(self, r)
2027 def get_psi_joint(self, r):
2028 """get_psi_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
2029 return _IMP_kinematics.ProteinKinematics_get_psi_joint(self, r)
2032 def get_other_joint(self, r):
2033 """get_other_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
2034 return _IMP_kinematics.ProteinKinematics_get_other_joint(self, r)
2037 def get_chi1_joint(self, r):
2038 """get_chi1_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
2039 return _IMP_kinematics.ProteinKinematics_get_chi1_joint(self, r)
2042 def get_chi2_joint(self, r):
2043 """get_chi2_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
2044 return _IMP_kinematics.ProteinKinematics_get_chi2_joint(self, r)
2047 def get_chi3_joint(self, r):
2048 """get_chi3_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
2049 return _IMP_kinematics.ProteinKinematics_get_chi3_joint(self, r)
2052 def get_chi4_joint(self, r):
2053 """get_chi4_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
2054 return _IMP_kinematics.ProteinKinematics_get_chi4_joint(self, r)
2057 def get_chi5_joint(self, r):
2058 """get_chi5_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
2059 return _IMP_kinematics.ProteinKinematics_get_chi5_joint(self, r)
2062 def get_joint(self, r, angle):
2063 """get_joint(ProteinKinematics self, Residue r, IMP::kinematics::ProteinAngleType angle) -> DihedralAngleRevoluteJoint"""
2064 return _IMP_kinematics.ProteinKinematics_get_joint(self, r, angle)
2068 """__str__(ProteinKinematics self) -> std::string"""
2069 return _IMP_kinematics.ProteinKinematics___str__(self)
2073 """__repr__(ProteinKinematics self) -> std::string"""
2074 return _IMP_kinematics.ProteinKinematics___repr__(self)
2079 return _object_cast_to_ProteinKinematics(o)
2081 ProteinKinematics_swigregister = _IMP_kinematics.ProteinKinematics_swigregister
2082 ProteinKinematics_swigregister(ProteinKinematics)
2085 """Proxy of C++ IMP::kinematics::LocalPlanner class"""
2086 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2088 def __init__(self, *args, **kwargs):
2089 raise AttributeError(
"No constructor defined - class is abstract")
2092 """get_version_info(LocalPlanner self) -> VersionInfo"""
2093 return _IMP_kinematics.LocalPlanner_get_version_info(self)
2096 def plan(self, q_near, q_rand, sf):
2097 """plan(LocalPlanner self, DOFValues q_near, DOFValues q_rand, ScoringFunction sf) -> std::vector< IMP::kinematics::DOFValues,std::allocator< IMP::kinematics::DOFValues > >"""
2098 return _IMP_kinematics.LocalPlanner_plan(self, q_near, q_rand, sf)
2101 def is_valid(self, values, sf):
2102 """is_valid(LocalPlanner self, DOFValues values, ScoringFunction sf) -> bool"""
2103 return _IMP_kinematics.LocalPlanner_is_valid(self, values, sf)
2107 """__str__(LocalPlanner self) -> std::string"""
2108 return _IMP_kinematics.LocalPlanner___str__(self)
2112 """__repr__(LocalPlanner self) -> std::string"""
2113 return _IMP_kinematics.LocalPlanner___repr__(self)
2118 return _object_cast_to_LocalPlanner(o)
2120 LocalPlanner_swigregister = _IMP_kinematics.LocalPlanner_swigregister
2121 LocalPlanner_swigregister(LocalPlanner)
2123 class PathLocalPlanner(LocalPlanner):
2124 """Proxy of C++ IMP::kinematics::PathLocalPlanner class"""
2125 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2127 def __init__(self, model, dofs_sampler, directional_dof, save_step_interval=1):
2129 __init__(IMP::kinematics::PathLocalPlanner self, Model model, DOFsSampler dofs_sampler, DirectionalDOF directional_dof, int save_step_interval=1) -> PathLocalPlanner
2130 __init__(IMP::kinematics::PathLocalPlanner self, Model model, DOFsSampler dofs_sampler, DirectionalDOF directional_dof) -> PathLocalPlanner
2132 this = _IMP_kinematics.new_PathLocalPlanner(model, dofs_sampler, directional_dof, save_step_interval)
2134 self.this.append(this)
2139 """__str__(PathLocalPlanner self) -> std::string"""
2140 return _IMP_kinematics.PathLocalPlanner___str__(self)
2144 """__repr__(PathLocalPlanner self) -> std::string"""
2145 return _IMP_kinematics.PathLocalPlanner___repr__(self)
2150 return _object_cast_to_PathLocalPlanner(o)
2152 __swig_destroy__ = _IMP_kinematics.delete_PathLocalPlanner
2153 __del__ =
lambda self:
None
2154 PathLocalPlanner_swigregister = _IMP_kinematics.PathLocalPlanner_swigregister
2155 PathLocalPlanner_swigregister(PathLocalPlanner)
2158 """Proxy of C++ IMP::kinematics::RRT class"""
2159 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2162 """get_version_info(RRT self) -> VersionInfo"""
2163 return _IMP_kinematics.RRT_get_version_info(self)
2166 def __init__(self, m, sampler, planner, cspace_dofs, iteration_number=1000, tree_size=100, number_of_sampled_dofs=0):
2168 __init__(IMP::kinematics::RRT self, Model m, DOFsSampler sampler, LocalPlanner planner, IMP::kinematics::DOFs const & cspace_dofs, unsigned int iteration_number=1000, unsigned int tree_size=100, unsigned int number_of_sampled_dofs=0) -> RRT
2169 __init__(IMP::kinematics::RRT self, Model m, DOFsSampler sampler, LocalPlanner planner, IMP::kinematics::DOFs const & cspace_dofs, unsigned int iteration_number=1000, unsigned int tree_size=100) -> RRT
2170 __init__(IMP::kinematics::RRT self, Model m, DOFsSampler sampler, LocalPlanner planner, IMP::kinematics::DOFs const & cspace_dofs, unsigned int iteration_number=1000) -> RRT
2171 __init__(IMP::kinematics::RRT self, Model m, DOFsSampler sampler, LocalPlanner planner, IMP::kinematics::DOFs const & cspace_dofs) -> RRT
2173 this = _IMP_kinematics.new_RRT(m, sampler, planner, cspace_dofs, iteration_number, tree_size, number_of_sampled_dofs)
2175 self.this.append(this)
2179 def do_sample(self):
2180 """do_sample(RRT self) -> ConfigurationSet"""
2181 return _IMP_kinematics.RRT_do_sample(self)
2184 def run(self, number_of_iterations=0):
2186 run(RRT self, unsigned int number_of_iterations=0) -> bool
2187 run(RRT self) -> bool
2189 return _IMP_kinematics.RRT_run(self, number_of_iterations)
2192 def get_DOFValuesList(self):
2193 """get_DOFValuesList(RRT self) -> IMP::kinematics::DOFValuesList"""
2194 return _IMP_kinematics.RRT_get_DOFValuesList(self)
2197 def set_number_of_iterations(self, num):
2198 """set_number_of_iterations(RRT self, unsigned int num)"""
2199 return _IMP_kinematics.RRT_set_number_of_iterations(self, num)
2202 def set_tree_size(self, num):
2203 """set_tree_size(RRT self, unsigned int num)"""
2204 return _IMP_kinematics.RRT_set_tree_size(self, num)
2207 def set_actual_tree_size(self, num):
2208 """set_actual_tree_size(RRT self, unsigned int num)"""
2209 return _IMP_kinematics.RRT_set_actual_tree_size(self, num)
2212 def set_number_of_collisions(self, num):
2213 """set_number_of_collisions(RRT self, unsigned int num)"""
2214 return _IMP_kinematics.RRT_set_number_of_collisions(self, num)
2217 def check_initial_configuration(self, sf):
2218 """check_initial_configuration(RRT self, ScoringFunction sf)"""
2219 return _IMP_kinematics.RRT_check_initial_configuration(self, sf)
2223 """__str__(RRT self) -> std::string"""
2224 return _IMP_kinematics.RRT___str__(self)
2228 """__repr__(RRT self) -> std::string"""
2229 return _IMP_kinematics.RRT___repr__(self)
2234 return _object_cast_to_RRT(o)
2236 RRT_swigregister = _IMP_kinematics.RRT_swigregister
2237 RRT_swigregister(RRT)
2241 """get_module_version() -> std::string const"""
2242 return _IMP_kinematics.get_module_version()
2245 """get_example_path(std::string fname) -> std::string"""
2246 return _IMP_kinematics.get_example_path(fname)
2249 """get_data_path(std::string fname) -> std::string"""
2250 return _IMP_kinematics.get_data_path(fname)
2252 from .
import _version_check
Various classes to hold sets of particles.
Make CGAL functionality available to IMP.
Base class for all samplers.
virtual ModelObjectsTemp do_get_outputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the outputs.
Composable functors to implement scores via compile-time composition.
double get_angle(const Line3D &a, const Line3D &b)
Get angle in radians between two lines around their closest points.
virtual void do_destroy()
Common base class for heavy weight IMP objects.
ScoreStates maintain invariants in the Model.
A base class for classes which perturb particles.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the inputs.
Version and module information for Objects.
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...
std::string get_module_version()
Return the version of this module, as a string.
virtual VersionInfo get_version_info() const
Get information about the module and version of the object.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
double get_distance(const Line3D &s, const Vector3D &p)
Get closest distance between a line and a point.
Support for small angle X-ray scattering (SAXS) data.