10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_kinematics', [dirname(__file__)])
24 import _IMP_kinematics
25 return _IMP_kinematics
28 _mod = imp.load_module(
'_IMP_kinematics', fp, pathname, description)
32 _IMP_kinematics = swig_import_helper()
33 del swig_import_helper
35 import _IMP_kinematics
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
110 weakref_proxy =
lambda x: x
113 class IMP_KINEMATICS_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_KINEMATICS_SwigPyIterator class"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_kinematics.delete_IMP_KINEMATICS_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
125 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_value(self)
130 incr(IMP_KINEMATICS_SwigPyIterator self, size_t n=1) -> IMP_KINEMATICS_SwigPyIterator
131 incr(IMP_KINEMATICS_SwigPyIterator self) -> IMP_KINEMATICS_SwigPyIterator
133 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_incr(self, n)
138 decr(IMP_KINEMATICS_SwigPyIterator self, size_t n=1) -> IMP_KINEMATICS_SwigPyIterator
139 decr(IMP_KINEMATICS_SwigPyIterator self) -> IMP_KINEMATICS_SwigPyIterator
141 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_distance(self, x)
150 """equal(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> bool"""
151 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_equal(self, x)
155 """copy(IMP_KINEMATICS_SwigPyIterator self) -> IMP_KINEMATICS_SwigPyIterator"""
156 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_copy(self)
160 """next(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
161 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_next(self)
165 """__next__(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
166 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___next__(self)
170 """previous(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
171 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator"""
176 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> bool"""
181 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> bool"""
186 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator"""
191 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator"""
196 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator"""
201 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator
207 __sub__(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___sub__(self, *args)
213 IMP_KINEMATICS_SwigPyIterator_swigregister = _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_swigregister
214 IMP_KINEMATICS_SwigPyIterator_swigregister(IMP_KINEMATICS_SwigPyIterator)
223 _IMP_kinematics.IMP_DEBUG_swigconstant(_IMP_kinematics)
224 IMP_DEBUG = _IMP_kinematics.IMP_DEBUG
226 _IMP_kinematics.IMP_RELEASE_swigconstant(_IMP_kinematics)
227 IMP_RELEASE = _IMP_kinematics.IMP_RELEASE
229 _IMP_kinematics.IMP_SILENT_swigconstant(_IMP_kinematics)
230 IMP_SILENT = _IMP_kinematics.IMP_SILENT
232 _IMP_kinematics.IMP_PROGRESS_swigconstant(_IMP_kinematics)
233 IMP_PROGRESS = _IMP_kinematics.IMP_PROGRESS
235 _IMP_kinematics.IMP_TERSE_swigconstant(_IMP_kinematics)
236 IMP_TERSE = _IMP_kinematics.IMP_TERSE
238 _IMP_kinematics.IMP_VERBOSE_swigconstant(_IMP_kinematics)
239 IMP_VERBOSE = _IMP_kinematics.IMP_VERBOSE
241 _IMP_kinematics.IMP_MEMORY_swigconstant(_IMP_kinematics)
242 IMP_MEMORY = _IMP_kinematics.IMP_MEMORY
244 _IMP_kinematics.IMP_NONE_swigconstant(_IMP_kinematics)
245 IMP_NONE = _IMP_kinematics.IMP_NONE
247 _IMP_kinematics.IMP_USAGE_swigconstant(_IMP_kinematics)
248 IMP_USAGE = _IMP_kinematics.IMP_USAGE
250 _IMP_kinematics.IMP_INTERNAL_swigconstant(_IMP_kinematics)
251 IMP_INTERNAL = _IMP_kinematics.IMP_INTERNAL
253 _IMP_kinematics.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_kinematics)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_kinematics.IMP_KERNEL_HAS_LOG4CXX
256 _IMP_kinematics.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_kinematics)
257 IMP_COMPILER_HAS_AUTO = _IMP_kinematics.IMP_COMPILER_HAS_AUTO
259 _IMP_kinematics.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_kinematics)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_kinematics.IMP_COMPILER_HAS_DEBUG_VECTOR
262 _IMP_kinematics.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_kinematics)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_kinematics.IMP_COMPILER_HAS_UNIQUE_PTR
265 _IMP_kinematics.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_KERNEL_HAS_BOOST_RANDOM
268 _IMP_kinematics.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_kinematics)
269 IMP_KERNEL_HAS_NUMPY = _IMP_kinematics.IMP_KERNEL_HAS_NUMPY
271 _IMP_kinematics.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_kinematics)
272 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_kinematics.IMP_KERNEL_HAS_GPERFTOOLS
274 _IMP_kinematics.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_kinematics)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_kinematics.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
277 _IMP_kinematics.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_kinematics)
278 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_kinematics.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
280 _IMP_kinematics.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
281 IMPKERNEL_SHOW_WARNINGS = _IMP_kinematics.IMPKERNEL_SHOW_WARNINGS
284 class _DirectorObjects(object):
285 """@internal Simple class to keep references to director objects
286 to prevent premature deletion."""
289 def register(self, obj):
290 """Take a reference to a director object; will only work for
291 refcounted C++ classes"""
292 if hasattr(obj,
'get_ref_count'):
293 self._objects.append(obj)
295 """Only drop our reference and allow cleanup by Python if no other
296 Python references exist (we hold 3 references: one in self._objects,
297 one in x, and one in the argument list for getrefcount) *and* no
298 other C++ references exist (the Python object always holds one)"""
299 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
300 or x.get_ref_count() > 1]
304 def get_object_count(self):
305 """Get number of director objects (useful for testing only)"""
306 return len(self._objects)
307 _director_objects = _DirectorObjects()
309 class _ostream(object):
310 """Proxy of C++ std::ostream class"""
311 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
313 def __init__(self, *args, **kwargs):
314 raise AttributeError(
"No constructor defined")
315 __repr__ = _swig_repr
317 def write(self, osa_buf):
318 """write(_ostream self, char const * osa_buf)"""
319 return _IMP_kinematics._ostream_write(self, osa_buf)
321 _ostream_swigregister = _IMP_kinematics._ostream_swigregister
322 _ostream_swigregister(_ostream)
325 _IMP_kinematics.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_kinematics)
326 IMP_COMPILER_HAS_OVERRIDE = _IMP_kinematics.IMP_COMPILER_HAS_OVERRIDE
328 _IMP_kinematics.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_kinematics)
329 IMP_COMPILER_HAS_FINAL = _IMP_kinematics.IMP_COMPILER_HAS_FINAL
331 _IMP_kinematics.IMP_HAS_NOEXCEPT_swigconstant(_IMP_kinematics)
332 IMP_HAS_NOEXCEPT = _IMP_kinematics.IMP_HAS_NOEXCEPT
334 _IMP_kinematics.IMP_C_OPEN_BINARY_swigconstant(_IMP_kinematics)
335 IMP_C_OPEN_BINARY = _IMP_kinematics.IMP_C_OPEN_BINARY
338 _IMP_kinematics.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
339 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CGAL_HAS_BOOST_FILESYSTEM
341 _IMP_kinematics.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
342 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
344 _IMP_kinematics.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
345 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CGAL_HAS_BOOST_RANDOM
347 _IMP_kinematics.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
348 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CGAL_HAS_BOOST_SYSTEM
350 _IMP_kinematics.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_kinematics)
351 IMP_CGAL_HAS_NUMPY = _IMP_kinematics.IMP_CGAL_HAS_NUMPY
353 _IMP_kinematics.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
354 IMPCGAL_SHOW_WARNINGS = _IMP_kinematics.IMPCGAL_SHOW_WARNINGS
357 _IMP_kinematics.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
358 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_kinematics.IMP_ALGEBRA_HAS_IMP_CGAL
360 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
361 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
363 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
364 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
366 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
367 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_RANDOM
369 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
370 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_SYSTEM
372 _IMP_kinematics.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_kinematics)
373 IMP_ALGEBRA_HAS_CGAL = _IMP_kinematics.IMP_ALGEBRA_HAS_CGAL
375 _IMP_kinematics.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_kinematics)
376 IMP_ALGEBRA_HAS_NUMPY = _IMP_kinematics.IMP_ALGEBRA_HAS_NUMPY
378 _IMP_kinematics.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_kinematics)
379 IMP_ALGEBRA_HAS_ANN = _IMP_kinematics.IMP_ALGEBRA_HAS_ANN
381 _IMP_kinematics.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
382 IMPALGEBRA_SHOW_WARNINGS = _IMP_kinematics.IMPALGEBRA_SHOW_WARNINGS
385 _IMP_kinematics.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
386 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_kinematics.IMP_DISPLAY_HAS_IMP_CGAL
388 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
389 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
391 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
392 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
394 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
395 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_RANDOM
397 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
398 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_SYSTEM
400 _IMP_kinematics.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_kinematics)
401 IMP_DISPLAY_HAS_CGAL = _IMP_kinematics.IMP_DISPLAY_HAS_CGAL
403 _IMP_kinematics.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_kinematics)
404 IMP_DISPLAY_HAS_NUMPY = _IMP_kinematics.IMP_DISPLAY_HAS_NUMPY
406 _IMP_kinematics.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
407 IMPDISPLAY_SHOW_WARNINGS = _IMP_kinematics.IMPDISPLAY_SHOW_WARNINGS
410 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
411 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
413 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
414 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
416 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
417 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
419 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
420 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
422 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
423 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
425 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_kinematics)
426 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_CGAL
428 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_kinematics)
429 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_HDF5
431 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_kinematics)
432 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_NUMPY
434 _IMP_kinematics.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
435 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_kinematics.IMPSCOREFUNCTOR_SHOW_WARNINGS
438 _IMP_kinematics.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
439 IMP_CORE_HAS_IMP_CGAL = _IMP_kinematics.IMP_CORE_HAS_IMP_CGAL
441 _IMP_kinematics.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
442 IMP_CORE_HAS_IMP_KERNEL = _IMP_kinematics.IMP_CORE_HAS_IMP_KERNEL
444 _IMP_kinematics.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
445 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CORE_HAS_BOOST_FILESYSTEM
447 _IMP_kinematics.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
448 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
450 _IMP_kinematics.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
451 IMP_CORE_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CORE_HAS_BOOST_RANDOM
453 _IMP_kinematics.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
454 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CORE_HAS_BOOST_SYSTEM
456 _IMP_kinematics.IMP_CORE_HAS_CGAL_swigconstant(_IMP_kinematics)
457 IMP_CORE_HAS_CGAL = _IMP_kinematics.IMP_CORE_HAS_CGAL
459 _IMP_kinematics.IMP_CORE_HAS_HDF5_swigconstant(_IMP_kinematics)
460 IMP_CORE_HAS_HDF5 = _IMP_kinematics.IMP_CORE_HAS_HDF5
462 _IMP_kinematics.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_kinematics)
463 IMP_CORE_HAS_NUMPY = _IMP_kinematics.IMP_CORE_HAS_NUMPY
465 _IMP_kinematics.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
466 IMPCORE_SHOW_WARNINGS = _IMP_kinematics.IMPCORE_SHOW_WARNINGS
469 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_kinematics)
470 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_ALGEBRA
472 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
473 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_CGAL
475 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_kinematics)
476 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_DISPLAY
478 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
479 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_KERNEL
481 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_kinematics)
482 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
484 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
485 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
487 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
488 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
490 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
491 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_RANDOM
493 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
494 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_SYSTEM
496 _IMP_kinematics.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_kinematics)
497 IMP_CONTAINER_HAS_CGAL = _IMP_kinematics.IMP_CONTAINER_HAS_CGAL
499 _IMP_kinematics.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_kinematics)
500 IMP_CONTAINER_HAS_HDF5 = _IMP_kinematics.IMP_CONTAINER_HAS_HDF5
502 _IMP_kinematics.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_kinematics)
503 IMP_CONTAINER_HAS_NUMPY = _IMP_kinematics.IMP_CONTAINER_HAS_NUMPY
505 _IMP_kinematics.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_kinematics)
506 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_kinematics.IMP_CONTAINER_HAS_PYTHON_IHM
508 _IMP_kinematics.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_kinematics)
509 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_kinematics.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
511 _IMP_kinematics.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_kinematics)
512 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_kinematics.IMP_CONTAINER_HAS_ROBIN_MAP
514 _IMP_kinematics.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
515 IMPCONTAINER_SHOW_WARNINGS = _IMP_kinematics.IMPCONTAINER_SHOW_WARNINGS
518 _IMP_kinematics.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
519 IMP_ATOM_HAS_IMP_CGAL = _IMP_kinematics.IMP_ATOM_HAS_IMP_CGAL
521 _IMP_kinematics.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
522 IMP_ATOM_HAS_IMP_KERNEL = _IMP_kinematics.IMP_ATOM_HAS_IMP_KERNEL
524 _IMP_kinematics.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_kinematics)
525 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
527 _IMP_kinematics.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
528 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
530 _IMP_kinematics.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
531 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_ATOM_HAS_BOOST_RANDOM
533 _IMP_kinematics.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_kinematics)
534 IMP_ATOM_HAS_BOOST_REGEX = _IMP_kinematics.IMP_ATOM_HAS_BOOST_REGEX
536 _IMP_kinematics.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
537 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_ATOM_HAS_BOOST_SYSTEM
539 _IMP_kinematics.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_kinematics)
540 IMP_ATOM_HAS_CGAL = _IMP_kinematics.IMP_ATOM_HAS_CGAL
542 _IMP_kinematics.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_kinematics)
543 IMP_ATOM_HAS_HDF5 = _IMP_kinematics.IMP_ATOM_HAS_HDF5
545 _IMP_kinematics.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_kinematics)
546 IMP_ATOM_HAS_NUMPY = _IMP_kinematics.IMP_ATOM_HAS_NUMPY
548 _IMP_kinematics.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_kinematics)
549 IMP_ATOM_HAS_PYTHON_IHM = _IMP_kinematics.IMP_ATOM_HAS_PYTHON_IHM
551 _IMP_kinematics.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
552 IMPATOM_SHOW_WARNINGS = _IMP_kinematics.IMPATOM_SHOW_WARNINGS
554 _IMP_kinematics.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_kinematics)
555 IMP_ATOM_TYPE_INDEX = _IMP_kinematics.IMP_ATOM_TYPE_INDEX
557 _IMP_kinematics.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_kinematics)
558 IMP_RESIDUE_TYPE_INDEX = _IMP_kinematics.IMP_RESIDUE_TYPE_INDEX
560 _IMP_kinematics.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_kinematics)
561 IMP_HIERARCHY_TYPE_INDEX = _IMP_kinematics.IMP_HIERARCHY_TYPE_INDEX
563 _IMP_kinematics.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_kinematics)
564 IMP_CHAIN_TYPE_INDEX = _IMP_kinematics.IMP_CHAIN_TYPE_INDEX
567 _IMP_kinematics.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
568 IMP_SAXS_HAS_IMP_CGAL = _IMP_kinematics.IMP_SAXS_HAS_IMP_CGAL
570 _IMP_kinematics.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_kinematics)
571 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_kinematics.IMP_SAXS_HAS_IMP_CONTAINER
573 _IMP_kinematics.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_kinematics)
574 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_SAXS_HAS_IMP_DISPLAY
576 _IMP_kinematics.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
577 IMP_SAXS_HAS_IMP_KERNEL = _IMP_kinematics.IMP_SAXS_HAS_IMP_KERNEL
579 _IMP_kinematics.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_kinematics)
580 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
582 _IMP_kinematics.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
583 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_SAXS_HAS_BOOST_FILESYSTEM
585 _IMP_kinematics.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
586 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
588 _IMP_kinematics.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
589 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_SAXS_HAS_BOOST_RANDOM
591 _IMP_kinematics.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_kinematics)
592 IMP_SAXS_HAS_BOOST_REGEX = _IMP_kinematics.IMP_SAXS_HAS_BOOST_REGEX
594 _IMP_kinematics.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
595 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_SAXS_HAS_BOOST_SYSTEM
597 _IMP_kinematics.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_kinematics)
598 IMP_SAXS_HAS_CGAL = _IMP_kinematics.IMP_SAXS_HAS_CGAL
600 _IMP_kinematics.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_kinematics)
601 IMP_SAXS_HAS_HDF5 = _IMP_kinematics.IMP_SAXS_HAS_HDF5
603 _IMP_kinematics.IMP_SAXS_HAS_NUMPY_swigconstant(_IMP_kinematics)
604 IMP_SAXS_HAS_NUMPY = _IMP_kinematics.IMP_SAXS_HAS_NUMPY
606 _IMP_kinematics.IMP_SAXS_HAS_PYTHON_IHM_swigconstant(_IMP_kinematics)
607 IMP_SAXS_HAS_PYTHON_IHM = _IMP_kinematics.IMP_SAXS_HAS_PYTHON_IHM
609 _IMP_kinematics.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
610 IMPSAXS_SHOW_WARNINGS = _IMP_kinematics.IMPSAXS_SHOW_WARNINGS
613 _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
614 IMP_KINEMATICS_HAS_IMP_CGAL = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_CGAL
616 _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_DISPLAY_swigconstant(_IMP_kinematics)
617 IMP_KINEMATICS_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_DISPLAY
619 _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_kinematics)
620 IMP_KINEMATICS_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_SCORE_FUNCTOR
622 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
623 IMP_KINEMATICS_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_FILESYSTEM
625 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
626 IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS
628 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
629 IMP_KINEMATICS_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_RANDOM
631 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_REGEX_swigconstant(_IMP_kinematics)
632 IMP_KINEMATICS_HAS_BOOST_REGEX = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_REGEX
634 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
635 IMP_KINEMATICS_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_SYSTEM
637 _IMP_kinematics.IMP_KINEMATICS_HAS_CGAL_swigconstant(_IMP_kinematics)
638 IMP_KINEMATICS_HAS_CGAL = _IMP_kinematics.IMP_KINEMATICS_HAS_CGAL
640 _IMP_kinematics.IMP_KINEMATICS_HAS_HDF5_swigconstant(_IMP_kinematics)
641 IMP_KINEMATICS_HAS_HDF5 = _IMP_kinematics.IMP_KINEMATICS_HAS_HDF5
643 _IMP_kinematics.IMP_KINEMATICS_HAS_NUMPY_swigconstant(_IMP_kinematics)
644 IMP_KINEMATICS_HAS_NUMPY = _IMP_kinematics.IMP_KINEMATICS_HAS_NUMPY
646 _IMP_kinematics.IMP_KINEMATICS_HAS_PYTHON_IHM_swigconstant(_IMP_kinematics)
647 IMP_KINEMATICS_HAS_PYTHON_IHM = _IMP_kinematics.IMP_KINEMATICS_HAS_PYTHON_IHM
649 _IMP_kinematics.IMPKINEMATICS_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
650 IMPKINEMATICS_SHOW_WARNINGS = _IMP_kinematics.IMPKINEMATICS_SHOW_WARNINGS
652 _object_types.append(
"Joint")
655 def _object_cast_to_Joint(o):
656 """_object_cast_to_Joint(Object o) -> Joint"""
657 return _IMP_kinematics._object_cast_to_Joint(o)
659 _object_types.append(
"TransformationJoint")
662 def _object_cast_to_TransformationJoint(o):
663 """_object_cast_to_TransformationJoint(Object o) -> TransformationJoint"""
664 return _IMP_kinematics._object_cast_to_TransformationJoint(o)
666 _object_types.append(
"RevoluteJoint")
669 def _object_cast_to_RevoluteJoint(o):
670 """_object_cast_to_RevoluteJoint(Object o) -> RevoluteJoint"""
671 return _IMP_kinematics._object_cast_to_RevoluteJoint(o)
673 _object_types.append(
"DihedralAngleRevoluteJoint")
676 def _object_cast_to_DihedralAngleRevoluteJoint(o):
677 """_object_cast_to_DihedralAngleRevoluteJoint(Object o) -> DihedralAngleRevoluteJoint"""
678 return _IMP_kinematics._object_cast_to_DihedralAngleRevoluteJoint(o)
680 _object_types.append(
"BondAngleRevoluteJoint")
683 def _object_cast_to_BondAngleRevoluteJoint(o):
684 """_object_cast_to_BondAngleRevoluteJoint(Object o) -> BondAngleRevoluteJoint"""
685 return _IMP_kinematics._object_cast_to_BondAngleRevoluteJoint(o)
687 _object_types.append(
"PrismaticJoint")
690 def _object_cast_to_PrismaticJoint(o):
691 """_object_cast_to_PrismaticJoint(Object o) -> PrismaticJoint"""
692 return _IMP_kinematics._object_cast_to_PrismaticJoint(o)
694 _object_types.append(
"KinematicForest")
697 def _object_cast_to_KinematicForest(o):
698 """_object_cast_to_KinematicForest(Object o) -> KinematicForest"""
699 return _IMP_kinematics._object_cast_to_KinematicForest(o)
701 _object_types.append(
"KinematicForestScoreState")
704 def _object_cast_to_KinematicForestScoreState(o):
705 """_object_cast_to_KinematicForestScoreState(Object o) -> KinematicForestScoreState"""
706 return _IMP_kinematics._object_cast_to_KinematicForestScoreState(o)
708 _object_types.append(
"CompositeJoint")
711 def _object_cast_to_CompositeJoint(o):
712 """_object_cast_to_CompositeJoint(Object o) -> CompositeJoint"""
713 return _IMP_kinematics._object_cast_to_CompositeJoint(o)
715 _object_types.append(
"RevoluteJointMover")
718 def _object_cast_to_RevoluteJointMover(o):
719 """_object_cast_to_RevoluteJointMover(Object o) -> RevoluteJointMover"""
720 return _IMP_kinematics._object_cast_to_RevoluteJointMover(o)
722 _object_types.append(
"DihedralMover")
725 def _object_cast_to_DihedralMover(o):
726 """_object_cast_to_DihedralMover(Object o) -> DihedralMover"""
727 return _IMP_kinematics._object_cast_to_DihedralMover(o)
729 _object_types.append(
"DOF")
732 def _object_cast_to_DOF(o):
733 """_object_cast_to_DOF(Object o) -> DOF"""
734 return _IMP_kinematics._object_cast_to_DOF(o)
737 _plural_types.append(
"DOFValuesList")
738 _value_types.append(
"DOFValues")
741 _object_types.append(
"DirectionalDOF")
744 def _object_cast_to_DirectionalDOF(o):
745 """_object_cast_to_DirectionalDOF(Object o) -> DirectionalDOF"""
746 return _IMP_kinematics._object_cast_to_DirectionalDOF(o)
748 _object_types.append(
"DOFsSampler")
751 def _object_cast_to_DOFsSampler(o):
752 """_object_cast_to_DOFsSampler(Object o) -> DOFsSampler"""
753 return _IMP_kinematics._object_cast_to_DOFsSampler(o)
755 _object_types.append(
"UniformBackboneSampler")
758 def _object_cast_to_UniformBackboneSampler(o):
759 """_object_cast_to_UniformBackboneSampler(Object o) -> UniformBackboneSampler"""
760 return _IMP_kinematics._object_cast_to_UniformBackboneSampler(o)
762 _object_types.append(
"FibrilSampler")
765 def _object_cast_to_FibrilSampler(o):
766 """_object_cast_to_FibrilSampler(Object o) -> FibrilSampler"""
767 return _IMP_kinematics._object_cast_to_FibrilSampler(o)
769 _object_types.append(
"ProteinKinematics")
772 def _object_cast_to_ProteinKinematics(o):
773 """_object_cast_to_ProteinKinematics(Object o) -> ProteinKinematics"""
774 return _IMP_kinematics._object_cast_to_ProteinKinematics(o)
776 _object_types.append(
"LocalPlanner")
779 def _object_cast_to_LocalPlanner(o):
780 """_object_cast_to_LocalPlanner(Object o) -> LocalPlanner"""
781 return _IMP_kinematics._object_cast_to_LocalPlanner(o)
783 _object_types.append(
"PathLocalPlanner")
786 def _object_cast_to_PathLocalPlanner(o):
787 """_object_cast_to_PathLocalPlanner(Object o) -> PathLocalPlanner"""
788 return _IMP_kinematics._object_cast_to_PathLocalPlanner(o)
790 _object_types.append(
"RRT")
793 def _object_cast_to_RRT(o):
794 """_object_cast_to_RRT(Object o) -> RRT"""
795 return _IMP_kinematics._object_cast_to_RRT(o)
797 """Proxy of C++ IMP::kinematics::Joint class"""
798 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
801 """get_version_info(Joint self) -> VersionInfo"""
802 return _IMP_kinematics.Joint_get_version_info(self)
805 def __init__(self, parent, child):
806 """__init__(IMP::kinematics::Joint self, RigidBody parent, RigidBody child) -> Joint"""
807 this = _IMP_kinematics.new_Joint(parent, child)
809 self.this.append(this)
813 def get_owner_kf(self):
814 """get_owner_kf(Joint self) -> KinematicForest"""
815 return _IMP_kinematics.Joint_get_owner_kf(self)
818 def get_transformation_child_to_parent(self):
819 """get_transformation_child_to_parent(Joint self) -> Transformation3D"""
820 return _IMP_kinematics.Joint_get_transformation_child_to_parent(self)
823 def get_parent_node(self):
824 """get_parent_node(Joint self) -> RigidBody"""
825 return _IMP_kinematics.Joint_get_parent_node(self)
828 def get_child_node(self):
829 """get_child_node(Joint self) -> RigidBody"""
830 return _IMP_kinematics.Joint_get_child_node(self)
834 """__str__(Joint self) -> std::string"""
835 return _IMP_kinematics.Joint___str__(self)
839 """__repr__(Joint self) -> std::string"""
840 return _IMP_kinematics.Joint___repr__(self)
845 return _object_cast_to_Joint(o)
847 Joint_swigregister = _IMP_kinematics.Joint_swigregister
848 Joint_swigregister(Joint)
850 class TransformationJoint(Joint):
851 """Proxy of C++ IMP::kinematics::TransformationJoint class"""
852 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
854 def __init__(self, parent, child):
855 """__init__(IMP::kinematics::TransformationJoint self, RigidBody parent, RigidBody child) -> TransformationJoint"""
856 this = _IMP_kinematics.new_TransformationJoint(parent, child)
858 self.this.append(this)
862 def set_transformation_child_to_parent(self, transformation):
863 """set_transformation_child_to_parent(TransformationJoint self, Transformation3D transformation)"""
864 return _IMP_kinematics.TransformationJoint_set_transformation_child_to_parent(self, transformation)
868 """__str__(TransformationJoint self) -> std::string"""
869 return _IMP_kinematics.TransformationJoint___str__(self)
873 """__repr__(TransformationJoint self) -> std::string"""
874 return _IMP_kinematics.TransformationJoint___repr__(self)
879 return _object_cast_to_TransformationJoint(o)
881 __swig_destroy__ = _IMP_kinematics.delete_TransformationJoint
882 __del__ =
lambda self:
None
883 TransformationJoint_swigregister = _IMP_kinematics.TransformationJoint_swigregister
884 TransformationJoint_swigregister(TransformationJoint)
886 class PrismaticJoint(Joint):
887 """Proxy of C++ IMP::kinematics::PrismaticJoint class"""
888 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
890 def __init__(self, *args):
892 __init__(IMP::kinematics::PrismaticJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b) -> PrismaticJoint
893 __init__(IMP::kinematics::PrismaticJoint self, RigidBody parent, RigidBody child) -> PrismaticJoint
895 this = _IMP_kinematics.new_PrismaticJoint(*args)
897 self.this.append(this)
901 def get_length(self):
902 """get_length(PrismaticJoint self) -> double"""
903 return _IMP_kinematics.PrismaticJoint_get_length(self)
906 def set_length(self, l):
907 """set_length(PrismaticJoint self, double l)"""
908 return _IMP_kinematics.PrismaticJoint_set_length(self, l)
912 """__str__(PrismaticJoint self) -> std::string"""
913 return _IMP_kinematics.PrismaticJoint___str__(self)
917 """__repr__(PrismaticJoint self) -> std::string"""
918 return _IMP_kinematics.PrismaticJoint___repr__(self)
923 return _object_cast_to_PrismaticJoint(o)
925 __swig_destroy__ = _IMP_kinematics.delete_PrismaticJoint
926 __del__ =
lambda self:
None
927 PrismaticJoint_swigregister = _IMP_kinematics.PrismaticJoint_swigregister
928 PrismaticJoint_swigregister(PrismaticJoint)
930 class CompositeJoint(Joint):
931 """Proxy of C++ IMP::kinematics::CompositeJoint class"""
932 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
934 def __init__(self, *args):
936 __init__(IMP::kinematics::CompositeJoint self, RigidBody parent, RigidBody child, IMP::kinematics::Joints joints) -> CompositeJoint
937 __init__(IMP::kinematics::CompositeJoint self, RigidBody parent, RigidBody child) -> CompositeJoint
939 this = _IMP_kinematics.new_CompositeJoint(*args)
941 self.this.append(this)
945 def add_downstream_joint(self, j):
946 """add_downstream_joint(CompositeJoint self, Joint j)"""
947 return _IMP_kinematics.CompositeJoint_add_downstream_joint(self, j)
950 def add_upstream_joint(self, j):
951 """add_upstream_joint(CompositeJoint self, Joint j)"""
952 return _IMP_kinematics.CompositeJoint_add_upstream_joint(self, j)
955 def set_joints(self, joints):
956 """set_joints(CompositeJoint self, IMP::kinematics::Joints joints)"""
957 return _IMP_kinematics.CompositeJoint_set_joints(self, joints)
960 def get_inner_joints(self):
961 """get_inner_joints(CompositeJoint self) -> IMP::kinematics::Joints const &"""
962 return _IMP_kinematics.CompositeJoint_get_inner_joints(self)
966 """__str__(CompositeJoint self) -> std::string"""
967 return _IMP_kinematics.CompositeJoint___str__(self)
971 """__repr__(CompositeJoint self) -> std::string"""
972 return _IMP_kinematics.CompositeJoint___repr__(self)
977 return _object_cast_to_CompositeJoint(o)
979 __swig_destroy__ = _IMP_kinematics.delete_CompositeJoint
980 __del__ =
lambda self:
None
981 CompositeJoint_swigregister = _IMP_kinematics.CompositeJoint_swigregister
982 CompositeJoint_swigregister(CompositeJoint)
984 class RevoluteJoint(Joint):
985 """Proxy of C++ IMP::kinematics::RevoluteJoint class"""
986 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
988 def __init__(self, parent, child):
989 """__init__(IMP::kinematics::RevoluteJoint self, RigidBody parent, RigidBody child) -> RevoluteJoint"""
990 if self.__class__ == RevoluteJoint:
994 this = _IMP_kinematics.new_RevoluteJoint(_self, parent, child)
996 self.this.append(this)
1000 if self.__class__ != RevoluteJoint:
1001 _director_objects.register(self)
1005 __swig_destroy__ = _IMP_kinematics.delete_RevoluteJoint
1006 __del__ =
lambda self:
None
1008 def set_angle(self, angle):
1009 """set_angle(RevoluteJoint self, double angle)"""
1010 return _IMP_kinematics.RevoluteJoint_set_angle(self, angle)
1014 """get_angle(RevoluteJoint self) -> double"""
1015 return _IMP_kinematics.RevoluteJoint_get_angle(self)
1018 def get_rot_axis_origin(self):
1019 """get_rot_axis_origin(RevoluteJoint self) -> Vector3D"""
1020 return _IMP_kinematics.RevoluteJoint_get_rot_axis_origin(self)
1023 def get_rot_axis_unit_vector(self):
1024 """get_rot_axis_unit_vector(RevoluteJoint self) -> Vector3D"""
1025 return _IMP_kinematics.RevoluteJoint_get_rot_axis_unit_vector(self)
1028 def update_child_node_reference_frame(self):
1029 """update_child_node_reference_frame(RevoluteJoint self)"""
1030 return _IMP_kinematics.RevoluteJoint_update_child_node_reference_frame(self)
1033 def update_axis_of_rotation_from_cartesian_witnesses(self):
1034 """update_axis_of_rotation_from_cartesian_witnesses(RevoluteJoint self)"""
1035 return _IMP_kinematics.RevoluteJoint_update_axis_of_rotation_from_cartesian_witnesses(self)
1038 def get_current_angle_from_cartesian_witnesses(self):
1039 """get_current_angle_from_cartesian_witnesses(RevoluteJoint self) -> double"""
1040 return _IMP_kinematics.RevoluteJoint_get_current_angle_from_cartesian_witnesses(self)
1043 def update_joint_from_cartesian_witnesses(self):
1044 """update_joint_from_cartesian_witnesses(RevoluteJoint self)"""
1045 return _IMP_kinematics.RevoluteJoint_update_joint_from_cartesian_witnesses(self)
1048 def get_rotation_about_joint_in_parent_coordinates(self):
1049 """get_rotation_about_joint_in_parent_coordinates(RevoluteJoint self) -> Transformation3D"""
1050 return _IMP_kinematics.RevoluteJoint_get_rotation_about_joint_in_parent_coordinates(self)
1052 angle_ = _swig_property(_IMP_kinematics.RevoluteJoint_angle__get, _IMP_kinematics.RevoluteJoint_angle__set)
1053 last_updated_angle_ = _swig_property(_IMP_kinematics.RevoluteJoint_last_updated_angle__get, _IMP_kinematics.RevoluteJoint_last_updated_angle__set)
1054 rot_axis_unit_vector_ = _swig_property(_IMP_kinematics.RevoluteJoint_rot_axis_unit_vector__get, _IMP_kinematics.RevoluteJoint_rot_axis_unit_vector__set)
1055 rot_axis_origin_ = _swig_property(_IMP_kinematics.RevoluteJoint_rot_axis_origin__get, _IMP_kinematics.RevoluteJoint_rot_axis_origin__set)
1058 """__str__(RevoluteJoint self) -> std::string"""
1059 return _IMP_kinematics.RevoluteJoint___str__(self)
1063 """__repr__(RevoluteJoint self) -> std::string"""
1064 return _IMP_kinematics.RevoluteJoint___repr__(self)
1069 return _object_cast_to_RevoluteJoint(o)
1072 def get_type_name(self):
1073 return self.__class__.__name__
1074 def do_show(self, out):
1077 if"IMP::kinematics" ==
"IMP":
1078 return VersionInfo(self.__module__,
1085 return _object_cast_to_RevoluteJoint(o)
1087 def __disown__(self):
1089 _IMP_kinematics.disown_RevoluteJoint(self)
1090 return weakref_proxy(self)
1093 """do_destroy(RevoluteJoint self)"""
1094 return _IMP_kinematics.RevoluteJoint_do_destroy(self)
1096 RevoluteJoint_swigregister = _IMP_kinematics.RevoluteJoint_swigregister
1097 RevoluteJoint_swigregister(RevoluteJoint)
1099 class DihedralAngleRevoluteJoint(RevoluteJoint):
1100 """Proxy of C++ IMP::kinematics::DihedralAngleRevoluteJoint class"""
1101 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1103 def __init__(self, parent, child, a, b, c, d):
1104 """__init__(IMP::kinematics::DihedralAngleRevoluteJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b, XYZ c, XYZ d) -> DihedralAngleRevoluteJoint"""
1105 this = _IMP_kinematics.new_DihedralAngleRevoluteJoint(parent, child, a, b, c, d)
1107 self.this.append(this)
1112 """get_a(DihedralAngleRevoluteJoint self) -> XYZ"""
1113 return _IMP_kinematics.DihedralAngleRevoluteJoint_get_a(self)
1117 """get_b(DihedralAngleRevoluteJoint self) -> XYZ"""
1118 return _IMP_kinematics.DihedralAngleRevoluteJoint_get_b(self)
1122 """get_c(DihedralAngleRevoluteJoint self) -> XYZ"""
1123 return _IMP_kinematics.DihedralAngleRevoluteJoint_get_c(self)
1127 """get_d(DihedralAngleRevoluteJoint self) -> XYZ"""
1128 return _IMP_kinematics.DihedralAngleRevoluteJoint_get_d(self)
1132 """__str__(DihedralAngleRevoluteJoint self) -> std::string"""
1133 return _IMP_kinematics.DihedralAngleRevoluteJoint___str__(self)
1137 """__repr__(DihedralAngleRevoluteJoint self) -> std::string"""
1138 return _IMP_kinematics.DihedralAngleRevoluteJoint___repr__(self)
1143 return _object_cast_to_DihedralAngleRevoluteJoint(o)
1145 __swig_destroy__ = _IMP_kinematics.delete_DihedralAngleRevoluteJoint
1146 __del__ =
lambda self:
None
1147 DihedralAngleRevoluteJoint_swigregister = _IMP_kinematics.DihedralAngleRevoluteJoint_swigregister
1148 DihedralAngleRevoluteJoint_swigregister(DihedralAngleRevoluteJoint)
1150 class BondAngleRevoluteJoint(RevoluteJoint):
1151 """Proxy of C++ IMP::kinematics::BondAngleRevoluteJoint class"""
1152 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1154 def __init__(self, parent, child, a, b, c):
1155 """__init__(IMP::kinematics::BondAngleRevoluteJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b, XYZ c) -> BondAngleRevoluteJoint"""
1156 this = _IMP_kinematics.new_BondAngleRevoluteJoint(parent, child, a, b, c)
1158 self.this.append(this)
1163 """__str__(BondAngleRevoluteJoint self) -> std::string"""
1164 return _IMP_kinematics.BondAngleRevoluteJoint___str__(self)
1168 """__repr__(BondAngleRevoluteJoint self) -> std::string"""
1169 return _IMP_kinematics.BondAngleRevoluteJoint___repr__(self)
1174 return _object_cast_to_BondAngleRevoluteJoint(o)
1176 __swig_destroy__ = _IMP_kinematics.delete_BondAngleRevoluteJoint
1177 __del__ =
lambda self:
None
1178 BondAngleRevoluteJoint_swigregister = _IMP_kinematics.BondAngleRevoluteJoint_swigregister
1179 BondAngleRevoluteJoint_swigregister(BondAngleRevoluteJoint)
1182 """Proxy of C++ IMP::kinematics::RevoluteJointMover class"""
1183 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1185 def __init__(self, m, joints, stddev=0.01):
1187 __init__(IMP::kinematics::RevoluteJointMover self, Model m, IMP::kinematics::RevoluteJoints const & joints, double const stddev=0.01) -> RevoluteJointMover
1188 __init__(IMP::kinematics::RevoluteJointMover self, Model m, IMP::kinematics::RevoluteJoints const & joints) -> RevoluteJointMover
1190 this = _IMP_kinematics.new_RevoluteJointMover(m, joints, stddev)
1192 self.this.append(this)
1196 def set_sigma(self, sigma):
1197 """set_sigma(RevoluteJointMover self, IMP::Float sigma)"""
1198 return _IMP_kinematics.RevoluteJointMover_set_sigma(self, sigma)
1201 def get_sigma(self):
1202 """get_sigma(RevoluteJointMover self) -> IMP::Float"""
1203 return _IMP_kinematics.RevoluteJointMover_get_sigma(self)
1207 """get_version_info(RevoluteJointMover self) -> VersionInfo"""
1208 return _IMP_kinematics.RevoluteJointMover_get_version_info(self)
1212 """__str__(RevoluteJointMover self) -> std::string"""
1213 return _IMP_kinematics.RevoluteJointMover___str__(self)
1217 """__repr__(RevoluteJointMover self) -> std::string"""
1218 return _IMP_kinematics.RevoluteJointMover___repr__(self)
1223 return _object_cast_to_RevoluteJointMover(o)
1225 RevoluteJointMover_swigregister = _IMP_kinematics.RevoluteJointMover_swigregister
1226 RevoluteJointMover_swigregister(RevoluteJointMover)
1229 """Proxy of C++ IMP::kinematics::DihedralMover class"""
1230 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1232 def __init__(self, m, joints, max_rot=0.1):
1234 __init__(IMP::kinematics::DihedralMover self, Model m, IMP::kinematics::RevoluteJoints const & joints, double const max_rot=0.1) -> DihedralMover
1235 __init__(IMP::kinematics::DihedralMover self, Model m, IMP::kinematics::RevoluteJoints const & joints) -> DihedralMover
1237 this = _IMP_kinematics.new_DihedralMover(m, joints, max_rot)
1239 self.this.append(this)
1244 """get_version_info(DihedralMover self) -> VersionInfo"""
1245 return _IMP_kinematics.DihedralMover_get_version_info(self)
1249 """__str__(DihedralMover self) -> std::string"""
1250 return _IMP_kinematics.DihedralMover___str__(self)
1254 """__repr__(DihedralMover self) -> std::string"""
1255 return _IMP_kinematics.DihedralMover___repr__(self)
1260 return _object_cast_to_DihedralMover(o)
1262 DihedralMover_swigregister = _IMP_kinematics.DihedralMover_swigregister
1263 DihedralMover_swigregister(DihedralMover)
1266 """Proxy of C++ IMP::kinematics::KinematicForest class"""
1267 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1270 """get_version_info(KinematicForest self) -> VersionInfo"""
1271 return _IMP_kinematics.KinematicForest_get_version_info(self)
1274 def __init__(self, *args):
1276 __init__(IMP::kinematics::KinematicForest self, Model m) -> KinematicForest
1277 __init__(IMP::kinematics::KinematicForest self, Model m, Hierarchy hierarchy) -> KinematicForest
1279 this = _IMP_kinematics.new_KinematicForest(*args)
1281 self.this.append(this)
1285 def add_edge(self, *args):
1287 add_edge(KinematicForest self, RigidBody parent, RigidBody child) -> Joint
1288 add_edge(KinematicForest self, Joint joint)
1290 return _IMP_kinematics.KinematicForest_add_edge(self, *args)
1293 def add_rigid_bodies_in_chain(self, rbs):
1294 """add_rigid_bodies_in_chain(KinematicForest self, IMP::core::RigidBodies rbs)"""
1295 return _IMP_kinematics.KinematicForest_add_rigid_bodies_in_chain(self, rbs)
1298 def reset_root(self, new_root):
1299 """reset_root(KinematicForest self, Particle new_root)"""
1300 return _IMP_kinematics.KinematicForest_reset_root(self, new_root)
1303 def update_all_internal_coordinates(self):
1304 """update_all_internal_coordinates(KinematicForest self)"""
1305 return _IMP_kinematics.KinematicForest_update_all_internal_coordinates(self)
1308 def update_all_external_coordinates(self):
1309 """update_all_external_coordinates(KinematicForest self)"""
1310 return _IMP_kinematics.KinematicForest_update_all_external_coordinates(self)
1313 def get_ordered_joints(self):
1314 """get_ordered_joints(KinematicForest self) -> IMP::kinematics::Joints"""
1315 return _IMP_kinematics.KinematicForest_get_ordered_joints(self)
1318 def transform_safe(self, tr):
1319 """transform_safe(KinematicForest self, Transformation3D tr)"""
1320 return _IMP_kinematics.KinematicForest_transform_safe(self, tr)
1323 def mark_internal_coordinates_changed(self):
1324 """mark_internal_coordinates_changed(KinematicForest self)"""
1325 return _IMP_kinematics.KinematicForest_mark_internal_coordinates_changed(self)
1328 def mark_external_coordinates_changed(self):
1329 """mark_external_coordinates_changed(KinematicForest self)"""
1330 return _IMP_kinematics.KinematicForest_mark_external_coordinates_changed(self)
1333 def set_coordinates_safe(self, rb, c):
1334 """set_coordinates_safe(KinematicForest self, RigidBody rb, Vector3D c)"""
1335 return _IMP_kinematics.KinematicForest_set_coordinates_safe(self, rb, c)
1338 def get_coordinates_safe(self, rb):
1339 """get_coordinates_safe(KinematicForest self, RigidBody rb) -> Vector3D"""
1340 return _IMP_kinematics.KinematicForest_get_coordinates_safe(self, rb)
1343 def get_is_member(self, rb):
1344 """get_is_member(KinematicForest self, RigidBody rb) -> bool"""
1345 return _IMP_kinematics.KinematicForest_get_is_member(self, rb)
1348 def get_reference_frame_safe(self, rb):
1349 """get_reference_frame_safe(KinematicForest self, RigidBody rb) -> ReferenceFrame3D"""
1350 return _IMP_kinematics.KinematicForest_get_reference_frame_safe(self, rb)
1353 def set_reference_frame_safe(self, rb, r):
1354 """set_reference_frame_safe(KinematicForest self, RigidBody rb, ReferenceFrame3D r)"""
1355 return _IMP_kinematics.KinematicForest_set_reference_frame_safe(self, rb, r)
1358 def apply_transform_safely(self, tr):
1359 """apply_transform_safely(KinematicForest self, Transformation3D tr)"""
1360 return _IMP_kinematics.KinematicForest_apply_transform_safely(self, tr)
1364 """__str__(KinematicForest self) -> std::string"""
1365 return _IMP_kinematics.KinematicForest___str__(self)
1369 """__repr__(KinematicForest self) -> std::string"""
1370 return _IMP_kinematics.KinematicForest___repr__(self)
1375 return _object_cast_to_KinematicForest(o)
1377 KinematicForest_swigregister = _IMP_kinematics.KinematicForest_swigregister
1378 KinematicForest_swigregister(KinematicForest)
1381 """Proxy of C++ IMP::kinematics::KinematicForestScoreState class"""
1382 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1385 """get_version_info(KinematicForestScoreState self) -> VersionInfo"""
1386 return _IMP_kinematics.KinematicForestScoreState_get_version_info(self)
1389 def __init__(self, kf, rbs, atoms):
1390 """__init__(IMP::kinematics::KinematicForestScoreState self, KinematicForest kf, IMP::core::RigidBodies rbs, IMP::ParticlesTemp atoms) -> KinematicForestScoreState"""
1391 this = _IMP_kinematics.new_KinematicForestScoreState(kf, rbs, atoms)
1393 self.this.append(this)
1397 def do_before_evaluate(self):
1398 """do_before_evaluate(KinematicForestScoreState self)"""
1399 return _IMP_kinematics.KinematicForestScoreState_do_before_evaluate(self)
1402 def do_after_evaluate(self, da):
1403 """do_after_evaluate(KinematicForestScoreState self, DerivativeAccumulator da)"""
1404 return _IMP_kinematics.KinematicForestScoreState_do_after_evaluate(self, da)
1408 """do_get_inputs(KinematicForestScoreState self) -> IMP::ModelObjectsTemp"""
1409 return _IMP_kinematics.KinematicForestScoreState_do_get_inputs(self)
1413 """do_get_outputs(KinematicForestScoreState self) -> IMP::ModelObjectsTemp"""
1414 return _IMP_kinematics.KinematicForestScoreState_do_get_outputs(self)
1418 """__str__(KinematicForestScoreState self) -> std::string"""
1419 return _IMP_kinematics.KinematicForestScoreState___str__(self)
1423 """__repr__(KinematicForestScoreState self) -> std::string"""
1424 return _IMP_kinematics.KinematicForestScoreState___repr__(self)
1429 return _object_cast_to_KinematicForestScoreState(o)
1431 KinematicForestScoreState_swigregister = _IMP_kinematics.KinematicForestScoreState_swigregister
1432 KinematicForestScoreState_swigregister(KinematicForestScoreState)
1435 """Proxy of C++ IMP::kinematics::DOF class"""
1436 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1439 """get_version_info(DOF self) -> VersionInfo"""
1440 return _IMP_kinematics.DOF_get_version_info(self)
1443 def __init__(self, *args):
1445 __init__(IMP::kinematics::DOF self, double v) -> DOF
1446 __init__(IMP::kinematics::DOF self, double v, double min, double max, double step_size) -> DOF
1448 this = _IMP_kinematics.new_DOF(*args)
1450 self.this.append(this)
1454 def get_value(self):
1455 """get_value(DOF self) -> double"""
1456 return _IMP_kinematics.DOF_get_value(self)
1459 def set_value(self, v):
1460 """set_value(DOF self, double v)"""
1461 return _IMP_kinematics.DOF_set_value(self, v)
1464 def get_range(self):
1465 """get_range(DOF self) -> std::pair< double,double >"""
1466 return _IMP_kinematics.DOF_get_range(self)
1469 def set_range(self, range):
1470 """set_range(DOF self, std::pair< double,double > range)"""
1471 return _IMP_kinematics.DOF_set_range(self, range)
1474 def get_step_size(self):
1475 """get_step_size(DOF self) -> double"""
1476 return _IMP_kinematics.DOF_get_step_size(self)
1479 def set_step_size(self, step_size):
1480 """set_step_size(DOF self, double step_size)"""
1481 return _IMP_kinematics.DOF_set_step_size(self, step_size)
1484 def get_number_of_steps(self, *args):
1486 get_number_of_steps(DOF self, double value) -> int
1487 get_number_of_steps(DOF self, double value1, double value2) -> int
1489 return _IMP_kinematics.DOF_get_number_of_steps(self, *args)
1493 """__str__(DOF self) -> std::string"""
1494 return _IMP_kinematics.DOF___str__(self)
1498 """__repr__(DOF self) -> std::string"""
1499 return _IMP_kinematics.DOF___repr__(self)
1504 return _object_cast_to_DOF(o)
1506 DOF_swigregister = _IMP_kinematics.DOF_swigregister
1507 DOF_swigregister(DOF)
1509 class DOFValues(IMP.saxs.DistBase):
1510 """Proxy of C++ IMP::kinematics::DOFValues class"""
1511 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1513 def __init__(self, *args):
1515 __init__(IMP::kinematics::DOFValues self, IMP::kinematics::DOFs const & dofs) -> DOFValues
1516 __init__(IMP::kinematics::DOFValues self) -> DOFValues
1518 this = _IMP_kinematics.new_DOFValues(*args)
1520 self.this.append(this)
1524 def get_distance2(self, *args):
1526 get_distance2(DOFValues self, DOFValues other_dof_values) -> double
1527 get_distance2(DOFValues self, DOFValues other_dof_values, std::vector< bool,std::allocator< bool > > const & active_dofs) -> double
1529 return _IMP_kinematics.DOFValues_get_distance2(self, *args)
1534 get_distance(DOFValues self, DOFValues other_dof_values) -> double
1535 get_distance(DOFValues self, DOFValues other_dof_values, std::vector< bool,std::allocator< bool > > const & active_dofs) -> double
1537 return _IMP_kinematics.DOFValues_get_distance(self, *args)
1540 def show(self, *args):
1542 show(DOFValues self, _ostream out)
1543 show(DOFValues self)
1545 return _IMP_kinematics.DOFValues_show(self, *args)
1549 """__str__(DOFValues self) -> std::string"""
1550 return _IMP_kinematics.DOFValues___str__(self)
1554 """__repr__(DOFValues self) -> std::string"""
1555 return _IMP_kinematics.DOFValues___repr__(self)
1557 __swig_destroy__ = _IMP_kinematics.delete_DOFValues
1558 __del__ =
lambda self:
None
1559 DOFValues_swigregister = _IMP_kinematics.DOFValues_swigregister
1560 DOFValues_swigregister(DOFValues)
1563 """Proxy of C++ IMP::kinematics::DirectionalDOF class"""
1564 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1566 def __init__(self, dofs):
1567 """__init__(IMP::kinematics::DirectionalDOF self, IMP::kinematics::DOFs const & dofs) -> DirectionalDOF"""
1568 this = _IMP_kinematics.new_DirectionalDOF(dofs)
1570 self.this.append(this)
1574 def set_end_points(self, q1, q2):
1575 """set_end_points(DirectionalDOF self, DOFValues q1, DOFValues q2)"""
1576 return _IMP_kinematics.DirectionalDOF_set_end_points(self, q1, q2)
1579 def get_dofs_values(self):
1580 """get_dofs_values(DirectionalDOF self) -> DOFValues"""
1581 return _IMP_kinematics.DirectionalDOF_get_dofs_values(self)
1584 def get_value(self):
1585 """get_value(DirectionalDOF self) -> double"""
1586 return _IMP_kinematics.DirectionalDOF_get_value(self)
1590 """get_version_info(DirectionalDOF self) -> VersionInfo"""
1591 return _IMP_kinematics.DirectionalDOF_get_version_info(self)
1595 """__str__(DirectionalDOF self) -> std::string"""
1596 return _IMP_kinematics.DirectionalDOF___str__(self)
1600 """__repr__(DirectionalDOF self) -> std::string"""
1601 return _IMP_kinematics.DirectionalDOF___repr__(self)
1606 return _object_cast_to_DirectionalDOF(o)
1608 DirectionalDOF_swigregister = _IMP_kinematics.DirectionalDOF_swigregister
1609 DirectionalDOF_swigregister(DirectionalDOF)
1612 """Proxy of C++ IMP::kinematics::DOFsSampler class"""
1613 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1615 def get_type_name(self):
1616 """get_type_name(DOFsSampler self) -> std::string"""
1617 return _IMP_kinematics.DOFsSampler_get_type_name(self)
1621 """get_version_info(DOFsSampler self) -> VersionInfo"""
1622 return _IMP_kinematics.DOFsSampler_get_version_info(self)
1625 def __init__(self, dofs):
1626 """__init__(IMP::kinematics::DOFsSampler self, IMP::kinematics::DOFs dofs) -> DOFsSampler"""
1627 if self.__class__ == DOFsSampler:
1631 this = _IMP_kinematics.new_DOFsSampler(_self, dofs)
1633 self.this.append(this)
1637 if self.__class__ != DOFsSampler:
1638 _director_objects.register(self)
1643 def get_sample(self):
1644 """get_sample(DOFsSampler self) -> DOFValues"""
1645 return _IMP_kinematics.DOFsSampler_get_sample(self)
1648 def apply(self, values):
1649 """apply(DOFsSampler self, DOFValues values)"""
1650 return _IMP_kinematics.DOFsSampler_apply(self, values)
1653 def apply_last_sample(self):
1654 """apply_last_sample(DOFsSampler self)"""
1655 return _IMP_kinematics.DOFsSampler_apply_last_sample(self)
1658 def sample_and_apply(self):
1659 """sample_and_apply(DOFsSampler self)"""
1660 return _IMP_kinematics.DOFsSampler_sample_and_apply(self)
1664 """get_dofs(DOFsSampler self) -> IMP::kinematics::DOFs const &"""
1665 return _IMP_kinematics.DOFsSampler_get_dofs(self)
1668 def get_dof(self, i):
1669 """get_dof(DOFsSampler self, unsigned int i) -> DOF"""
1670 return _IMP_kinematics.DOFsSampler_get_dof(self, i)
1673 def get_number_of_dofs(self):
1674 """get_number_of_dofs(DOFsSampler self) -> unsigned int"""
1675 return _IMP_kinematics.DOFsSampler_get_number_of_dofs(self)
1678 def do_get_sample(self):
1679 """do_get_sample(DOFsSampler self) -> DOFValues"""
1680 return _IMP_kinematics.DOFsSampler_do_get_sample(self)
1684 """__str__(DOFsSampler self) -> std::string"""
1685 return _IMP_kinematics.DOFsSampler___str__(self)
1689 """__repr__(DOFsSampler self) -> std::string"""
1690 return _IMP_kinematics.DOFsSampler___repr__(self)
1695 return _object_cast_to_DOFsSampler(o)
1698 def get_type_name(self):
1699 return self.__class__.__name__
1700 def do_show(self, out):
1703 if"IMP::kinematics" ==
"IMP":
1704 return VersionInfo(self.__module__,
1711 return _object_cast_to_DOFsSampler(o)
1713 def __disown__(self):
1715 _IMP_kinematics.disown_DOFsSampler(self)
1716 return weakref_proxy(self)
1719 """do_destroy(DOFsSampler self)"""
1720 return _IMP_kinematics.DOFsSampler_do_destroy(self)
1722 DOFsSampler_swigregister = _IMP_kinematics.DOFsSampler_swigregister
1723 DOFsSampler_swigregister(DOFsSampler)
1725 class FibrilSampler(DOFsSampler):
1726 """Proxy of C++ IMP::kinematics::FibrilSampler class"""
1727 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1729 def __init__(self, trans_joint, dihedral_joints, dofs):
1730 """__init__(IMP::kinematics::FibrilSampler self, IMP::kinematics::TransformationJoints trans_joint, IMP::kinematics::DihedralAngleRevoluteJoints dihedral_joints, IMP::kinematics::DOFs dofs) -> FibrilSampler"""
1731 this = _IMP_kinematics.new_FibrilSampler(trans_joint, dihedral_joints, dofs)
1733 self.this.append(this)
1737 def apply_floats(self, values):
1738 """apply_floats(FibrilSampler self, IMP::Floats const & values)"""
1739 return _IMP_kinematics.FibrilSampler_apply_floats(self, values)
1742 def get_dihedral_joints(self):
1743 """get_dihedral_joints(FibrilSampler self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1744 return _IMP_kinematics.FibrilSampler_get_dihedral_joints(self)
1747 def get_transformation_joint(self):
1748 """get_transformation_joint(FibrilSampler self) -> IMP::kinematics::TransformationJoints"""
1749 return _IMP_kinematics.FibrilSampler_get_transformation_joint(self)
1753 """__str__(FibrilSampler self) -> std::string"""
1754 return _IMP_kinematics.FibrilSampler___str__(self)
1758 """__repr__(FibrilSampler self) -> std::string"""
1759 return _IMP_kinematics.FibrilSampler___repr__(self)
1764 return _object_cast_to_FibrilSampler(o)
1766 __swig_destroy__ = _IMP_kinematics.delete_FibrilSampler
1767 __del__ =
lambda self:
None
1768 FibrilSampler_swigregister = _IMP_kinematics.FibrilSampler_swigregister
1769 FibrilSampler_swigregister(FibrilSampler)
1771 class UniformBackboneSampler(DOFsSampler):
1772 """Proxy of C++ IMP::kinematics::UniformBackboneSampler class"""
1773 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1775 def __init__(self, joints, dofs):
1776 """__init__(IMP::kinematics::UniformBackboneSampler self, IMP::kinematics::DihedralAngleRevoluteJoints joints, IMP::kinematics::DOFs dofs) -> UniformBackboneSampler"""
1777 this = _IMP_kinematics.new_UniformBackboneSampler(joints, dofs)
1779 self.this.append(this)
1783 def apply_floats(self, values):
1784 """apply_floats(UniformBackboneSampler self, IMP::Floats const & values)"""
1785 return _IMP_kinematics.UniformBackboneSampler_apply_floats(self, values)
1788 def get_joints(self):
1789 """get_joints(UniformBackboneSampler self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1790 return _IMP_kinematics.UniformBackboneSampler_get_joints(self)
1794 """__str__(UniformBackboneSampler self) -> std::string"""
1795 return _IMP_kinematics.UniformBackboneSampler___str__(self)
1799 """__repr__(UniformBackboneSampler self) -> std::string"""
1800 return _IMP_kinematics.UniformBackboneSampler___repr__(self)
1805 return _object_cast_to_UniformBackboneSampler(o)
1807 __swig_destroy__ = _IMP_kinematics.delete_UniformBackboneSampler
1808 __del__ =
lambda self:
None
1809 UniformBackboneSampler_swigregister = _IMP_kinematics.UniformBackboneSampler_swigregister
1810 UniformBackboneSampler_swigregister(UniformBackboneSampler)
1813 _IMP_kinematics.PHI_swigconstant(_IMP_kinematics)
1814 PHI = _IMP_kinematics.PHI
1816 _IMP_kinematics.PSI_swigconstant(_IMP_kinematics)
1817 PSI = _IMP_kinematics.PSI
1819 _IMP_kinematics.CHI_swigconstant(_IMP_kinematics)
1820 CHI = _IMP_kinematics.CHI
1822 _IMP_kinematics.CHI1_swigconstant(_IMP_kinematics)
1823 CHI1 = _IMP_kinematics.CHI1
1825 _IMP_kinematics.CHI2_swigconstant(_IMP_kinematics)
1826 CHI2 = _IMP_kinematics.CHI2
1828 _IMP_kinematics.CHI3_swigconstant(_IMP_kinematics)
1829 CHI3 = _IMP_kinematics.CHI3
1831 _IMP_kinematics.CHI4_swigconstant(_IMP_kinematics)
1832 CHI4 = _IMP_kinematics.CHI4
1834 _IMP_kinematics.CHI5_swigconstant(_IMP_kinematics)
1835 CHI5 = _IMP_kinematics.CHI5
1837 _IMP_kinematics.OTHER_swigconstant(_IMP_kinematics)
1838 OTHER = _IMP_kinematics.OTHER
1840 _IMP_kinematics.OTHER2_swigconstant(_IMP_kinematics)
1841 OTHER2 = _IMP_kinematics.OTHER2
1843 _IMP_kinematics.OTHER3_swigconstant(_IMP_kinematics)
1844 OTHER3 = _IMP_kinematics.OTHER3
1846 _IMP_kinematics.OTHER4_swigconstant(_IMP_kinematics)
1847 OTHER4 = _IMP_kinematics.OTHER4
1849 _IMP_kinematics.OTHER5_swigconstant(_IMP_kinematics)
1850 OTHER5 = _IMP_kinematics.OTHER5
1852 _IMP_kinematics.TOTAL_swigconstant(_IMP_kinematics)
1853 TOTAL = _IMP_kinematics.TOTAL
1855 """Proxy of C++ IMP::kinematics::ProteinKinematics class"""
1856 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1858 def __init__(self, *args):
1860 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, bool flexible_backbone=True, bool flexible_side_chains=False) -> ProteinKinematics
1861 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, bool flexible_backbone=True) -> ProteinKinematics
1862 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd) -> ProteinKinematics
1863 __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
1864 __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
1865 __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
1866 __init__(IMP::kinematics::ProteinKinematics self, Hierarchy mhd, IMP::atom::Residues const & flexible_residues, IMP::ParticleIndexQuads const custom_dihedral_angles) -> ProteinKinematics
1867 __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
1868 __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
1869 __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
1870 __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
1871 __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
1872 __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
1873 __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
1874 __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
1876 this = _IMP_kinematics.new_ProteinKinematics(*args)
1878 self.this.append(this)
1882 def get_phi(self, r):
1883 """get_phi(ProteinKinematics self, Residue r) -> double"""
1884 return _IMP_kinematics.ProteinKinematics_get_phi(self, r)
1887 def get_psi(self, r):
1888 """get_psi(ProteinKinematics self, Residue r) -> double"""
1889 return _IMP_kinematics.ProteinKinematics_get_psi(self, r)
1892 def get_joints(self):
1893 """get_joints(ProteinKinematics self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1894 return _IMP_kinematics.ProteinKinematics_get_joints(self)
1897 def get_loop_joints(self):
1898 """get_loop_joints(ProteinKinematics self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1899 return _IMP_kinematics.ProteinKinematics_get_loop_joints(self)
1902 def get_ordered_joints(self):
1903 """get_ordered_joints(ProteinKinematics self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1904 return _IMP_kinematics.ProteinKinematics_get_ordered_joints(self)
1907 def get_kinematic_forest(self):
1908 """get_kinematic_forest(ProteinKinematics self) -> KinematicForest"""
1909 return _IMP_kinematics.ProteinKinematics_get_kinematic_forest(self)
1912 def get_rigid_bodies(self):
1913 """get_rigid_bodies(ProteinKinematics self) -> IMP::core::RigidBodies"""
1914 return _IMP_kinematics.ProteinKinematics_get_rigid_bodies(self)
1917 def set_phi(self, r, angle):
1918 """set_phi(ProteinKinematics self, Residue r, double angle)"""
1919 return _IMP_kinematics.ProteinKinematics_set_phi(self, r, angle)
1922 def set_psi(self, r, angle):
1923 """set_psi(ProteinKinematics self, Residue r, double angle)"""
1924 return _IMP_kinematics.ProteinKinematics_set_psi(self, r, angle)
1928 """get_version_info(ProteinKinematics self) -> VersionInfo"""
1929 return _IMP_kinematics.ProteinKinematics_get_version_info(self)
1932 def build_topology_graph(self):
1933 """build_topology_graph(ProteinKinematics self)"""
1934 return _IMP_kinematics.ProteinKinematics_build_topology_graph(self)
1937 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):
1938 """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)"""
1939 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)
1942 def mark_rotatable_angles(self, dihedral_angles):
1943 """mark_rotatable_angles(ProteinKinematics self, std::vector< IMP::atom::Atoms,std::allocator< IMP::atom::Atoms > > const & dihedral_angles)"""
1944 return _IMP_kinematics.ProteinKinematics_mark_rotatable_angles(self, dihedral_angles)
1947 def mark_rotatable_angle(self, dihedral_angle):
1948 """mark_rotatable_angle(ProteinKinematics self, std::vector< IMP::atom::Atom,std::allocator< IMP::atom::Atom > > const & dihedral_angle)"""
1949 return _IMP_kinematics.ProteinKinematics_mark_rotatable_angle(self, dihedral_angle)
1952 def build_rigid_bodies(self):
1953 """build_rigid_bodies(ProteinKinematics self)"""
1954 return _IMP_kinematics.ProteinKinematics_build_rigid_bodies(self)
1957 def add_dihedral_joints(self, residues, angle_type, dihedral_angles):
1958 """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)"""
1959 return _IMP_kinematics.ProteinKinematics_add_dihedral_joints(self, residues, angle_type, dihedral_angles)
1962 def add_dihedral_joint(self, r, angle_type, atoms):
1963 """add_dihedral_joint(ProteinKinematics self, Residue r, IMP::kinematics::ProteinAngleType angle_type, IMP::atom::Atoms const & atoms)"""
1964 return _IMP_kinematics.ProteinKinematics_add_dihedral_joint(self, r, angle_type, atoms)
1967 def open_loop(self, open_loop_bond_atoms):
1968 """open_loop(ProteinKinematics self, IMP::atom::Atoms open_loop_bond_atoms)"""
1969 return _IMP_kinematics.ProteinKinematics_open_loop(self, open_loop_bond_atoms)
1972 def get_phi_joint(self, r):
1973 """get_phi_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
1974 return _IMP_kinematics.ProteinKinematics_get_phi_joint(self, r)
1977 def get_psi_joint(self, r):
1978 """get_psi_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
1979 return _IMP_kinematics.ProteinKinematics_get_psi_joint(self, r)
1982 def get_other_joint(self, r):
1983 """get_other_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
1984 return _IMP_kinematics.ProteinKinematics_get_other_joint(self, r)
1987 def get_chi1_joint(self, r):
1988 """get_chi1_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
1989 return _IMP_kinematics.ProteinKinematics_get_chi1_joint(self, r)
1992 def get_chi2_joint(self, r):
1993 """get_chi2_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
1994 return _IMP_kinematics.ProteinKinematics_get_chi2_joint(self, r)
1997 def get_chi3_joint(self, r):
1998 """get_chi3_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
1999 return _IMP_kinematics.ProteinKinematics_get_chi3_joint(self, r)
2002 def get_chi4_joint(self, r):
2003 """get_chi4_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
2004 return _IMP_kinematics.ProteinKinematics_get_chi4_joint(self, r)
2007 def get_chi5_joint(self, r):
2008 """get_chi5_joint(ProteinKinematics self, Residue r) -> DihedralAngleRevoluteJoint"""
2009 return _IMP_kinematics.ProteinKinematics_get_chi5_joint(self, r)
2012 def get_joint(self, r, angle):
2013 """get_joint(ProteinKinematics self, Residue r, IMP::kinematics::ProteinAngleType angle) -> DihedralAngleRevoluteJoint"""
2014 return _IMP_kinematics.ProteinKinematics_get_joint(self, r, angle)
2018 """__str__(ProteinKinematics self) -> std::string"""
2019 return _IMP_kinematics.ProteinKinematics___str__(self)
2023 """__repr__(ProteinKinematics self) -> std::string"""
2024 return _IMP_kinematics.ProteinKinematics___repr__(self)
2029 return _object_cast_to_ProteinKinematics(o)
2031 ProteinKinematics_swigregister = _IMP_kinematics.ProteinKinematics_swigregister
2032 ProteinKinematics_swigregister(ProteinKinematics)
2035 """Proxy of C++ IMP::kinematics::LocalPlanner class"""
2036 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2038 def __init__(self, *args, **kwargs):
2039 raise AttributeError(
"No constructor defined - class is abstract")
2042 """get_version_info(LocalPlanner self) -> VersionInfo"""
2043 return _IMP_kinematics.LocalPlanner_get_version_info(self)
2046 def plan(self, q_near, q_rand, sf):
2047 """plan(LocalPlanner self, DOFValues q_near, DOFValues q_rand, ScoringFunction sf) -> std::vector< IMP::kinematics::DOFValues,std::allocator< IMP::kinematics::DOFValues > >"""
2048 return _IMP_kinematics.LocalPlanner_plan(self, q_near, q_rand, sf)
2051 def is_valid(self, values, sf):
2052 """is_valid(LocalPlanner self, DOFValues values, ScoringFunction sf) -> bool"""
2053 return _IMP_kinematics.LocalPlanner_is_valid(self, values, sf)
2057 """__str__(LocalPlanner self) -> std::string"""
2058 return _IMP_kinematics.LocalPlanner___str__(self)
2062 """__repr__(LocalPlanner self) -> std::string"""
2063 return _IMP_kinematics.LocalPlanner___repr__(self)
2068 return _object_cast_to_LocalPlanner(o)
2070 LocalPlanner_swigregister = _IMP_kinematics.LocalPlanner_swigregister
2071 LocalPlanner_swigregister(LocalPlanner)
2073 class PathLocalPlanner(LocalPlanner):
2074 """Proxy of C++ IMP::kinematics::PathLocalPlanner class"""
2075 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2077 def __init__(self, model, dofs_sampler, directional_dof, save_step_interval=1):
2079 __init__(IMP::kinematics::PathLocalPlanner self, Model model, DOFsSampler dofs_sampler, DirectionalDOF directional_dof, int save_step_interval=1) -> PathLocalPlanner
2080 __init__(IMP::kinematics::PathLocalPlanner self, Model model, DOFsSampler dofs_sampler, DirectionalDOF directional_dof) -> PathLocalPlanner
2082 this = _IMP_kinematics.new_PathLocalPlanner(model, dofs_sampler, directional_dof, save_step_interval)
2084 self.this.append(this)
2089 """__str__(PathLocalPlanner self) -> std::string"""
2090 return _IMP_kinematics.PathLocalPlanner___str__(self)
2094 """__repr__(PathLocalPlanner self) -> std::string"""
2095 return _IMP_kinematics.PathLocalPlanner___repr__(self)
2100 return _object_cast_to_PathLocalPlanner(o)
2102 __swig_destroy__ = _IMP_kinematics.delete_PathLocalPlanner
2103 __del__ =
lambda self:
None
2104 PathLocalPlanner_swigregister = _IMP_kinematics.PathLocalPlanner_swigregister
2105 PathLocalPlanner_swigregister(PathLocalPlanner)
2108 """Proxy of C++ IMP::kinematics::RRT class"""
2109 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2112 """get_version_info(RRT self) -> VersionInfo"""
2113 return _IMP_kinematics.RRT_get_version_info(self)
2116 def __init__(self, m, sampler, planner, cspace_dofs, iteration_number=1000, tree_size=100, number_of_sampled_dofs=0):
2118 __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
2119 __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
2120 __init__(IMP::kinematics::RRT self, Model m, DOFsSampler sampler, LocalPlanner planner, IMP::kinematics::DOFs const & cspace_dofs, unsigned int iteration_number=1000) -> RRT
2121 __init__(IMP::kinematics::RRT self, Model m, DOFsSampler sampler, LocalPlanner planner, IMP::kinematics::DOFs const & cspace_dofs) -> RRT
2123 this = _IMP_kinematics.new_RRT(m, sampler, planner, cspace_dofs, iteration_number, tree_size, number_of_sampled_dofs)
2125 self.this.append(this)
2129 def do_sample(self):
2130 """do_sample(RRT self) -> ConfigurationSet"""
2131 return _IMP_kinematics.RRT_do_sample(self)
2134 def run(self, number_of_iterations=0):
2136 run(RRT self, unsigned int number_of_iterations=0) -> bool
2137 run(RRT self) -> bool
2139 return _IMP_kinematics.RRT_run(self, number_of_iterations)
2142 def get_DOFValuesList(self):
2143 """get_DOFValuesList(RRT self) -> IMP::kinematics::DOFValuesList"""
2144 return _IMP_kinematics.RRT_get_DOFValuesList(self)
2147 def set_number_of_iterations(self, num):
2148 """set_number_of_iterations(RRT self, unsigned int num)"""
2149 return _IMP_kinematics.RRT_set_number_of_iterations(self, num)
2152 def set_tree_size(self, num):
2153 """set_tree_size(RRT self, unsigned int num)"""
2154 return _IMP_kinematics.RRT_set_tree_size(self, num)
2157 def set_actual_tree_size(self, num):
2158 """set_actual_tree_size(RRT self, unsigned int num)"""
2159 return _IMP_kinematics.RRT_set_actual_tree_size(self, num)
2162 def set_number_of_collisions(self, num):
2163 """set_number_of_collisions(RRT self, unsigned int num)"""
2164 return _IMP_kinematics.RRT_set_number_of_collisions(self, num)
2167 def check_initial_configuration(self, sf):
2168 """check_initial_configuration(RRT self, ScoringFunction sf)"""
2169 return _IMP_kinematics.RRT_check_initial_configuration(self, sf)
2173 """__str__(RRT self) -> std::string"""
2174 return _IMP_kinematics.RRT___str__(self)
2178 """__repr__(RRT self) -> std::string"""
2179 return _IMP_kinematics.RRT___repr__(self)
2184 return _object_cast_to_RRT(o)
2186 RRT_swigregister = _IMP_kinematics.RRT_swigregister
2187 RRT_swigregister(RRT)
2191 """get_module_version() -> std::string const"""
2192 return _IMP_kinematics.get_module_version()
2195 """get_example_path(std::string fname) -> std::string"""
2196 return _IMP_kinematics.get_example_path(fname)
2199 """get_data_path(std::string fname) -> std::string"""
2200 return _IMP_kinematics.get_data_path(fname)
2202 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.