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_SYSTEM_swigconstant(_IMP_kinematics)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CGAL_HAS_BOOST_SYSTEM
346 _IMP_kinematics.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_kinematics)
347 IMP_CGAL_HAS_NUMPY = _IMP_kinematics.IMP_CGAL_HAS_NUMPY
349 _IMP_kinematics.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
350 IMPCGAL_SHOW_WARNINGS = _IMP_kinematics.IMPCGAL_SHOW_WARNINGS
353 _IMP_kinematics.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
354 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_kinematics.IMP_ALGEBRA_HAS_IMP_CGAL
356 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
357 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
359 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
360 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
362 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
363 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_RANDOM
365 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
366 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_SYSTEM
368 _IMP_kinematics.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_kinematics)
369 IMP_ALGEBRA_HAS_CGAL = _IMP_kinematics.IMP_ALGEBRA_HAS_CGAL
371 _IMP_kinematics.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_kinematics)
372 IMP_ALGEBRA_HAS_NUMPY = _IMP_kinematics.IMP_ALGEBRA_HAS_NUMPY
374 _IMP_kinematics.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_kinematics)
375 IMP_ALGEBRA_HAS_ANN = _IMP_kinematics.IMP_ALGEBRA_HAS_ANN
377 _IMP_kinematics.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
378 IMPALGEBRA_SHOW_WARNINGS = _IMP_kinematics.IMPALGEBRA_SHOW_WARNINGS
381 _IMP_kinematics.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
382 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_kinematics.IMP_DISPLAY_HAS_IMP_CGAL
384 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
385 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
387 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
388 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
390 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
391 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_RANDOM
393 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
394 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_SYSTEM
396 _IMP_kinematics.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_kinematics)
397 IMP_DISPLAY_HAS_CGAL = _IMP_kinematics.IMP_DISPLAY_HAS_CGAL
399 _IMP_kinematics.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_kinematics)
400 IMP_DISPLAY_HAS_NUMPY = _IMP_kinematics.IMP_DISPLAY_HAS_NUMPY
402 _IMP_kinematics.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
403 IMPDISPLAY_SHOW_WARNINGS = _IMP_kinematics.IMPDISPLAY_SHOW_WARNINGS
406 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
407 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
409 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
412 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
413 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
415 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
416 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
418 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
419 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
421 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_kinematics)
422 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_CGAL
424 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_kinematics)
425 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_HDF5
427 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_kinematics)
428 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_NUMPY
430 _IMP_kinematics.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
431 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_kinematics.IMPSCOREFUNCTOR_SHOW_WARNINGS
434 _IMP_kinematics.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
435 IMP_CORE_HAS_IMP_CGAL = _IMP_kinematics.IMP_CORE_HAS_IMP_CGAL
437 _IMP_kinematics.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
438 IMP_CORE_HAS_IMP_KERNEL = _IMP_kinematics.IMP_CORE_HAS_IMP_KERNEL
440 _IMP_kinematics.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
441 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CORE_HAS_BOOST_FILESYSTEM
443 _IMP_kinematics.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
444 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
446 _IMP_kinematics.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
447 IMP_CORE_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CORE_HAS_BOOST_RANDOM
449 _IMP_kinematics.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
450 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CORE_HAS_BOOST_SYSTEM
452 _IMP_kinematics.IMP_CORE_HAS_CGAL_swigconstant(_IMP_kinematics)
453 IMP_CORE_HAS_CGAL = _IMP_kinematics.IMP_CORE_HAS_CGAL
455 _IMP_kinematics.IMP_CORE_HAS_HDF5_swigconstant(_IMP_kinematics)
456 IMP_CORE_HAS_HDF5 = _IMP_kinematics.IMP_CORE_HAS_HDF5
458 _IMP_kinematics.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_kinematics)
459 IMP_CORE_HAS_NUMPY = _IMP_kinematics.IMP_CORE_HAS_NUMPY
461 _IMP_kinematics.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
462 IMPCORE_SHOW_WARNINGS = _IMP_kinematics.IMPCORE_SHOW_WARNINGS
465 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_kinematics)
466 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_ALGEBRA
468 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
469 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_CGAL
471 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_kinematics)
472 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_DISPLAY
474 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
475 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_KERNEL
477 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_kinematics)
478 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
480 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
481 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
483 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
484 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
486 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
487 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_RANDOM
489 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
490 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_SYSTEM
492 _IMP_kinematics.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_kinematics)
493 IMP_CONTAINER_HAS_CGAL = _IMP_kinematics.IMP_CONTAINER_HAS_CGAL
495 _IMP_kinematics.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_kinematics)
496 IMP_CONTAINER_HAS_HDF5 = _IMP_kinematics.IMP_CONTAINER_HAS_HDF5
498 _IMP_kinematics.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_kinematics)
499 IMP_CONTAINER_HAS_NUMPY = _IMP_kinematics.IMP_CONTAINER_HAS_NUMPY
501 _IMP_kinematics.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_kinematics)
502 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_kinematics.IMP_CONTAINER_HAS_PYTHON_IHM
504 _IMP_kinematics.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_kinematics)
505 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_kinematics.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
507 _IMP_kinematics.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_kinematics)
508 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_kinematics.IMP_CONTAINER_HAS_ROBIN_MAP
510 _IMP_kinematics.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
511 IMPCONTAINER_SHOW_WARNINGS = _IMP_kinematics.IMPCONTAINER_SHOW_WARNINGS
514 _IMP_kinematics.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
515 IMP_ATOM_HAS_IMP_CGAL = _IMP_kinematics.IMP_ATOM_HAS_IMP_CGAL
517 _IMP_kinematics.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
518 IMP_ATOM_HAS_IMP_KERNEL = _IMP_kinematics.IMP_ATOM_HAS_IMP_KERNEL
520 _IMP_kinematics.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_kinematics)
521 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
523 _IMP_kinematics.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
524 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
526 _IMP_kinematics.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
527 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_ATOM_HAS_BOOST_RANDOM
529 _IMP_kinematics.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_kinematics)
530 IMP_ATOM_HAS_BOOST_REGEX = _IMP_kinematics.IMP_ATOM_HAS_BOOST_REGEX
532 _IMP_kinematics.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
533 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_ATOM_HAS_BOOST_SYSTEM
535 _IMP_kinematics.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_kinematics)
536 IMP_ATOM_HAS_CGAL = _IMP_kinematics.IMP_ATOM_HAS_CGAL
538 _IMP_kinematics.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_kinematics)
539 IMP_ATOM_HAS_HDF5 = _IMP_kinematics.IMP_ATOM_HAS_HDF5
541 _IMP_kinematics.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_kinematics)
542 IMP_ATOM_HAS_NUMPY = _IMP_kinematics.IMP_ATOM_HAS_NUMPY
544 _IMP_kinematics.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_kinematics)
545 IMP_ATOM_HAS_PYTHON_IHM = _IMP_kinematics.IMP_ATOM_HAS_PYTHON_IHM
547 _IMP_kinematics.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
548 IMPATOM_SHOW_WARNINGS = _IMP_kinematics.IMPATOM_SHOW_WARNINGS
550 _IMP_kinematics.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_kinematics)
551 IMP_ATOM_TYPE_INDEX = _IMP_kinematics.IMP_ATOM_TYPE_INDEX
553 _IMP_kinematics.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_kinematics)
554 IMP_RESIDUE_TYPE_INDEX = _IMP_kinematics.IMP_RESIDUE_TYPE_INDEX
556 _IMP_kinematics.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_kinematics)
557 IMP_HIERARCHY_TYPE_INDEX = _IMP_kinematics.IMP_HIERARCHY_TYPE_INDEX
559 _IMP_kinematics.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_kinematics)
560 IMP_CHAIN_TYPE_INDEX = _IMP_kinematics.IMP_CHAIN_TYPE_INDEX
563 _IMP_kinematics.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
564 IMP_SAXS_HAS_IMP_CGAL = _IMP_kinematics.IMP_SAXS_HAS_IMP_CGAL
566 _IMP_kinematics.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_kinematics)
567 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_kinematics.IMP_SAXS_HAS_IMP_CONTAINER
569 _IMP_kinematics.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_kinematics)
570 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_SAXS_HAS_IMP_DISPLAY
572 _IMP_kinematics.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
573 IMP_SAXS_HAS_IMP_KERNEL = _IMP_kinematics.IMP_SAXS_HAS_IMP_KERNEL
575 _IMP_kinematics.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_kinematics)
576 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
578 _IMP_kinematics.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
579 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_SAXS_HAS_BOOST_FILESYSTEM
581 _IMP_kinematics.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
582 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
584 _IMP_kinematics.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
585 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_SAXS_HAS_BOOST_RANDOM
587 _IMP_kinematics.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_kinematics)
588 IMP_SAXS_HAS_BOOST_REGEX = _IMP_kinematics.IMP_SAXS_HAS_BOOST_REGEX
590 _IMP_kinematics.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
591 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_SAXS_HAS_BOOST_SYSTEM
593 _IMP_kinematics.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_kinematics)
594 IMP_SAXS_HAS_CGAL = _IMP_kinematics.IMP_SAXS_HAS_CGAL
596 _IMP_kinematics.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_kinematics)
597 IMP_SAXS_HAS_HDF5 = _IMP_kinematics.IMP_SAXS_HAS_HDF5
599 _IMP_kinematics.IMP_SAXS_HAS_NUMPY_swigconstant(_IMP_kinematics)
600 IMP_SAXS_HAS_NUMPY = _IMP_kinematics.IMP_SAXS_HAS_NUMPY
602 _IMP_kinematics.IMP_SAXS_HAS_PYTHON_IHM_swigconstant(_IMP_kinematics)
603 IMP_SAXS_HAS_PYTHON_IHM = _IMP_kinematics.IMP_SAXS_HAS_PYTHON_IHM
605 _IMP_kinematics.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
606 IMPSAXS_SHOW_WARNINGS = _IMP_kinematics.IMPSAXS_SHOW_WARNINGS
609 _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
610 IMP_KINEMATICS_HAS_IMP_CGAL = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_CGAL
612 _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_DISPLAY_swigconstant(_IMP_kinematics)
613 IMP_KINEMATICS_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_DISPLAY
615 _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_kinematics)
616 IMP_KINEMATICS_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_SCORE_FUNCTOR
618 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
619 IMP_KINEMATICS_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_FILESYSTEM
621 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
622 IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS
624 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
625 IMP_KINEMATICS_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_RANDOM
627 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_REGEX_swigconstant(_IMP_kinematics)
628 IMP_KINEMATICS_HAS_BOOST_REGEX = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_REGEX
630 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
631 IMP_KINEMATICS_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_SYSTEM
633 _IMP_kinematics.IMP_KINEMATICS_HAS_CGAL_swigconstant(_IMP_kinematics)
634 IMP_KINEMATICS_HAS_CGAL = _IMP_kinematics.IMP_KINEMATICS_HAS_CGAL
636 _IMP_kinematics.IMP_KINEMATICS_HAS_HDF5_swigconstant(_IMP_kinematics)
637 IMP_KINEMATICS_HAS_HDF5 = _IMP_kinematics.IMP_KINEMATICS_HAS_HDF5
639 _IMP_kinematics.IMP_KINEMATICS_HAS_NUMPY_swigconstant(_IMP_kinematics)
640 IMP_KINEMATICS_HAS_NUMPY = _IMP_kinematics.IMP_KINEMATICS_HAS_NUMPY
642 _IMP_kinematics.IMP_KINEMATICS_HAS_PYTHON_IHM_swigconstant(_IMP_kinematics)
643 IMP_KINEMATICS_HAS_PYTHON_IHM = _IMP_kinematics.IMP_KINEMATICS_HAS_PYTHON_IHM
645 _IMP_kinematics.IMPKINEMATICS_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
646 IMPKINEMATICS_SHOW_WARNINGS = _IMP_kinematics.IMPKINEMATICS_SHOW_WARNINGS
648 _object_types.append(
"Joint")
651 def _object_cast_to_Joint(o):
652 """_object_cast_to_Joint(Object o) -> Joint"""
653 return _IMP_kinematics._object_cast_to_Joint(o)
655 _object_types.append(
"TransformationJoint")
658 def _object_cast_to_TransformationJoint(o):
659 """_object_cast_to_TransformationJoint(Object o) -> TransformationJoint"""
660 return _IMP_kinematics._object_cast_to_TransformationJoint(o)
662 _object_types.append(
"RevoluteJoint")
665 def _object_cast_to_RevoluteJoint(o):
666 """_object_cast_to_RevoluteJoint(Object o) -> RevoluteJoint"""
667 return _IMP_kinematics._object_cast_to_RevoluteJoint(o)
669 _object_types.append(
"DihedralAngleRevoluteJoint")
672 def _object_cast_to_DihedralAngleRevoluteJoint(o):
673 """_object_cast_to_DihedralAngleRevoluteJoint(Object o) -> DihedralAngleRevoluteJoint"""
674 return _IMP_kinematics._object_cast_to_DihedralAngleRevoluteJoint(o)
676 _object_types.append(
"BondAngleRevoluteJoint")
679 def _object_cast_to_BondAngleRevoluteJoint(o):
680 """_object_cast_to_BondAngleRevoluteJoint(Object o) -> BondAngleRevoluteJoint"""
681 return _IMP_kinematics._object_cast_to_BondAngleRevoluteJoint(o)
683 _object_types.append(
"PrismaticJoint")
686 def _object_cast_to_PrismaticJoint(o):
687 """_object_cast_to_PrismaticJoint(Object o) -> PrismaticJoint"""
688 return _IMP_kinematics._object_cast_to_PrismaticJoint(o)
690 _object_types.append(
"KinematicForest")
693 def _object_cast_to_KinematicForest(o):
694 """_object_cast_to_KinematicForest(Object o) -> KinematicForest"""
695 return _IMP_kinematics._object_cast_to_KinematicForest(o)
697 _object_types.append(
"KinematicForestScoreState")
700 def _object_cast_to_KinematicForestScoreState(o):
701 """_object_cast_to_KinematicForestScoreState(Object o) -> KinematicForestScoreState"""
702 return _IMP_kinematics._object_cast_to_KinematicForestScoreState(o)
704 _object_types.append(
"CompositeJoint")
707 def _object_cast_to_CompositeJoint(o):
708 """_object_cast_to_CompositeJoint(Object o) -> CompositeJoint"""
709 return _IMP_kinematics._object_cast_to_CompositeJoint(o)
711 _object_types.append(
"RevoluteJointMover")
714 def _object_cast_to_RevoluteJointMover(o):
715 """_object_cast_to_RevoluteJointMover(Object o) -> RevoluteJointMover"""
716 return _IMP_kinematics._object_cast_to_RevoluteJointMover(o)
718 _object_types.append(
"DihedralMover")
721 def _object_cast_to_DihedralMover(o):
722 """_object_cast_to_DihedralMover(Object o) -> DihedralMover"""
723 return _IMP_kinematics._object_cast_to_DihedralMover(o)
725 _object_types.append(
"DOF")
728 def _object_cast_to_DOF(o):
729 """_object_cast_to_DOF(Object o) -> DOF"""
730 return _IMP_kinematics._object_cast_to_DOF(o)
733 _plural_types.append(
"DOFValuesList")
734 _value_types.append(
"DOFValues")
737 _object_types.append(
"DirectionalDOF")
740 def _object_cast_to_DirectionalDOF(o):
741 """_object_cast_to_DirectionalDOF(Object o) -> DirectionalDOF"""
742 return _IMP_kinematics._object_cast_to_DirectionalDOF(o)
744 _object_types.append(
"DOFsSampler")
747 def _object_cast_to_DOFsSampler(o):
748 """_object_cast_to_DOFsSampler(Object o) -> DOFsSampler"""
749 return _IMP_kinematics._object_cast_to_DOFsSampler(o)
751 _object_types.append(
"UniformBackboneSampler")
754 def _object_cast_to_UniformBackboneSampler(o):
755 """_object_cast_to_UniformBackboneSampler(Object o) -> UniformBackboneSampler"""
756 return _IMP_kinematics._object_cast_to_UniformBackboneSampler(o)
758 _object_types.append(
"FibrilSampler")
761 def _object_cast_to_FibrilSampler(o):
762 """_object_cast_to_FibrilSampler(Object o) -> FibrilSampler"""
763 return _IMP_kinematics._object_cast_to_FibrilSampler(o)
765 _object_types.append(
"ProteinKinematics")
768 def _object_cast_to_ProteinKinematics(o):
769 """_object_cast_to_ProteinKinematics(Object o) -> ProteinKinematics"""
770 return _IMP_kinematics._object_cast_to_ProteinKinematics(o)
772 _object_types.append(
"LocalPlanner")
775 def _object_cast_to_LocalPlanner(o):
776 """_object_cast_to_LocalPlanner(Object o) -> LocalPlanner"""
777 return _IMP_kinematics._object_cast_to_LocalPlanner(o)
779 _object_types.append(
"PathLocalPlanner")
782 def _object_cast_to_PathLocalPlanner(o):
783 """_object_cast_to_PathLocalPlanner(Object o) -> PathLocalPlanner"""
784 return _IMP_kinematics._object_cast_to_PathLocalPlanner(o)
786 _object_types.append(
"RRT")
789 def _object_cast_to_RRT(o):
790 """_object_cast_to_RRT(Object o) -> RRT"""
791 return _IMP_kinematics._object_cast_to_RRT(o)
793 """Proxy of C++ IMP::kinematics::Joint class"""
794 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
797 """get_version_info(Joint self) -> VersionInfo"""
798 return _IMP_kinematics.Joint_get_version_info(self)
801 def __init__(self, parent, child):
802 """__init__(IMP::kinematics::Joint self, RigidBody parent, RigidBody child) -> Joint"""
803 this = _IMP_kinematics.new_Joint(parent, child)
805 self.this.append(this)
809 def get_owner_kf(self):
810 """get_owner_kf(Joint self) -> KinematicForest"""
811 return _IMP_kinematics.Joint_get_owner_kf(self)
814 def get_transformation_child_to_parent(self):
815 """get_transformation_child_to_parent(Joint self) -> Transformation3D"""
816 return _IMP_kinematics.Joint_get_transformation_child_to_parent(self)
819 def get_parent_node(self):
820 """get_parent_node(Joint self) -> RigidBody"""
821 return _IMP_kinematics.Joint_get_parent_node(self)
824 def get_child_node(self):
825 """get_child_node(Joint self) -> RigidBody"""
826 return _IMP_kinematics.Joint_get_child_node(self)
830 """__str__(Joint self) -> std::string"""
831 return _IMP_kinematics.Joint___str__(self)
835 """__repr__(Joint self) -> std::string"""
836 return _IMP_kinematics.Joint___repr__(self)
841 return _object_cast_to_Joint(o)
843 Joint_swigregister = _IMP_kinematics.Joint_swigregister
844 Joint_swigregister(Joint)
846 class TransformationJoint(Joint):
847 """Proxy of C++ IMP::kinematics::TransformationJoint class"""
848 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
850 def __init__(self, parent, child):
851 """__init__(IMP::kinematics::TransformationJoint self, RigidBody parent, RigidBody child) -> TransformationJoint"""
852 this = _IMP_kinematics.new_TransformationJoint(parent, child)
854 self.this.append(this)
858 def set_transformation_child_to_parent(self, transformation):
859 """set_transformation_child_to_parent(TransformationJoint self, Transformation3D transformation)"""
860 return _IMP_kinematics.TransformationJoint_set_transformation_child_to_parent(self, transformation)
864 """__str__(TransformationJoint self) -> std::string"""
865 return _IMP_kinematics.TransformationJoint___str__(self)
869 """__repr__(TransformationJoint self) -> std::string"""
870 return _IMP_kinematics.TransformationJoint___repr__(self)
875 return _object_cast_to_TransformationJoint(o)
877 __swig_destroy__ = _IMP_kinematics.delete_TransformationJoint
878 __del__ =
lambda self:
None
879 TransformationJoint_swigregister = _IMP_kinematics.TransformationJoint_swigregister
880 TransformationJoint_swigregister(TransformationJoint)
882 class PrismaticJoint(Joint):
883 """Proxy of C++ IMP::kinematics::PrismaticJoint class"""
884 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
886 def __init__(self, *args):
888 __init__(IMP::kinematics::PrismaticJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b) -> PrismaticJoint
889 __init__(IMP::kinematics::PrismaticJoint self, RigidBody parent, RigidBody child) -> PrismaticJoint
891 this = _IMP_kinematics.new_PrismaticJoint(*args)
893 self.this.append(this)
897 def get_length(self):
898 """get_length(PrismaticJoint self) -> double"""
899 return _IMP_kinematics.PrismaticJoint_get_length(self)
902 def set_length(self, l):
903 """set_length(PrismaticJoint self, double l)"""
904 return _IMP_kinematics.PrismaticJoint_set_length(self, l)
908 """__str__(PrismaticJoint self) -> std::string"""
909 return _IMP_kinematics.PrismaticJoint___str__(self)
913 """__repr__(PrismaticJoint self) -> std::string"""
914 return _IMP_kinematics.PrismaticJoint___repr__(self)
919 return _object_cast_to_PrismaticJoint(o)
921 __swig_destroy__ = _IMP_kinematics.delete_PrismaticJoint
922 __del__ =
lambda self:
None
923 PrismaticJoint_swigregister = _IMP_kinematics.PrismaticJoint_swigregister
924 PrismaticJoint_swigregister(PrismaticJoint)
926 class CompositeJoint(Joint):
927 """Proxy of C++ IMP::kinematics::CompositeJoint class"""
928 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
930 def __init__(self, *args):
932 __init__(IMP::kinematics::CompositeJoint self, RigidBody parent, RigidBody child, IMP::kinematics::Joints joints) -> CompositeJoint
933 __init__(IMP::kinematics::CompositeJoint self, RigidBody parent, RigidBody child) -> CompositeJoint
935 this = _IMP_kinematics.new_CompositeJoint(*args)
937 self.this.append(this)
941 def add_downstream_joint(self, j):
942 """add_downstream_joint(CompositeJoint self, Joint j)"""
943 return _IMP_kinematics.CompositeJoint_add_downstream_joint(self, j)
946 def add_upstream_joint(self, j):
947 """add_upstream_joint(CompositeJoint self, Joint j)"""
948 return _IMP_kinematics.CompositeJoint_add_upstream_joint(self, j)
951 def set_joints(self, joints):
952 """set_joints(CompositeJoint self, IMP::kinematics::Joints joints)"""
953 return _IMP_kinematics.CompositeJoint_set_joints(self, joints)
956 def get_inner_joints(self):
957 """get_inner_joints(CompositeJoint self) -> IMP::kinematics::Joints const &"""
958 return _IMP_kinematics.CompositeJoint_get_inner_joints(self)
962 """__str__(CompositeJoint self) -> std::string"""
963 return _IMP_kinematics.CompositeJoint___str__(self)
967 """__repr__(CompositeJoint self) -> std::string"""
968 return _IMP_kinematics.CompositeJoint___repr__(self)
973 return _object_cast_to_CompositeJoint(o)
975 __swig_destroy__ = _IMP_kinematics.delete_CompositeJoint
976 __del__ =
lambda self:
None
977 CompositeJoint_swigregister = _IMP_kinematics.CompositeJoint_swigregister
978 CompositeJoint_swigregister(CompositeJoint)
980 class RevoluteJoint(Joint):
981 """Proxy of C++ IMP::kinematics::RevoluteJoint class"""
982 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
984 def __init__(self, parent, child):
985 """__init__(IMP::kinematics::RevoluteJoint self, RigidBody parent, RigidBody child) -> RevoluteJoint"""
986 if self.__class__ == RevoluteJoint:
990 this = _IMP_kinematics.new_RevoluteJoint(_self, parent, child)
992 self.this.append(this)
996 if self.__class__ != RevoluteJoint:
997 _director_objects.register(self)
1001 __swig_destroy__ = _IMP_kinematics.delete_RevoluteJoint
1002 __del__ =
lambda self:
None
1004 def set_angle(self, angle):
1005 """set_angle(RevoluteJoint self, double angle)"""
1006 return _IMP_kinematics.RevoluteJoint_set_angle(self, angle)
1010 """get_angle(RevoluteJoint self) -> double"""
1011 return _IMP_kinematics.RevoluteJoint_get_angle(self)
1014 def get_rot_axis_origin(self):
1015 """get_rot_axis_origin(RevoluteJoint self) -> Vector3D"""
1016 return _IMP_kinematics.RevoluteJoint_get_rot_axis_origin(self)
1019 def get_rot_axis_unit_vector(self):
1020 """get_rot_axis_unit_vector(RevoluteJoint self) -> Vector3D"""
1021 return _IMP_kinematics.RevoluteJoint_get_rot_axis_unit_vector(self)
1024 def update_child_node_reference_frame(self):
1025 """update_child_node_reference_frame(RevoluteJoint self)"""
1026 return _IMP_kinematics.RevoluteJoint_update_child_node_reference_frame(self)
1029 def update_axis_of_rotation_from_cartesian_witnesses(self):
1030 """update_axis_of_rotation_from_cartesian_witnesses(RevoluteJoint self)"""
1031 return _IMP_kinematics.RevoluteJoint_update_axis_of_rotation_from_cartesian_witnesses(self)
1034 def get_current_angle_from_cartesian_witnesses(self):
1035 """get_current_angle_from_cartesian_witnesses(RevoluteJoint self) -> double"""
1036 return _IMP_kinematics.RevoluteJoint_get_current_angle_from_cartesian_witnesses(self)
1039 def update_joint_from_cartesian_witnesses(self):
1040 """update_joint_from_cartesian_witnesses(RevoluteJoint self)"""
1041 return _IMP_kinematics.RevoluteJoint_update_joint_from_cartesian_witnesses(self)
1044 def get_rotation_about_joint_in_parent_coordinates(self):
1045 """get_rotation_about_joint_in_parent_coordinates(RevoluteJoint self) -> Transformation3D"""
1046 return _IMP_kinematics.RevoluteJoint_get_rotation_about_joint_in_parent_coordinates(self)
1048 angle_ = _swig_property(_IMP_kinematics.RevoluteJoint_angle__get, _IMP_kinematics.RevoluteJoint_angle__set)
1049 last_updated_angle_ = _swig_property(_IMP_kinematics.RevoluteJoint_last_updated_angle__get, _IMP_kinematics.RevoluteJoint_last_updated_angle__set)
1050 rot_axis_unit_vector_ = _swig_property(_IMP_kinematics.RevoluteJoint_rot_axis_unit_vector__get, _IMP_kinematics.RevoluteJoint_rot_axis_unit_vector__set)
1051 rot_axis_origin_ = _swig_property(_IMP_kinematics.RevoluteJoint_rot_axis_origin__get, _IMP_kinematics.RevoluteJoint_rot_axis_origin__set)
1054 """__str__(RevoluteJoint self) -> std::string"""
1055 return _IMP_kinematics.RevoluteJoint___str__(self)
1059 """__repr__(RevoluteJoint self) -> std::string"""
1060 return _IMP_kinematics.RevoluteJoint___repr__(self)
1065 return _object_cast_to_RevoluteJoint(o)
1068 def get_type_name(self):
1069 return self.__class__.__name__
1070 def do_show(self, out):
1073 if"IMP::kinematics" ==
"IMP":
1074 return VersionInfo(self.__module__,
1081 return _object_cast_to_RevoluteJoint(o)
1083 def __disown__(self):
1085 _IMP_kinematics.disown_RevoluteJoint(self)
1086 return weakref_proxy(self)
1089 """do_destroy(RevoluteJoint self)"""
1090 return _IMP_kinematics.RevoluteJoint_do_destroy(self)
1092 RevoluteJoint_swigregister = _IMP_kinematics.RevoluteJoint_swigregister
1093 RevoluteJoint_swigregister(RevoluteJoint)
1095 class DihedralAngleRevoluteJoint(RevoluteJoint):
1096 """Proxy of C++ IMP::kinematics::DihedralAngleRevoluteJoint class"""
1097 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1099 def __init__(self, parent, child, a, b, c, d):
1100 """__init__(IMP::kinematics::DihedralAngleRevoluteJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b, XYZ c, XYZ d) -> DihedralAngleRevoluteJoint"""
1101 this = _IMP_kinematics.new_DihedralAngleRevoluteJoint(parent, child, a, b, c, d)
1103 self.this.append(this)
1108 """get_a(DihedralAngleRevoluteJoint self) -> XYZ"""
1109 return _IMP_kinematics.DihedralAngleRevoluteJoint_get_a(self)
1113 """get_b(DihedralAngleRevoluteJoint self) -> XYZ"""
1114 return _IMP_kinematics.DihedralAngleRevoluteJoint_get_b(self)
1118 """get_c(DihedralAngleRevoluteJoint self) -> XYZ"""
1119 return _IMP_kinematics.DihedralAngleRevoluteJoint_get_c(self)
1123 """get_d(DihedralAngleRevoluteJoint self) -> XYZ"""
1124 return _IMP_kinematics.DihedralAngleRevoluteJoint_get_d(self)
1128 """__str__(DihedralAngleRevoluteJoint self) -> std::string"""
1129 return _IMP_kinematics.DihedralAngleRevoluteJoint___str__(self)
1133 """__repr__(DihedralAngleRevoluteJoint self) -> std::string"""
1134 return _IMP_kinematics.DihedralAngleRevoluteJoint___repr__(self)
1139 return _object_cast_to_DihedralAngleRevoluteJoint(o)
1141 __swig_destroy__ = _IMP_kinematics.delete_DihedralAngleRevoluteJoint
1142 __del__ =
lambda self:
None
1143 DihedralAngleRevoluteJoint_swigregister = _IMP_kinematics.DihedralAngleRevoluteJoint_swigregister
1144 DihedralAngleRevoluteJoint_swigregister(DihedralAngleRevoluteJoint)
1146 class BondAngleRevoluteJoint(RevoluteJoint):
1147 """Proxy of C++ IMP::kinematics::BondAngleRevoluteJoint class"""
1148 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1150 def __init__(self, parent, child, a, b, c):
1151 """__init__(IMP::kinematics::BondAngleRevoluteJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b, XYZ c) -> BondAngleRevoluteJoint"""
1152 this = _IMP_kinematics.new_BondAngleRevoluteJoint(parent, child, a, b, c)
1154 self.this.append(this)
1159 """__str__(BondAngleRevoluteJoint self) -> std::string"""
1160 return _IMP_kinematics.BondAngleRevoluteJoint___str__(self)
1164 """__repr__(BondAngleRevoluteJoint self) -> std::string"""
1165 return _IMP_kinematics.BondAngleRevoluteJoint___repr__(self)
1170 return _object_cast_to_BondAngleRevoluteJoint(o)
1172 __swig_destroy__ = _IMP_kinematics.delete_BondAngleRevoluteJoint
1173 __del__ =
lambda self:
None
1174 BondAngleRevoluteJoint_swigregister = _IMP_kinematics.BondAngleRevoluteJoint_swigregister
1175 BondAngleRevoluteJoint_swigregister(BondAngleRevoluteJoint)
1178 """Proxy of C++ IMP::kinematics::RevoluteJointMover class"""
1179 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1181 def __init__(self, m, joints, stddev=0.01):
1183 __init__(IMP::kinematics::RevoluteJointMover self, Model m, IMP::kinematics::RevoluteJoints const & joints, double const stddev=0.01) -> RevoluteJointMover
1184 __init__(IMP::kinematics::RevoluteJointMover self, Model m, IMP::kinematics::RevoluteJoints const & joints) -> RevoluteJointMover
1186 this = _IMP_kinematics.new_RevoluteJointMover(m, joints, stddev)
1188 self.this.append(this)
1192 def set_sigma(self, sigma):
1193 """set_sigma(RevoluteJointMover self, IMP::Float sigma)"""
1194 return _IMP_kinematics.RevoluteJointMover_set_sigma(self, sigma)
1197 def get_sigma(self):
1198 """get_sigma(RevoluteJointMover self) -> IMP::Float"""
1199 return _IMP_kinematics.RevoluteJointMover_get_sigma(self)
1203 """get_version_info(RevoluteJointMover self) -> VersionInfo"""
1204 return _IMP_kinematics.RevoluteJointMover_get_version_info(self)
1208 """__str__(RevoluteJointMover self) -> std::string"""
1209 return _IMP_kinematics.RevoluteJointMover___str__(self)
1213 """__repr__(RevoluteJointMover self) -> std::string"""
1214 return _IMP_kinematics.RevoluteJointMover___repr__(self)
1219 return _object_cast_to_RevoluteJointMover(o)
1221 RevoluteJointMover_swigregister = _IMP_kinematics.RevoluteJointMover_swigregister
1222 RevoluteJointMover_swigregister(RevoluteJointMover)
1225 """Proxy of C++ IMP::kinematics::DihedralMover class"""
1226 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1228 def __init__(self, m, joints, max_rot=0.1):
1230 __init__(IMP::kinematics::DihedralMover self, Model m, IMP::kinematics::RevoluteJoints const & joints, double const max_rot=0.1) -> DihedralMover
1231 __init__(IMP::kinematics::DihedralMover self, Model m, IMP::kinematics::RevoluteJoints const & joints) -> DihedralMover
1233 this = _IMP_kinematics.new_DihedralMover(m, joints, max_rot)
1235 self.this.append(this)
1240 """get_version_info(DihedralMover self) -> VersionInfo"""
1241 return _IMP_kinematics.DihedralMover_get_version_info(self)
1245 """__str__(DihedralMover self) -> std::string"""
1246 return _IMP_kinematics.DihedralMover___str__(self)
1250 """__repr__(DihedralMover self) -> std::string"""
1251 return _IMP_kinematics.DihedralMover___repr__(self)
1256 return _object_cast_to_DihedralMover(o)
1258 DihedralMover_swigregister = _IMP_kinematics.DihedralMover_swigregister
1259 DihedralMover_swigregister(DihedralMover)
1262 """Proxy of C++ IMP::kinematics::KinematicForest class"""
1263 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1266 """get_version_info(KinematicForest self) -> VersionInfo"""
1267 return _IMP_kinematics.KinematicForest_get_version_info(self)
1270 def __init__(self, *args):
1272 __init__(IMP::kinematics::KinematicForest self, Model m) -> KinematicForest
1273 __init__(IMP::kinematics::KinematicForest self, Model m, Hierarchy hierarchy) -> KinematicForest
1275 this = _IMP_kinematics.new_KinematicForest(*args)
1277 self.this.append(this)
1281 def add_edge(self, *args):
1283 add_edge(KinematicForest self, RigidBody parent, RigidBody child) -> Joint
1284 add_edge(KinematicForest self, Joint joint)
1286 return _IMP_kinematics.KinematicForest_add_edge(self, *args)
1289 def add_rigid_bodies_in_chain(self, rbs):
1290 """add_rigid_bodies_in_chain(KinematicForest self, IMP::core::RigidBodies rbs)"""
1291 return _IMP_kinematics.KinematicForest_add_rigid_bodies_in_chain(self, rbs)
1294 def reset_root(self, new_root):
1295 """reset_root(KinematicForest self, Particle new_root)"""
1296 return _IMP_kinematics.KinematicForest_reset_root(self, new_root)
1299 def update_all_internal_coordinates(self):
1300 """update_all_internal_coordinates(KinematicForest self)"""
1301 return _IMP_kinematics.KinematicForest_update_all_internal_coordinates(self)
1304 def update_all_external_coordinates(self):
1305 """update_all_external_coordinates(KinematicForest self)"""
1306 return _IMP_kinematics.KinematicForest_update_all_external_coordinates(self)
1309 def get_ordered_joints(self):
1310 """get_ordered_joints(KinematicForest self) -> IMP::kinematics::Joints"""
1311 return _IMP_kinematics.KinematicForest_get_ordered_joints(self)
1314 def transform_safe(self, tr):
1315 """transform_safe(KinematicForest self, Transformation3D tr)"""
1316 return _IMP_kinematics.KinematicForest_transform_safe(self, tr)
1319 def mark_internal_coordinates_changed(self):
1320 """mark_internal_coordinates_changed(KinematicForest self)"""
1321 return _IMP_kinematics.KinematicForest_mark_internal_coordinates_changed(self)
1324 def mark_external_coordinates_changed(self):
1325 """mark_external_coordinates_changed(KinematicForest self)"""
1326 return _IMP_kinematics.KinematicForest_mark_external_coordinates_changed(self)
1329 def set_coordinates_safe(self, rb, c):
1330 """set_coordinates_safe(KinematicForest self, RigidBody rb, Vector3D c)"""
1331 return _IMP_kinematics.KinematicForest_set_coordinates_safe(self, rb, c)
1334 def get_coordinates_safe(self, rb):
1335 """get_coordinates_safe(KinematicForest self, RigidBody rb) -> Vector3D"""
1336 return _IMP_kinematics.KinematicForest_get_coordinates_safe(self, rb)
1339 def get_is_member(self, rb):
1340 """get_is_member(KinematicForest self, RigidBody rb) -> bool"""
1341 return _IMP_kinematics.KinematicForest_get_is_member(self, rb)
1344 def get_reference_frame_safe(self, rb):
1345 """get_reference_frame_safe(KinematicForest self, RigidBody rb) -> ReferenceFrame3D"""
1346 return _IMP_kinematics.KinematicForest_get_reference_frame_safe(self, rb)
1349 def set_reference_frame_safe(self, rb, r):
1350 """set_reference_frame_safe(KinematicForest self, RigidBody rb, ReferenceFrame3D r)"""
1351 return _IMP_kinematics.KinematicForest_set_reference_frame_safe(self, rb, r)
1354 def apply_transform_safely(self, tr):
1355 """apply_transform_safely(KinematicForest self, Transformation3D tr)"""
1356 return _IMP_kinematics.KinematicForest_apply_transform_safely(self, tr)
1360 """__str__(KinematicForest self) -> std::string"""
1361 return _IMP_kinematics.KinematicForest___str__(self)
1365 """__repr__(KinematicForest self) -> std::string"""
1366 return _IMP_kinematics.KinematicForest___repr__(self)
1371 return _object_cast_to_KinematicForest(o)
1373 KinematicForest_swigregister = _IMP_kinematics.KinematicForest_swigregister
1374 KinematicForest_swigregister(KinematicForest)
1377 """Proxy of C++ IMP::kinematics::KinematicForestScoreState class"""
1378 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1381 """get_version_info(KinematicForestScoreState self) -> VersionInfo"""
1382 return _IMP_kinematics.KinematicForestScoreState_get_version_info(self)
1385 def __init__(self, kf, rbs, atoms):
1386 """__init__(IMP::kinematics::KinematicForestScoreState self, KinematicForest kf, IMP::core::RigidBodies rbs, IMP::ParticlesTemp atoms) -> KinematicForestScoreState"""
1387 this = _IMP_kinematics.new_KinematicForestScoreState(kf, rbs, atoms)
1389 self.this.append(this)
1393 def do_before_evaluate(self):
1394 """do_before_evaluate(KinematicForestScoreState self)"""
1395 return _IMP_kinematics.KinematicForestScoreState_do_before_evaluate(self)
1398 def do_after_evaluate(self, da):
1399 """do_after_evaluate(KinematicForestScoreState self, DerivativeAccumulator da)"""
1400 return _IMP_kinematics.KinematicForestScoreState_do_after_evaluate(self, da)
1404 """do_get_inputs(KinematicForestScoreState self) -> IMP::ModelObjectsTemp"""
1405 return _IMP_kinematics.KinematicForestScoreState_do_get_inputs(self)
1409 """do_get_outputs(KinematicForestScoreState self) -> IMP::ModelObjectsTemp"""
1410 return _IMP_kinematics.KinematicForestScoreState_do_get_outputs(self)
1414 """__str__(KinematicForestScoreState self) -> std::string"""
1415 return _IMP_kinematics.KinematicForestScoreState___str__(self)
1419 """__repr__(KinematicForestScoreState self) -> std::string"""
1420 return _IMP_kinematics.KinematicForestScoreState___repr__(self)
1425 return _object_cast_to_KinematicForestScoreState(o)
1427 KinematicForestScoreState_swigregister = _IMP_kinematics.KinematicForestScoreState_swigregister
1428 KinematicForestScoreState_swigregister(KinematicForestScoreState)
1431 """Proxy of C++ IMP::kinematics::DOF class"""
1432 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1435 """get_version_info(DOF self) -> VersionInfo"""
1436 return _IMP_kinematics.DOF_get_version_info(self)
1439 def __init__(self, *args):
1441 __init__(IMP::kinematics::DOF self, double v) -> DOF
1442 __init__(IMP::kinematics::DOF self, double v, double min, double max, double step_size) -> DOF
1444 this = _IMP_kinematics.new_DOF(*args)
1446 self.this.append(this)
1450 def get_value(self):
1451 """get_value(DOF self) -> double"""
1452 return _IMP_kinematics.DOF_get_value(self)
1455 def set_value(self, v):
1456 """set_value(DOF self, double v)"""
1457 return _IMP_kinematics.DOF_set_value(self, v)
1460 def get_range(self):
1461 """get_range(DOF self) -> std::pair< double,double >"""
1462 return _IMP_kinematics.DOF_get_range(self)
1465 def set_range(self, range):
1466 """set_range(DOF self, std::pair< double,double > range)"""
1467 return _IMP_kinematics.DOF_set_range(self, range)
1470 def get_step_size(self):
1471 """get_step_size(DOF self) -> double"""
1472 return _IMP_kinematics.DOF_get_step_size(self)
1475 def set_step_size(self, step_size):
1476 """set_step_size(DOF self, double step_size)"""
1477 return _IMP_kinematics.DOF_set_step_size(self, step_size)
1480 def get_number_of_steps(self, *args):
1482 get_number_of_steps(DOF self, double value) -> int
1483 get_number_of_steps(DOF self, double value1, double value2) -> int
1485 return _IMP_kinematics.DOF_get_number_of_steps(self, *args)
1489 """__str__(DOF self) -> std::string"""
1490 return _IMP_kinematics.DOF___str__(self)
1494 """__repr__(DOF self) -> std::string"""
1495 return _IMP_kinematics.DOF___repr__(self)
1500 return _object_cast_to_DOF(o)
1502 DOF_swigregister = _IMP_kinematics.DOF_swigregister
1503 DOF_swigregister(DOF)
1505 class DOFValues(IMP.saxs.DistBase):
1506 """Proxy of C++ IMP::kinematics::DOFValues class"""
1507 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1509 def __init__(self, *args):
1511 __init__(IMP::kinematics::DOFValues self, IMP::kinematics::DOFs const & dofs) -> DOFValues
1512 __init__(IMP::kinematics::DOFValues self) -> DOFValues
1514 this = _IMP_kinematics.new_DOFValues(*args)
1516 self.this.append(this)
1520 def get_distance2(self, *args):
1522 get_distance2(DOFValues self, DOFValues other_dof_values) -> double
1523 get_distance2(DOFValues self, DOFValues other_dof_values, std::vector< bool,std::allocator< bool > > const & active_dofs) -> double
1525 return _IMP_kinematics.DOFValues_get_distance2(self, *args)
1530 get_distance(DOFValues self, DOFValues other_dof_values) -> double
1531 get_distance(DOFValues self, DOFValues other_dof_values, std::vector< bool,std::allocator< bool > > const & active_dofs) -> double
1533 return _IMP_kinematics.DOFValues_get_distance(self, *args)
1536 def show(self, *args):
1538 show(DOFValues self, _ostream out)
1539 show(DOFValues self)
1541 return _IMP_kinematics.DOFValues_show(self, *args)
1545 """__str__(DOFValues self) -> std::string"""
1546 return _IMP_kinematics.DOFValues___str__(self)
1550 """__repr__(DOFValues self) -> std::string"""
1551 return _IMP_kinematics.DOFValues___repr__(self)
1553 __swig_destroy__ = _IMP_kinematics.delete_DOFValues
1554 __del__ =
lambda self:
None
1555 DOFValues_swigregister = _IMP_kinematics.DOFValues_swigregister
1556 DOFValues_swigregister(DOFValues)
1559 """Proxy of C++ IMP::kinematics::DirectionalDOF class"""
1560 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1562 def __init__(self, dofs):
1563 """__init__(IMP::kinematics::DirectionalDOF self, IMP::kinematics::DOFs const & dofs) -> DirectionalDOF"""
1564 this = _IMP_kinematics.new_DirectionalDOF(dofs)
1566 self.this.append(this)
1570 def set_end_points(self, q1, q2):
1571 """set_end_points(DirectionalDOF self, DOFValues q1, DOFValues q2)"""
1572 return _IMP_kinematics.DirectionalDOF_set_end_points(self, q1, q2)
1575 def get_dofs_values(self):
1576 """get_dofs_values(DirectionalDOF self) -> DOFValues"""
1577 return _IMP_kinematics.DirectionalDOF_get_dofs_values(self)
1580 def get_value(self):
1581 """get_value(DirectionalDOF self) -> double"""
1582 return _IMP_kinematics.DirectionalDOF_get_value(self)
1586 """get_version_info(DirectionalDOF self) -> VersionInfo"""
1587 return _IMP_kinematics.DirectionalDOF_get_version_info(self)
1591 """__str__(DirectionalDOF self) -> std::string"""
1592 return _IMP_kinematics.DirectionalDOF___str__(self)
1596 """__repr__(DirectionalDOF self) -> std::string"""
1597 return _IMP_kinematics.DirectionalDOF___repr__(self)
1602 return _object_cast_to_DirectionalDOF(o)
1604 DirectionalDOF_swigregister = _IMP_kinematics.DirectionalDOF_swigregister
1605 DirectionalDOF_swigregister(DirectionalDOF)
1608 """Proxy of C++ IMP::kinematics::DOFsSampler class"""
1609 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1611 def get_type_name(self):
1612 """get_type_name(DOFsSampler self) -> std::string"""
1613 return _IMP_kinematics.DOFsSampler_get_type_name(self)
1617 """get_version_info(DOFsSampler self) -> VersionInfo"""
1618 return _IMP_kinematics.DOFsSampler_get_version_info(self)
1621 def __init__(self, dofs):
1622 """__init__(IMP::kinematics::DOFsSampler self, IMP::kinematics::DOFs dofs) -> DOFsSampler"""
1623 if self.__class__ == DOFsSampler:
1627 this = _IMP_kinematics.new_DOFsSampler(_self, dofs)
1629 self.this.append(this)
1633 if self.__class__ != DOFsSampler:
1634 _director_objects.register(self)
1639 def get_sample(self):
1640 """get_sample(DOFsSampler self) -> DOFValues"""
1641 return _IMP_kinematics.DOFsSampler_get_sample(self)
1644 def apply(self, values):
1645 """apply(DOFsSampler self, DOFValues values)"""
1646 return _IMP_kinematics.DOFsSampler_apply(self, values)
1649 def apply_last_sample(self):
1650 """apply_last_sample(DOFsSampler self)"""
1651 return _IMP_kinematics.DOFsSampler_apply_last_sample(self)
1654 def sample_and_apply(self):
1655 """sample_and_apply(DOFsSampler self)"""
1656 return _IMP_kinematics.DOFsSampler_sample_and_apply(self)
1660 """get_dofs(DOFsSampler self) -> IMP::kinematics::DOFs const &"""
1661 return _IMP_kinematics.DOFsSampler_get_dofs(self)
1664 def get_dof(self, i):
1665 """get_dof(DOFsSampler self, unsigned int i) -> DOF"""
1666 return _IMP_kinematics.DOFsSampler_get_dof(self, i)
1669 def get_number_of_dofs(self):
1670 """get_number_of_dofs(DOFsSampler self) -> unsigned int"""
1671 return _IMP_kinematics.DOFsSampler_get_number_of_dofs(self)
1674 def do_get_sample(self):
1675 """do_get_sample(DOFsSampler self) -> DOFValues"""
1676 return _IMP_kinematics.DOFsSampler_do_get_sample(self)
1680 """__str__(DOFsSampler self) -> std::string"""
1681 return _IMP_kinematics.DOFsSampler___str__(self)
1685 """__repr__(DOFsSampler self) -> std::string"""
1686 return _IMP_kinematics.DOFsSampler___repr__(self)
1691 return _object_cast_to_DOFsSampler(o)
1694 def get_type_name(self):
1695 return self.__class__.__name__
1696 def do_show(self, out):
1699 if"IMP::kinematics" ==
"IMP":
1700 return VersionInfo(self.__module__,
1707 return _object_cast_to_DOFsSampler(o)
1709 def __disown__(self):
1711 _IMP_kinematics.disown_DOFsSampler(self)
1712 return weakref_proxy(self)
1715 """do_destroy(DOFsSampler self)"""
1716 return _IMP_kinematics.DOFsSampler_do_destroy(self)
1718 DOFsSampler_swigregister = _IMP_kinematics.DOFsSampler_swigregister
1719 DOFsSampler_swigregister(DOFsSampler)
1721 class FibrilSampler(DOFsSampler):
1722 """Proxy of C++ IMP::kinematics::FibrilSampler class"""
1723 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1725 def __init__(self, trans_joint, dihedral_joints, dofs):
1726 """__init__(IMP::kinematics::FibrilSampler self, IMP::kinematics::TransformationJoints trans_joint, IMP::kinematics::DihedralAngleRevoluteJoints dihedral_joints, IMP::kinematics::DOFs dofs) -> FibrilSampler"""
1727 this = _IMP_kinematics.new_FibrilSampler(trans_joint, dihedral_joints, dofs)
1729 self.this.append(this)
1733 def apply_floats(self, values):
1734 """apply_floats(FibrilSampler self, IMP::Floats const & values)"""
1735 return _IMP_kinematics.FibrilSampler_apply_floats(self, values)
1738 def get_dihedral_joints(self):
1739 """get_dihedral_joints(FibrilSampler self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1740 return _IMP_kinematics.FibrilSampler_get_dihedral_joints(self)
1743 def get_transformation_joint(self):
1744 """get_transformation_joint(FibrilSampler self) -> IMP::kinematics::TransformationJoints"""
1745 return _IMP_kinematics.FibrilSampler_get_transformation_joint(self)
1749 """__str__(FibrilSampler self) -> std::string"""
1750 return _IMP_kinematics.FibrilSampler___str__(self)
1754 """__repr__(FibrilSampler self) -> std::string"""
1755 return _IMP_kinematics.FibrilSampler___repr__(self)
1760 return _object_cast_to_FibrilSampler(o)
1762 __swig_destroy__ = _IMP_kinematics.delete_FibrilSampler
1763 __del__ =
lambda self:
None
1764 FibrilSampler_swigregister = _IMP_kinematics.FibrilSampler_swigregister
1765 FibrilSampler_swigregister(FibrilSampler)
1767 class UniformBackboneSampler(DOFsSampler):
1768 """Proxy of C++ IMP::kinematics::UniformBackboneSampler class"""
1769 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1771 def __init__(self, joints, dofs):
1772 """__init__(IMP::kinematics::UniformBackboneSampler self, IMP::kinematics::DihedralAngleRevoluteJoints joints, IMP::kinematics::DOFs dofs) -> UniformBackboneSampler"""
1773 this = _IMP_kinematics.new_UniformBackboneSampler(joints, dofs)
1775 self.this.append(this)
1779 def apply_floats(self, values):
1780 """apply_floats(UniformBackboneSampler self, IMP::Floats const & values)"""
1781 return _IMP_kinematics.UniformBackboneSampler_apply_floats(self, values)
1784 def get_joints(self):
1785 """get_joints(UniformBackboneSampler self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1786 return _IMP_kinematics.UniformBackboneSampler_get_joints(self)
1790 """__str__(UniformBackboneSampler self) -> std::string"""
1791 return _IMP_kinematics.UniformBackboneSampler___str__(self)
1795 """__repr__(UniformBackboneSampler self) -> std::string"""
1796 return _IMP_kinematics.UniformBackboneSampler___repr__(self)
1801 return _object_cast_to_UniformBackboneSampler(o)
1803 __swig_destroy__ = _IMP_kinematics.delete_UniformBackboneSampler
1804 __del__ =
lambda self:
None
1805 UniformBackboneSampler_swigregister = _IMP_kinematics.UniformBackboneSampler_swigregister
1806 UniformBackboneSampler_swigregister(UniformBackboneSampler)
1809 _IMP_kinematics.PHI_swigconstant(_IMP_kinematics)
1810 PHI = _IMP_kinematics.PHI
1812 _IMP_kinematics.PSI_swigconstant(_IMP_kinematics)
1813 PSI = _IMP_kinematics.PSI
1815 _IMP_kinematics.CHI_swigconstant(_IMP_kinematics)
1816 CHI = _IMP_kinematics.CHI
1818 _IMP_kinematics.CHI1_swigconstant(_IMP_kinematics)
1819 CHI1 = _IMP_kinematics.CHI1
1821 _IMP_kinematics.CHI2_swigconstant(_IMP_kinematics)
1822 CHI2 = _IMP_kinematics.CHI2
1824 _IMP_kinematics.CHI3_swigconstant(_IMP_kinematics)
1825 CHI3 = _IMP_kinematics.CHI3
1827 _IMP_kinematics.CHI4_swigconstant(_IMP_kinematics)
1828 CHI4 = _IMP_kinematics.CHI4
1830 _IMP_kinematics.CHI5_swigconstant(_IMP_kinematics)
1831 CHI5 = _IMP_kinematics.CHI5
1833 _IMP_kinematics.OTHER_swigconstant(_IMP_kinematics)
1834 OTHER = _IMP_kinematics.OTHER
1836 _IMP_kinematics.OTHER2_swigconstant(_IMP_kinematics)
1837 OTHER2 = _IMP_kinematics.OTHER2
1839 _IMP_kinematics.OTHER3_swigconstant(_IMP_kinematics)
1840 OTHER3 = _IMP_kinematics.OTHER3
1842 _IMP_kinematics.OTHER4_swigconstant(_IMP_kinematics)
1843 OTHER4 = _IMP_kinematics.OTHER4
1845 _IMP_kinematics.OTHER5_swigconstant(_IMP_kinematics)
1846 OTHER5 = _IMP_kinematics.OTHER5
1848 _IMP_kinematics.TOTAL_swigconstant(_IMP_kinematics)
1849 TOTAL = _IMP_kinematics.TOTAL
1851 """Proxy of C++ IMP::kinematics::ProteinKinematics class"""
1852 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1854 def __init__(self, *args):
1856 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, bool flexible_backbone=True, bool flexible_side_chains=False) -> ProteinKinematics
1857 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, bool flexible_backbone=True) -> ProteinKinematics
1858 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd) -> ProteinKinematics
1859 __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
1860 __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
1861 __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
1862 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, IMP::atom::Residues const & flexible_residues, IMP::ParticleIndexQuads const custom_dihedral_angles) -> ProteinKinematics
1863 __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
1864 __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
1865 __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
1866 __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
1867 __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
1868 __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
1869 __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
1870 __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
1872 this = _IMP_kinematics.new_ProteinKinematics(*args)
1874 self.this.append(this)
1878 def get_phi(self, r):
1879 """get_phi(ProteinKinematics self, Residue r) -> double"""
1880 return _IMP_kinematics.ProteinKinematics_get_phi(self, r)
1883 def get_psi(self, r):
1884 """get_psi(ProteinKinematics self, Residue r) -> double"""
1885 return _IMP_kinematics.ProteinKinematics_get_psi(self, r)
1888 def get_joints(self):
1889 """get_joints(ProteinKinematics self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1890 return _IMP_kinematics.ProteinKinematics_get_joints(self)
1893 def get_loop_joints(self):
1894 """get_loop_joints(ProteinKinematics self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1895 return _IMP_kinematics.ProteinKinematics_get_loop_joints(self)
1898 def get_ordered_joints(self):
1899 """get_ordered_joints(ProteinKinematics self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1900 return _IMP_kinematics.ProteinKinematics_get_ordered_joints(self)
1903 def get_kinematic_forest(self):
1904 """get_kinematic_forest(ProteinKinematics self) -> KinematicForest"""
1905 return _IMP_kinematics.ProteinKinematics_get_kinematic_forest(self)
1908 def get_rigid_bodies(self):
1909 """get_rigid_bodies(ProteinKinematics self) -> IMP::core::RigidBodies"""
1910 return _IMP_kinematics.ProteinKinematics_get_rigid_bodies(self)
1913 def set_phi(self, r, angle):
1914 """set_phi(ProteinKinematics self, Residue r, double angle)"""
1915 return _IMP_kinematics.ProteinKinematics_set_phi(self, r, angle)
1918 def set_psi(self, r, angle):
1919 """set_psi(ProteinKinematics self, Residue r, double angle)"""
1920 return _IMP_kinematics.ProteinKinematics_set_psi(self, r, angle)
1924 """get_version_info(ProteinKinematics self) -> VersionInfo"""
1925 return _IMP_kinematics.ProteinKinematics_get_version_info(self)
1928 def build_topology_graph(self):
1929 """build_topology_graph(ProteinKinematics self)"""
1930 return _IMP_kinematics.ProteinKinematics_build_topology_graph(self)
1933 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):
1934 """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)"""
1935 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)
1938 def mark_rotatable_angles(self, dihedral_angles):
1939 """mark_rotatable_angles(ProteinKinematics self, std::vector< IMP::atom::Atoms,std::allocator< IMP::atom::Atoms > > const & dihedral_angles)"""
1940 return _IMP_kinematics.ProteinKinematics_mark_rotatable_angles(self, dihedral_angles)
1943 def mark_rotatable_angle(self, dihedral_angle):
1944 """mark_rotatable_angle(ProteinKinematics self, std::vector< IMP::atom::Atom,std::allocator< IMP::atom::Atom > > const & dihedral_angle)"""
1945 return _IMP_kinematics.ProteinKinematics_mark_rotatable_angle(self, dihedral_angle)
1948 def build_rigid_bodies(self):
1949 """build_rigid_bodies(ProteinKinematics self)"""
1950 return _IMP_kinematics.ProteinKinematics_build_rigid_bodies(self)
1953 def add_dihedral_joints(self, residues, angle_type, dihedral_angles):
1954 """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)"""
1955 return _IMP_kinematics.ProteinKinematics_add_dihedral_joints(self, residues, angle_type, dihedral_angles)
1958 def add_dihedral_joint(self, r, angle_type, atoms):
1959 """add_dihedral_joint(ProteinKinematics self, Residue r, IMP::kinematics::ProteinAngleType angle_type, IMP::atom::Atoms const & atoms)"""
1960 return _IMP_kinematics.ProteinKinematics_add_dihedral_joint(self, r, angle_type, atoms)
1963 def open_loop(self, open_loop_bond_atoms):
1964 """open_loop(ProteinKinematics self, IMP::atom::Atoms open_loop_bond_atoms)"""
1965 return _IMP_kinematics.ProteinKinematics_open_loop(self, open_loop_bond_atoms)
1968 def get_phi_joint(self, r):
1969 """get_phi_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
1970 return _IMP_kinematics.ProteinKinematics_get_phi_joint(self, r)
1973 def get_psi_joint(self, r):
1974 """get_psi_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
1975 return _IMP_kinematics.ProteinKinematics_get_psi_joint(self, r)
1978 def get_other_joint(self, r):
1979 """get_other_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
1980 return _IMP_kinematics.ProteinKinematics_get_other_joint(self, r)
1983 def get_chi1_joint(self, r):
1984 """get_chi1_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
1985 return _IMP_kinematics.ProteinKinematics_get_chi1_joint(self, r)
1988 def get_chi2_joint(self, r):
1989 """get_chi2_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
1990 return _IMP_kinematics.ProteinKinematics_get_chi2_joint(self, r)
1993 def get_chi3_joint(self, r):
1994 """get_chi3_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
1995 return _IMP_kinematics.ProteinKinematics_get_chi3_joint(self, r)
1998 def get_chi4_joint(self, r):
1999 """get_chi4_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
2000 return _IMP_kinematics.ProteinKinematics_get_chi4_joint(self, r)
2003 def get_chi5_joint(self, r):
2004 """get_chi5_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
2005 return _IMP_kinematics.ProteinKinematics_get_chi5_joint(self, r)
2008 def get_joint(self, r, angle):
2009 """get_joint(ProteinKinematics self, Residue r, IMP::kinematics::ProteinAngleType angle) -> DihedralAngleRevoluteJoint"""
2010 return _IMP_kinematics.ProteinKinematics_get_joint(self, r, angle)
2014 """__str__(ProteinKinematics self) -> std::string"""
2015 return _IMP_kinematics.ProteinKinematics___str__(self)
2019 """__repr__(ProteinKinematics self) -> std::string"""
2020 return _IMP_kinematics.ProteinKinematics___repr__(self)
2025 return _object_cast_to_ProteinKinematics(o)
2027 ProteinKinematics_swigregister = _IMP_kinematics.ProteinKinematics_swigregister
2028 ProteinKinematics_swigregister(ProteinKinematics)
2031 """Proxy of C++ IMP::kinematics::LocalPlanner class"""
2032 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2034 def __init__(self, *args, **kwargs):
2035 raise AttributeError(
"No constructor defined - class is abstract")
2038 """get_version_info(LocalPlanner self) -> VersionInfo"""
2039 return _IMP_kinematics.LocalPlanner_get_version_info(self)
2042 def plan(self, q_near, q_rand, sf):
2043 """plan(LocalPlanner self, DOFValues q_near, DOFValues q_rand, ScoringFunction sf) -> std::vector< IMP::kinematics::DOFValues,std::allocator< IMP::kinematics::DOFValues > >"""
2044 return _IMP_kinematics.LocalPlanner_plan(self, q_near, q_rand, sf)
2047 def is_valid(self, values, sf):
2048 """is_valid(LocalPlanner self, DOFValues values, ScoringFunction sf) -> bool"""
2049 return _IMP_kinematics.LocalPlanner_is_valid(self, values, sf)
2053 """__str__(LocalPlanner self) -> std::string"""
2054 return _IMP_kinematics.LocalPlanner___str__(self)
2058 """__repr__(LocalPlanner self) -> std::string"""
2059 return _IMP_kinematics.LocalPlanner___repr__(self)
2064 return _object_cast_to_LocalPlanner(o)
2066 LocalPlanner_swigregister = _IMP_kinematics.LocalPlanner_swigregister
2067 LocalPlanner_swigregister(LocalPlanner)
2069 class PathLocalPlanner(LocalPlanner):
2070 """Proxy of C++ IMP::kinematics::PathLocalPlanner class"""
2071 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2073 def __init__(self, model, dofs_sampler, directional_dof, save_step_interval=1):
2075 __init__(IMP::kinematics::PathLocalPlanner self, Model model, DOFsSampler dofs_sampler, DirectionalDOF directional_dof, int save_step_interval=1) -> PathLocalPlanner
2076 __init__(IMP::kinematics::PathLocalPlanner self, Model model, DOFsSampler dofs_sampler, DirectionalDOF directional_dof) -> PathLocalPlanner
2078 this = _IMP_kinematics.new_PathLocalPlanner(model, dofs_sampler, directional_dof, save_step_interval)
2080 self.this.append(this)
2085 """__str__(PathLocalPlanner self) -> std::string"""
2086 return _IMP_kinematics.PathLocalPlanner___str__(self)
2090 """__repr__(PathLocalPlanner self) -> std::string"""
2091 return _IMP_kinematics.PathLocalPlanner___repr__(self)
2096 return _object_cast_to_PathLocalPlanner(o)
2098 __swig_destroy__ = _IMP_kinematics.delete_PathLocalPlanner
2099 __del__ =
lambda self:
None
2100 PathLocalPlanner_swigregister = _IMP_kinematics.PathLocalPlanner_swigregister
2101 PathLocalPlanner_swigregister(PathLocalPlanner)
2104 """Proxy of C++ IMP::kinematics::RRT class"""
2105 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2108 """get_version_info(RRT self) -> VersionInfo"""
2109 return _IMP_kinematics.RRT_get_version_info(self)
2112 def __init__(self, m, sampler, planner, cspace_dofs, iteration_number=1000, tree_size=100, number_of_sampled_dofs=0):
2114 __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
2115 __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
2116 __init__(IMP::kinematics::RRT self, Model m, DOFsSampler sampler, LocalPlanner planner, IMP::kinematics::DOFs const & cspace_dofs, unsigned int iteration_number=1000) -> RRT
2117 __init__(IMP::kinematics::RRT self, Model m, DOFsSampler sampler, LocalPlanner planner, IMP::kinematics::DOFs const & cspace_dofs) -> RRT
2119 this = _IMP_kinematics.new_RRT(m, sampler, planner, cspace_dofs, iteration_number, tree_size, number_of_sampled_dofs)
2121 self.this.append(this)
2125 def do_sample(self):
2126 """do_sample(RRT self) -> ConfigurationSet"""
2127 return _IMP_kinematics.RRT_do_sample(self)
2130 def run(self, number_of_iterations=0):
2132 run(RRT self, unsigned int number_of_iterations=0) -> bool
2133 run(RRT self) -> bool
2135 return _IMP_kinematics.RRT_run(self, number_of_iterations)
2138 def get_DOFValuesList(self):
2139 """get_DOFValuesList(RRT self) -> IMP::kinematics::DOFValuesList"""
2140 return _IMP_kinematics.RRT_get_DOFValuesList(self)
2143 def set_number_of_iterations(self, num):
2144 """set_number_of_iterations(RRT self, unsigned int num)"""
2145 return _IMP_kinematics.RRT_set_number_of_iterations(self, num)
2148 def set_tree_size(self, num):
2149 """set_tree_size(RRT self, unsigned int num)"""
2150 return _IMP_kinematics.RRT_set_tree_size(self, num)
2153 def set_actual_tree_size(self, num):
2154 """set_actual_tree_size(RRT self, unsigned int num)"""
2155 return _IMP_kinematics.RRT_set_actual_tree_size(self, num)
2158 def set_number_of_collisions(self, num):
2159 """set_number_of_collisions(RRT self, unsigned int num)"""
2160 return _IMP_kinematics.RRT_set_number_of_collisions(self, num)
2163 def check_initial_configuration(self, sf):
2164 """check_initial_configuration(RRT self, ScoringFunction sf)"""
2165 return _IMP_kinematics.RRT_check_initial_configuration(self, sf)
2169 """__str__(RRT self) -> std::string"""
2170 return _IMP_kinematics.RRT___str__(self)
2174 """__repr__(RRT self) -> std::string"""
2175 return _IMP_kinematics.RRT___repr__(self)
2180 return _object_cast_to_RRT(o)
2182 RRT_swigregister = _IMP_kinematics.RRT_swigregister
2183 RRT_swigregister(RRT)
2187 """get_module_version() -> std::string const"""
2188 return _IMP_kinematics.get_module_version()
2191 """get_example_path(std::string fname) -> std::string"""
2192 return _IMP_kinematics.get_example_path(fname)
2195 """get_data_path(std::string fname) -> std::string"""
2196 return _IMP_kinematics.get_data_path(fname)
2198 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.