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