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