IMP logo
IMP Reference Guide  2.16.0
The Integrative Modeling Platform
kinematics/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.7
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 # This wrapper is part of IMP,
8 # Copyright 2007-2021 IMP Inventors. All rights reserved.
9 
10 from __future__ import print_function, division, absolute_import
11 
12 
13 
14 
15 from sys import version_info
16 if version_info >= (2, 6, 0):
17  def swig_import_helper():
18  from os.path import dirname
19  import imp
20  fp = None
21  try:
22  fp, pathname, description = imp.find_module('_IMP_kinematics', [dirname(__file__)])
23  except ImportError:
24  import _IMP_kinematics
25  return _IMP_kinematics
26  if fp is not None:
27  try:
28  _mod = imp.load_module('_IMP_kinematics', fp, pathname, description)
29  finally:
30  fp.close()
31  return _mod
32  _IMP_kinematics = swig_import_helper()
33  del swig_import_helper
34 else:
35  import _IMP_kinematics
36 del version_info
37 try:
38  _swig_property = property
39 except NameError:
40  pass # Python < 2.2 doesn't have 'property'.
41 
42 
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44  if (name == "thisown"):
45  return self.this.own(value)
46  if (name == "this"):
47  if type(value).__name__ == 'SwigPyObject':
48  self.__dict__[name] = value
49  return
50  method = class_type.__swig_setmethods__.get(name, None)
51  if method:
52  return method(self, value)
53  if (not static):
54  object.__setattr__(self, name, value)
55  else:
56  raise AttributeError("You cannot add attributes to %s" % self)
57 
58 
59 def _swig_setattr(self, class_type, name, value):
60  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
61 
62 
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)
67  if method:
68  return method(self)
69  if (not static):
70  return object.__getattr__(self, name)
71  else:
72  raise AttributeError(name)
73 
74 def _swig_getattr(self, class_type, name):
75  return _swig_getattr_nondynamic(self, class_type, name, 0)
76 
77 
78 def _swig_repr(self):
79  try:
80  strthis = "proxy of " + self.this.__repr__()
81  except:
82  strthis = ""
83  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
84 
85 try:
86  _object = object
87  _newclass = 1
88 except AttributeError:
89  class _object:
90  pass
91  _newclass = 0
92 
93 
94 
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)
101  else:
102  raise AttributeError("You cannot add attributes to %s" % self)
103  return set_attr
104 
105 
106 try:
107  import weakref
108  weakref_proxy = weakref.proxy
109 except:
110  weakref_proxy = lambda x: x
111 
112 
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')
116 
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
122 
123  def value(self):
124  """value(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
125  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_value(self)
126 
127 
128  def incr(self, n=1):
129  """
130  incr(IMP_KINEMATICS_SwigPyIterator self, size_t n=1) -> IMP_KINEMATICS_SwigPyIterator
131  incr(IMP_KINEMATICS_SwigPyIterator self) -> IMP_KINEMATICS_SwigPyIterator
132  """
133  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_incr(self, n)
134 
135 
136  def decr(self, n=1):
137  """
138  decr(IMP_KINEMATICS_SwigPyIterator self, size_t n=1) -> IMP_KINEMATICS_SwigPyIterator
139  decr(IMP_KINEMATICS_SwigPyIterator self) -> IMP_KINEMATICS_SwigPyIterator
140  """
141  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_decr(self, n)
142 
143 
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)
147 
148 
149  def equal(self, x):
150  """equal(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> bool"""
151  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_equal(self, x)
152 
153 
154  def copy(self):
155  """copy(IMP_KINEMATICS_SwigPyIterator self) -> IMP_KINEMATICS_SwigPyIterator"""
156  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_copy(self)
157 
158 
159  def next(self):
160  """next(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
161  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_next(self)
162 
163 
164  def __next__(self):
165  """__next__(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
166  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___next__(self)
167 
168 
169  def previous(self):
170  """previous(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
171  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_previous(self)
172 
173 
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)
177 
178 
179  def __eq__(self, x):
180  """__eq__(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> bool"""
181  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___eq__(self, x)
182 
183 
184  def __ne__(self, x):
185  """__ne__(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> bool"""
186  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___ne__(self, x)
187 
188 
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)
192 
193 
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)
197 
198 
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)
202 
203 
204  def __sub__(self, *args):
205  """
206  __sub__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator
207  __sub__(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> ptrdiff_t
208  """
209  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___sub__(self, *args)
210 
211  def __iter__(self):
212  return self
213 IMP_KINEMATICS_SwigPyIterator_swigregister = _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_swigregister
214 IMP_KINEMATICS_SwigPyIterator_swigregister(IMP_KINEMATICS_SwigPyIterator)
215 
216 
217 _value_types=[]
218 _object_types=[]
219 _raii_types=[]
220 _plural_types=[]
221 
222 
223 _IMP_kinematics.IMP_DEBUG_swigconstant(_IMP_kinematics)
224 IMP_DEBUG = _IMP_kinematics.IMP_DEBUG
225 
226 _IMP_kinematics.IMP_RELEASE_swigconstant(_IMP_kinematics)
227 IMP_RELEASE = _IMP_kinematics.IMP_RELEASE
228 
229 _IMP_kinematics.IMP_SILENT_swigconstant(_IMP_kinematics)
230 IMP_SILENT = _IMP_kinematics.IMP_SILENT
231 
232 _IMP_kinematics.IMP_PROGRESS_swigconstant(_IMP_kinematics)
233 IMP_PROGRESS = _IMP_kinematics.IMP_PROGRESS
234 
235 _IMP_kinematics.IMP_TERSE_swigconstant(_IMP_kinematics)
236 IMP_TERSE = _IMP_kinematics.IMP_TERSE
237 
238 _IMP_kinematics.IMP_VERBOSE_swigconstant(_IMP_kinematics)
239 IMP_VERBOSE = _IMP_kinematics.IMP_VERBOSE
240 
241 _IMP_kinematics.IMP_MEMORY_swigconstant(_IMP_kinematics)
242 IMP_MEMORY = _IMP_kinematics.IMP_MEMORY
243 
244 _IMP_kinematics.IMP_NONE_swigconstant(_IMP_kinematics)
245 IMP_NONE = _IMP_kinematics.IMP_NONE
246 
247 _IMP_kinematics.IMP_USAGE_swigconstant(_IMP_kinematics)
248 IMP_USAGE = _IMP_kinematics.IMP_USAGE
249 
250 _IMP_kinematics.IMP_INTERNAL_swigconstant(_IMP_kinematics)
251 IMP_INTERNAL = _IMP_kinematics.IMP_INTERNAL
252 
253 _IMP_kinematics.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_kinematics)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_kinematics.IMP_KERNEL_HAS_LOG4CXX
255 
256 _IMP_kinematics.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_kinematics)
257 IMP_COMPILER_HAS_AUTO = _IMP_kinematics.IMP_COMPILER_HAS_AUTO
258 
259 _IMP_kinematics.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_kinematics)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_kinematics.IMP_COMPILER_HAS_DEBUG_VECTOR
261 
262 _IMP_kinematics.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_kinematics)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_kinematics.IMP_COMPILER_HAS_UNIQUE_PTR
264 
265 _IMP_kinematics.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_KERNEL_HAS_BOOST_RANDOM
267 
268 _IMP_kinematics.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_kinematics)
269 IMP_KERNEL_HAS_NUMPY = _IMP_kinematics.IMP_KERNEL_HAS_NUMPY
270 
271 _IMP_kinematics.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_kinematics)
272 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_kinematics.IMP_KERNEL_HAS_GPERFTOOLS
273 
274 _IMP_kinematics.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_kinematics)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_kinematics.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
276 
277 _IMP_kinematics.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_kinematics)
278 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_kinematics.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
279 
280 _IMP_kinematics.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
281 IMPKERNEL_SHOW_WARNINGS = _IMP_kinematics.IMPKERNEL_SHOW_WARNINGS
282 
283 import sys
284 class _DirectorObjects(object):
285  """@internal Simple class to keep references to director objects
286  to prevent premature deletion."""
287  def __init__(self):
288  self._objects = []
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)
294  def cleanup(self):
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]
301 # Do in two steps so the references are kept until the end of the
302 # function (deleting references may trigger a fresh call to this method)
303  self._objects = objs
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()
308 
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')
312 
313  def __init__(self, *args, **kwargs):
314  raise AttributeError("No constructor defined")
315  __repr__ = _swig_repr
316 
317  def write(self, osa_buf):
318  """write(_ostream self, char const * osa_buf)"""
319  return _IMP_kinematics._ostream_write(self, osa_buf)
320 
321 _ostream_swigregister = _IMP_kinematics._ostream_swigregister
322 _ostream_swigregister(_ostream)
323 
324 
325 _IMP_kinematics.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_kinematics)
326 IMP_COMPILER_HAS_OVERRIDE = _IMP_kinematics.IMP_COMPILER_HAS_OVERRIDE
327 
328 _IMP_kinematics.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_kinematics)
329 IMP_COMPILER_HAS_FINAL = _IMP_kinematics.IMP_COMPILER_HAS_FINAL
330 
331 _IMP_kinematics.IMP_HAS_NOEXCEPT_swigconstant(_IMP_kinematics)
332 IMP_HAS_NOEXCEPT = _IMP_kinematics.IMP_HAS_NOEXCEPT
333 
334 _IMP_kinematics.IMP_C_OPEN_BINARY_swigconstant(_IMP_kinematics)
335 IMP_C_OPEN_BINARY = _IMP_kinematics.IMP_C_OPEN_BINARY
336 import IMP
337 
338 _IMP_kinematics.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
339 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CGAL_HAS_BOOST_FILESYSTEM
340 
341 _IMP_kinematics.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
342 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
343 
344 _IMP_kinematics.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
345 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CGAL_HAS_BOOST_RANDOM
346 
347 _IMP_kinematics.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
348 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CGAL_HAS_BOOST_SYSTEM
349 
350 _IMP_kinematics.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_kinematics)
351 IMP_CGAL_HAS_NUMPY = _IMP_kinematics.IMP_CGAL_HAS_NUMPY
352 
353 _IMP_kinematics.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
354 IMPCGAL_SHOW_WARNINGS = _IMP_kinematics.IMPCGAL_SHOW_WARNINGS
355 import IMP.cgal
356 
357 _IMP_kinematics.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
358 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_kinematics.IMP_ALGEBRA_HAS_IMP_CGAL
359 
360 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
361 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
362 
363 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
364 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
365 
366 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
367 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_RANDOM
368 
369 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
370 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_SYSTEM
371 
372 _IMP_kinematics.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_kinematics)
373 IMP_ALGEBRA_HAS_CGAL = _IMP_kinematics.IMP_ALGEBRA_HAS_CGAL
374 
375 _IMP_kinematics.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_kinematics)
376 IMP_ALGEBRA_HAS_NUMPY = _IMP_kinematics.IMP_ALGEBRA_HAS_NUMPY
377 
378 _IMP_kinematics.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_kinematics)
379 IMP_ALGEBRA_HAS_ANN = _IMP_kinematics.IMP_ALGEBRA_HAS_ANN
380 
381 _IMP_kinematics.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
382 IMPALGEBRA_SHOW_WARNINGS = _IMP_kinematics.IMPALGEBRA_SHOW_WARNINGS
383 import IMP.algebra
384 
385 _IMP_kinematics.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
386 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_kinematics.IMP_DISPLAY_HAS_IMP_CGAL
387 
388 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
389 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
390 
391 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
392 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
393 
394 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
395 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_RANDOM
396 
397 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
398 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_SYSTEM
399 
400 _IMP_kinematics.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_kinematics)
401 IMP_DISPLAY_HAS_CGAL = _IMP_kinematics.IMP_DISPLAY_HAS_CGAL
402 
403 _IMP_kinematics.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_kinematics)
404 IMP_DISPLAY_HAS_NUMPY = _IMP_kinematics.IMP_DISPLAY_HAS_NUMPY
405 
406 _IMP_kinematics.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
407 IMPDISPLAY_SHOW_WARNINGS = _IMP_kinematics.IMPDISPLAY_SHOW_WARNINGS
408 import IMP.display
409 
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
412 
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
415 
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
418 
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
421 
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
424 
425 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_kinematics)
426 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_CGAL
427 
428 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_kinematics)
429 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_HDF5
430 
431 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_kinematics)
432 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_NUMPY
433 
434 _IMP_kinematics.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
435 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_kinematics.IMPSCOREFUNCTOR_SHOW_WARNINGS
436 import IMP.score_functor
437 
438 _IMP_kinematics.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
439 IMP_CORE_HAS_IMP_CGAL = _IMP_kinematics.IMP_CORE_HAS_IMP_CGAL
440 
441 _IMP_kinematics.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
442 IMP_CORE_HAS_IMP_KERNEL = _IMP_kinematics.IMP_CORE_HAS_IMP_KERNEL
443 
444 _IMP_kinematics.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
445 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CORE_HAS_BOOST_FILESYSTEM
446 
447 _IMP_kinematics.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
448 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
449 
450 _IMP_kinematics.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
451 IMP_CORE_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CORE_HAS_BOOST_RANDOM
452 
453 _IMP_kinematics.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
454 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CORE_HAS_BOOST_SYSTEM
455 
456 _IMP_kinematics.IMP_CORE_HAS_CGAL_swigconstant(_IMP_kinematics)
457 IMP_CORE_HAS_CGAL = _IMP_kinematics.IMP_CORE_HAS_CGAL
458 
459 _IMP_kinematics.IMP_CORE_HAS_HDF5_swigconstant(_IMP_kinematics)
460 IMP_CORE_HAS_HDF5 = _IMP_kinematics.IMP_CORE_HAS_HDF5
461 
462 _IMP_kinematics.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_kinematics)
463 IMP_CORE_HAS_NUMPY = _IMP_kinematics.IMP_CORE_HAS_NUMPY
464 
465 _IMP_kinematics.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
466 IMPCORE_SHOW_WARNINGS = _IMP_kinematics.IMPCORE_SHOW_WARNINGS
467 import IMP.core
468 
469 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_kinematics)
470 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_ALGEBRA
471 
472 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
473 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_CGAL
474 
475 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_kinematics)
476 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_DISPLAY
477 
478 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
479 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_KERNEL
480 
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
483 
484 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
485 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
486 
487 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
488 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
489 
490 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
491 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_RANDOM
492 
493 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
494 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_SYSTEM
495 
496 _IMP_kinematics.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_kinematics)
497 IMP_CONTAINER_HAS_CGAL = _IMP_kinematics.IMP_CONTAINER_HAS_CGAL
498 
499 _IMP_kinematics.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_kinematics)
500 IMP_CONTAINER_HAS_HDF5 = _IMP_kinematics.IMP_CONTAINER_HAS_HDF5
501 
502 _IMP_kinematics.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_kinematics)
503 IMP_CONTAINER_HAS_NUMPY = _IMP_kinematics.IMP_CONTAINER_HAS_NUMPY
504 
505 _IMP_kinematics.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_kinematics)
506 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_kinematics.IMP_CONTAINER_HAS_PYTHON_IHM
507 
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
510 
511 _IMP_kinematics.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_kinematics)
512 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_kinematics.IMP_CONTAINER_HAS_ROBIN_MAP
513 
514 _IMP_kinematics.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
515 IMPCONTAINER_SHOW_WARNINGS = _IMP_kinematics.IMPCONTAINER_SHOW_WARNINGS
516 import IMP.container
517 
518 _IMP_kinematics.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
519 IMP_ATOM_HAS_IMP_CGAL = _IMP_kinematics.IMP_ATOM_HAS_IMP_CGAL
520 
521 _IMP_kinematics.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
522 IMP_ATOM_HAS_IMP_KERNEL = _IMP_kinematics.IMP_ATOM_HAS_IMP_KERNEL
523 
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
526 
527 _IMP_kinematics.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
528 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
529 
530 _IMP_kinematics.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
531 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_ATOM_HAS_BOOST_RANDOM
532 
533 _IMP_kinematics.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_kinematics)
534 IMP_ATOM_HAS_BOOST_REGEX = _IMP_kinematics.IMP_ATOM_HAS_BOOST_REGEX
535 
536 _IMP_kinematics.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
537 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_ATOM_HAS_BOOST_SYSTEM
538 
539 _IMP_kinematics.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_kinematics)
540 IMP_ATOM_HAS_CGAL = _IMP_kinematics.IMP_ATOM_HAS_CGAL
541 
542 _IMP_kinematics.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_kinematics)
543 IMP_ATOM_HAS_HDF5 = _IMP_kinematics.IMP_ATOM_HAS_HDF5
544 
545 _IMP_kinematics.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_kinematics)
546 IMP_ATOM_HAS_NUMPY = _IMP_kinematics.IMP_ATOM_HAS_NUMPY
547 
548 _IMP_kinematics.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_kinematics)
549 IMP_ATOM_HAS_PYTHON_IHM = _IMP_kinematics.IMP_ATOM_HAS_PYTHON_IHM
550 
551 _IMP_kinematics.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
552 IMPATOM_SHOW_WARNINGS = _IMP_kinematics.IMPATOM_SHOW_WARNINGS
553 
554 _IMP_kinematics.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_kinematics)
555 IMP_ATOM_TYPE_INDEX = _IMP_kinematics.IMP_ATOM_TYPE_INDEX
556 
557 _IMP_kinematics.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_kinematics)
558 IMP_RESIDUE_TYPE_INDEX = _IMP_kinematics.IMP_RESIDUE_TYPE_INDEX
559 
560 _IMP_kinematics.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_kinematics)
561 IMP_HIERARCHY_TYPE_INDEX = _IMP_kinematics.IMP_HIERARCHY_TYPE_INDEX
562 
563 _IMP_kinematics.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_kinematics)
564 IMP_CHAIN_TYPE_INDEX = _IMP_kinematics.IMP_CHAIN_TYPE_INDEX
565 import IMP.atom
566 
567 _IMP_kinematics.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
568 IMP_SAXS_HAS_IMP_CGAL = _IMP_kinematics.IMP_SAXS_HAS_IMP_CGAL
569 
570 _IMP_kinematics.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_kinematics)
571 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_kinematics.IMP_SAXS_HAS_IMP_CONTAINER
572 
573 _IMP_kinematics.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_kinematics)
574 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_SAXS_HAS_IMP_DISPLAY
575 
576 _IMP_kinematics.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
577 IMP_SAXS_HAS_IMP_KERNEL = _IMP_kinematics.IMP_SAXS_HAS_IMP_KERNEL
578 
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
581 
582 _IMP_kinematics.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
583 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_SAXS_HAS_BOOST_FILESYSTEM
584 
585 _IMP_kinematics.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
586 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
587 
588 _IMP_kinematics.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
589 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_SAXS_HAS_BOOST_RANDOM
590 
591 _IMP_kinematics.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_kinematics)
592 IMP_SAXS_HAS_BOOST_REGEX = _IMP_kinematics.IMP_SAXS_HAS_BOOST_REGEX
593 
594 _IMP_kinematics.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
595 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_SAXS_HAS_BOOST_SYSTEM
596 
597 _IMP_kinematics.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_kinematics)
598 IMP_SAXS_HAS_CGAL = _IMP_kinematics.IMP_SAXS_HAS_CGAL
599 
600 _IMP_kinematics.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_kinematics)
601 IMP_SAXS_HAS_HDF5 = _IMP_kinematics.IMP_SAXS_HAS_HDF5
602 
603 _IMP_kinematics.IMP_SAXS_HAS_NUMPY_swigconstant(_IMP_kinematics)
604 IMP_SAXS_HAS_NUMPY = _IMP_kinematics.IMP_SAXS_HAS_NUMPY
605 
606 _IMP_kinematics.IMP_SAXS_HAS_PYTHON_IHM_swigconstant(_IMP_kinematics)
607 IMP_SAXS_HAS_PYTHON_IHM = _IMP_kinematics.IMP_SAXS_HAS_PYTHON_IHM
608 
609 _IMP_kinematics.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
610 IMPSAXS_SHOW_WARNINGS = _IMP_kinematics.IMPSAXS_SHOW_WARNINGS
611 import IMP.saxs
612 
613 _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
614 IMP_KINEMATICS_HAS_IMP_CGAL = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_CGAL
615 
616 _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_DISPLAY_swigconstant(_IMP_kinematics)
617 IMP_KINEMATICS_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_DISPLAY
618 
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
621 
622 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
623 IMP_KINEMATICS_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_FILESYSTEM
624 
625 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
626 IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS
627 
628 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
629 IMP_KINEMATICS_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_RANDOM
630 
631 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_REGEX_swigconstant(_IMP_kinematics)
632 IMP_KINEMATICS_HAS_BOOST_REGEX = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_REGEX
633 
634 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
635 IMP_KINEMATICS_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_SYSTEM
636 
637 _IMP_kinematics.IMP_KINEMATICS_HAS_CGAL_swigconstant(_IMP_kinematics)
638 IMP_KINEMATICS_HAS_CGAL = _IMP_kinematics.IMP_KINEMATICS_HAS_CGAL
639 
640 _IMP_kinematics.IMP_KINEMATICS_HAS_HDF5_swigconstant(_IMP_kinematics)
641 IMP_KINEMATICS_HAS_HDF5 = _IMP_kinematics.IMP_KINEMATICS_HAS_HDF5
642 
643 _IMP_kinematics.IMP_KINEMATICS_HAS_NUMPY_swigconstant(_IMP_kinematics)
644 IMP_KINEMATICS_HAS_NUMPY = _IMP_kinematics.IMP_KINEMATICS_HAS_NUMPY
645 
646 _IMP_kinematics.IMP_KINEMATICS_HAS_PYTHON_IHM_swigconstant(_IMP_kinematics)
647 IMP_KINEMATICS_HAS_PYTHON_IHM = _IMP_kinematics.IMP_KINEMATICS_HAS_PYTHON_IHM
648 
649 _IMP_kinematics.IMPKINEMATICS_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
650 IMPKINEMATICS_SHOW_WARNINGS = _IMP_kinematics.IMPKINEMATICS_SHOW_WARNINGS
651 
652 _object_types.append("Joint")
653 
654 
655 def _object_cast_to_Joint(o):
656  """_object_cast_to_Joint(Object o) -> Joint"""
657  return _IMP_kinematics._object_cast_to_Joint(o)
658 
659 _object_types.append("TransformationJoint")
660 
661 
662 def _object_cast_to_TransformationJoint(o):
663  """_object_cast_to_TransformationJoint(Object o) -> TransformationJoint"""
664  return _IMP_kinematics._object_cast_to_TransformationJoint(o)
665 
666 _object_types.append("RevoluteJoint")
667 
668 
669 def _object_cast_to_RevoluteJoint(o):
670  """_object_cast_to_RevoluteJoint(Object o) -> RevoluteJoint"""
671  return _IMP_kinematics._object_cast_to_RevoluteJoint(o)
672 
673 _object_types.append("DihedralAngleRevoluteJoint")
674 
675 
676 def _object_cast_to_DihedralAngleRevoluteJoint(o):
677  """_object_cast_to_DihedralAngleRevoluteJoint(Object o) -> DihedralAngleRevoluteJoint"""
678  return _IMP_kinematics._object_cast_to_DihedralAngleRevoluteJoint(o)
679 
680 _object_types.append("BondAngleRevoluteJoint")
681 
682 
683 def _object_cast_to_BondAngleRevoluteJoint(o):
684  """_object_cast_to_BondAngleRevoluteJoint(Object o) -> BondAngleRevoluteJoint"""
685  return _IMP_kinematics._object_cast_to_BondAngleRevoluteJoint(o)
686 
687 _object_types.append("PrismaticJoint")
688 
689 
690 def _object_cast_to_PrismaticJoint(o):
691  """_object_cast_to_PrismaticJoint(Object o) -> PrismaticJoint"""
692  return _IMP_kinematics._object_cast_to_PrismaticJoint(o)
693 
694 _object_types.append("KinematicForest")
695 
696 
697 def _object_cast_to_KinematicForest(o):
698  """_object_cast_to_KinematicForest(Object o) -> KinematicForest"""
699  return _IMP_kinematics._object_cast_to_KinematicForest(o)
700 
701 _object_types.append("KinematicForestScoreState")
702 
703 
704 def _object_cast_to_KinematicForestScoreState(o):
705  """_object_cast_to_KinematicForestScoreState(Object o) -> KinematicForestScoreState"""
706  return _IMP_kinematics._object_cast_to_KinematicForestScoreState(o)
707 
708 _object_types.append("CompositeJoint")
709 
710 
711 def _object_cast_to_CompositeJoint(o):
712  """_object_cast_to_CompositeJoint(Object o) -> CompositeJoint"""
713  return _IMP_kinematics._object_cast_to_CompositeJoint(o)
714 
715 _object_types.append("RevoluteJointMover")
716 
717 
718 def _object_cast_to_RevoluteJointMover(o):
719  """_object_cast_to_RevoluteJointMover(Object o) -> RevoluteJointMover"""
720  return _IMP_kinematics._object_cast_to_RevoluteJointMover(o)
721 
722 _object_types.append("DihedralMover")
723 
724 
725 def _object_cast_to_DihedralMover(o):
726  """_object_cast_to_DihedralMover(Object o) -> DihedralMover"""
727  return _IMP_kinematics._object_cast_to_DihedralMover(o)
728 
729 _object_types.append("DOF")
730 
731 
732 def _object_cast_to_DOF(o):
733  """_object_cast_to_DOF(Object o) -> DOF"""
734  return _IMP_kinematics._object_cast_to_DOF(o)
735 
736 DOFValuesList=list
737 _plural_types.append("DOFValuesList")
738 _value_types.append("DOFValues")
739 
740 
741 _object_types.append("DirectionalDOF")
742 
743 
744 def _object_cast_to_DirectionalDOF(o):
745  """_object_cast_to_DirectionalDOF(Object o) -> DirectionalDOF"""
746  return _IMP_kinematics._object_cast_to_DirectionalDOF(o)
747 
748 _object_types.append("DOFsSampler")
749 
750 
751 def _object_cast_to_DOFsSampler(o):
752  """_object_cast_to_DOFsSampler(Object o) -> DOFsSampler"""
753  return _IMP_kinematics._object_cast_to_DOFsSampler(o)
754 
755 _object_types.append("UniformBackboneSampler")
756 
757 
758 def _object_cast_to_UniformBackboneSampler(o):
759  """_object_cast_to_UniformBackboneSampler(Object o) -> UniformBackboneSampler"""
760  return _IMP_kinematics._object_cast_to_UniformBackboneSampler(o)
761 
762 _object_types.append("FibrilSampler")
763 
764 
765 def _object_cast_to_FibrilSampler(o):
766  """_object_cast_to_FibrilSampler(Object o) -> FibrilSampler"""
767  return _IMP_kinematics._object_cast_to_FibrilSampler(o)
768 
769 _object_types.append("ProteinKinematics")
770 
771 
772 def _object_cast_to_ProteinKinematics(o):
773  """_object_cast_to_ProteinKinematics(Object o) -> ProteinKinematics"""
774  return _IMP_kinematics._object_cast_to_ProteinKinematics(o)
775 
776 _object_types.append("LocalPlanner")
777 
778 
779 def _object_cast_to_LocalPlanner(o):
780  """_object_cast_to_LocalPlanner(Object o) -> LocalPlanner"""
781  return _IMP_kinematics._object_cast_to_LocalPlanner(o)
782 
783 _object_types.append("PathLocalPlanner")
784 
785 
786 def _object_cast_to_PathLocalPlanner(o):
787  """_object_cast_to_PathLocalPlanner(Object o) -> PathLocalPlanner"""
788  return _IMP_kinematics._object_cast_to_PathLocalPlanner(o)
789 
790 _object_types.append("RRT")
791 
792 
793 def _object_cast_to_RRT(o):
794  """_object_cast_to_RRT(Object o) -> RRT"""
795  return _IMP_kinematics._object_cast_to_RRT(o)
796 class Joint(IMP.Object):
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')
799 
800  def get_version_info(self):
801  """get_version_info(Joint self) -> VersionInfo"""
802  return _IMP_kinematics.Joint_get_version_info(self)
803 
804 
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)
808  try:
809  self.this.append(this)
810  except:
811  self.this = this
812 
813  def get_owner_kf(self):
814  """get_owner_kf(Joint self) -> KinematicForest"""
815  return _IMP_kinematics.Joint_get_owner_kf(self)
816 
817 
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)
821 
822 
823  def get_parent_node(self):
824  """get_parent_node(Joint self) -> RigidBody"""
825  return _IMP_kinematics.Joint_get_parent_node(self)
826 
827 
828  def get_child_node(self):
829  """get_child_node(Joint self) -> RigidBody"""
830  return _IMP_kinematics.Joint_get_child_node(self)
831 
832 
833  def __str__(self):
834  """__str__(Joint self) -> std::string"""
835  return _IMP_kinematics.Joint___str__(self)
836 
837 
838  def __repr__(self):
839  """__repr__(Joint self) -> std::string"""
840  return _IMP_kinematics.Joint___repr__(self)
841 
842 
843  @staticmethod
844  def get_from(o):
845  return _object_cast_to_Joint(o)
846 
847 Joint_swigregister = _IMP_kinematics.Joint_swigregister
848 Joint_swigregister(Joint)
849 
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')
853 
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)
857  try:
858  self.this.append(this)
859  except:
860  self.this = this
861 
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)
865 
866 
867  def __str__(self):
868  """__str__(TransformationJoint self) -> std::string"""
869  return _IMP_kinematics.TransformationJoint___str__(self)
870 
871 
872  def __repr__(self):
873  """__repr__(TransformationJoint self) -> std::string"""
874  return _IMP_kinematics.TransformationJoint___repr__(self)
875 
876 
877  @staticmethod
878  def get_from(o):
879  return _object_cast_to_TransformationJoint(o)
880 
881  __swig_destroy__ = _IMP_kinematics.delete_TransformationJoint
882  __del__ = lambda self: None
883 TransformationJoint_swigregister = _IMP_kinematics.TransformationJoint_swigregister
884 TransformationJoint_swigregister(TransformationJoint)
885 
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')
889 
890  def __init__(self, *args):
891  """
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
894  """
895  this = _IMP_kinematics.new_PrismaticJoint(*args)
896  try:
897  self.this.append(this)
898  except:
899  self.this = this
900 
901  def get_length(self):
902  """get_length(PrismaticJoint self) -> double"""
903  return _IMP_kinematics.PrismaticJoint_get_length(self)
904 
905 
906  def set_length(self, l):
907  """set_length(PrismaticJoint self, double l)"""
908  return _IMP_kinematics.PrismaticJoint_set_length(self, l)
909 
910 
911  def __str__(self):
912  """__str__(PrismaticJoint self) -> std::string"""
913  return _IMP_kinematics.PrismaticJoint___str__(self)
914 
915 
916  def __repr__(self):
917  """__repr__(PrismaticJoint self) -> std::string"""
918  return _IMP_kinematics.PrismaticJoint___repr__(self)
919 
920 
921  @staticmethod
922  def get_from(o):
923  return _object_cast_to_PrismaticJoint(o)
924 
925  __swig_destroy__ = _IMP_kinematics.delete_PrismaticJoint
926  __del__ = lambda self: None
927 PrismaticJoint_swigregister = _IMP_kinematics.PrismaticJoint_swigregister
928 PrismaticJoint_swigregister(PrismaticJoint)
929 
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')
933 
934  def __init__(self, *args):
935  """
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
938  """
939  this = _IMP_kinematics.new_CompositeJoint(*args)
940  try:
941  self.this.append(this)
942  except:
943  self.this = this
944 
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)
948 
949 
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)
953 
954 
955  def set_joints(self, joints):
956  """set_joints(CompositeJoint self, IMP::kinematics::Joints joints)"""
957  return _IMP_kinematics.CompositeJoint_set_joints(self, joints)
958 
959 
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)
963 
964 
965  def __str__(self):
966  """__str__(CompositeJoint self) -> std::string"""
967  return _IMP_kinematics.CompositeJoint___str__(self)
968 
969 
970  def __repr__(self):
971  """__repr__(CompositeJoint self) -> std::string"""
972  return _IMP_kinematics.CompositeJoint___repr__(self)
973 
974 
975  @staticmethod
976  def get_from(o):
977  return _object_cast_to_CompositeJoint(o)
978 
979  __swig_destroy__ = _IMP_kinematics.delete_CompositeJoint
980  __del__ = lambda self: None
981 CompositeJoint_swigregister = _IMP_kinematics.CompositeJoint_swigregister
982 CompositeJoint_swigregister(CompositeJoint)
983 
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')
987 
988  def __init__(self, parent, child):
989  """__init__(IMP::kinematics::RevoluteJoint self, RigidBody parent, RigidBody child) -> RevoluteJoint"""
990  if self.__class__ == RevoluteJoint:
991  _self = None
992  else:
993  _self = self
994  this = _IMP_kinematics.new_RevoluteJoint(_self, parent, child)
995  try:
996  self.this.append(this)
997  except:
998  self.this = this
999 
1000  if self.__class__ != RevoluteJoint:
1001  _director_objects.register(self)
1002 
1003 
1004 
1005  __swig_destroy__ = _IMP_kinematics.delete_RevoluteJoint
1006  __del__ = lambda self: None
1007 
1008  def set_angle(self, angle):
1009  """set_angle(RevoluteJoint self, double angle)"""
1010  return _IMP_kinematics.RevoluteJoint_set_angle(self, angle)
1011 
1012 
1013  def get_angle(self):
1014  """get_angle(RevoluteJoint self) -> double"""
1015  return _IMP_kinematics.RevoluteJoint_get_angle(self)
1016 
1017 
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)
1021 
1022 
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)
1026 
1027 
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)
1031 
1032 
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)
1036 
1037 
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)
1041 
1042 
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)
1046 
1047 
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)
1051 
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)
1056 
1057  def __str__(self):
1058  """__str__(RevoluteJoint self) -> std::string"""
1059  return _IMP_kinematics.RevoluteJoint___str__(self)
1060 
1061 
1062  def __repr__(self):
1063  """__repr__(RevoluteJoint self) -> std::string"""
1064  return _IMP_kinematics.RevoluteJoint___repr__(self)
1065 
1066 
1067  @staticmethod
1068  def get_from(o):
1069  return _object_cast_to_RevoluteJoint(o)
1070 
1071 
1072  def get_type_name(self):
1073  return self.__class__.__name__
1074  def do_show(self, out):
1075  pass
1076  def get_version_info(self):
1077  if"IMP::kinematics" == "IMP":
1078  return VersionInfo(self.__module__,
1079  __import__(self.__module__).get_module_version())
1080  else:
1081  return IMP.VersionInfo(self.__module__,
1082  __import__(self.__module__).get_module_version())
1083  @staticmethod
1084  def get_from(o):
1085  return _object_cast_to_RevoluteJoint(o)
1086 
1087  def __disown__(self):
1088  self.this.disown()
1089  _IMP_kinematics.disown_RevoluteJoint(self)
1090  return weakref_proxy(self)
1091 
1092  def do_destroy(self):
1093  """do_destroy(RevoluteJoint self)"""
1094  return _IMP_kinematics.RevoluteJoint_do_destroy(self)
1095 
1096 RevoluteJoint_swigregister = _IMP_kinematics.RevoluteJoint_swigregister
1097 RevoluteJoint_swigregister(RevoluteJoint)
1098 
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')
1102 
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)
1106  try:
1107  self.this.append(this)
1108  except:
1109  self.this = this
1110 
1111  def get_a(self):
1112  """get_a(DihedralAngleRevoluteJoint self) -> XYZ"""
1113  return _IMP_kinematics.DihedralAngleRevoluteJoint_get_a(self)
1114 
1115 
1116  def get_b(self):
1117  """get_b(DihedralAngleRevoluteJoint self) -> XYZ"""
1118  return _IMP_kinematics.DihedralAngleRevoluteJoint_get_b(self)
1119 
1120 
1121  def get_c(self):
1122  """get_c(DihedralAngleRevoluteJoint self) -> XYZ"""
1123  return _IMP_kinematics.DihedralAngleRevoluteJoint_get_c(self)
1124 
1125 
1126  def get_d(self):
1127  """get_d(DihedralAngleRevoluteJoint self) -> XYZ"""
1128  return _IMP_kinematics.DihedralAngleRevoluteJoint_get_d(self)
1129 
1130 
1131  def __str__(self):
1132  """__str__(DihedralAngleRevoluteJoint self) -> std::string"""
1133  return _IMP_kinematics.DihedralAngleRevoluteJoint___str__(self)
1134 
1135 
1136  def __repr__(self):
1137  """__repr__(DihedralAngleRevoluteJoint self) -> std::string"""
1138  return _IMP_kinematics.DihedralAngleRevoluteJoint___repr__(self)
1139 
1140 
1141  @staticmethod
1142  def get_from(o):
1143  return _object_cast_to_DihedralAngleRevoluteJoint(o)
1144 
1145  __swig_destroy__ = _IMP_kinematics.delete_DihedralAngleRevoluteJoint
1146  __del__ = lambda self: None
1147 DihedralAngleRevoluteJoint_swigregister = _IMP_kinematics.DihedralAngleRevoluteJoint_swigregister
1148 DihedralAngleRevoluteJoint_swigregister(DihedralAngleRevoluteJoint)
1149 
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')
1153 
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)
1157  try:
1158  self.this.append(this)
1159  except:
1160  self.this = this
1161 
1162  def __str__(self):
1163  """__str__(BondAngleRevoluteJoint self) -> std::string"""
1164  return _IMP_kinematics.BondAngleRevoluteJoint___str__(self)
1165 
1166 
1167  def __repr__(self):
1168  """__repr__(BondAngleRevoluteJoint self) -> std::string"""
1169  return _IMP_kinematics.BondAngleRevoluteJoint___repr__(self)
1170 
1171 
1172  @staticmethod
1173  def get_from(o):
1174  return _object_cast_to_BondAngleRevoluteJoint(o)
1175 
1176  __swig_destroy__ = _IMP_kinematics.delete_BondAngleRevoluteJoint
1177  __del__ = lambda self: None
1178 BondAngleRevoluteJoint_swigregister = _IMP_kinematics.BondAngleRevoluteJoint_swigregister
1179 BondAngleRevoluteJoint_swigregister(BondAngleRevoluteJoint)
1180 
1181 class RevoluteJointMover(IMP.core.MonteCarloMover):
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')
1184 
1185  def __init__(self, m, joints, stddev=0.01):
1186  """
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
1189  """
1190  this = _IMP_kinematics.new_RevoluteJointMover(m, joints, stddev)
1191  try:
1192  self.this.append(this)
1193  except:
1194  self.this = this
1195 
1196  def set_sigma(self, sigma):
1197  """set_sigma(RevoluteJointMover self, IMP::Float sigma)"""
1198  return _IMP_kinematics.RevoluteJointMover_set_sigma(self, sigma)
1199 
1200 
1201  def get_sigma(self):
1202  """get_sigma(RevoluteJointMover self) -> IMP::Float"""
1203  return _IMP_kinematics.RevoluteJointMover_get_sigma(self)
1204 
1205 
1206  def get_version_info(self):
1207  """get_version_info(RevoluteJointMover self) -> VersionInfo"""
1208  return _IMP_kinematics.RevoluteJointMover_get_version_info(self)
1209 
1210 
1211  def __str__(self):
1212  """__str__(RevoluteJointMover self) -> std::string"""
1213  return _IMP_kinematics.RevoluteJointMover___str__(self)
1214 
1215 
1216  def __repr__(self):
1217  """__repr__(RevoluteJointMover self) -> std::string"""
1218  return _IMP_kinematics.RevoluteJointMover___repr__(self)
1219 
1220 
1221  @staticmethod
1222  def get_from(o):
1223  return _object_cast_to_RevoluteJointMover(o)
1224 
1225 RevoluteJointMover_swigregister = _IMP_kinematics.RevoluteJointMover_swigregister
1226 RevoluteJointMover_swigregister(RevoluteJointMover)
1227 
1228 class DihedralMover(IMP.core.MonteCarloMover):
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')
1231 
1232  def __init__(self, m, joints, max_rot=0.1):
1233  """
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
1236  """
1237  this = _IMP_kinematics.new_DihedralMover(m, joints, max_rot)
1238  try:
1239  self.this.append(this)
1240  except:
1241  self.this = this
1242 
1243  def get_version_info(self):
1244  """get_version_info(DihedralMover self) -> VersionInfo"""
1245  return _IMP_kinematics.DihedralMover_get_version_info(self)
1246 
1247 
1248  def __str__(self):
1249  """__str__(DihedralMover self) -> std::string"""
1250  return _IMP_kinematics.DihedralMover___str__(self)
1251 
1252 
1253  def __repr__(self):
1254  """__repr__(DihedralMover self) -> std::string"""
1255  return _IMP_kinematics.DihedralMover___repr__(self)
1256 
1257 
1258  @staticmethod
1259  def get_from(o):
1260  return _object_cast_to_DihedralMover(o)
1261 
1262 DihedralMover_swigregister = _IMP_kinematics.DihedralMover_swigregister
1263 DihedralMover_swigregister(DihedralMover)
1264 
1265 class KinematicForest(IMP.Object):
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')
1268 
1269  def get_version_info(self):
1270  """get_version_info(KinematicForest self) -> VersionInfo"""
1271  return _IMP_kinematics.KinematicForest_get_version_info(self)
1272 
1273 
1274  def __init__(self, *args):
1275  """
1276  __init__(IMP::kinematics::KinematicForest self, Model m) -> KinematicForest
1277  __init__(IMP::kinematics::KinematicForest self, Model m, Hierarchy hierarchy) -> KinematicForest
1278  """
1279  this = _IMP_kinematics.new_KinematicForest(*args)
1280  try:
1281  self.this.append(this)
1282  except:
1283  self.this = this
1284 
1285  def add_edge(self, *args):
1286  """
1287  add_edge(KinematicForest self, RigidBody parent, RigidBody child) -> Joint
1288  add_edge(KinematicForest self, Joint joint)
1289  """
1290  return _IMP_kinematics.KinematicForest_add_edge(self, *args)
1291 
1292 
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)
1296 
1297 
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)
1301 
1302 
1303  def update_all_internal_coordinates(self):
1304  """update_all_internal_coordinates(KinematicForest self)"""
1305  return _IMP_kinematics.KinematicForest_update_all_internal_coordinates(self)
1306 
1307 
1308  def update_all_external_coordinates(self):
1309  """update_all_external_coordinates(KinematicForest self)"""
1310  return _IMP_kinematics.KinematicForest_update_all_external_coordinates(self)
1311 
1312 
1313  def get_ordered_joints(self):
1314  """get_ordered_joints(KinematicForest self) -> IMP::kinematics::Joints"""
1315  return _IMP_kinematics.KinematicForest_get_ordered_joints(self)
1316 
1317 
1318  def transform_safe(self, tr):
1319  """transform_safe(KinematicForest self, Transformation3D tr)"""
1320  return _IMP_kinematics.KinematicForest_transform_safe(self, tr)
1321 
1322 
1323  def mark_internal_coordinates_changed(self):
1324  """mark_internal_coordinates_changed(KinematicForest self)"""
1325  return _IMP_kinematics.KinematicForest_mark_internal_coordinates_changed(self)
1326 
1327 
1328  def mark_external_coordinates_changed(self):
1329  """mark_external_coordinates_changed(KinematicForest self)"""
1330  return _IMP_kinematics.KinematicForest_mark_external_coordinates_changed(self)
1331 
1332 
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)
1336 
1337 
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)
1341 
1342 
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)
1346 
1347 
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)
1351 
1352 
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)
1356 
1357 
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)
1361 
1362 
1363  def __str__(self):
1364  """__str__(KinematicForest self) -> std::string"""
1365  return _IMP_kinematics.KinematicForest___str__(self)
1366 
1367 
1368  def __repr__(self):
1369  """__repr__(KinematicForest self) -> std::string"""
1370  return _IMP_kinematics.KinematicForest___repr__(self)
1371 
1372 
1373  @staticmethod
1374  def get_from(o):
1375  return _object_cast_to_KinematicForest(o)
1376 
1377 KinematicForest_swigregister = _IMP_kinematics.KinematicForest_swigregister
1378 KinematicForest_swigregister(KinematicForest)
1379 
1380 class KinematicForestScoreState(IMP.ScoreState):
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')
1383 
1384  def get_version_info(self):
1385  """get_version_info(KinematicForestScoreState self) -> VersionInfo"""
1386  return _IMP_kinematics.KinematicForestScoreState_get_version_info(self)
1387 
1388 
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)
1392  try:
1393  self.this.append(this)
1394  except:
1395  self.this = this
1396 
1397  def do_before_evaluate(self):
1398  """do_before_evaluate(KinematicForestScoreState self)"""
1399  return _IMP_kinematics.KinematicForestScoreState_do_before_evaluate(self)
1400 
1401 
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)
1405 
1406 
1407  def do_get_inputs(self):
1408  """do_get_inputs(KinematicForestScoreState self) -> IMP::ModelObjectsTemp"""
1409  return _IMP_kinematics.KinematicForestScoreState_do_get_inputs(self)
1410 
1411 
1412  def do_get_outputs(self):
1413  """do_get_outputs(KinematicForestScoreState self) -> IMP::ModelObjectsTemp"""
1414  return _IMP_kinematics.KinematicForestScoreState_do_get_outputs(self)
1415 
1416 
1417  def __str__(self):
1418  """__str__(KinematicForestScoreState self) -> std::string"""
1419  return _IMP_kinematics.KinematicForestScoreState___str__(self)
1420 
1421 
1422  def __repr__(self):
1423  """__repr__(KinematicForestScoreState self) -> std::string"""
1424  return _IMP_kinematics.KinematicForestScoreState___repr__(self)
1425 
1426 
1427  @staticmethod
1428  def get_from(o):
1429  return _object_cast_to_KinematicForestScoreState(o)
1430 
1431 KinematicForestScoreState_swigregister = _IMP_kinematics.KinematicForestScoreState_swigregister
1432 KinematicForestScoreState_swigregister(KinematicForestScoreState)
1433 
1434 class DOF(IMP.Object):
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')
1437 
1438  def get_version_info(self):
1439  """get_version_info(DOF self) -> VersionInfo"""
1440  return _IMP_kinematics.DOF_get_version_info(self)
1441 
1442 
1443  def __init__(self, *args):
1444  """
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
1447  """
1448  this = _IMP_kinematics.new_DOF(*args)
1449  try:
1450  self.this.append(this)
1451  except:
1452  self.this = this
1453 
1454  def get_value(self):
1455  """get_value(DOF self) -> double"""
1456  return _IMP_kinematics.DOF_get_value(self)
1457 
1458 
1459  def set_value(self, v):
1460  """set_value(DOF self, double v)"""
1461  return _IMP_kinematics.DOF_set_value(self, v)
1462 
1463 
1464  def get_range(self):
1465  """get_range(DOF self) -> std::pair< double,double >"""
1466  return _IMP_kinematics.DOF_get_range(self)
1467 
1468 
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)
1472 
1473 
1474  def get_step_size(self):
1475  """get_step_size(DOF self) -> double"""
1476  return _IMP_kinematics.DOF_get_step_size(self)
1477 
1478 
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)
1482 
1483 
1484  def get_number_of_steps(self, *args):
1485  """
1486  get_number_of_steps(DOF self, double value) -> int
1487  get_number_of_steps(DOF self, double value1, double value2) -> int
1488  """
1489  return _IMP_kinematics.DOF_get_number_of_steps(self, *args)
1490 
1491 
1492  def __str__(self):
1493  """__str__(DOF self) -> std::string"""
1494  return _IMP_kinematics.DOF___str__(self)
1495 
1496 
1497  def __repr__(self):
1498  """__repr__(DOF self) -> std::string"""
1499  return _IMP_kinematics.DOF___repr__(self)
1500 
1501 
1502  @staticmethod
1503  def get_from(o):
1504  return _object_cast_to_DOF(o)
1505 
1506 DOF_swigregister = _IMP_kinematics.DOF_swigregister
1507 DOF_swigregister(DOF)
1508 
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')
1512 
1513  def __init__(self, *args):
1514  """
1515  __init__(IMP::kinematics::DOFValues self, IMP::kinematics::DOFs const & dofs) -> DOFValues
1516  __init__(IMP::kinematics::DOFValues self) -> DOFValues
1517  """
1518  this = _IMP_kinematics.new_DOFValues(*args)
1519  try:
1520  self.this.append(this)
1521  except:
1522  self.this = this
1523 
1524  def get_distance2(self, *args):
1525  """
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
1528  """
1529  return _IMP_kinematics.DOFValues_get_distance2(self, *args)
1530 
1531 
1532  def get_distance(self, *args):
1533  """
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
1536  """
1537  return _IMP_kinematics.DOFValues_get_distance(self, *args)
1538 
1539 
1540  def show(self, *args):
1541  """
1542  show(DOFValues self, _ostream out)
1543  show(DOFValues self)
1544  """
1545  return _IMP_kinematics.DOFValues_show(self, *args)
1546 
1547 
1548  def __str__(self):
1549  """__str__(DOFValues self) -> std::string"""
1550  return _IMP_kinematics.DOFValues___str__(self)
1551 
1552 
1553  def __repr__(self):
1554  """__repr__(DOFValues self) -> std::string"""
1555  return _IMP_kinematics.DOFValues___repr__(self)
1556 
1557  __swig_destroy__ = _IMP_kinematics.delete_DOFValues
1558  __del__ = lambda self: None
1559 DOFValues_swigregister = _IMP_kinematics.DOFValues_swigregister
1560 DOFValues_swigregister(DOFValues)
1561 
1562 class DirectionalDOF(IMP.Object):
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')
1565 
1566  def __init__(self, dofs):
1567  """__init__(IMP::kinematics::DirectionalDOF self, IMP::kinematics::DOFs const & dofs) -> DirectionalDOF"""
1568  this = _IMP_kinematics.new_DirectionalDOF(dofs)
1569  try:
1570  self.this.append(this)
1571  except:
1572  self.this = this
1573 
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)
1577 
1578 
1579  def get_dofs_values(self):
1580  """get_dofs_values(DirectionalDOF self) -> DOFValues"""
1581  return _IMP_kinematics.DirectionalDOF_get_dofs_values(self)
1582 
1583 
1584  def get_value(self):
1585  """get_value(DirectionalDOF self) -> double"""
1586  return _IMP_kinematics.DirectionalDOF_get_value(self)
1587 
1588 
1589  def get_version_info(self):
1590  """get_version_info(DirectionalDOF self) -> VersionInfo"""
1591  return _IMP_kinematics.DirectionalDOF_get_version_info(self)
1592 
1593 
1594  def __str__(self):
1595  """__str__(DirectionalDOF self) -> std::string"""
1596  return _IMP_kinematics.DirectionalDOF___str__(self)
1597 
1598 
1599  def __repr__(self):
1600  """__repr__(DirectionalDOF self) -> std::string"""
1601  return _IMP_kinematics.DirectionalDOF___repr__(self)
1602 
1603 
1604  @staticmethod
1605  def get_from(o):
1606  return _object_cast_to_DirectionalDOF(o)
1607 
1608 DirectionalDOF_swigregister = _IMP_kinematics.DirectionalDOF_swigregister
1609 DirectionalDOF_swigregister(DirectionalDOF)
1610 
1611 class DOFsSampler(IMP.Object):
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')
1614 
1615  def get_type_name(self):
1616  """get_type_name(DOFsSampler self) -> std::string"""
1617  return _IMP_kinematics.DOFsSampler_get_type_name(self)
1618 
1619 
1620  def get_version_info(self):
1621  """get_version_info(DOFsSampler self) -> VersionInfo"""
1622  return _IMP_kinematics.DOFsSampler_get_version_info(self)
1623 
1624 
1625  def __init__(self, dofs):
1626  """__init__(IMP::kinematics::DOFsSampler self, IMP::kinematics::DOFs dofs) -> DOFsSampler"""
1627  if self.__class__ == DOFsSampler:
1628  _self = None
1629  else:
1630  _self = self
1631  this = _IMP_kinematics.new_DOFsSampler(_self, dofs)
1632  try:
1633  self.this.append(this)
1634  except:
1635  self.this = this
1636 
1637  if self.__class__ != DOFsSampler:
1638  _director_objects.register(self)
1639 
1640 
1641 
1642 
1643  def get_sample(self):
1644  """get_sample(DOFsSampler self) -> DOFValues"""
1645  return _IMP_kinematics.DOFsSampler_get_sample(self)
1646 
1647 
1648  def apply(self, values):
1649  """apply(DOFsSampler self, DOFValues values)"""
1650  return _IMP_kinematics.DOFsSampler_apply(self, values)
1651 
1652 
1653  def apply_last_sample(self):
1654  """apply_last_sample(DOFsSampler self)"""
1655  return _IMP_kinematics.DOFsSampler_apply_last_sample(self)
1656 
1657 
1658  def sample_and_apply(self):
1659  """sample_and_apply(DOFsSampler self)"""
1660  return _IMP_kinematics.DOFsSampler_sample_and_apply(self)
1661 
1662 
1663  def get_dofs(self):
1664  """get_dofs(DOFsSampler self) -> IMP::kinematics::DOFs const &"""
1665  return _IMP_kinematics.DOFsSampler_get_dofs(self)
1666 
1667 
1668  def get_dof(self, i):
1669  """get_dof(DOFsSampler self, unsigned int i) -> DOF"""
1670  return _IMP_kinematics.DOFsSampler_get_dof(self, i)
1671 
1672 
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)
1676 
1677 
1678  def do_get_sample(self):
1679  """do_get_sample(DOFsSampler self) -> DOFValues"""
1680  return _IMP_kinematics.DOFsSampler_do_get_sample(self)
1681 
1682 
1683  def __str__(self):
1684  """__str__(DOFsSampler self) -> std::string"""
1685  return _IMP_kinematics.DOFsSampler___str__(self)
1686 
1687 
1688  def __repr__(self):
1689  """__repr__(DOFsSampler self) -> std::string"""
1690  return _IMP_kinematics.DOFsSampler___repr__(self)
1691 
1692 
1693  @staticmethod
1694  def get_from(o):
1695  return _object_cast_to_DOFsSampler(o)
1696 
1697 
1698  def get_type_name(self):
1699  return self.__class__.__name__
1700  def do_show(self, out):
1701  pass
1702  def get_version_info(self):
1703  if"IMP::kinematics" == "IMP":
1704  return VersionInfo(self.__module__,
1705  __import__(self.__module__).get_module_version())
1706  else:
1707  return IMP.VersionInfo(self.__module__,
1708  __import__(self.__module__).get_module_version())
1709  @staticmethod
1710  def get_from(o):
1711  return _object_cast_to_DOFsSampler(o)
1712 
1713  def __disown__(self):
1714  self.this.disown()
1715  _IMP_kinematics.disown_DOFsSampler(self)
1716  return weakref_proxy(self)
1717 
1718  def do_destroy(self):
1719  """do_destroy(DOFsSampler self)"""
1720  return _IMP_kinematics.DOFsSampler_do_destroy(self)
1721 
1722 DOFsSampler_swigregister = _IMP_kinematics.DOFsSampler_swigregister
1723 DOFsSampler_swigregister(DOFsSampler)
1724 
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')
1728 
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)
1732  try:
1733  self.this.append(this)
1734  except:
1735  self.this = this
1736 
1737  def apply_floats(self, values):
1738  """apply_floats(FibrilSampler self, IMP::Floats const & values)"""
1739  return _IMP_kinematics.FibrilSampler_apply_floats(self, values)
1740 
1741 
1742  def get_dihedral_joints(self):
1743  """get_dihedral_joints(FibrilSampler self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1744  return _IMP_kinematics.FibrilSampler_get_dihedral_joints(self)
1745 
1746 
1747  def get_transformation_joint(self):
1748  """get_transformation_joint(FibrilSampler self) -> IMP::kinematics::TransformationJoints"""
1749  return _IMP_kinematics.FibrilSampler_get_transformation_joint(self)
1750 
1751 
1752  def __str__(self):
1753  """__str__(FibrilSampler self) -> std::string"""
1754  return _IMP_kinematics.FibrilSampler___str__(self)
1755 
1756 
1757  def __repr__(self):
1758  """__repr__(FibrilSampler self) -> std::string"""
1759  return _IMP_kinematics.FibrilSampler___repr__(self)
1760 
1761 
1762  @staticmethod
1763  def get_from(o):
1764  return _object_cast_to_FibrilSampler(o)
1765 
1766  __swig_destroy__ = _IMP_kinematics.delete_FibrilSampler
1767  __del__ = lambda self: None
1768 FibrilSampler_swigregister = _IMP_kinematics.FibrilSampler_swigregister
1769 FibrilSampler_swigregister(FibrilSampler)
1770 
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')
1774 
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)
1778  try:
1779  self.this.append(this)
1780  except:
1781  self.this = this
1782 
1783  def apply_floats(self, values):
1784  """apply_floats(UniformBackboneSampler self, IMP::Floats const & values)"""
1785  return _IMP_kinematics.UniformBackboneSampler_apply_floats(self, values)
1786 
1787 
1788  def get_joints(self):
1789  """get_joints(UniformBackboneSampler self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1790  return _IMP_kinematics.UniformBackboneSampler_get_joints(self)
1791 
1792 
1793  def __str__(self):
1794  """__str__(UniformBackboneSampler self) -> std::string"""
1795  return _IMP_kinematics.UniformBackboneSampler___str__(self)
1796 
1797 
1798  def __repr__(self):
1799  """__repr__(UniformBackboneSampler self) -> std::string"""
1800  return _IMP_kinematics.UniformBackboneSampler___repr__(self)
1801 
1802 
1803  @staticmethod
1804  def get_from(o):
1805  return _object_cast_to_UniformBackboneSampler(o)
1806 
1807  __swig_destroy__ = _IMP_kinematics.delete_UniformBackboneSampler
1808  __del__ = lambda self: None
1809 UniformBackboneSampler_swigregister = _IMP_kinematics.UniformBackboneSampler_swigregister
1810 UniformBackboneSampler_swigregister(UniformBackboneSampler)
1811 
1812 
1813 _IMP_kinematics.PHI_swigconstant(_IMP_kinematics)
1814 PHI = _IMP_kinematics.PHI
1815 
1816 _IMP_kinematics.PSI_swigconstant(_IMP_kinematics)
1817 PSI = _IMP_kinematics.PSI
1818 
1819 _IMP_kinematics.CHI_swigconstant(_IMP_kinematics)
1820 CHI = _IMP_kinematics.CHI
1821 
1822 _IMP_kinematics.CHI1_swigconstant(_IMP_kinematics)
1823 CHI1 = _IMP_kinematics.CHI1
1824 
1825 _IMP_kinematics.CHI2_swigconstant(_IMP_kinematics)
1826 CHI2 = _IMP_kinematics.CHI2
1827 
1828 _IMP_kinematics.CHI3_swigconstant(_IMP_kinematics)
1829 CHI3 = _IMP_kinematics.CHI3
1830 
1831 _IMP_kinematics.CHI4_swigconstant(_IMP_kinematics)
1832 CHI4 = _IMP_kinematics.CHI4
1833 
1834 _IMP_kinematics.CHI5_swigconstant(_IMP_kinematics)
1835 CHI5 = _IMP_kinematics.CHI5
1836 
1837 _IMP_kinematics.OTHER_swigconstant(_IMP_kinematics)
1838 OTHER = _IMP_kinematics.OTHER
1839 
1840 _IMP_kinematics.OTHER2_swigconstant(_IMP_kinematics)
1841 OTHER2 = _IMP_kinematics.OTHER2
1842 
1843 _IMP_kinematics.OTHER3_swigconstant(_IMP_kinematics)
1844 OTHER3 = _IMP_kinematics.OTHER3
1845 
1846 _IMP_kinematics.OTHER4_swigconstant(_IMP_kinematics)
1847 OTHER4 = _IMP_kinematics.OTHER4
1848 
1849 _IMP_kinematics.OTHER5_swigconstant(_IMP_kinematics)
1850 OTHER5 = _IMP_kinematics.OTHER5
1851 
1852 _IMP_kinematics.TOTAL_swigconstant(_IMP_kinematics)
1853 TOTAL = _IMP_kinematics.TOTAL
1854 class ProteinKinematics(IMP.Object):
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')
1857 
1858  def __init__(self, *args):
1859  """
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
1875  """
1876  this = _IMP_kinematics.new_ProteinKinematics(*args)
1877  try:
1878  self.this.append(this)
1879  except:
1880  self.this = this
1881 
1882  def get_phi(self, r):
1883  """get_phi(ProteinKinematics self, Residue r) -> double"""
1884  return _IMP_kinematics.ProteinKinematics_get_phi(self, r)
1885 
1886 
1887  def get_psi(self, r):
1888  """get_psi(ProteinKinematics self, Residue r) -> double"""
1889  return _IMP_kinematics.ProteinKinematics_get_psi(self, r)
1890 
1891 
1892  def get_joints(self):
1893  """get_joints(ProteinKinematics self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1894  return _IMP_kinematics.ProteinKinematics_get_joints(self)
1895 
1896 
1897  def get_loop_joints(self):
1898  """get_loop_joints(ProteinKinematics self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1899  return _IMP_kinematics.ProteinKinematics_get_loop_joints(self)
1900 
1901 
1902  def get_ordered_joints(self):
1903  """get_ordered_joints(ProteinKinematics self) -> IMP::kinematics::DihedralAngleRevoluteJoints"""
1904  return _IMP_kinematics.ProteinKinematics_get_ordered_joints(self)
1905 
1906 
1907  def get_kinematic_forest(self):
1908  """get_kinematic_forest(ProteinKinematics self) -> KinematicForest"""
1909  return _IMP_kinematics.ProteinKinematics_get_kinematic_forest(self)
1910 
1911 
1912  def get_rigid_bodies(self):
1913  """get_rigid_bodies(ProteinKinematics self) -> IMP::core::RigidBodies"""
1914  return _IMP_kinematics.ProteinKinematics_get_rigid_bodies(self)
1915 
1916 
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)
1920 
1921 
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)
1925 
1926 
1927  def get_version_info(self):
1928  """get_version_info(ProteinKinematics self) -> VersionInfo"""
1929  return _IMP_kinematics.ProteinKinematics_get_version_info(self)
1930 
1931 
1932  def build_topology_graph(self):
1933  """build_topology_graph(ProteinKinematics self)"""
1934  return _IMP_kinematics.ProteinKinematics_build_topology_graph(self)
1935 
1936 
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)
1940 
1941 
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)
1945 
1946 
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)
1950 
1951 
1952  def build_rigid_bodies(self):
1953  """build_rigid_bodies(ProteinKinematics self)"""
1954  return _IMP_kinematics.ProteinKinematics_build_rigid_bodies(self)
1955 
1956 
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)
1960 
1961 
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)
1965 
1966 
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)
1970 
1971 
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)
1975 
1976 
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)
1980 
1981 
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)
1985 
1986 
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)
1990 
1991 
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)
1995 
1996 
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)
2000 
2001 
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)
2005 
2006 
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)
2010 
2011 
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)
2015 
2016 
2017  def __str__(self):
2018  """__str__(ProteinKinematics self) -> std::string"""
2019  return _IMP_kinematics.ProteinKinematics___str__(self)
2020 
2021 
2022  def __repr__(self):
2023  """__repr__(ProteinKinematics self) -> std::string"""
2024  return _IMP_kinematics.ProteinKinematics___repr__(self)
2025 
2026 
2027  @staticmethod
2028  def get_from(o):
2029  return _object_cast_to_ProteinKinematics(o)
2030 
2031 ProteinKinematics_swigregister = _IMP_kinematics.ProteinKinematics_swigregister
2032 ProteinKinematics_swigregister(ProteinKinematics)
2033 
2034 class LocalPlanner(IMP.Object):
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')
2037 
2038  def __init__(self, *args, **kwargs):
2039  raise AttributeError("No constructor defined - class is abstract")
2040 
2041  def get_version_info(self):
2042  """get_version_info(LocalPlanner self) -> VersionInfo"""
2043  return _IMP_kinematics.LocalPlanner_get_version_info(self)
2044 
2045 
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)
2049 
2050 
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)
2054 
2055 
2056  def __str__(self):
2057  """__str__(LocalPlanner self) -> std::string"""
2058  return _IMP_kinematics.LocalPlanner___str__(self)
2059 
2060 
2061  def __repr__(self):
2062  """__repr__(LocalPlanner self) -> std::string"""
2063  return _IMP_kinematics.LocalPlanner___repr__(self)
2064 
2065 
2066  @staticmethod
2067  def get_from(o):
2068  return _object_cast_to_LocalPlanner(o)
2069 
2070 LocalPlanner_swigregister = _IMP_kinematics.LocalPlanner_swigregister
2071 LocalPlanner_swigregister(LocalPlanner)
2072 
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')
2076 
2077  def __init__(self, model, dofs_sampler, directional_dof, save_step_interval=1):
2078  """
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
2081  """
2082  this = _IMP_kinematics.new_PathLocalPlanner(model, dofs_sampler, directional_dof, save_step_interval)
2083  try:
2084  self.this.append(this)
2085  except:
2086  self.this = this
2087 
2088  def __str__(self):
2089  """__str__(PathLocalPlanner self) -> std::string"""
2090  return _IMP_kinematics.PathLocalPlanner___str__(self)
2091 
2092 
2093  def __repr__(self):
2094  """__repr__(PathLocalPlanner self) -> std::string"""
2095  return _IMP_kinematics.PathLocalPlanner___repr__(self)
2096 
2097 
2098  @staticmethod
2099  def get_from(o):
2100  return _object_cast_to_PathLocalPlanner(o)
2101 
2102  __swig_destroy__ = _IMP_kinematics.delete_PathLocalPlanner
2103  __del__ = lambda self: None
2104 PathLocalPlanner_swigregister = _IMP_kinematics.PathLocalPlanner_swigregister
2105 PathLocalPlanner_swigregister(PathLocalPlanner)
2106 
2107 class RRT(IMP.Sampler):
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')
2110 
2111  def get_version_info(self):
2112  """get_version_info(RRT self) -> VersionInfo"""
2113  return _IMP_kinematics.RRT_get_version_info(self)
2114 
2115 
2116  def __init__(self, m, sampler, planner, cspace_dofs, iteration_number=1000, tree_size=100, number_of_sampled_dofs=0):
2117  """
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
2122  """
2123  this = _IMP_kinematics.new_RRT(m, sampler, planner, cspace_dofs, iteration_number, tree_size, number_of_sampled_dofs)
2124  try:
2125  self.this.append(this)
2126  except:
2127  self.this = this
2128 
2129  def do_sample(self):
2130  """do_sample(RRT self) -> ConfigurationSet"""
2131  return _IMP_kinematics.RRT_do_sample(self)
2132 
2133 
2134  def run(self, number_of_iterations=0):
2135  """
2136  run(RRT self, unsigned int number_of_iterations=0) -> bool
2137  run(RRT self) -> bool
2138  """
2139  return _IMP_kinematics.RRT_run(self, number_of_iterations)
2140 
2141 
2142  def get_DOFValuesList(self):
2143  """get_DOFValuesList(RRT self) -> IMP::kinematics::DOFValuesList"""
2144  return _IMP_kinematics.RRT_get_DOFValuesList(self)
2145 
2146 
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)
2150 
2151 
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)
2155 
2156 
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)
2160 
2161 
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)
2165 
2166 
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)
2170 
2171 
2172  def __str__(self):
2173  """__str__(RRT self) -> std::string"""
2174  return _IMP_kinematics.RRT___str__(self)
2175 
2176 
2177  def __repr__(self):
2178  """__repr__(RRT self) -> std::string"""
2179  return _IMP_kinematics.RRT___repr__(self)
2180 
2181 
2182  @staticmethod
2183  def get_from(o):
2184  return _object_cast_to_RRT(o)
2185 
2186 RRT_swigregister = _IMP_kinematics.RRT_swigregister
2187 RRT_swigregister(RRT)
2188 
2189 
2190 def get_module_version():
2191  """get_module_version() -> std::string const"""
2192  return _IMP_kinematics.get_module_version()
2193 
2194 def get_example_path(fname):
2195  """get_example_path(std::string fname) -> std::string"""
2196  return _IMP_kinematics.get_example_path(fname)
2197 
2198 def get_data_path(fname):
2199  """get_data_path(std::string fname) -> std::string"""
2200  return _IMP_kinematics.get_data_path(fname)
2201 
2202 from . import _version_check
2203 _version_check.check_version(get_module_version())
2204 __version__ = get_module_version()
2205 
2206 
2207 
Various classes to hold sets of particles.
Make CGAL functionality available to IMP.
Base class for all samplers.
Definition: Sampler.h:31
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()
Definition: Object.h:231
Common base class for heavy weight IMP objects.
Definition: Object.h:106
ScoreStates maintain invariants in the Model.
Definition: ScoreState.h:54
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.
Definition: VersionInfo.h:28
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.
Definition: Object.h:173
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.