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