IMP  2.3.0
The Integrative Modeling Platform
kinematics/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.2
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 
8 
9 
10 
11 from sys import version_info
12 if version_info >= (2,6,0):
13  def swig_import_helper():
14  from os.path import dirname
15  import imp
16  fp = None
17  try:
18  fp, pathname, description = imp.find_module('_IMP_kinematics', [dirname(__file__)])
19  except ImportError:
20  import _IMP_kinematics
21  return _IMP_kinematics
22  if fp is not None:
23  try:
24  _mod = imp.load_module('_IMP_kinematics', fp, pathname, description)
25  finally:
26  fp.close()
27  return _mod
28  _IMP_kinematics = swig_import_helper()
29  del swig_import_helper
30 else:
31  import _IMP_kinematics
32 del version_info
33 try:
34  _swig_property = property
35 except NameError:
36  pass # Python < 2.2 doesn't have 'property'.
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38  if (name == "thisown"): return self.this.own(value)
39  if (name == "this"):
40  if type(value).__name__ == 'SwigPyObject':
41  self.__dict__[name] = value
42  return
43  method = class_type.__swig_setmethods__.get(name,None)
44  if method: return method(self,value)
45  if (not static):
46  self.__dict__[name] = value
47  else:
48  raise AttributeError("You cannot add attributes to %s" % self)
49 
50 def _swig_setattr(self,class_type,name,value):
51  return _swig_setattr_nondynamic(self,class_type,name,value,0)
52 
53 def _swig_getattr(self,class_type,name):
54  if (name == "thisown"): return self.this.own()
55  method = class_type.__swig_getmethods__.get(name,None)
56  if method: return method(self)
57  raise AttributeError(name)
58 
59 def _swig_repr(self):
60  try: strthis = "proxy of " + self.this.__repr__()
61  except: strthis = ""
62  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
63 
64 try:
65  _object = object
66  _newclass = 1
67 except AttributeError:
68  class _object : pass
69  _newclass = 0
70 
71 
72 try:
73  import weakref
74  weakref_proxy = weakref.proxy
75 except:
76  weakref_proxy = lambda x: x
77 
78 
79 class IMP_KINEMATICS_SwigPyIterator(_object):
80  """Proxy of C++ swig::IMP_KINEMATICS_SwigPyIterator class"""
81  __swig_setmethods__ = {}
82  __setattr__ = lambda self, name, value: _swig_setattr(self, IMP_KINEMATICS_SwigPyIterator, name, value)
83  __swig_getmethods__ = {}
84  __getattr__ = lambda self, name: _swig_getattr(self, IMP_KINEMATICS_SwigPyIterator, name)
85  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
86  __repr__ = _swig_repr
87  __swig_destroy__ = _IMP_kinematics.delete_IMP_KINEMATICS_SwigPyIterator
88  __del__ = lambda self : None;
89  def value(self):
90  """value(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
91  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_value(self)
92 
93  def incr(self, n=1):
94  """
95  incr(IMP_KINEMATICS_SwigPyIterator self, size_t n=1) -> IMP_KINEMATICS_SwigPyIterator
96  incr(IMP_KINEMATICS_SwigPyIterator self) -> IMP_KINEMATICS_SwigPyIterator
97  """
98  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_incr(self, n)
99 
100  def decr(self, n=1):
101  """
102  decr(IMP_KINEMATICS_SwigPyIterator self, size_t n=1) -> IMP_KINEMATICS_SwigPyIterator
103  decr(IMP_KINEMATICS_SwigPyIterator self) -> IMP_KINEMATICS_SwigPyIterator
104  """
105  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_decr(self, n)
106 
107  def distance(self, *args):
108  """distance(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> ptrdiff_t"""
109  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_distance(self, *args)
110 
111  def equal(self, *args):
112  """equal(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> bool"""
113  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_equal(self, *args)
114 
115  def copy(self):
116  """copy(IMP_KINEMATICS_SwigPyIterator self) -> IMP_KINEMATICS_SwigPyIterator"""
117  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_copy(self)
118 
119  def next(self):
120  """next(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
121  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_next(self)
122 
123  def __next__(self):
124  """__next__(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
125  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___next__(self)
126 
127  def previous(self):
128  """previous(IMP_KINEMATICS_SwigPyIterator self) -> PyObject *"""
129  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_previous(self)
130 
131  def advance(self, *args):
132  """advance(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator"""
133  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_advance(self, *args)
134 
135  def __eq__(self, *args):
136  """__eq__(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> bool"""
137  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___eq__(self, *args)
138 
139  def __ne__(self, *args):
140  """__ne__(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> bool"""
141  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___ne__(self, *args)
142 
143  def __iadd__(self, *args):
144  """__iadd__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator"""
145  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___iadd__(self, *args)
146 
147  def __isub__(self, *args):
148  """__isub__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator"""
149  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___isub__(self, *args)
150 
151  def __add__(self, *args):
152  """__add__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator"""
153  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___add__(self, *args)
154 
155  def __sub__(self, *args):
156  """
157  __sub__(IMP_KINEMATICS_SwigPyIterator self, ptrdiff_t n) -> IMP_KINEMATICS_SwigPyIterator
158  __sub__(IMP_KINEMATICS_SwigPyIterator self, IMP_KINEMATICS_SwigPyIterator x) -> ptrdiff_t
159  """
160  return _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator___sub__(self, *args)
161 
162  def __iter__(self): return self
163 IMP_KINEMATICS_SwigPyIterator_swigregister = _IMP_kinematics.IMP_KINEMATICS_SwigPyIterator_swigregister
164 IMP_KINEMATICS_SwigPyIterator_swigregister(IMP_KINEMATICS_SwigPyIterator)
165 
166 _value_types=[]
167 _object_types=[]
168 _raii_types=[]
169 _plural_types=[]
170 
171 IMP_DEBUG = _IMP_kinematics.IMP_DEBUG
172 IMP_RELEASE = _IMP_kinematics.IMP_RELEASE
173 IMP_SILENT = _IMP_kinematics.IMP_SILENT
174 IMP_PROGRESS = _IMP_kinematics.IMP_PROGRESS
175 IMP_TERSE = _IMP_kinematics.IMP_TERSE
176 IMP_VERBOSE = _IMP_kinematics.IMP_VERBOSE
177 IMP_MEMORY = _IMP_kinematics.IMP_MEMORY
178 IMP_NONE = _IMP_kinematics.IMP_NONE
179 IMP_USAGE = _IMP_kinematics.IMP_USAGE
180 IMP_INTERNAL = _IMP_kinematics.IMP_INTERNAL
181 IMP_BASE_HAS_LOG4CXX = _IMP_kinematics.IMP_BASE_HAS_LOG4CXX
182 IMP_COMPILER_HAS_AUTO = _IMP_kinematics.IMP_COMPILER_HAS_AUTO
183 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_kinematics.IMP_COMPILER_HAS_DEBUG_VECTOR
184 IMP_BASE_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_BASE_HAS_BOOST_RANDOM
185 IMP_BASE_HAS_GPERFTOOLS = _IMP_kinematics.IMP_BASE_HAS_GPERFTOOLS
186 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_kinematics.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
187 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_kinematics.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 IMPBASE_SHOW_WARNINGS = _IMP_kinematics.IMPBASE_SHOW_WARNINGS
189 import sys
190 class _DirectorObjects(object):
191  """@internal Simple class to keep references to director objects
192  to prevent premature deletion."""
193  def __init__(self):
194  self._objects = []
195  def register(self, obj):
196  """Take a reference to a director object; will only work for
197  refcounted C++ classes"""
198  if hasattr(obj, 'get_ref_count'):
199  self._objects.append(obj)
200  def cleanup(self):
201  """Only drop our reference and allow cleanup by Python if no other
202  Python references exist (we hold 3 references: one in self._objects,
203  one in x, and one in the argument list for getrefcount) *and* no
204  other C++ references exist (the Python object always holds one)"""
205  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
206  or x.get_ref_count() > 1]
207 
208 
209  self._objects = objs
210  def get_object_count(self):
211  """Get number of director objects (useful for testing only)"""
212  return len(self._objects)
213 _director_objects = _DirectorObjects()
214 
215 DEFAULT_CHECK = _IMP_kinematics.DEFAULT_CHECK
216 NONE = _IMP_kinematics.NONE
217 USAGE = _IMP_kinematics.USAGE
218 USAGE_AND_INTERNAL = _IMP_kinematics.USAGE_AND_INTERNAL
219 
220 def set_check_level(*args):
221  """set_check_level(IMP::base::CheckLevel tf)"""
222  return _IMP_kinematics.set_check_level(*args)
223 
224 def get_check_level():
225  """get_check_level() -> IMP::base::CheckLevel"""
226  return _IMP_kinematics.get_check_level()
227 class _ostream(_object):
228  """Proxy of C++ std::ostream class"""
229  __swig_setmethods__ = {}
230  __setattr__ = lambda self, name, value: _swig_setattr(self, _ostream, name, value)
231  __swig_getmethods__ = {}
232  __getattr__ = lambda self, name: _swig_getattr(self, _ostream, name)
233  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
234  __repr__ = _swig_repr
235  def write(self, *args):
236  """write(_ostream self, char const * osa_buf)"""
237  return _IMP_kinematics._ostream_write(self, *args)
238 
239 _ostream_swigregister = _IMP_kinematics._ostream_swigregister
240 _ostream_swigregister(_ostream)
241 
242 IMP_COMPILER_HAS_OVERRIDE = _IMP_kinematics.IMP_COMPILER_HAS_OVERRIDE
243 IMP_COMPILER_HAS_FINAL = _IMP_kinematics.IMP_COMPILER_HAS_FINAL
244 IMP_HAS_NOEXCEPT = _IMP_kinematics.IMP_HAS_NOEXCEPT
245 import IMP.base
246 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CGAL_HAS_BOOST_FILESYSTEM
247 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
248 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CGAL_HAS_BOOST_RANDOM
249 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CGAL_HAS_BOOST_SYSTEM
250 IMPCGAL_SHOW_WARNINGS = _IMP_kinematics.IMPCGAL_SHOW_WARNINGS
251 import IMP.cgal
252 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_kinematics.IMP_ALGEBRA_HAS_IMP_CGAL
253 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
254 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
255 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_RANDOM
256 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_ALGEBRA_HAS_BOOST_SYSTEM
257 IMP_ALGEBRA_HAS_CGAL = _IMP_kinematics.IMP_ALGEBRA_HAS_CGAL
258 IMP_ALGEBRA_HAS_ANN = _IMP_kinematics.IMP_ALGEBRA_HAS_ANN
259 IMPALGEBRA_SHOW_WARNINGS = _IMP_kinematics.IMPALGEBRA_SHOW_WARNINGS
260 import IMP.algebra
261 IMP_KERNEL_HAS_IMP_CGAL = _IMP_kinematics.IMP_KERNEL_HAS_IMP_CGAL
262 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
263 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_KERNEL_HAS_BOOST_RANDOM
264 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_KERNEL_HAS_BOOST_SYSTEM
265 IMP_KERNEL_HAS_CGAL = _IMP_kinematics.IMP_KERNEL_HAS_CGAL
266 IMPKERNEL_SHOW_WARNINGS = _IMP_kinematics.IMPKERNEL_SHOW_WARNINGS
267 import IMP.kernel
268 IMP_DISPLAY_HAS_IMP_BASE = _IMP_kinematics.IMP_DISPLAY_HAS_IMP_BASE
269 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_kinematics.IMP_DISPLAY_HAS_IMP_CGAL
270 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
271 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
272 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_RANDOM
273 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_DISPLAY_HAS_BOOST_SYSTEM
274 IMP_DISPLAY_HAS_CGAL = _IMP_kinematics.IMP_DISPLAY_HAS_CGAL
275 IMPDISPLAY_SHOW_WARNINGS = _IMP_kinematics.IMPDISPLAY_SHOW_WARNINGS
276 import IMP.display
277 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
278 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
279 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
280 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
281 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
282 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_CGAL
283 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_kinematics.IMP_SCORE_FUNCTOR_HAS_HDF5
284 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_kinematics.IMPSCOREFUNCTOR_SHOW_WARNINGS
285 import IMP.score_functor
286 IMP_CORE_HAS_IMP_BASE = _IMP_kinematics.IMP_CORE_HAS_IMP_BASE
287 IMP_CORE_HAS_IMP_CGAL = _IMP_kinematics.IMP_CORE_HAS_IMP_CGAL
288 IMP_CORE_HAS_IMP_KERNEL = _IMP_kinematics.IMP_CORE_HAS_IMP_KERNEL
289 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CORE_HAS_BOOST_FILESYSTEM
290 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
291 IMP_CORE_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CORE_HAS_BOOST_RANDOM
292 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CORE_HAS_BOOST_SYSTEM
293 IMP_CORE_HAS_CGAL = _IMP_kinematics.IMP_CORE_HAS_CGAL
294 IMP_CORE_HAS_HDF5 = _IMP_kinematics.IMP_CORE_HAS_HDF5
295 IMPCORE_SHOW_WARNINGS = _IMP_kinematics.IMPCORE_SHOW_WARNINGS
296 import IMP.core
297 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_ALGEBRA
298 IMP_CONTAINER_HAS_IMP_BASE = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_BASE
299 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_CGAL
300 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_DISPLAY
301 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_KERNEL
302 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
303 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
304 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
305 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_RANDOM
306 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_SYSTEM
307 IMP_CONTAINER_HAS_CGAL = _IMP_kinematics.IMP_CONTAINER_HAS_CGAL
308 IMP_CONTAINER_HAS_HDF5 = _IMP_kinematics.IMP_CONTAINER_HAS_HDF5
309 IMPCONTAINER_SHOW_WARNINGS = _IMP_kinematics.IMPCONTAINER_SHOW_WARNINGS
310 import IMP.container
311 IMP_ATOM_HAS_IMP_BASE = _IMP_kinematics.IMP_ATOM_HAS_IMP_BASE
312 IMP_ATOM_HAS_IMP_CGAL = _IMP_kinematics.IMP_ATOM_HAS_IMP_CGAL
313 IMP_ATOM_HAS_IMP_KERNEL = _IMP_kinematics.IMP_ATOM_HAS_IMP_KERNEL
314 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
315 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
316 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_ATOM_HAS_BOOST_RANDOM
317 IMP_ATOM_HAS_BOOST_REGEX = _IMP_kinematics.IMP_ATOM_HAS_BOOST_REGEX
318 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_ATOM_HAS_BOOST_SYSTEM
319 IMP_ATOM_HAS_CGAL = _IMP_kinematics.IMP_ATOM_HAS_CGAL
320 IMP_ATOM_HAS_HDF5 = _IMP_kinematics.IMP_ATOM_HAS_HDF5
321 IMPATOM_SHOW_WARNINGS = _IMP_kinematics.IMPATOM_SHOW_WARNINGS
322 IMP_ATOM_TYPE_INDEX = _IMP_kinematics.IMP_ATOM_TYPE_INDEX
323 IMP_RESIDUE_TYPE_INDEX = _IMP_kinematics.IMP_RESIDUE_TYPE_INDEX
324 IMP_HIERARCHY_TYPE_INDEX = _IMP_kinematics.IMP_HIERARCHY_TYPE_INDEX
325 import IMP.atom
326 IMP_KINEMATICS_HAS_IMP_CGAL = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_CGAL
327 IMP_KINEMATICS_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_DISPLAY
328 IMP_KINEMATICS_HAS_IMP_KERNEL = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_KERNEL
329 IMP_KINEMATICS_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_SCORE_FUNCTOR
330 IMP_KINEMATICS_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_FILESYSTEM
331 IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS
332 IMP_KINEMATICS_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_RANDOM
333 IMP_KINEMATICS_HAS_BOOST_REGEX = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_REGEX
334 IMP_KINEMATICS_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_SYSTEM
335 IMP_KINEMATICS_HAS_CGAL = _IMP_kinematics.IMP_KINEMATICS_HAS_CGAL
336 IMP_KINEMATICS_HAS_HDF5 = _IMP_kinematics.IMP_KINEMATICS_HAS_HDF5
337 IMPKINEMATICS_SHOW_WARNINGS = _IMP_kinematics.IMPKINEMATICS_SHOW_WARNINGS
338 class VectorOfDoubles(_object):
339  """Proxy of C++ std::vector<(double)> class"""
340  __swig_setmethods__ = {}
341  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorOfDoubles, name, value)
342  __swig_getmethods__ = {}
343  __getattr__ = lambda self, name: _swig_getattr(self, VectorOfDoubles, name)
344  __repr__ = _swig_repr
345  def iterator(self):
346  """iterator(VectorOfDoubles self) -> IMP_KINEMATICS_SwigPyIterator"""
347  return _IMP_kinematics.VectorOfDoubles_iterator(self)
348 
349  def __iter__(self): return self.iterator()
350  def __nonzero__(self):
351  """__nonzero__(VectorOfDoubles self) -> bool"""
352  return _IMP_kinematics.VectorOfDoubles___nonzero__(self)
353 
354  def __bool__(self):
355  """__bool__(VectorOfDoubles self) -> bool"""
356  return _IMP_kinematics.VectorOfDoubles___bool__(self)
357 
358  def __len__(self):
359  """__len__(VectorOfDoubles self) -> std::vector< double >::size_type"""
360  return _IMP_kinematics.VectorOfDoubles___len__(self)
361 
362  def pop(self):
363  """pop(VectorOfDoubles self) -> std::vector< double >::value_type"""
364  return _IMP_kinematics.VectorOfDoubles_pop(self)
365 
366  def __getslice__(self, *args):
367  """__getslice__(VectorOfDoubles self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> VectorOfDoubles"""
368  return _IMP_kinematics.VectorOfDoubles___getslice__(self, *args)
369 
370  def __setslice__(self, *args):
371  """
372  __setslice__(VectorOfDoubles self, std::vector< double >::difference_type i, std::vector< double >::difference_type j,
373  VectorOfDoubles v=std::vector< double,std::allocator< double > >())
374  __setslice__(VectorOfDoubles self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)
375  """
376  return _IMP_kinematics.VectorOfDoubles___setslice__(self, *args)
377 
378  def __delslice__(self, *args):
379  """__delslice__(VectorOfDoubles self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)"""
380  return _IMP_kinematics.VectorOfDoubles___delslice__(self, *args)
381 
382  def __delitem__(self, *args):
383  """
384  __delitem__(VectorOfDoubles self, std::vector< double >::difference_type i)
385  __delitem__(VectorOfDoubles self, PySliceObject * slice)
386  """
387  return _IMP_kinematics.VectorOfDoubles___delitem__(self, *args)
388 
389  def __getitem__(self, *args):
390  """
391  __getitem__(VectorOfDoubles self, PySliceObject * slice) -> VectorOfDoubles
392  __getitem__(VectorOfDoubles self, std::vector< double >::difference_type i) -> std::vector< double >::value_type const &
393  """
394  return _IMP_kinematics.VectorOfDoubles___getitem__(self, *args)
395 
396  def __setitem__(self, *args):
397  """
398  __setitem__(VectorOfDoubles self, PySliceObject * slice, VectorOfDoubles v)
399  __setitem__(VectorOfDoubles self, PySliceObject * slice)
400  __setitem__(VectorOfDoubles self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x)
401  """
402  return _IMP_kinematics.VectorOfDoubles___setitem__(self, *args)
403 
404  def append(self, *args):
405  """append(VectorOfDoubles self, std::vector< double >::value_type const & x)"""
406  return _IMP_kinematics.VectorOfDoubles_append(self, *args)
407 
408  def empty(self):
409  """empty(VectorOfDoubles self) -> bool"""
410  return _IMP_kinematics.VectorOfDoubles_empty(self)
411 
412  def size(self):
413  """size(VectorOfDoubles self) -> std::vector< double >::size_type"""
414  return _IMP_kinematics.VectorOfDoubles_size(self)
415 
416  def clear(self):
417  """clear(VectorOfDoubles self)"""
418  return _IMP_kinematics.VectorOfDoubles_clear(self)
419 
420  def swap(self, *args):
421  """swap(VectorOfDoubles self, VectorOfDoubles v)"""
422  return _IMP_kinematics.VectorOfDoubles_swap(self, *args)
423 
424  def get_allocator(self):
425  """get_allocator(VectorOfDoubles self) -> std::vector< double >::allocator_type"""
426  return _IMP_kinematics.VectorOfDoubles_get_allocator(self)
427 
428  def begin(self):
429  """begin(VectorOfDoubles self) -> std::vector< double >::iterator"""
430  return _IMP_kinematics.VectorOfDoubles_begin(self)
431 
432  def end(self):
433  """end(VectorOfDoubles self) -> std::vector< double >::iterator"""
434  return _IMP_kinematics.VectorOfDoubles_end(self)
435 
436  def rbegin(self):
437  """rbegin(VectorOfDoubles self) -> std::vector< double >::reverse_iterator"""
438  return _IMP_kinematics.VectorOfDoubles_rbegin(self)
439 
440  def rend(self):
441  """rend(VectorOfDoubles self) -> std::vector< double >::reverse_iterator"""
442  return _IMP_kinematics.VectorOfDoubles_rend(self)
443 
444  def pop_back(self):
445  """pop_back(VectorOfDoubles self)"""
446  return _IMP_kinematics.VectorOfDoubles_pop_back(self)
447 
448  def erase(self, *args):
449  """
450  erase(VectorOfDoubles self, std::vector< double >::iterator pos) -> std::vector< double >::iterator
451  erase(VectorOfDoubles self, std::vector< double >::iterator first, std::vector< double >::iterator last) -> std::vector< double >::iterator
452  """
453  return _IMP_kinematics.VectorOfDoubles_erase(self, *args)
454 
455  def __init__(self, *args):
456  """
457  __init__(std::vector<(double)> self) -> VectorOfDoubles
458  __init__(std::vector<(double)> self, VectorOfDoubles arg2) -> VectorOfDoubles
459  __init__(std::vector<(double)> self, std::vector< double >::size_type size) -> VectorOfDoubles
460  __init__(std::vector<(double)> self, std::vector< double >::size_type size, std::vector< double >::value_type const & value) -> VectorOfDoubles
461  """
462  this = _IMP_kinematics.new_VectorOfDoubles(*args)
463  try: self.this.append(this)
464  except: self.this = this
465  def push_back(self, *args):
466  """push_back(VectorOfDoubles self, std::vector< double >::value_type const & x)"""
467  return _IMP_kinematics.VectorOfDoubles_push_back(self, *args)
468 
469  def front(self):
470  """front(VectorOfDoubles self) -> std::vector< double >::value_type const &"""
471  return _IMP_kinematics.VectorOfDoubles_front(self)
472 
473  def back(self):
474  """back(VectorOfDoubles self) -> std::vector< double >::value_type const &"""
475  return _IMP_kinematics.VectorOfDoubles_back(self)
476 
477  def assign(self, *args):
478  """assign(VectorOfDoubles self, std::vector< double >::size_type n, std::vector< double >::value_type const & x)"""
479  return _IMP_kinematics.VectorOfDoubles_assign(self, *args)
480 
481  def resize(self, *args):
482  """
483  resize(VectorOfDoubles self, std::vector< double >::size_type new_size)
484  resize(VectorOfDoubles self, std::vector< double >::size_type new_size, std::vector< double >::value_type const & x)
485  """
486  return _IMP_kinematics.VectorOfDoubles_resize(self, *args)
487 
488  def insert(self, *args):
489  """
490  insert(VectorOfDoubles self, std::vector< double >::iterator pos, std::vector< double >::value_type const & x) -> std::vector< double >::iterator
491  insert(VectorOfDoubles self, std::vector< double >::iterator pos, std::vector< double >::size_type n, std::vector< double >::value_type const & x)
492  """
493  return _IMP_kinematics.VectorOfDoubles_insert(self, *args)
494 
495  def reserve(self, *args):
496  """reserve(VectorOfDoubles self, std::vector< double >::size_type n)"""
497  return _IMP_kinematics.VectorOfDoubles_reserve(self, *args)
498 
499  def capacity(self):
500  """capacity(VectorOfDoubles self) -> std::vector< double >::size_type"""
501  return _IMP_kinematics.VectorOfDoubles_capacity(self)
502 
503  __swig_destroy__ = _IMP_kinematics.delete_VectorOfDoubles
504  __del__ = lambda self : None;
505 VectorOfDoubles_swigregister = _IMP_kinematics.VectorOfDoubles_swigregister
506 VectorOfDoubles_swigregister(VectorOfDoubles)
507 
508 _object_types.append("Joint")
509 
510 
511 def _object_cast_to_Joint(*args):
512  """_object_cast_to_Joint(Object o) -> Joint"""
513  return _IMP_kinematics._object_cast_to_Joint(*args)
514 _object_types.append("TransformationJoint")
515 
516 
517 def _object_cast_to_TransformationJoint(*args):
518  """_object_cast_to_TransformationJoint(Object o) -> TransformationJoint"""
519  return _IMP_kinematics._object_cast_to_TransformationJoint(*args)
520 _object_types.append("RevoluteJoint")
521 
522 
523 def _object_cast_to_RevoluteJoint(*args):
524  """_object_cast_to_RevoluteJoint(Object o) -> RevoluteJoint"""
525  return _IMP_kinematics._object_cast_to_RevoluteJoint(*args)
526 _object_types.append("DihedralAngleRevoluteJoint")
527 
528 
529 def _object_cast_to_DihedralAngleRevoluteJoint(*args):
530  """_object_cast_to_DihedralAngleRevoluteJoint(Object o) -> DihedralAngleRevoluteJoint"""
531  return _IMP_kinematics._object_cast_to_DihedralAngleRevoluteJoint(*args)
532 _object_types.append("BondAngleRevoluteJoint")
533 
534 
535 def _object_cast_to_BondAngleRevoluteJoint(*args):
536  """_object_cast_to_BondAngleRevoluteJoint(Object o) -> BondAngleRevoluteJoint"""
537  return _IMP_kinematics._object_cast_to_BondAngleRevoluteJoint(*args)
538 _object_types.append("PrismaticJoint")
539 
540 
541 def _object_cast_to_PrismaticJoint(*args):
542  """_object_cast_to_PrismaticJoint(Object o) -> PrismaticJoint"""
543  return _IMP_kinematics._object_cast_to_PrismaticJoint(*args)
544 _object_types.append("KinematicForest")
545 
546 
547 def _object_cast_to_KinematicForest(*args):
548  """_object_cast_to_KinematicForest(Object o) -> KinematicForest"""
549  return _IMP_kinematics._object_cast_to_KinematicForest(*args)
550 _object_types.append("CompositeJoint")
551 
552 
553 def _object_cast_to_CompositeJoint(*args):
554  """_object_cast_to_CompositeJoint(Object o) -> CompositeJoint"""
555  return _IMP_kinematics._object_cast_to_CompositeJoint(*args)
556 _object_types.append("DOF")
557 
558 
559 def _object_cast_to_DOF(*args):
560  """_object_cast_to_DOF(Object o) -> DOF"""
561  return _IMP_kinematics._object_cast_to_DOF(*args)
562 DOFValuesList=list
563 _plural_types.append("DOFValuesList")
564 _value_types.append("DOFValues")
565 
566 DirectionalDOFs=list
567 _plural_types.append("DirectionalDOFs")
568 _value_types.append("DirectionalDOF")
569 
570 _object_types.append("DOFsSampler")
571 
572 
573 def _object_cast_to_DOFsSampler(*args):
574  """_object_cast_to_DOFsSampler(Object o) -> DOFsSampler"""
575  return _IMP_kinematics._object_cast_to_DOFsSampler(*args)
576 _object_types.append("UniformBackboneSampler")
577 
578 
579 def _object_cast_to_UniformBackboneSampler(*args):
580  """_object_cast_to_UniformBackboneSampler(Object o) -> UniformBackboneSampler"""
581  return _IMP_kinematics._object_cast_to_UniformBackboneSampler(*args)
582 class Joint(IMP.base.Object):
583  """Proxy of C++ IMP::kinematics::Joint class"""
584  __swig_setmethods__ = {}
585  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
586  __setattr__ = lambda self, name, value: _swig_setattr(self, Joint, name, value)
587  __swig_getmethods__ = {}
588  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
589  __getattr__ = lambda self, name: _swig_getattr(self, Joint, name)
590  def get_version_info(self):
591  """get_version_info(Joint self) -> VersionInfo"""
592  return _IMP_kinematics.Joint_get_version_info(self)
593 
594  def __init__(self, *args):
595  """__init__(IMP::kinematics::Joint self, RigidBody parent, RigidBody child) -> Joint"""
596  this = _IMP_kinematics.new_Joint(*args)
597  try: self.this.append(this)
598  except: self.this = this
599  def get_owner_kf(self):
600  """get_owner_kf(Joint self) -> KinematicForest"""
601  return _IMP_kinematics.Joint_get_owner_kf(self)
602 
603  def get_transformation_child_to_parent(self):
604  """get_transformation_child_to_parent(Joint self) -> Transformation3D"""
605  return _IMP_kinematics.Joint_get_transformation_child_to_parent(self)
606 
607  def get_parent_node(self):
608  """get_parent_node(Joint self) -> RigidBody"""
609  return _IMP_kinematics.Joint_get_parent_node(self)
610 
611  def get_child_node(self):
612  """get_child_node(Joint self) -> RigidBody"""
613  return _IMP_kinematics.Joint_get_child_node(self)
614 
615  def __str__(self):
616  """__str__(Joint self) -> std::string"""
617  return _IMP_kinematics.Joint___str__(self)
618 
619  def __repr__(self):
620  """__repr__(Joint self) -> std::string"""
621  return _IMP_kinematics.Joint___repr__(self)
622 
623  def get_from(o):
624  return _object_cast_to_Joint(o)
625  get_from = staticmethod(get_from)
626 
627 Joint_swigregister = _IMP_kinematics.Joint_swigregister
628 Joint_swigregister(Joint)
629 
630 class TransformationJoint(Joint):
631  """Proxy of C++ IMP::kinematics::TransformationJoint class"""
632  __swig_setmethods__ = {}
633  for _s in [Joint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
634  __setattr__ = lambda self, name, value: _swig_setattr(self, TransformationJoint, name, value)
635  __swig_getmethods__ = {}
636  for _s in [Joint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
637  __getattr__ = lambda self, name: _swig_getattr(self, TransformationJoint, name)
638  def __init__(self, *args):
639  """__init__(IMP::kinematics::TransformationJoint self, RigidBody parent, RigidBody child) -> TransformationJoint"""
640  this = _IMP_kinematics.new_TransformationJoint(*args)
641  try: self.this.append(this)
642  except: self.this = this
643  def set_transformation_child_to_parent(self, *args):
644  """set_transformation_child_to_parent(TransformationJoint self, Transformation3D transformation)"""
645  return _IMP_kinematics.TransformationJoint_set_transformation_child_to_parent(self, *args)
646 
647  def __str__(self):
648  """__str__(TransformationJoint self) -> std::string"""
649  return _IMP_kinematics.TransformationJoint___str__(self)
650 
651  def __repr__(self):
652  """__repr__(TransformationJoint self) -> std::string"""
653  return _IMP_kinematics.TransformationJoint___repr__(self)
654 
655  def get_from(o):
656  return _object_cast_to_TransformationJoint(o)
657  get_from = staticmethod(get_from)
658 
659  __swig_destroy__ = _IMP_kinematics.delete_TransformationJoint
660  __del__ = lambda self : None;
661 TransformationJoint_swigregister = _IMP_kinematics.TransformationJoint_swigregister
662 TransformationJoint_swigregister(TransformationJoint)
663 
664 class PrismaticJoint(Joint):
665  """Proxy of C++ IMP::kinematics::PrismaticJoint class"""
666  __swig_setmethods__ = {}
667  for _s in [Joint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
668  __setattr__ = lambda self, name, value: _swig_setattr(self, PrismaticJoint, name, value)
669  __swig_getmethods__ = {}
670  for _s in [Joint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
671  __getattr__ = lambda self, name: _swig_getattr(self, PrismaticJoint, name)
672  def __init__(self, *args):
673  """
674  __init__(IMP::kinematics::PrismaticJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b) -> PrismaticJoint
675  __init__(IMP::kinematics::PrismaticJoint self, RigidBody parent, RigidBody child) -> PrismaticJoint
676  """
677  this = _IMP_kinematics.new_PrismaticJoint(*args)
678  try: self.this.append(this)
679  except: self.this = this
680  def get_length(self):
681  """get_length(PrismaticJoint self) -> double"""
682  return _IMP_kinematics.PrismaticJoint_get_length(self)
683 
684  def set_length(self, *args):
685  """set_length(PrismaticJoint self, double l)"""
686  return _IMP_kinematics.PrismaticJoint_set_length(self, *args)
687 
688  def __str__(self):
689  """__str__(PrismaticJoint self) -> std::string"""
690  return _IMP_kinematics.PrismaticJoint___str__(self)
691 
692  def __repr__(self):
693  """__repr__(PrismaticJoint self) -> std::string"""
694  return _IMP_kinematics.PrismaticJoint___repr__(self)
695 
696  def get_from(o):
697  return _object_cast_to_PrismaticJoint(o)
698  get_from = staticmethod(get_from)
699 
700  __swig_destroy__ = _IMP_kinematics.delete_PrismaticJoint
701  __del__ = lambda self : None;
702 PrismaticJoint_swigregister = _IMP_kinematics.PrismaticJoint_swigregister
703 PrismaticJoint_swigregister(PrismaticJoint)
704 
705 class CompositeJoint(Joint):
706  """Proxy of C++ IMP::kinematics::CompositeJoint class"""
707  __swig_setmethods__ = {}
708  for _s in [Joint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
709  __setattr__ = lambda self, name, value: _swig_setattr(self, CompositeJoint, name, value)
710  __swig_getmethods__ = {}
711  for _s in [Joint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
712  __getattr__ = lambda self, name: _swig_getattr(self, CompositeJoint, name)
713  def __init__(self, *args):
714  """
715  __init__(IMP::kinematics::CompositeJoint self, RigidBody parent, RigidBody child, IMP::kinematics::Joints joints=IMP::kinematics::Joints()) -> CompositeJoint
716  __init__(IMP::kinematics::CompositeJoint self, RigidBody parent, RigidBody child) -> CompositeJoint
717  """
718  this = _IMP_kinematics.new_CompositeJoint(*args)
719  try: self.this.append(this)
720  except: self.this = this
721  def add_downstream_joint(self, *args):
722  """add_downstream_joint(CompositeJoint self, Joint j)"""
723  return _IMP_kinematics.CompositeJoint_add_downstream_joint(self, *args)
724 
725  def add_upstream_joint(self, *args):
726  """add_upstream_joint(CompositeJoint self, Joint j)"""
727  return _IMP_kinematics.CompositeJoint_add_upstream_joint(self, *args)
728 
729  def set_joints(self, *args):
730  """set_joints(CompositeJoint self, IMP::kinematics::Joints joints)"""
731  return _IMP_kinematics.CompositeJoint_set_joints(self, *args)
732 
733  def get_inner_joints(self):
734  """get_inner_joints(CompositeJoint self) -> IMP::kinematics::Joints const &"""
735  return _IMP_kinematics.CompositeJoint_get_inner_joints(self)
736 
737  def __str__(self):
738  """__str__(CompositeJoint self) -> std::string"""
739  return _IMP_kinematics.CompositeJoint___str__(self)
740 
741  def __repr__(self):
742  """__repr__(CompositeJoint self) -> std::string"""
743  return _IMP_kinematics.CompositeJoint___repr__(self)
744 
745  def get_from(o):
746  return _object_cast_to_CompositeJoint(o)
747  get_from = staticmethod(get_from)
748 
749  __swig_destroy__ = _IMP_kinematics.delete_CompositeJoint
750  __del__ = lambda self : None;
751 CompositeJoint_swigregister = _IMP_kinematics.CompositeJoint_swigregister
752 CompositeJoint_swigregister(CompositeJoint)
753 
754 class RevoluteJoint(Joint):
755  """Proxy of C++ IMP::kinematics::RevoluteJoint class"""
756  __swig_setmethods__ = {}
757  for _s in [Joint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
758  __setattr__ = lambda self, name, value: _swig_setattr(self, RevoluteJoint, name, value)
759  __swig_getmethods__ = {}
760  for _s in [Joint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
761  __getattr__ = lambda self, name: _swig_getattr(self, RevoluteJoint, name)
762  def __init__(self, *args):
763  """__init__(IMP::kinematics::RevoluteJoint self, RigidBody parent, RigidBody child) -> RevoluteJoint"""
764  if self.__class__ == RevoluteJoint:
765  _self = None
766  else:
767  _self = self
768  this = _IMP_kinematics.new_RevoluteJoint(_self, *args)
769  try: self.this.append(this)
770  except: self.this = this
771  if self.__class__ != RevoluteJoint:
772  import IMP.base
773  IMP.base._director_objects.register(self)
774 
775 
776 
777  __swig_destroy__ = _IMP_kinematics.delete_RevoluteJoint
778  __del__ = lambda self : None;
779  def set_angle(self, *args):
780  """set_angle(RevoluteJoint self, double angle)"""
781  return _IMP_kinematics.RevoluteJoint_set_angle(self, *args)
782 
783  def get_angle(self):
784  """get_angle(RevoluteJoint self) -> double"""
785  return _IMP_kinematics.RevoluteJoint_get_angle(self)
786 
787  def get_rot_axis_origin(self):
788  """get_rot_axis_origin(RevoluteJoint self) -> Vector3D"""
789  return _IMP_kinematics.RevoluteJoint_get_rot_axis_origin(self)
790 
791  def get_rot_axis_unit_vector(self):
792  """get_rot_axis_unit_vector(RevoluteJoint self) -> Vector3D"""
793  return _IMP_kinematics.RevoluteJoint_get_rot_axis_unit_vector(self)
794 
795  def update_child_node_reference_frame(self):
796  """update_child_node_reference_frame(RevoluteJoint self)"""
797  return _IMP_kinematics.RevoluteJoint_update_child_node_reference_frame(self)
798 
799  def update_axis_of_rotation_from_cartesian_witnesses(self):
800  """update_axis_of_rotation_from_cartesian_witnesses(RevoluteJoint self)"""
801  return _IMP_kinematics.RevoluteJoint_update_axis_of_rotation_from_cartesian_witnesses(self)
802 
803  def get_current_angle_from_cartesian_witnesses(self):
804  """get_current_angle_from_cartesian_witnesses(RevoluteJoint self) -> double"""
805  return _IMP_kinematics.RevoluteJoint_get_current_angle_from_cartesian_witnesses(self)
806 
807  def update_joint_from_cartesian_witnesses(self):
808  """update_joint_from_cartesian_witnesses(RevoluteJoint self)"""
809  return _IMP_kinematics.RevoluteJoint_update_joint_from_cartesian_witnesses(self)
810 
811  def get_rotation_about_joint_in_parent_coordinates(self):
812  """get_rotation_about_joint_in_parent_coordinates(RevoluteJoint self) -> Transformation3D"""
813  return _IMP_kinematics.RevoluteJoint_get_rotation_about_joint_in_parent_coordinates(self)
814 
815  __swig_setmethods__["angle_"] = _IMP_kinematics.RevoluteJoint_angle__set
816  __swig_getmethods__["angle_"] = _IMP_kinematics.RevoluteJoint_angle__get
817  if _newclass:angle_ = _swig_property(_IMP_kinematics.RevoluteJoint_angle__get, _IMP_kinematics.RevoluteJoint_angle__set)
818  __swig_setmethods__["last_updated_angle_"] = _IMP_kinematics.RevoluteJoint_last_updated_angle__set
819  __swig_getmethods__["last_updated_angle_"] = _IMP_kinematics.RevoluteJoint_last_updated_angle__get
820  if _newclass:last_updated_angle_ = _swig_property(_IMP_kinematics.RevoluteJoint_last_updated_angle__get, _IMP_kinematics.RevoluteJoint_last_updated_angle__set)
821  __swig_setmethods__["rot_axis_unit_vector_"] = _IMP_kinematics.RevoluteJoint_rot_axis_unit_vector__set
822  __swig_getmethods__["rot_axis_unit_vector_"] = _IMP_kinematics.RevoluteJoint_rot_axis_unit_vector__get
823  if _newclass:rot_axis_unit_vector_ = _swig_property(_IMP_kinematics.RevoluteJoint_rot_axis_unit_vector__get, _IMP_kinematics.RevoluteJoint_rot_axis_unit_vector__set)
824  __swig_setmethods__["rot_axis_origin_"] = _IMP_kinematics.RevoluteJoint_rot_axis_origin__set
825  __swig_getmethods__["rot_axis_origin_"] = _IMP_kinematics.RevoluteJoint_rot_axis_origin__get
826  if _newclass:rot_axis_origin_ = _swig_property(_IMP_kinematics.RevoluteJoint_rot_axis_origin__get, _IMP_kinematics.RevoluteJoint_rot_axis_origin__set)
827  def __str__(self):
828  """__str__(RevoluteJoint self) -> std::string"""
829  return _IMP_kinematics.RevoluteJoint___str__(self)
830 
831  def __repr__(self):
832  """__repr__(RevoluteJoint self) -> std::string"""
833  return _IMP_kinematics.RevoluteJoint___repr__(self)
834 
835  def get_from(o):
836  return _object_cast_to_RevoluteJoint(o)
837  get_from = staticmethod(get_from)
838 
839  def get_type_name(self):
840  return self.__class__.__name__
841  def do_show(self, out):
842  pass
843  def get_version_info(self):
844  if"IMP::kinematics" == "IMP":
845  return VersionInfo("python", "0")
846  else:
847  return IMP.VersionInfo("python", "0")
848  def get_from(o):
849  return _object_cast_to_RevoluteJoint(o)
850  get_from = staticmethod(get_from)
851 
852  def __disown__(self):
853  self.this.disown()
854  _IMP_kinematics.disown_RevoluteJoint(self)
855  return weakref_proxy(self)
856  def do_destroy(self):
857  """do_destroy(RevoluteJoint self)"""
858  return _IMP_kinematics.RevoluteJoint_do_destroy(self)
859 
860 RevoluteJoint_swigregister = _IMP_kinematics.RevoluteJoint_swigregister
861 RevoluteJoint_swigregister(RevoluteJoint)
862 
863 class DihedralAngleRevoluteJoint(RevoluteJoint):
864  """Proxy of C++ IMP::kinematics::DihedralAngleRevoluteJoint class"""
865  __swig_setmethods__ = {}
866  for _s in [RevoluteJoint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
867  __setattr__ = lambda self, name, value: _swig_setattr(self, DihedralAngleRevoluteJoint, name, value)
868  __swig_getmethods__ = {}
869  for _s in [RevoluteJoint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
870  __getattr__ = lambda self, name: _swig_getattr(self, DihedralAngleRevoluteJoint, name)
871  def __init__(self, *args):
872  """__init__(IMP::kinematics::DihedralAngleRevoluteJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b, XYZ c, XYZ d) -> DihedralAngleRevoluteJoint"""
873  this = _IMP_kinematics.new_DihedralAngleRevoluteJoint(*args)
874  try: self.this.append(this)
875  except: self.this = this
876  def __str__(self):
877  """__str__(DihedralAngleRevoluteJoint self) -> std::string"""
878  return _IMP_kinematics.DihedralAngleRevoluteJoint___str__(self)
879 
880  def __repr__(self):
881  """__repr__(DihedralAngleRevoluteJoint self) -> std::string"""
882  return _IMP_kinematics.DihedralAngleRevoluteJoint___repr__(self)
883 
884  def get_from(o):
885  return _object_cast_to_DihedralAngleRevoluteJoint(o)
886  get_from = staticmethod(get_from)
887 
888  __swig_destroy__ = _IMP_kinematics.delete_DihedralAngleRevoluteJoint
889  __del__ = lambda self : None;
890 DihedralAngleRevoluteJoint_swigregister = _IMP_kinematics.DihedralAngleRevoluteJoint_swigregister
891 DihedralAngleRevoluteJoint_swigregister(DihedralAngleRevoluteJoint)
892 
893 class BondAngleRevoluteJoint(RevoluteJoint):
894  """Proxy of C++ IMP::kinematics::BondAngleRevoluteJoint class"""
895  __swig_setmethods__ = {}
896  for _s in [RevoluteJoint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
897  __setattr__ = lambda self, name, value: _swig_setattr(self, BondAngleRevoluteJoint, name, value)
898  __swig_getmethods__ = {}
899  for _s in [RevoluteJoint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
900  __getattr__ = lambda self, name: _swig_getattr(self, BondAngleRevoluteJoint, name)
901  def __init__(self, *args):
902  """__init__(IMP::kinematics::BondAngleRevoluteJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b, XYZ c) -> BondAngleRevoluteJoint"""
903  this = _IMP_kinematics.new_BondAngleRevoluteJoint(*args)
904  try: self.this.append(this)
905  except: self.this = this
906  def __str__(self):
907  """__str__(BondAngleRevoluteJoint self) -> std::string"""
908  return _IMP_kinematics.BondAngleRevoluteJoint___str__(self)
909 
910  def __repr__(self):
911  """__repr__(BondAngleRevoluteJoint self) -> std::string"""
912  return _IMP_kinematics.BondAngleRevoluteJoint___repr__(self)
913 
914  def get_from(o):
915  return _object_cast_to_BondAngleRevoluteJoint(o)
916  get_from = staticmethod(get_from)
917 
918  __swig_destroy__ = _IMP_kinematics.delete_BondAngleRevoluteJoint
919  __del__ = lambda self : None;
920 BondAngleRevoluteJoint_swigregister = _IMP_kinematics.BondAngleRevoluteJoint_swigregister
921 BondAngleRevoluteJoint_swigregister(BondAngleRevoluteJoint)
922 
923 class KinematicForest(IMP.base.Object):
924  """Proxy of C++ IMP::kinematics::KinematicForest class"""
925  __swig_setmethods__ = {}
926  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
927  __setattr__ = lambda self, name, value: _swig_setattr(self, KinematicForest, name, value)
928  __swig_getmethods__ = {}
929  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
930  __getattr__ = lambda self, name: _swig_getattr(self, KinematicForest, name)
931  def get_version_info(self):
932  """get_version_info(KinematicForest self) -> VersionInfo"""
933  return _IMP_kinematics.KinematicForest_get_version_info(self)
934 
935  def __init__(self, *args):
936  """
937  __init__(IMP::kinematics::KinematicForest self, Model m) -> KinematicForest
938  __init__(IMP::kinematics::KinematicForest self, Model m, Hierarchy hierarchy) -> KinematicForest
939  """
940  this = _IMP_kinematics.new_KinematicForest(*args)
941  try: self.this.append(this)
942  except: self.this = this
943  def add_edge(self, *args):
944  """
945  add_edge(KinematicForest self, RigidBody parent, RigidBody child) -> Joint
946  add_edge(KinematicForest self, Joint joint)
947  """
948  return _IMP_kinematics.KinematicForest_add_edge(self, *args)
949 
950  def add_rigid_bodies_in_chain(self, *args):
951  """add_rigid_bodies_in_chain(KinematicForest self, IMP::core::RigidBodies rbs)"""
952  return _IMP_kinematics.KinematicForest_add_rigid_bodies_in_chain(self, *args)
953 
954  def reset_root(self, *args):
955  """reset_root(KinematicForest self, Particle new_root)"""
956  return _IMP_kinematics.KinematicForest_reset_root(self, *args)
957 
958  def update_all_internal_coordinates(self):
959  """update_all_internal_coordinates(KinematicForest self)"""
960  return _IMP_kinematics.KinematicForest_update_all_internal_coordinates(self)
961 
962  def update_all_external_coordinates(self):
963  """update_all_external_coordinates(KinematicForest self)"""
964  return _IMP_kinematics.KinematicForest_update_all_external_coordinates(self)
965 
966  def get_ordered_joints(self):
967  """get_ordered_joints(KinematicForest self) -> IMP::kinematics::Joints"""
968  return _IMP_kinematics.KinematicForest_get_ordered_joints(self)
969 
970  def mark_internal_coordinates_changed(self):
971  """mark_internal_coordinates_changed(KinematicForest self)"""
972  return _IMP_kinematics.KinematicForest_mark_internal_coordinates_changed(self)
973 
974  def mark_external_coordinates_changed(self):
975  """mark_external_coordinates_changed(KinematicForest self)"""
976  return _IMP_kinematics.KinematicForest_mark_external_coordinates_changed(self)
977 
978  def set_coordinates_safe(self, *args):
979  """set_coordinates_safe(KinematicForest self, RigidBody rb, Vector3D c)"""
980  return _IMP_kinematics.KinematicForest_set_coordinates_safe(self, *args)
981 
982  def get_coordinates_safe(self, *args):
983  """get_coordinates_safe(KinematicForest self, RigidBody rb) -> Vector3D"""
984  return _IMP_kinematics.KinematicForest_get_coordinates_safe(self, *args)
985 
986  def get_is_member(self, *args):
987  """get_is_member(KinematicForest self, RigidBody rb) -> bool"""
988  return _IMP_kinematics.KinematicForest_get_is_member(self, *args)
989 
990  def get_reference_frame_safe(self, *args):
991  """get_reference_frame_safe(KinematicForest self, RigidBody rb) -> ReferenceFrame3D"""
992  return _IMP_kinematics.KinematicForest_get_reference_frame_safe(self, *args)
993 
994  def set_reference_frame_safe(self, *args):
995  """set_reference_frame_safe(KinematicForest self, RigidBody rb, ReferenceFrame3D r)"""
996  return _IMP_kinematics.KinematicForest_set_reference_frame_safe(self, *args)
997 
998  def __str__(self):
999  """__str__(KinematicForest self) -> std::string"""
1000  return _IMP_kinematics.KinematicForest___str__(self)
1001 
1002  def __repr__(self):
1003  """__repr__(KinematicForest self) -> std::string"""
1004  return _IMP_kinematics.KinematicForest___repr__(self)
1005 
1006  def get_from(o):
1007  return _object_cast_to_KinematicForest(o)
1008  get_from = staticmethod(get_from)
1009 
1010 KinematicForest_swigregister = _IMP_kinematics.KinematicForest_swigregister
1011 KinematicForest_swigregister(KinematicForest)
1012 
1013 class DOF(IMP.base.Object):
1014  """Proxy of C++ IMP::kinematics::DOF class"""
1015  __swig_setmethods__ = {}
1016  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1017  __setattr__ = lambda self, name, value: _swig_setattr(self, DOF, name, value)
1018  __swig_getmethods__ = {}
1019  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1020  __getattr__ = lambda self, name: _swig_getattr(self, DOF, name)
1021  def get_version_info(self):
1022  """get_version_info(DOF self) -> VersionInfo"""
1023  return _IMP_kinematics.DOF_get_version_info(self)
1024 
1025  def __init__(self, *args):
1026  """
1027  __init__(IMP::kinematics::DOF self, double v) -> DOF
1028  __init__(IMP::kinematics::DOF self, double v, double min, double max, double step_size) -> DOF
1029  """
1030  this = _IMP_kinematics.new_DOF(*args)
1031  try: self.this.append(this)
1032  except: self.this = this
1033  def get_value(self):
1034  """get_value(DOF self) -> double"""
1035  return _IMP_kinematics.DOF_get_value(self)
1036 
1037  def set_value(self, *args):
1038  """set_value(DOF self, double v)"""
1039  return _IMP_kinematics.DOF_set_value(self, *args)
1040 
1041  def get_range(self):
1042  """get_range(DOF self) -> std::pair< double,double >"""
1043  return _IMP_kinematics.DOF_get_range(self)
1044 
1045  def set_range(self, *args):
1046  """set_range(DOF self, std::pair< double,double > range)"""
1047  return _IMP_kinematics.DOF_set_range(self, *args)
1048 
1049  def get_step_size(self):
1050  """get_step_size(DOF self) -> double"""
1051  return _IMP_kinematics.DOF_get_step_size(self)
1052 
1053  def set_step_size(self, *args):
1054  """set_step_size(DOF self, double step_size)"""
1055  return _IMP_kinematics.DOF_set_step_size(self, *args)
1056 
1057  def get_number_of_steps(self, *args):
1058  """
1059  get_number_of_steps(DOF self, double value) -> int
1060  get_number_of_steps(DOF self, double value1, double value2) -> int
1061  """
1062  return _IMP_kinematics.DOF_get_number_of_steps(self, *args)
1063 
1064  def __str__(self):
1065  """__str__(DOF self) -> std::string"""
1066  return _IMP_kinematics.DOF___str__(self)
1067 
1068  def __repr__(self):
1069  """__repr__(DOF self) -> std::string"""
1070  return _IMP_kinematics.DOF___repr__(self)
1071 
1072  def get_from(o):
1073  return _object_cast_to_DOF(o)
1074  get_from = staticmethod(get_from)
1075 
1076 DOF_swigregister = _IMP_kinematics.DOF_swigregister
1077 DOF_swigregister(DOF)
1078 
1079 class DOFValues(VectorOfDoubles):
1080  """Proxy of C++ IMP::kinematics::DOFValues class"""
1081  __swig_setmethods__ = {}
1082  for _s in [VectorOfDoubles]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1083  __setattr__ = lambda self, name, value: _swig_setattr(self, DOFValues, name, value)
1084  __swig_getmethods__ = {}
1085  for _s in [VectorOfDoubles]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1086  __getattr__ = lambda self, name: _swig_getattr(self, DOFValues, name)
1087  def __init__(self, *args):
1088  """
1089  __init__(IMP::kinematics::DOFValues self, IMP::kinematics::DOFs const & dofs) -> DOFValues
1090  __init__(IMP::kinematics::DOFValues self) -> DOFValues
1091  """
1092  this = _IMP_kinematics.new_DOFValues(*args)
1093  try: self.this.append(this)
1094  except: self.this = this
1095  def get_distance2(self, *args):
1096  """get_distance2(DOFValues self, DOFValues other_dof_values) -> double"""
1097  return _IMP_kinematics.DOFValues_get_distance2(self, *args)
1098 
1099  def get_distance(self, *args):
1100  """get_distance(DOFValues self, DOFValues other_dof_values) -> double"""
1101  return _IMP_kinematics.DOFValues_get_distance(self, *args)
1102 
1103  def show(self, *args):
1104  """
1105  show(DOFValues self, _ostream out=std::cout)
1106  show(DOFValues self)
1107  """
1108  return _IMP_kinematics.DOFValues_show(self, *args)
1109 
1110  def __str__(self):
1111  """__str__(DOFValues self) -> std::string"""
1112  return _IMP_kinematics.DOFValues___str__(self)
1113 
1114  def __repr__(self):
1115  """__repr__(DOFValues self) -> std::string"""
1116  return _IMP_kinematics.DOFValues___repr__(self)
1117 
1118  __swig_destroy__ = _IMP_kinematics.delete_DOFValues
1119  __del__ = lambda self : None;
1120 DOFValues_swigregister = _IMP_kinematics.DOFValues_swigregister
1121 DOFValues_swigregister(DOFValues)
1122 
1123 class DirectionalDOF(_object):
1124  """Proxy of C++ IMP::kinematics::DirectionalDOF class"""
1125  __swig_setmethods__ = {}
1126  __setattr__ = lambda self, name, value: _swig_setattr(self, DirectionalDOF, name, value)
1127  __swig_getmethods__ = {}
1128  __getattr__ = lambda self, name: _swig_getattr(self, DirectionalDOF, name)
1129  def __init__(self, *args):
1130  """__init__(IMP::kinematics::DirectionalDOF self, IMP::kinematics::DOFs const & dofs) -> DirectionalDOF"""
1131  this = _IMP_kinematics.new_DirectionalDOF(*args)
1132  try: self.this.append(this)
1133  except: self.this = this
1134  def set_end_points(self, *args):
1135  """set_end_points(DirectionalDOF self, DOFValues q1, DOFValues q2)"""
1136  return _IMP_kinematics.DirectionalDOF_set_end_points(self, *args)
1137 
1138  def get_dofs_values(self):
1139  """get_dofs_values(DirectionalDOF self) -> DOFValues"""
1140  return _IMP_kinematics.DirectionalDOF_get_dofs_values(self)
1141 
1142  def get_value(self):
1143  """get_value(DirectionalDOF self) -> double"""
1144  return _IMP_kinematics.DirectionalDOF_get_value(self)
1145 
1146  def show(self, *args):
1147  """
1148  show(DirectionalDOF self, _ostream out=std::cout)
1149  show(DirectionalDOF self)
1150  """
1151  return _IMP_kinematics.DirectionalDOF_show(self, *args)
1152 
1153  def __str__(self):
1154  """__str__(DirectionalDOF self) -> std::string"""
1155  return _IMP_kinematics.DirectionalDOF___str__(self)
1156 
1157  def __repr__(self):
1158  """__repr__(DirectionalDOF self) -> std::string"""
1159  return _IMP_kinematics.DirectionalDOF___repr__(self)
1160 
1161  __swig_destroy__ = _IMP_kinematics.delete_DirectionalDOF
1162  __del__ = lambda self : None;
1163 DirectionalDOF_swigregister = _IMP_kinematics.DirectionalDOF_swigregister
1164 DirectionalDOF_swigregister(DirectionalDOF)
1165 
1166 class DOFsSampler(IMP.base.Object):
1167  """Proxy of C++ IMP::kinematics::DOFsSampler class"""
1168  __swig_setmethods__ = {}
1169  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1170  __setattr__ = lambda self, name, value: _swig_setattr(self, DOFsSampler, name, value)
1171  __swig_getmethods__ = {}
1172  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1173  __getattr__ = lambda self, name: _swig_getattr(self, DOFsSampler, name)
1174  def get_type_name(self):
1175  """get_type_name(DOFsSampler self) -> std::string"""
1176  return _IMP_kinematics.DOFsSampler_get_type_name(self)
1177 
1178  def get_version_info(self):
1179  """get_version_info(DOFsSampler self) -> VersionInfo"""
1180  return _IMP_kinematics.DOFsSampler_get_version_info(self)
1181 
1182  def __init__(self, *args):
1183  """__init__(IMP::kinematics::DOFsSampler self, IMP::kinematics::DOFs dofs) -> DOFsSampler"""
1184  if self.__class__ == DOFsSampler:
1185  _self = None
1186  else:
1187  _self = self
1188  this = _IMP_kinematics.new_DOFsSampler(_self, *args)
1189  try: self.this.append(this)
1190  except: self.this = this
1191  if self.__class__ != DOFsSampler:
1192  import IMP.base
1193  IMP.base._director_objects.register(self)
1194 
1195 
1196 
1197  def get_sample(self):
1198  """get_sample(DOFsSampler self) -> DOFValues"""
1199  return _IMP_kinematics.DOFsSampler_get_sample(self)
1200 
1201  def apply(self, *args):
1202  """apply(DOFsSampler self, DOFValues values)"""
1203  return _IMP_kinematics.DOFsSampler_apply(self, *args)
1204 
1205  def apply_last_sample(self):
1206  """apply_last_sample(DOFsSampler self)"""
1207  return _IMP_kinematics.DOFsSampler_apply_last_sample(self)
1208 
1209  def sample_and_apply(self):
1210  """sample_and_apply(DOFsSampler self)"""
1211  return _IMP_kinematics.DOFsSampler_sample_and_apply(self)
1212 
1213  def get_dofs(self):
1214  """get_dofs(DOFsSampler self) -> IMP::kinematics::DOFs const &"""
1215  return _IMP_kinematics.DOFsSampler_get_dofs(self)
1216 
1217  def get_dof(self, *args):
1218  """get_dof(DOFsSampler self, unsigned int i) -> DOF"""
1219  return _IMP_kinematics.DOFsSampler_get_dof(self, *args)
1220 
1221  def get_number_of_dofs(self):
1222  """get_number_of_dofs(DOFsSampler self) -> unsigned int"""
1223  return _IMP_kinematics.DOFsSampler_get_number_of_dofs(self)
1224 
1225  def do_get_sample(self):
1226  """do_get_sample(DOFsSampler self) -> DOFValues"""
1227  return _IMP_kinematics.DOFsSampler_do_get_sample(self)
1228 
1229  def __str__(self):
1230  """__str__(DOFsSampler self) -> std::string"""
1231  return _IMP_kinematics.DOFsSampler___str__(self)
1232 
1233  def __repr__(self):
1234  """__repr__(DOFsSampler self) -> std::string"""
1235  return _IMP_kinematics.DOFsSampler___repr__(self)
1236 
1237  def get_from(o):
1238  return _object_cast_to_DOFsSampler(o)
1239  get_from = staticmethod(get_from)
1240 
1241  def get_type_name(self):
1242  return self.__class__.__name__
1243  def do_show(self, out):
1244  pass
1245  def get_version_info(self):
1246  if"IMP::kinematics" == "IMP":
1247  return VersionInfo("python", "0")
1248  else:
1249  return IMP.VersionInfo("python", "0")
1250  def get_from(o):
1251  return _object_cast_to_DOFsSampler(o)
1252  get_from = staticmethod(get_from)
1253 
1254  def __disown__(self):
1255  self.this.disown()
1256  _IMP_kinematics.disown_DOFsSampler(self)
1257  return weakref_proxy(self)
1258  def do_destroy(self):
1259  """do_destroy(DOFsSampler self)"""
1260  return _IMP_kinematics.DOFsSampler_do_destroy(self)
1261 
1262 DOFsSampler_swigregister = _IMP_kinematics.DOFsSampler_swigregister
1263 DOFsSampler_swigregister(DOFsSampler)
1264 
1265 class UniformBackboneSampler(DOFsSampler):
1266  """Proxy of C++ IMP::kinematics::UniformBackboneSampler class"""
1267  __swig_setmethods__ = {}
1268  for _s in [DOFsSampler]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1269  __setattr__ = lambda self, name, value: _swig_setattr(self, UniformBackboneSampler, name, value)
1270  __swig_getmethods__ = {}
1271  for _s in [DOFsSampler]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1272  __getattr__ = lambda self, name: _swig_getattr(self, UniformBackboneSampler, name)
1273  def __init__(self, *args):
1274  """__init__(IMP::kinematics::UniformBackboneSampler self, IMP::kinematics::DihedralAngleRevoluteJoints joints, IMP::kinematics::DOFs dofs) -> UniformBackboneSampler"""
1275  this = _IMP_kinematics.new_UniformBackboneSampler(*args)
1276  try: self.this.append(this)
1277  except: self.this = this
1278  def __str__(self):
1279  """__str__(UniformBackboneSampler self) -> std::string"""
1280  return _IMP_kinematics.UniformBackboneSampler___str__(self)
1281 
1282  def __repr__(self):
1283  """__repr__(UniformBackboneSampler self) -> std::string"""
1284  return _IMP_kinematics.UniformBackboneSampler___repr__(self)
1285 
1286  def get_from(o):
1287  return _object_cast_to_UniformBackboneSampler(o)
1288  get_from = staticmethod(get_from)
1289 
1290  __swig_destroy__ = _IMP_kinematics.delete_UniformBackboneSampler
1291  __del__ = lambda self : None;
1292 UniformBackboneSampler_swigregister = _IMP_kinematics.UniformBackboneSampler_swigregister
1293 UniformBackboneSampler_swigregister(UniformBackboneSampler)
1294 
1295 
1296 def get_module_version():
1297  """get_module_version() -> std::string const"""
1298  return _IMP_kinematics.get_module_version()
1299 
1300 def get_example_path(*args):
1301  """get_example_path(std::string fname) -> std::string"""
1302  return _IMP_kinematics.get_example_path(*args)
1303 
1304 def get_data_path(*args):
1305  """get_data_path(std::string fname) -> std::string"""
1306  return _IMP_kinematics.get_data_path(*args)
1307 import _version_check
1308 _version_check.check_version(get_module_version())
1309 
1310 # This file is compatible with both classic and new-style classes.
1311 
1312 
Various classes to hold sets of particles.
Make CGAL functionality available to IMP.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
Definition: exception.h:73
Low level functionality (logging, error handling, profiling, command line flags etc) that is used by ...
std::string get_data_path(std::string file_name)
Return the full path to installed data.
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:71
Base functionality and abstract base classes for representation, scoring and sampling.
Common base class for heavy weight IMP objects.
Definition: Object.h:106
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...
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
Output IMP model data in various file formats.
CheckLevel get_check_level()
Get the current audit mode.
Definition: exception.h:81
Functionality for loading, creating, manipulating and scoring atomic structures.