IMP logo
IMP Reference Guide  2.6.2
The Integrative Modeling Platform
kinematics/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.8
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 # This wrapper is part of IMP,
8 # Copyright 2007-2016 IMP Inventors. All rights reserved.
9 
10 from __future__ import print_function, division, absolute_import
11 
12 
13 
14 
15 from sys import version_info
16 if version_info >= (2, 6, 0):
17  def swig_import_helper():
18  from os.path import dirname
19  import imp
20  fp = None
21  try:
22  fp, pathname, description = imp.find_module('_IMP_kinematics', [dirname(__file__)])
23  except ImportError:
24  import _IMP_kinematics
25  return _IMP_kinematics
26  if fp is not None:
27  try:
28  _mod = imp.load_module('_IMP_kinematics', fp, pathname, description)
29  finally:
30  fp.close()
31  return _mod
32  _IMP_kinematics = swig_import_helper()
33  del swig_import_helper
34 else:
35  import _IMP_kinematics
36 del version_info
37 try:
38  _swig_property = property
39 except NameError:
40  pass # Python < 2.2 doesn't have 'property'.
41 
42 
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44  if (name == "thisown"):
45  return self.this.own(value)
46  if (name == "this"):
47  if type(value).__name__ == 'SwigPyObject':
48  self.__dict__[name] = value
49  return
50  method = class_type.__swig_setmethods__.get(name, None)
51  if method:
52  return method(self, value)
53  if (not static):
54  object.__setattr__(self, name, value)
55  else:
56  raise AttributeError("You cannot add attributes to %s" % self)
57 
58 
59 def _swig_setattr(self, class_type, name, value):
60  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
61 
62 
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64  if (name == "thisown"):
65  return self.this.own()
66  method = class_type.__swig_getmethods__.get(name, None)
67  if method:
68  return method(self)
69  if (not static):
70  return object.__getattr__(self, name)
71  else:
72  raise AttributeError(name)
73 
74 def _swig_getattr(self, class_type, name):
75  return _swig_getattr_nondynamic(self, class_type, name, 0)
76 
77 
78 def _swig_repr(self):
79  try:
80  strthis = "proxy of " + self.this.__repr__()
81  except Exception:
82  strthis = ""
83  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
84 
85 try:
86  _object = object
87  _newclass = 1
88 except AttributeError:
89  class _object:
90  pass
91  _newclass = 0
92 
93 
94 
95 def _swig_setattr_nondynamic_method(set):
96  def set_attr(self, name, value):
97  if (name == "thisown"):
98  return self.this.own(value)
99  if hasattr(self, name) or (name == "this"):
100  set(self, name, value)
101  else:
102  raise AttributeError("You cannot add attributes to %s" % self)
103  return set_attr
104 
105 
106 try:
107  import weakref
108  weakref_proxy = weakref.proxy
109 except Exception:
110  weakref_proxy = lambda x: x
111 
112 
113 class IMP_KINEMATICS_SwigPyIterator(object):
114  """Proxy of C++ swig::IMP_KINEMATICS_SwigPyIterator class."""
115 
116  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
117 
118  def __init__(self, *args, **kwargs):
119  raise AttributeError("No constructor defined - class is abstract")
120  __repr__ = _swig_repr
121  __swig_destroy__ = _IMP_kinematics.delete_IMP_KINEMATICS_SwigPyIterator
122  __del__ = lambda self: None
123 
124  def value(self):
125  """value(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
126  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_value(self)
127 
128 
129  def incr(self, n=1):
130  """
131  incr(IMP_KINEMATICS_SwigPyIterator self, size_t n=1) -> IMP_KINEMATICS_SwigPyIterator
132  incr(IMP_KINEMATICS_SwigPyIterator self) -> IMP_KINEMATICS_SwigPyIterator
133  """
134  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_incr(self, n)
135 
136 
137  def decr(self, n=1):
138  """
139  decr(IMP_KINEMATICS_SwigPyIterator self, size_t n=1) -> IMP_KINEMATICS_SwigPyIterator
140  decr(IMP_KINEMATICS_SwigPyIterator self) -> IMP_KINEMATICS_SwigPyIterator
141  """
142  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_decr(self, n)
143 
144 
145  def distance(self, x):
146  """distance(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> ptrdiff_t"""
147  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_distance(self, x)
148 
149 
150  def equal(self, x):
151  """equal(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> bool"""
152  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_equal(self, x)
153 
154 
155  def copy(self):
156  """copy(IMP_KINEMATICS_SwigPyIterator self) -> IMP_KINEMATICS_SwigPyIterator"""
157  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_copy(self)
158 
159 
160  def next(self):
161  """next(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
162  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_next(self)
163 
164 
165  def __next__(self):
166  """__next__(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
167  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___next__(self)
168 
169 
170  def previous(self):
171  """previous(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
172  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_previous(self)
173 
174 
175  def advance(self, n):
176  """advance(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator"""
177  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_advance(self, n)
178 
179 
180  def __eq__(self, x):
181  """__eq__(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> bool"""
182  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___eq__(self, x)
183 
184 
185  def __ne__(self, x):
186  """__ne__(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> bool"""
187  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___ne__(self, x)
188 
189 
190  def __iadd__(self, n):
191  """__iadd__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator"""
192  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___iadd__(self, n)
193 
194 
195  def __isub__(self, n):
196  """__isub__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator"""
197  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___isub__(self, n)
198 
199 
200  def __add__(self, n):
201  """__add__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator"""
202  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___add__(self, n)
203 
204 
205  def __sub__(self, *args):
206  """
207  __sub__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator
208  __sub__(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> ptrdiff_t
209  """
210  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___sub__(self, *args)
211 
212  def __iter__(self):
213  return self
214 IMP_KINEMATICS_SwigPyIterator_swigregister = _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_swigregister
215 IMP_KINEMATICS_SwigPyIterator_swigregister(IMP_KINEMATICS_SwigPyIterator)
216 
217 
218 _value_types=[]
219 _object_types=[]
220 _raii_types=[]
221 _plural_types=[]
222 
223 
224 _IMP_kinematics.IMP_DEBUG_swigconstant(_IMP_kinematics)
225 IMP_DEBUG = _IMP_kinematics.IMP_DEBUG
226 
227 _IMP_kinematics.IMP_RELEASE_swigconstant(_IMP_kinematics)
228 IMP_RELEASE = _IMP_kinematics.IMP_RELEASE
229 
230 _IMP_kinematics.IMP_SILENT_swigconstant(_IMP_kinematics)
231 IMP_SILENT = _IMP_kinematics.IMP_SILENT
232 
233 _IMP_kinematics.IMP_PROGRESS_swigconstant(_IMP_kinematics)
234 IMP_PROGRESS = _IMP_kinematics.IMP_PROGRESS
235 
236 _IMP_kinematics.IMP_TERSE_swigconstant(_IMP_kinematics)
237 IMP_TERSE = _IMP_kinematics.IMP_TERSE
238 
239 _IMP_kinematics.IMP_VERBOSE_swigconstant(_IMP_kinematics)
240 IMP_VERBOSE = _IMP_kinematics.IMP_VERBOSE
241 
242 _IMP_kinematics.IMP_MEMORY_swigconstant(_IMP_kinematics)
243 IMP_MEMORY = _IMP_kinematics.IMP_MEMORY
244 
245 _IMP_kinematics.IMP_NONE_swigconstant(_IMP_kinematics)
246 IMP_NONE = _IMP_kinematics.IMP_NONE
247 
248 _IMP_kinematics.IMP_USAGE_swigconstant(_IMP_kinematics)
249 IMP_USAGE = _IMP_kinematics.IMP_USAGE
250 
251 _IMP_kinematics.IMP_INTERNAL_swigconstant(_IMP_kinematics)
252 IMP_INTERNAL = _IMP_kinematics.IMP_INTERNAL
253 
254 _IMP_kinematics.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_kinematics)
255 IMP_KERNEL_HAS_LOG4CXX = _IMP_kinematics.IMP_KERNEL_HAS_LOG4CXX
256 
257 _IMP_kinematics.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_kinematics)
258 IMP_COMPILER_HAS_AUTO = _IMP_kinematics.IMP_COMPILER_HAS_AUTO
259 
260 _IMP_kinematics.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_kinematics)
261 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_kinematics.IMP_COMPILER_HAS_DEBUG_VECTOR
262 
263 _IMP_kinematics.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_kinematics)
264 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_kinematics.IMP_COMPILER_HAS_UNIQUE_PTR
265 
266 _IMP_kinematics.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
267 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_KERNEL_HAS_BOOST_RANDOM
268 
269 _IMP_kinematics.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_kinematics)
270 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_kinematics.IMP_KERNEL_HAS_GPERFTOOLS
271 
272 _IMP_kinematics.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_kinematics)
273 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_kinematics.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
274 
275 _IMP_kinematics.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_kinematics)
276 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_kinematics.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
277 
278 _IMP_kinematics.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
279 IMPKERNEL_SHOW_WARNINGS = _IMP_kinematics.IMPKERNEL_SHOW_WARNINGS
280 
281 import sys
282 class _DirectorObjects(object):
283  """@internal Simple class to keep references to director objects
284  to prevent premature deletion."""
285  def __init__(self):
286  self._objects = []
287  def register(self, obj):
288  """Take a reference to a director object; will only work for
289  refcounted C++ classes"""
290  if hasattr(obj, 'get_ref_count'):
291  self._objects.append(obj)
292  def cleanup(self):
293  """Only drop our reference and allow cleanup by Python if no other
294  Python references exist (we hold 3 references: one in self._objects,
295  one in x, and one in the argument list for getrefcount) *and* no
296  other C++ references exist (the Python object always holds one)"""
297  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
298  or x.get_ref_count() > 1]
299 # Do in two steps so the references are kept until the end of the
300 # function (deleting references may trigger a fresh call to this method)
301  self._objects = objs
302  def get_object_count(self):
303  """Get number of director objects (useful for testing only)"""
304  return len(self._objects)
305 _director_objects = _DirectorObjects()
306 
307 class _ostream(object):
308  """Proxy of C++ std::ostream class."""
309 
310  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
311 
312  def __init__(self, *args, **kwargs):
313  raise AttributeError("No constructor defined")
314  __repr__ = _swig_repr
315 
316  def write(self, osa_buf):
317  """write(_ostream self, char const * osa_buf)"""
318  return _IMP_kinematics._ostream_write(self, osa_buf)
319 
320 _ostream_swigregister = _IMP_kinematics._ostream_swigregister
321 _ostream_swigregister(_ostream)
322 
323 
324 _IMP_kinematics.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_kinematics)
325 IMP_COMPILER_HAS_OVERRIDE = _IMP_kinematics.IMP_COMPILER_HAS_OVERRIDE
326 
327 _IMP_kinematics.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_kinematics)
328 IMP_COMPILER_HAS_FINAL = _IMP_kinematics.IMP_COMPILER_HAS_FINAL
329 
330 _IMP_kinematics.IMP_HAS_NOEXCEPT_swigconstant(_IMP_kinematics)
331 IMP_HAS_NOEXCEPT = _IMP_kinematics.IMP_HAS_NOEXCEPT
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.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
347 IMPCGAL_SHOW_WARNINGS = _IMP_kinematics.IMPCGAL_SHOW_WARNINGS
348 import IMP.cgal
349 
350 _IMP_kinematics.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
351 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_kinematics.IMP_ALGEBRA_HAS_IMP_CGAL
352 
353 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
354 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
355 
356 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
357 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
358 
359 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
360 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_RANDOM
361 
362 _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
363 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_SYSTEM
364 
365 _IMP_kinematics.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_kinematics)
366 IMP_ALGEBRA_HAS_CGAL = _IMP_kinematics.IMP_ALGEBRA_HAS_CGAL
367 
368 _IMP_kinematics.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_kinematics)
369 IMP_ALGEBRA_HAS_ANN = _IMP_kinematics.IMP_ALGEBRA_HAS_ANN
370 
371 _IMP_kinematics.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
372 IMPALGEBRA_SHOW_WARNINGS = _IMP_kinematics.IMPALGEBRA_SHOW_WARNINGS
373 import IMP.algebra
374 
375 _IMP_kinematics.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
376 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_kinematics.IMP_DISPLAY_HAS_IMP_CGAL
377 
378 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
379 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
380 
381 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
382 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
383 
384 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
385 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_RANDOM
386 
387 _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
388 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_SYSTEM
389 
390 _IMP_kinematics.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_kinematics)
391 IMP_DISPLAY_HAS_CGAL = _IMP_kinematics.IMP_DISPLAY_HAS_CGAL
392 
393 _IMP_kinematics.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
394 IMPDISPLAY_SHOW_WARNINGS = _IMP_kinematics.IMPDISPLAY_SHOW_WARNINGS
395 import IMP.display
396 
397 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
398 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
399 
400 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
401 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
402 
403 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
404 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
405 
406 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
407 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
408 
409 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
411 
412 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_kinematics)
413 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_CGAL
414 
415 _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_kinematics)
416 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_HDF5
417 
418 _IMP_kinematics.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
419 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_kinematics.IMPSCOREFUNCTOR_SHOW_WARNINGS
420 import IMP.score_functor
421 
422 _IMP_kinematics.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
423 IMP_CORE_HAS_IMP_CGAL = _IMP_kinematics.IMP_CORE_HAS_IMP_CGAL
424 
425 _IMP_kinematics.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
426 IMP_CORE_HAS_IMP_KERNEL = _IMP_kinematics.IMP_CORE_HAS_IMP_KERNEL
427 
428 _IMP_kinematics.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
429 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CORE_HAS_BOOST_FILESYSTEM
430 
431 _IMP_kinematics.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
432 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
433 
434 _IMP_kinematics.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
435 IMP_CORE_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CORE_HAS_BOOST_RANDOM
436 
437 _IMP_kinematics.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
438 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CORE_HAS_BOOST_SYSTEM
439 
440 _IMP_kinematics.IMP_CORE_HAS_CGAL_swigconstant(_IMP_kinematics)
441 IMP_CORE_HAS_CGAL = _IMP_kinematics.IMP_CORE_HAS_CGAL
442 
443 _IMP_kinematics.IMP_CORE_HAS_HDF5_swigconstant(_IMP_kinematics)
444 IMP_CORE_HAS_HDF5 = _IMP_kinematics.IMP_CORE_HAS_HDF5
445 
446 _IMP_kinematics.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
447 IMPCORE_SHOW_WARNINGS = _IMP_kinematics.IMPCORE_SHOW_WARNINGS
448 import IMP.core
449 
450 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_kinematics)
451 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_ALGEBRA
452 
453 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
454 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_CGAL
455 
456 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_kinematics)
457 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_DISPLAY
458 
459 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
460 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_KERNEL
461 
462 _IMP_kinematics.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_kinematics)
463 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
464 
465 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
466 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
467 
468 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
469 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
470 
471 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
472 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_RANDOM
473 
474 _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
475 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_SYSTEM
476 
477 _IMP_kinematics.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_kinematics)
478 IMP_CONTAINER_HAS_CGAL = _IMP_kinematics.IMP_CONTAINER_HAS_CGAL
479 
480 _IMP_kinematics.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_kinematics)
481 IMP_CONTAINER_HAS_HDF5 = _IMP_kinematics.IMP_CONTAINER_HAS_HDF5
482 
483 _IMP_kinematics.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
484 IMPCONTAINER_SHOW_WARNINGS = _IMP_kinematics.IMPCONTAINER_SHOW_WARNINGS
485 import IMP.container
486 
487 _IMP_kinematics.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
488 IMP_ATOM_HAS_IMP_CGAL = _IMP_kinematics.IMP_ATOM_HAS_IMP_CGAL
489 
490 _IMP_kinematics.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
491 IMP_ATOM_HAS_IMP_KERNEL = _IMP_kinematics.IMP_ATOM_HAS_IMP_KERNEL
492 
493 _IMP_kinematics.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_kinematics)
494 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
495 
496 _IMP_kinematics.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
497 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
498 
499 _IMP_kinematics.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
500 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_ATOM_HAS_BOOST_RANDOM
501 
502 _IMP_kinematics.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_kinematics)
503 IMP_ATOM_HAS_BOOST_REGEX = _IMP_kinematics.IMP_ATOM_HAS_BOOST_REGEX
504 
505 _IMP_kinematics.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
506 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_ATOM_HAS_BOOST_SYSTEM
507 
508 _IMP_kinematics.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_kinematics)
509 IMP_ATOM_HAS_CGAL = _IMP_kinematics.IMP_ATOM_HAS_CGAL
510 
511 _IMP_kinematics.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_kinematics)
512 IMP_ATOM_HAS_HDF5 = _IMP_kinematics.IMP_ATOM_HAS_HDF5
513 
514 _IMP_kinematics.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
515 IMPATOM_SHOW_WARNINGS = _IMP_kinematics.IMPATOM_SHOW_WARNINGS
516 
517 _IMP_kinematics.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_kinematics)
518 IMP_ATOM_TYPE_INDEX = _IMP_kinematics.IMP_ATOM_TYPE_INDEX
519 
520 _IMP_kinematics.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_kinematics)
521 IMP_RESIDUE_TYPE_INDEX = _IMP_kinematics.IMP_RESIDUE_TYPE_INDEX
522 
523 _IMP_kinematics.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_kinematics)
524 IMP_HIERARCHY_TYPE_INDEX = _IMP_kinematics.IMP_HIERARCHY_TYPE_INDEX
525 import IMP.atom
526 
527 _IMP_kinematics.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
528 IMP_SAXS_HAS_IMP_CGAL = _IMP_kinematics.IMP_SAXS_HAS_IMP_CGAL
529 
530 _IMP_kinematics.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_kinematics)
531 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_kinematics.IMP_SAXS_HAS_IMP_CONTAINER
532 
533 _IMP_kinematics.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_kinematics)
534 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_SAXS_HAS_IMP_DISPLAY
535 
536 _IMP_kinematics.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_kinematics)
537 IMP_SAXS_HAS_IMP_KERNEL = _IMP_kinematics.IMP_SAXS_HAS_IMP_KERNEL
538 
539 _IMP_kinematics.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_kinematics)
540 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
541 
542 _IMP_kinematics.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
543 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_SAXS_HAS_BOOST_FILESYSTEM
544 
545 _IMP_kinematics.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
546 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
547 
548 _IMP_kinematics.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
549 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_SAXS_HAS_BOOST_RANDOM
550 
551 _IMP_kinematics.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_kinematics)
552 IMP_SAXS_HAS_BOOST_REGEX = _IMP_kinematics.IMP_SAXS_HAS_BOOST_REGEX
553 
554 _IMP_kinematics.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
555 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_SAXS_HAS_BOOST_SYSTEM
556 
557 _IMP_kinematics.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_kinematics)
558 IMP_SAXS_HAS_CGAL = _IMP_kinematics.IMP_SAXS_HAS_CGAL
559 
560 _IMP_kinematics.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_kinematics)
561 IMP_SAXS_HAS_HDF5 = _IMP_kinematics.IMP_SAXS_HAS_HDF5
562 
563 _IMP_kinematics.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
564 IMPSAXS_SHOW_WARNINGS = _IMP_kinematics.IMPSAXS_SHOW_WARNINGS
565 import IMP.saxs
566 
567 _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_CGAL_swigconstant(_IMP_kinematics)
568 IMP_KINEMATICS_HAS_IMP_CGAL = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_CGAL
569 
570 _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_DISPLAY_swigconstant(_IMP_kinematics)
571 IMP_KINEMATICS_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_DISPLAY
572 
573 _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_kinematics)
574 IMP_KINEMATICS_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_SCORE_FUNCTOR
575 
576 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_kinematics)
577 IMP_KINEMATICS_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_FILESYSTEM
578 
579 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_kinematics)
580 IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS
581 
582 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_RANDOM_swigconstant(_IMP_kinematics)
583 IMP_KINEMATICS_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_RANDOM
584 
585 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_REGEX_swigconstant(_IMP_kinematics)
586 IMP_KINEMATICS_HAS_BOOST_REGEX = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_REGEX
587 
588 _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_kinematics)
589 IMP_KINEMATICS_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_SYSTEM
590 
591 _IMP_kinematics.IMP_KINEMATICS_HAS_CGAL_swigconstant(_IMP_kinematics)
592 IMP_KINEMATICS_HAS_CGAL = _IMP_kinematics.IMP_KINEMATICS_HAS_CGAL
593 
594 _IMP_kinematics.IMP_KINEMATICS_HAS_HDF5_swigconstant(_IMP_kinematics)
595 IMP_KINEMATICS_HAS_HDF5 = _IMP_kinematics.IMP_KINEMATICS_HAS_HDF5
596 
597 _IMP_kinematics.IMPKINEMATICS_SHOW_WARNINGS_swigconstant(_IMP_kinematics)
598 IMPKINEMATICS_SHOW_WARNINGS = _IMP_kinematics.IMPKINEMATICS_SHOW_WARNINGS
599 
600 _object_types.append("Joint")
601 
602 
603 def _object_cast_to_Joint(o):
604  """_object_cast_to_Joint(Object o) -> Joint"""
605  return _IMP_kinematics._object_cast_to_Joint(o)
606 
607 _object_types.append("TransformationJoint")
608 
609 
610 def _object_cast_to_TransformationJoint(o):
611  """_object_cast_to_TransformationJoint(Object o) -> TransformationJoint"""
612  return _IMP_kinematics._object_cast_to_TransformationJoint(o)
613 
614 _object_types.append("RevoluteJoint")
615 
616 
617 def _object_cast_to_RevoluteJoint(o):
618  """_object_cast_to_RevoluteJoint(Object o) -> RevoluteJoint"""
619  return _IMP_kinematics._object_cast_to_RevoluteJoint(o)
620 
621 _object_types.append("DihedralAngleRevoluteJoint")
622 
623 
624 def _object_cast_to_DihedralAngleRevoluteJoint(o):
625  """_object_cast_to_DihedralAngleRevoluteJoint(Object o) -> DihedralAngleRevoluteJoint"""
626  return _IMP_kinematics._object_cast_to_DihedralAngleRevoluteJoint(o)
627 
628 _object_types.append("BondAngleRevoluteJoint")
629 
630 
631 def _object_cast_to_BondAngleRevoluteJoint(o):
632  """_object_cast_to_BondAngleRevoluteJoint(Object o) -> BondAngleRevoluteJoint"""
633  return _IMP_kinematics._object_cast_to_BondAngleRevoluteJoint(o)
634 
635 _object_types.append("PrismaticJoint")
636 
637 
638 def _object_cast_to_PrismaticJoint(o):
639  """_object_cast_to_PrismaticJoint(Object o) -> PrismaticJoint"""
640  return _IMP_kinematics._object_cast_to_PrismaticJoint(o)
641 
642 _object_types.append("KinematicForest")
643 
644 
645 def _object_cast_to_KinematicForest(o):
646  """_object_cast_to_KinematicForest(Object o) -> KinematicForest"""
647  return _IMP_kinematics._object_cast_to_KinematicForest(o)
648 
649 _object_types.append("KinematicForestScoreState")
650 
651 
652 def _object_cast_to_KinematicForestScoreState(o):
653  """_object_cast_to_KinematicForestScoreState(Object o) -> KinematicForestScoreState"""
654  return _IMP_kinematics._object_cast_to_KinematicForestScoreState(o)
655 
656 _object_types.append("CompositeJoint")
657 
658 
659 def _object_cast_to_CompositeJoint(o):
660  """_object_cast_to_CompositeJoint(Object o) -> CompositeJoint"""
661  return _IMP_kinematics._object_cast_to_CompositeJoint(o)
662 
663 _object_types.append("RevoluteJointMover")
664 
665 
666 def _object_cast_to_RevoluteJointMover(o):
667  """_object_cast_to_RevoluteJointMover(Object o) -> RevoluteJointMover"""
668  return _IMP_kinematics._object_cast_to_RevoluteJointMover(o)
669 
670 _object_types.append("DOF")
671 
672 
673 def _object_cast_to_DOF(o):
674  """_object_cast_to_DOF(Object o) -> DOF"""
675  return _IMP_kinematics._object_cast_to_DOF(o)
676 
677 DOFValuesList=list
678 _plural_types.append("DOFValuesList")
679 _value_types.append("DOFValues")
680 
681 
682 DirectionalDOFs=list
683 _plural_types.append("DirectionalDOFs")
684 _value_types.append("DirectionalDOF")
685 
686 
687 _object_types.append("DOFsSampler")
688 
689 
690 def _object_cast_to_DOFsSampler(o):
691  """_object_cast_to_DOFsSampler(Object o) -> DOFsSampler"""
692  return _IMP_kinematics._object_cast_to_DOFsSampler(o)
693 
694 _object_types.append("UniformBackboneSampler")
695 
696 
697 def _object_cast_to_UniformBackboneSampler(o):
698  """_object_cast_to_UniformBackboneSampler(Object o) -> UniformBackboneSampler"""
699  return _IMP_kinematics._object_cast_to_UniformBackboneSampler(o)
700 class Joint(IMP.Object):
701  """Proxy of C++ IMP::kinematics::Joint class."""
702 
703  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
704 
705  def get_version_info(self):
706  """get_version_info(Joint self) -> VersionInfo"""
707  return _IMP_kinematics.Joint_get_version_info(self)
708 
709 
710  def __init__(self, parent, child):
711  """__init__(IMP::kinematics::Joint self, RigidBody parent, RigidBody child) -> Joint"""
712  this = _IMP_kinematics.new_Joint(parent, child)
713  try:
714  self.this.append(this)
715  except Exception:
716  self.this = this
717 
718  def get_owner_kf(self):
719  """get_owner_kf(Joint self) -> KinematicForest"""
720  return _IMP_kinematics.Joint_get_owner_kf(self)
721 
722 
723  def get_transformation_child_to_parent(self):
724  """get_transformation_child_to_parent(Joint self) -> Transformation3D"""
725  return _IMP_kinematics.Joint_get_transformation_child_to_parent(self)
726 
727 
728  def get_parent_node(self):
729  """get_parent_node(Joint self) -> RigidBody"""
730  return _IMP_kinematics.Joint_get_parent_node(self)
731 
732 
733  def get_child_node(self):
734  """get_child_node(Joint self) -> RigidBody"""
735  return _IMP_kinematics.Joint_get_child_node(self)
736 
737 
738  def __str__(self):
739  """__str__(Joint self) -> std::string"""
740  return _IMP_kinematics.Joint___str__(self)
741 
742 
743  def __repr__(self):
744  """__repr__(Joint self) -> std::string"""
745  return _IMP_kinematics.Joint___repr__(self)
746 
747 
748  @staticmethod
749  def get_from(o):
750  return _object_cast_to_Joint(o)
751 
752 Joint_swigregister = _IMP_kinematics.Joint_swigregister
753 Joint_swigregister(Joint)
754 
755 class TransformationJoint(Joint):
756  """Proxy of C++ IMP::kinematics::TransformationJoint class."""
757 
758  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
759 
760  def __init__(self, parent, child):
761  """__init__(IMP::kinematics::TransformationJoint self, RigidBody parent, RigidBody child) -> TransformationJoint"""
762  this = _IMP_kinematics.new_TransformationJoint(parent, child)
763  try:
764  self.this.append(this)
765  except Exception:
766  self.this = this
767 
768  def set_transformation_child_to_parent(self, transformation):
769  """set_transformation_child_to_parent(TransformationJoint self, Transformation3D transformation)"""
770  return _IMP_kinematics.TransformationJoint_set_transformation_child_to_parent(self, transformation)
771 
772 
773  def __str__(self):
774  """__str__(TransformationJoint self) -> std::string"""
775  return _IMP_kinematics.TransformationJoint___str__(self)
776 
777 
778  def __repr__(self):
779  """__repr__(TransformationJoint self) -> std::string"""
780  return _IMP_kinematics.TransformationJoint___repr__(self)
781 
782 
783  @staticmethod
784  def get_from(o):
785  return _object_cast_to_TransformationJoint(o)
786 
787  __swig_destroy__ = _IMP_kinematics.delete_TransformationJoint
788  __del__ = lambda self: None
789 TransformationJoint_swigregister = _IMP_kinematics.TransformationJoint_swigregister
790 TransformationJoint_swigregister(TransformationJoint)
791 
792 class PrismaticJoint(Joint):
793  """Proxy of C++ IMP::kinematics::PrismaticJoint class."""
794 
795  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
796 
797  def __init__(self, *args):
798  """
799  __init__(IMP::kinematics::PrismaticJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b) -> PrismaticJoint
800  __init__(IMP::kinematics::PrismaticJoint self, RigidBody parent, RigidBody child) -> PrismaticJoint
801  """
802  this = _IMP_kinematics.new_PrismaticJoint(*args)
803  try:
804  self.this.append(this)
805  except Exception:
806  self.this = this
807 
808  def get_length(self):
809  """get_length(PrismaticJoint self) -> double"""
810  return _IMP_kinematics.PrismaticJoint_get_length(self)
811 
812 
813  def set_length(self, l):
814  """set_length(PrismaticJoint self, double l)"""
815  return _IMP_kinematics.PrismaticJoint_set_length(self, l)
816 
817 
818  def __str__(self):
819  """__str__(PrismaticJoint self) -> std::string"""
820  return _IMP_kinematics.PrismaticJoint___str__(self)
821 
822 
823  def __repr__(self):
824  """__repr__(PrismaticJoint self) -> std::string"""
825  return _IMP_kinematics.PrismaticJoint___repr__(self)
826 
827 
828  @staticmethod
829  def get_from(o):
830  return _object_cast_to_PrismaticJoint(o)
831 
832  __swig_destroy__ = _IMP_kinematics.delete_PrismaticJoint
833  __del__ = lambda self: None
834 PrismaticJoint_swigregister = _IMP_kinematics.PrismaticJoint_swigregister
835 PrismaticJoint_swigregister(PrismaticJoint)
836 
837 class CompositeJoint(Joint):
838  """Proxy of C++ IMP::kinematics::CompositeJoint class."""
839 
840  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
841 
842  def __init__(self, *args):
843  """
844  __init__(IMP::kinematics::CompositeJoint self, RigidBody parent, RigidBody child, IMP::kinematics::Joints joints) -> CompositeJoint
845  __init__(IMP::kinematics::CompositeJoint self, RigidBody parent, RigidBody child) -> CompositeJoint
846  """
847  this = _IMP_kinematics.new_CompositeJoint(*args)
848  try:
849  self.this.append(this)
850  except Exception:
851  self.this = this
852 
853  def add_downstream_joint(self, j):
854  """add_downstream_joint(CompositeJoint self, Joint j)"""
855  return _IMP_kinematics.CompositeJoint_add_downstream_joint(self, j)
856 
857 
858  def add_upstream_joint(self, j):
859  """add_upstream_joint(CompositeJoint self, Joint j)"""
860  return _IMP_kinematics.CompositeJoint_add_upstream_joint(self, j)
861 
862 
863  def set_joints(self, joints):
864  """set_joints(CompositeJoint self, IMP::kinematics::Joints joints)"""
865  return _IMP_kinematics.CompositeJoint_set_joints(self, joints)
866 
867 
868  def get_inner_joints(self):
869  """get_inner_joints(CompositeJoint self) -> IMP::kinematics::Joints const &"""
870  return _IMP_kinematics.CompositeJoint_get_inner_joints(self)
871 
872 
873  def __str__(self):
874  """__str__(CompositeJoint self) -> std::string"""
875  return _IMP_kinematics.CompositeJoint___str__(self)
876 
877 
878  def __repr__(self):
879  """__repr__(CompositeJoint self) -> std::string"""
880  return _IMP_kinematics.CompositeJoint___repr__(self)
881 
882 
883  @staticmethod
884  def get_from(o):
885  return _object_cast_to_CompositeJoint(o)
886 
887  __swig_destroy__ = _IMP_kinematics.delete_CompositeJoint
888  __del__ = lambda self: None
889 CompositeJoint_swigregister = _IMP_kinematics.CompositeJoint_swigregister
890 CompositeJoint_swigregister(CompositeJoint)
891 
892 class RevoluteJoint(Joint):
893  """Proxy of C++ IMP::kinematics::RevoluteJoint class."""
894 
895  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
896 
897  def __init__(self, parent, child):
898  """__init__(IMP::kinematics::RevoluteJoint self, RigidBody parent, RigidBody child) -> RevoluteJoint"""
899  if self.__class__ == RevoluteJoint:
900  _self = None
901  else:
902  _self = self
903  this = _IMP_kinematics.new_RevoluteJoint(_self, parent, child)
904  try:
905  self.this.append(this)
906  except Exception:
907  self.this = this
908 
909  if self.__class__ != RevoluteJoint:
910  _director_objects.register(self)
911 
912 
913 
914  __swig_destroy__ = _IMP_kinematics.delete_RevoluteJoint
915  __del__ = lambda self: None
916 
917  def set_angle(self, angle):
918  """set_angle(RevoluteJoint self, double angle)"""
919  return _IMP_kinematics.RevoluteJoint_set_angle(self, angle)
920 
921 
922  def get_angle(self):
923  """get_angle(RevoluteJoint self) -> double"""
924  return _IMP_kinematics.RevoluteJoint_get_angle(self)
925 
926 
927  def get_rot_axis_origin(self):
928  """get_rot_axis_origin(RevoluteJoint self) -> Vector3D"""
929  return _IMP_kinematics.RevoluteJoint_get_rot_axis_origin(self)
930 
931 
932  def get_rot_axis_unit_vector(self):
933  """get_rot_axis_unit_vector(RevoluteJoint self) -> Vector3D"""
934  return _IMP_kinematics.RevoluteJoint_get_rot_axis_unit_vector(self)
935 
936 
937  def update_child_node_reference_frame(self):
938  """update_child_node_reference_frame(RevoluteJoint self)"""
939  return _IMP_kinematics.RevoluteJoint_update_child_node_reference_frame(self)
940 
941 
942  def update_axis_of_rotation_from_cartesian_witnesses(self):
943  """update_axis_of_rotation_from_cartesian_witnesses(RevoluteJoint self)"""
944  return _IMP_kinematics.RevoluteJoint_update_axis_of_rotation_from_cartesian_witnesses(self)
945 
946 
947  def get_current_angle_from_cartesian_witnesses(self):
948  """get_current_angle_from_cartesian_witnesses(RevoluteJoint self) -> double"""
949  return _IMP_kinematics.RevoluteJoint_get_current_angle_from_cartesian_witnesses(self)
950 
951 
952  def update_joint_from_cartesian_witnesses(self):
953  """update_joint_from_cartesian_witnesses(RevoluteJoint self)"""
954  return _IMP_kinematics.RevoluteJoint_update_joint_from_cartesian_witnesses(self)
955 
956 
957  def get_rotation_about_joint_in_parent_coordinates(self):
958  """get_rotation_about_joint_in_parent_coordinates(RevoluteJoint self) -> Transformation3D"""
959  return _IMP_kinematics.RevoluteJoint_get_rotation_about_joint_in_parent_coordinates(self)
960 
961  angle_ = _swig_property(_IMP_kinematics.RevoluteJoint_angle__get, _IMP_kinematics.RevoluteJoint_angle__set)
962  last_updated_angle_ = _swig_property(_IMP_kinematics.RevoluteJoint_last_updated_angle__get, _IMP_kinematics.RevoluteJoint_last_updated_angle__set)
963  rot_axis_unit_vector_ = _swig_property(_IMP_kinematics.RevoluteJoint_rot_axis_unit_vector__get, _IMP_kinematics.RevoluteJoint_rot_axis_unit_vector__set)
964  rot_axis_origin_ = _swig_property(_IMP_kinematics.RevoluteJoint_rot_axis_origin__get, _IMP_kinematics.RevoluteJoint_rot_axis_origin__set)
965 
966  def __str__(self):
967  """__str__(RevoluteJoint self) -> std::string"""
968  return _IMP_kinematics.RevoluteJoint___str__(self)
969 
970 
971  def __repr__(self):
972  """__repr__(RevoluteJoint self) -> std::string"""
973  return _IMP_kinematics.RevoluteJoint___repr__(self)
974 
975 
976  @staticmethod
977  def get_from(o):
978  return _object_cast_to_RevoluteJoint(o)
979 
980 
981  def get_type_name(self):
982  return self.__class__.__name__
983  def do_show(self, out):
984  pass
985  def get_version_info(self):
986  if"IMP::kinematics" == "IMP":
987  return VersionInfo(self.__module__,
988  __import__(self.__module__).get_module_version())
989  else:
990  return IMP.VersionInfo(self.__module__,
991  __import__(self.__module__).get_module_version())
992  @staticmethod
993  def get_from(o):
994  return _object_cast_to_RevoluteJoint(o)
995 
996  def __disown__(self):
997  self.this.disown()
998  _IMP_kinematics.disown_RevoluteJoint(self)
999  return weakref_proxy(self)
1000 
1001  def do_destroy(self):
1002  """do_destroy(RevoluteJoint self)"""
1003  return _IMP_kinematics.RevoluteJoint_do_destroy(self)
1004 
1005 RevoluteJoint_swigregister = _IMP_kinematics.RevoluteJoint_swigregister
1006 RevoluteJoint_swigregister(RevoluteJoint)
1007 
1008 class DihedralAngleRevoluteJoint(RevoluteJoint):
1009  """Proxy of C++ IMP::kinematics::DihedralAngleRevoluteJoint class."""
1010 
1011  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1012 
1013  def __init__(self, parent, child, a, b, c, d):
1014  """__init__(IMP::kinematics::DihedralAngleRevoluteJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b, XYZ c, XYZ d) -> DihedralAngleRevoluteJoint"""
1015  this = _IMP_kinematics.new_DihedralAngleRevoluteJoint(parent, child, a, b, c, d)
1016  try:
1017  self.this.append(this)
1018  except Exception:
1019  self.this = this
1020 
1021  def get_a(self):
1022  """get_a(DihedralAngleRevoluteJoint self) -> XYZ"""
1023  return _IMP_kinematics.DihedralAngleRevoluteJoint_get_a(self)
1024 
1025 
1026  def get_b(self):
1027  """get_b(DihedralAngleRevoluteJoint self) -> XYZ"""
1028  return _IMP_kinematics.DihedralAngleRevoluteJoint_get_b(self)
1029 
1030 
1031  def get_c(self):
1032  """get_c(DihedralAngleRevoluteJoint self) -> XYZ"""
1033  return _IMP_kinematics.DihedralAngleRevoluteJoint_get_c(self)
1034 
1035 
1036  def get_d(self):
1037  """get_d(DihedralAngleRevoluteJoint self) -> XYZ"""
1038  return _IMP_kinematics.DihedralAngleRevoluteJoint_get_d(self)
1039 
1040 
1041  def __str__(self):
1042  """__str__(DihedralAngleRevoluteJoint self) -> std::string"""
1043  return _IMP_kinematics.DihedralAngleRevoluteJoint___str__(self)
1044 
1045 
1046  def __repr__(self):
1047  """__repr__(DihedralAngleRevoluteJoint self) -> std::string"""
1048  return _IMP_kinematics.DihedralAngleRevoluteJoint___repr__(self)
1049 
1050 
1051  @staticmethod
1052  def get_from(o):
1053  return _object_cast_to_DihedralAngleRevoluteJoint(o)
1054 
1055  __swig_destroy__ = _IMP_kinematics.delete_DihedralAngleRevoluteJoint
1056  __del__ = lambda self: None
1057 DihedralAngleRevoluteJoint_swigregister = _IMP_kinematics.DihedralAngleRevoluteJoint_swigregister
1058 DihedralAngleRevoluteJoint_swigregister(DihedralAngleRevoluteJoint)
1059 
1060 class BondAngleRevoluteJoint(RevoluteJoint):
1061  """Proxy of C++ IMP::kinematics::BondAngleRevoluteJoint class."""
1062 
1063  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1064 
1065  def __init__(self, parent, child, a, b, c):
1066  """__init__(IMP::kinematics::BondAngleRevoluteJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b, XYZ c) -> BondAngleRevoluteJoint"""
1067  this = _IMP_kinematics.new_BondAngleRevoluteJoint(parent, child, a, b, c)
1068  try:
1069  self.this.append(this)
1070  except Exception:
1071  self.this = this
1072 
1073  def __str__(self):
1074  """__str__(BondAngleRevoluteJoint self) -> std::string"""
1075  return _IMP_kinematics.BondAngleRevoluteJoint___str__(self)
1076 
1077 
1078  def __repr__(self):
1079  """__repr__(BondAngleRevoluteJoint self) -> std::string"""
1080  return _IMP_kinematics.BondAngleRevoluteJoint___repr__(self)
1081 
1082 
1083  @staticmethod
1084  def get_from(o):
1085  return _object_cast_to_BondAngleRevoluteJoint(o)
1086 
1087  __swig_destroy__ = _IMP_kinematics.delete_BondAngleRevoluteJoint
1088  __del__ = lambda self: None
1089 BondAngleRevoluteJoint_swigregister = _IMP_kinematics.BondAngleRevoluteJoint_swigregister
1090 BondAngleRevoluteJoint_swigregister(BondAngleRevoluteJoint)
1091 
1092 class RevoluteJointMover(IMP.core.MonteCarloMover):
1093  """Proxy of C++ IMP::kinematics::RevoluteJointMover class."""
1094 
1095  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1096 
1097  def __init__(self, m, joints, stddev=0.01):
1098  """
1099  __init__(IMP::kinematics::RevoluteJointMover self, Model m, IMP::kinematics::RevoluteJoints const & joints, double const stddev=0.01) -> RevoluteJointMover
1100  __init__(IMP::kinematics::RevoluteJointMover self, Model m, IMP::kinematics::RevoluteJoints const & joints) -> RevoluteJointMover
1101  """
1102  this = _IMP_kinematics.new_RevoluteJointMover(m, joints, stddev)
1103  try:
1104  self.this.append(this)
1105  except Exception:
1106  self.this = this
1107 
1108  def set_sigma(self, sigma):
1109  """set_sigma(RevoluteJointMover self, IMP::Float sigma)"""
1110  return _IMP_kinematics.RevoluteJointMover_set_sigma(self, sigma)
1111 
1112 
1113  def get_sigma(self):
1114  """get_sigma(RevoluteJointMover self) -> IMP::Float"""
1115  return _IMP_kinematics.RevoluteJointMover_get_sigma(self)
1116 
1117 
1118  def get_version_info(self):
1119  """get_version_info(RevoluteJointMover self) -> VersionInfo"""
1120  return _IMP_kinematics.RevoluteJointMover_get_version_info(self)
1121 
1122 
1123  def __str__(self):
1124  """__str__(RevoluteJointMover self) -> std::string"""
1125  return _IMP_kinematics.RevoluteJointMover___str__(self)
1126 
1127 
1128  def __repr__(self):
1129  """__repr__(RevoluteJointMover self) -> std::string"""
1130  return _IMP_kinematics.RevoluteJointMover___repr__(self)
1131 
1132 
1133  @staticmethod
1134  def get_from(o):
1135  return _object_cast_to_RevoluteJointMover(o)
1136 
1137 RevoluteJointMover_swigregister = _IMP_kinematics.RevoluteJointMover_swigregister
1138 RevoluteJointMover_swigregister(RevoluteJointMover)
1139 
1140 class KinematicForest(IMP.Object):
1141  """Proxy of C++ IMP::kinematics::KinematicForest class."""
1142 
1143  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1144 
1145  def get_version_info(self):
1146  """get_version_info(KinematicForest self) -> VersionInfo"""
1147  return _IMP_kinematics.KinematicForest_get_version_info(self)
1148 
1149 
1150  def __init__(self, *args):
1151  """
1152  __init__(IMP::kinematics::KinematicForest self, Model m) -> KinematicForest
1153  __init__(IMP::kinematics::KinematicForest self, Model m, Hierarchy hierarchy) -> KinematicForest
1154  """
1155  this = _IMP_kinematics.new_KinematicForest(*args)
1156  try:
1157  self.this.append(this)
1158  except Exception:
1159  self.this = this
1160 
1161  def add_edge(self, *args):
1162  """
1163  add_edge(KinematicForest self, RigidBody parent, RigidBody child) -> Joint
1164  add_edge(KinematicForest self, Joint joint)
1165  """
1166  return _IMP_kinematics.KinematicForest_add_edge(self, *args)
1167 
1168 
1169  def add_rigid_bodies_in_chain(self, rbs):
1170  """add_rigid_bodies_in_chain(KinematicForest self, IMP::core::RigidBodies rbs)"""
1171  return _IMP_kinematics.KinematicForest_add_rigid_bodies_in_chain(self, rbs)
1172 
1173 
1174  def reset_root(self, new_root):
1175  """reset_root(KinematicForest self, Particle new_root)"""
1176  return _IMP_kinematics.KinematicForest_reset_root(self, new_root)
1177 
1178 
1179  def update_all_internal_coordinates(self):
1180  """update_all_internal_coordinates(KinematicForest self)"""
1181  return _IMP_kinematics.KinematicForest_update_all_internal_coordinates(self)
1182 
1183 
1184  def update_all_external_coordinates(self):
1185  """update_all_external_coordinates(KinematicForest self)"""
1186  return _IMP_kinematics.KinematicForest_update_all_external_coordinates(self)
1187 
1188 
1189  def get_ordered_joints(self):
1190  """get_ordered_joints(KinematicForest self) -> IMP::kinematics::Joints"""
1191  return _IMP_kinematics.KinematicForest_get_ordered_joints(self)
1192 
1193 
1194  def mark_internal_coordinates_changed(self):
1195  """mark_internal_coordinates_changed(KinematicForest self)"""
1196  return _IMP_kinematics.KinematicForest_mark_internal_coordinates_changed(self)
1197 
1198 
1199  def mark_external_coordinates_changed(self):
1200  """mark_external_coordinates_changed(KinematicForest self)"""
1201  return _IMP_kinematics.KinematicForest_mark_external_coordinates_changed(self)
1202 
1203 
1204  def set_coordinates_safe(self, rb, c):
1205  """set_coordinates_safe(KinematicForest self, RigidBody rb, Vector3D c)"""
1206  return _IMP_kinematics.KinematicForest_set_coordinates_safe(self, rb, c)
1207 
1208 
1209  def get_coordinates_safe(self, rb):
1210  """get_coordinates_safe(KinematicForest self, RigidBody rb) -> Vector3D"""
1211  return _IMP_kinematics.KinematicForest_get_coordinates_safe(self, rb)
1212 
1213 
1214  def get_is_member(self, rb):
1215  """get_is_member(KinematicForest self, RigidBody rb) -> bool"""
1216  return _IMP_kinematics.KinematicForest_get_is_member(self, rb)
1217 
1218 
1219  def get_reference_frame_safe(self, rb):
1220  """get_reference_frame_safe(KinematicForest self, RigidBody rb) -> ReferenceFrame3D"""
1221  return _IMP_kinematics.KinematicForest_get_reference_frame_safe(self, rb)
1222 
1223 
1224  def set_reference_frame_safe(self, rb, r):
1225  """set_reference_frame_safe(KinematicForest self, RigidBody rb, ReferenceFrame3D r)"""
1226  return _IMP_kinematics.KinematicForest_set_reference_frame_safe(self, rb, r)
1227 
1228 
1229  def __str__(self):
1230  """__str__(KinematicForest self) -> std::string"""
1231  return _IMP_kinematics.KinematicForest___str__(self)
1232 
1233 
1234  def __repr__(self):
1235  """__repr__(KinematicForest self) -> std::string"""
1236  return _IMP_kinematics.KinematicForest___repr__(self)
1237 
1238 
1239  @staticmethod
1240  def get_from(o):
1241  return _object_cast_to_KinematicForest(o)
1242 
1243 KinematicForest_swigregister = _IMP_kinematics.KinematicForest_swigregister
1244 KinematicForest_swigregister(KinematicForest)
1245 
1246 class KinematicForestScoreState(IMP.ScoreState):
1247  """Proxy of C++ IMP::kinematics::KinematicForestScoreState class."""
1248 
1249  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1250 
1251  def get_version_info(self):
1252  """get_version_info(KinematicForestScoreState self) -> VersionInfo"""
1253  return _IMP_kinematics.KinematicForestScoreState_get_version_info(self)
1254 
1255 
1256  def __init__(self, kf, rbs, atoms):
1257  """__init__(IMP::kinematics::KinematicForestScoreState self, KinematicForest kf, IMP::core::RigidBodies rbs, IMP::ParticlesTemp atoms) -> KinematicForestScoreState"""
1258  this = _IMP_kinematics.new_KinematicForestScoreState(kf, rbs, atoms)
1259  try:
1260  self.this.append(this)
1261  except Exception:
1262  self.this = this
1263 
1264  def do_before_evaluate(self):
1265  """do_before_evaluate(KinematicForestScoreState self)"""
1266  return _IMP_kinematics.KinematicForestScoreState_do_before_evaluate(self)
1267 
1268 
1269  def do_after_evaluate(self, da):
1270  """do_after_evaluate(KinematicForestScoreState self, DerivativeAccumulator da)"""
1271  return _IMP_kinematics.KinematicForestScoreState_do_after_evaluate(self, da)
1272 
1273 
1274  def do_get_inputs(self):
1275  """do_get_inputs(KinematicForestScoreState self) -> IMP::ModelObjectsTemp"""
1276  return _IMP_kinematics.KinematicForestScoreState_do_get_inputs(self)
1277 
1278 
1279  def do_get_outputs(self):
1280  """do_get_outputs(KinematicForestScoreState self) -> IMP::ModelObjectsTemp"""
1281  return _IMP_kinematics.KinematicForestScoreState_do_get_outputs(self)
1282 
1283 
1284  def __str__(self):
1285  """__str__(KinematicForestScoreState self) -> std::string"""
1286  return _IMP_kinematics.KinematicForestScoreState___str__(self)
1287 
1288 
1289  def __repr__(self):
1290  """__repr__(KinematicForestScoreState self) -> std::string"""
1291  return _IMP_kinematics.KinematicForestScoreState___repr__(self)
1292 
1293 
1294  @staticmethod
1295  def get_from(o):
1296  return _object_cast_to_KinematicForestScoreState(o)
1297 
1298 KinematicForestScoreState_swigregister = _IMP_kinematics.KinematicForestScoreState_swigregister
1299 KinematicForestScoreState_swigregister(KinematicForestScoreState)
1300 
1301 class DOF(IMP.Object):
1302  """Proxy of C++ IMP::kinematics::DOF class."""
1303 
1304  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1305 
1306  def get_version_info(self):
1307  """get_version_info(DOF self) -> VersionInfo"""
1308  return _IMP_kinematics.DOF_get_version_info(self)
1309 
1310 
1311  def __init__(self, *args):
1312  """
1313  __init__(IMP::kinematics::DOF self, double v) -> DOF
1314  __init__(IMP::kinematics::DOF self, double v, double min, double max, double step_size) -> DOF
1315  """
1316  this = _IMP_kinematics.new_DOF(*args)
1317  try:
1318  self.this.append(this)
1319  except Exception:
1320  self.this = this
1321 
1322  def get_value(self):
1323  """get_value(DOF self) -> double"""
1324  return _IMP_kinematics.DOF_get_value(self)
1325 
1326 
1327  def set_value(self, v):
1328  """set_value(DOF self, double v)"""
1329  return _IMP_kinematics.DOF_set_value(self, v)
1330 
1331 
1332  def get_range(self):
1333  """get_range(DOF self) -> std::pair< double,double >"""
1334  return _IMP_kinematics.DOF_get_range(self)
1335 
1336 
1337  def set_range(self, range):
1338  """set_range(DOF self, std::pair< double,double > range)"""
1339  return _IMP_kinematics.DOF_set_range(self, range)
1340 
1341 
1342  def get_step_size(self):
1343  """get_step_size(DOF self) -> double"""
1344  return _IMP_kinematics.DOF_get_step_size(self)
1345 
1346 
1347  def set_step_size(self, step_size):
1348  """set_step_size(DOF self, double step_size)"""
1349  return _IMP_kinematics.DOF_set_step_size(self, step_size)
1350 
1351 
1352  def get_number_of_steps(self, *args):
1353  """
1354  get_number_of_steps(DOF self, double value) -> int
1355  get_number_of_steps(DOF self, double value1, double value2) -> int
1356  """
1357  return _IMP_kinematics.DOF_get_number_of_steps(self, *args)
1358 
1359 
1360  def __str__(self):
1361  """__str__(DOF self) -> std::string"""
1362  return _IMP_kinematics.DOF___str__(self)
1363 
1364 
1365  def __repr__(self):
1366  """__repr__(DOF self) -> std::string"""
1367  return _IMP_kinematics.DOF___repr__(self)
1368 
1369 
1370  @staticmethod
1371  def get_from(o):
1372  return _object_cast_to_DOF(o)
1373 
1374 DOF_swigregister = _IMP_kinematics.DOF_swigregister
1375 DOF_swigregister(DOF)
1376 
1377 class DOFValues(IMP.saxs.DistBase):
1378  """Proxy of C++ IMP::kinematics::DOFValues class."""
1379 
1380  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1381 
1382  def __init__(self, *args):
1383  """
1384  __init__(IMP::kinematics::DOFValues self, IMP::kinematics::DOFs const & dofs) -> DOFValues
1385  __init__(IMP::kinematics::DOFValues self) -> DOFValues
1386  """
1387  this = _IMP_kinematics.new_DOFValues(*args)
1388  try:
1389  self.this.append(this)
1390  except Exception:
1391  self.this = this
1392 
1393  def get_distance2(self, *args):
1394  """
1395  get_distance2(DOFValues self, DOFValues other_dof_values) -> double
1396  get_distance2(DOFValues self, DOFValues other_dof_values, std::vector< bool,std::allocator< bool > > const & active_dofs) -> double
1397  """
1398  return _IMP_kinematics.DOFValues_get_distance2(self, *args)
1399 
1400 
1401  def get_distance(self, *args):
1402  """
1403  get_distance(DOFValues self, DOFValues other_dof_values) -> double
1404  get_distance(DOFValues self, DOFValues other_dof_values, std::vector< bool,std::allocator< bool > > const & active_dofs) -> double
1405  """
1406  return _IMP_kinematics.DOFValues_get_distance(self, *args)
1407 
1408 
1409  def show(self, *args):
1410  """
1411  show(DOFValues self, _ostream out)
1412  show(DOFValues self)
1413  """
1414  return _IMP_kinematics.DOFValues_show(self, *args)
1415 
1416 
1417  def __str__(self):
1418  """__str__(DOFValues self) -> std::string"""
1419  return _IMP_kinematics.DOFValues___str__(self)
1420 
1421 
1422  def __repr__(self):
1423  """__repr__(DOFValues self) -> std::string"""
1424  return _IMP_kinematics.DOFValues___repr__(self)
1425 
1426  __swig_destroy__ = _IMP_kinematics.delete_DOFValues
1427  __del__ = lambda self: None
1428 DOFValues_swigregister = _IMP_kinematics.DOFValues_swigregister
1429 DOFValues_swigregister(DOFValues)
1430 
1431 class DirectionalDOF(object):
1432  """Proxy of C++ IMP::kinematics::DirectionalDOF class."""
1433 
1434  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1435 
1436  def __init__(self, dofs):
1437  """__init__(IMP::kinematics::DirectionalDOF self, IMP::kinematics::DOFs const & dofs) -> DirectionalDOF"""
1438  this = _IMP_kinematics.new_DirectionalDOF(dofs)
1439  try:
1440  self.this.append(this)
1441  except Exception:
1442  self.this = this
1443 
1444  def set_end_points(self, q1, q2):
1445  """set_end_points(DirectionalDOF self, DOFValues q1, DOFValues q2)"""
1446  return _IMP_kinematics.DirectionalDOF_set_end_points(self, q1, q2)
1447 
1448 
1449  def get_dofs_values(self):
1450  """get_dofs_values(DirectionalDOF self) -> DOFValues"""
1451  return _IMP_kinematics.DirectionalDOF_get_dofs_values(self)
1452 
1453 
1454  def get_value(self):
1455  """get_value(DirectionalDOF self) -> double"""
1456  return _IMP_kinematics.DirectionalDOF_get_value(self)
1457 
1458 
1459  def show(self, *args):
1460  """
1461  show(DirectionalDOF self, _ostream out)
1462  show(DirectionalDOF self)
1463  """
1464  return _IMP_kinematics.DirectionalDOF_show(self, *args)
1465 
1466 
1467  def __str__(self):
1468  """__str__(DirectionalDOF self) -> std::string"""
1469  return _IMP_kinematics.DirectionalDOF___str__(self)
1470 
1471 
1472  def __repr__(self):
1473  """__repr__(DirectionalDOF self) -> std::string"""
1474  return _IMP_kinematics.DirectionalDOF___repr__(self)
1475 
1476  __swig_destroy__ = _IMP_kinematics.delete_DirectionalDOF
1477  __del__ = lambda self: None
1478 DirectionalDOF_swigregister = _IMP_kinematics.DirectionalDOF_swigregister
1479 DirectionalDOF_swigregister(DirectionalDOF)
1480 
1481 class DOFsSampler(IMP.Object):
1482  """Proxy of C++ IMP::kinematics::DOFsSampler class."""
1483 
1484  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1485 
1486  def get_type_name(self):
1487  """get_type_name(DOFsSampler self) -> std::string"""
1488  return _IMP_kinematics.DOFsSampler_get_type_name(self)
1489 
1490 
1491  def get_version_info(self):
1492  """get_version_info(DOFsSampler self) -> VersionInfo"""
1493  return _IMP_kinematics.DOFsSampler_get_version_info(self)
1494 
1495 
1496  def __init__(self, dofs):
1497  """__init__(IMP::kinematics::DOFsSampler self, IMP::kinematics::DOFs dofs) -> DOFsSampler"""
1498  if self.__class__ == DOFsSampler:
1499  _self = None
1500  else:
1501  _self = self
1502  this = _IMP_kinematics.new_DOFsSampler(_self, dofs)
1503  try:
1504  self.this.append(this)
1505  except Exception:
1506  self.this = this
1507 
1508  if self.__class__ != DOFsSampler:
1509  _director_objects.register(self)
1510 
1511 
1512 
1513 
1514  def get_sample(self):
1515  """get_sample(DOFsSampler self) -> DOFValues"""
1516  return _IMP_kinematics.DOFsSampler_get_sample(self)
1517 
1518 
1519  def apply(self, values):
1520  """apply(DOFsSampler self, DOFValues values)"""
1521  return _IMP_kinematics.DOFsSampler_apply(self, values)
1522 
1523 
1524  def apply_last_sample(self):
1525  """apply_last_sample(DOFsSampler self)"""
1526  return _IMP_kinematics.DOFsSampler_apply_last_sample(self)
1527 
1528 
1529  def sample_and_apply(self):
1530  """sample_and_apply(DOFsSampler self)"""
1531  return _IMP_kinematics.DOFsSampler_sample_and_apply(self)
1532 
1533 
1534  def get_dofs(self):
1535  """get_dofs(DOFsSampler self) -> IMP::kinematics::DOFs const &"""
1536  return _IMP_kinematics.DOFsSampler_get_dofs(self)
1537 
1538 
1539  def get_dof(self, i):
1540  """get_dof(DOFsSampler self, unsigned int i) -> DOF"""
1541  return _IMP_kinematics.DOFsSampler_get_dof(self, i)
1542 
1543 
1544  def get_number_of_dofs(self):
1545  """get_number_of_dofs(DOFsSampler self) -> unsigned int"""
1546  return _IMP_kinematics.DOFsSampler_get_number_of_dofs(self)
1547 
1548 
1549  def do_get_sample(self):
1550  """do_get_sample(DOFsSampler self) -> DOFValues"""
1551  return _IMP_kinematics.DOFsSampler_do_get_sample(self)
1552 
1553 
1554  def __str__(self):
1555  """__str__(DOFsSampler self) -> std::string"""
1556  return _IMP_kinematics.DOFsSampler___str__(self)
1557 
1558 
1559  def __repr__(self):
1560  """__repr__(DOFsSampler self) -> std::string"""
1561  return _IMP_kinematics.DOFsSampler___repr__(self)
1562 
1563 
1564  @staticmethod
1565  def get_from(o):
1566  return _object_cast_to_DOFsSampler(o)
1567 
1568 
1569  def get_type_name(self):
1570  return self.__class__.__name__
1571  def do_show(self, out):
1572  pass
1573  def get_version_info(self):
1574  if"IMP::kinematics" == "IMP":
1575  return VersionInfo(self.__module__,
1576  __import__(self.__module__).get_module_version())
1577  else:
1578  return IMP.VersionInfo(self.__module__,
1579  __import__(self.__module__).get_module_version())
1580  @staticmethod
1581  def get_from(o):
1582  return _object_cast_to_DOFsSampler(o)
1583 
1584  def __disown__(self):
1585  self.this.disown()
1586  _IMP_kinematics.disown_DOFsSampler(self)
1587  return weakref_proxy(self)
1588 
1589  def do_destroy(self):
1590  """do_destroy(DOFsSampler self)"""
1591  return _IMP_kinematics.DOFsSampler_do_destroy(self)
1592 
1593 DOFsSampler_swigregister = _IMP_kinematics.DOFsSampler_swigregister
1594 DOFsSampler_swigregister(DOFsSampler)
1595 
1596 class UniformBackboneSampler(DOFsSampler):
1597  """Proxy of C++ IMP::kinematics::UniformBackboneSampler class."""
1598 
1599  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1600 
1601  def __init__(self, joints, dofs):
1602  """__init__(IMP::kinematics::UniformBackboneSampler self, IMP::kinematics::DihedralAngleRevoluteJoints joints, IMP::kinematics::DOFs dofs) -> UniformBackboneSampler"""
1603  this = _IMP_kinematics.new_UniformBackboneSampler(joints, dofs)
1604  try:
1605  self.this.append(this)
1606  except Exception:
1607  self.this = this
1608 
1609  def __str__(self):
1610  """__str__(UniformBackboneSampler self) -> std::string"""
1611  return _IMP_kinematics.UniformBackboneSampler___str__(self)
1612 
1613 
1614  def __repr__(self):
1615  """__repr__(UniformBackboneSampler self) -> std::string"""
1616  return _IMP_kinematics.UniformBackboneSampler___repr__(self)
1617 
1618 
1619  @staticmethod
1620  def get_from(o):
1621  return _object_cast_to_UniformBackboneSampler(o)
1622 
1623  __swig_destroy__ = _IMP_kinematics.delete_UniformBackboneSampler
1624  __del__ = lambda self: None
1625 UniformBackboneSampler_swigregister = _IMP_kinematics.UniformBackboneSampler_swigregister
1626 UniformBackboneSampler_swigregister(UniformBackboneSampler)
1627 
1628 
1629 def get_module_version():
1630  """get_module_version() -> std::string const"""
1631  return _IMP_kinematics.get_module_version()
1632 
1633 def get_example_path(fname):
1634  """get_example_path(std::string fname) -> std::string"""
1635  return _IMP_kinematics.get_example_path(fname)
1636 
1637 def get_data_path(fname):
1638  """get_data_path(std::string fname) -> std::string"""
1639  return _IMP_kinematics.get_data_path(fname)
1640 
1641 from . import _version_check
1642 _version_check.check_version(get_module_version())
1643 __version__ = get_module_version()
1644 
1645 
1646 
Various classes to hold sets of particles.
Make CGAL functionality available to IMP.
virtual ModelObjectsTemp do_get_outputs(Model *m, const ParticleIndexes &pis) const =0
Composable functors to implement scores via compile-time composition.
double get_distance(const Plane3D &pln, const Vector3D &p)
Return the distance between a plane and a point in 3D.
Definition: Plane3D.h:63
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:53
A base class for classes which perturb particles.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
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...
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.
Support for small angle X-ray scattering (SAXS) data.