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