IMP  2.1.1
The Integrative Modeling Platform
kinematics/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 2.0.11
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 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_kinematics.IMPSCOREFUNCTOR_SHOW_WARNINGS
284 import IMP.score_functor
285 IMP_CORE_HAS_IMP_BASE = _IMP_kinematics.IMP_CORE_HAS_IMP_BASE
286 IMP_CORE_HAS_IMP_CGAL = _IMP_kinematics.IMP_CORE_HAS_IMP_CGAL
287 IMP_CORE_HAS_IMP_KERNEL = _IMP_kinematics.IMP_CORE_HAS_IMP_KERNEL
288 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CORE_HAS_BOOST_FILESYSTEM
289 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
290 IMP_CORE_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CORE_HAS_BOOST_RANDOM
291 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CORE_HAS_BOOST_SYSTEM
292 IMP_CORE_HAS_CGAL = _IMP_kinematics.IMP_CORE_HAS_CGAL
293 IMPCORE_SHOW_WARNINGS = _IMP_kinematics.IMPCORE_SHOW_WARNINGS
294 import IMP.core
295 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_ALGEBRA
296 IMP_CONTAINER_HAS_IMP_BASE = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_BASE
297 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_CGAL
298 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_DISPLAY
299 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_KERNEL
300 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
301 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
302 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
303 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_RANDOM
304 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_CONTAINER_HAS_BOOST_SYSTEM
305 IMP_CONTAINER_HAS_CGAL = _IMP_kinematics.IMP_CONTAINER_HAS_CGAL
306 IMPCONTAINER_SHOW_WARNINGS = _IMP_kinematics.IMPCONTAINER_SHOW_WARNINGS
307 import IMP.container
308 IMP_ATOM_HAS_IMP_BASE = _IMP_kinematics.IMP_ATOM_HAS_IMP_BASE
309 IMP_ATOM_HAS_IMP_CGAL = _IMP_kinematics.IMP_ATOM_HAS_IMP_CGAL
310 IMP_ATOM_HAS_IMP_KERNEL = _IMP_kinematics.IMP_ATOM_HAS_IMP_KERNEL
311 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
312 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
313 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_ATOM_HAS_BOOST_RANDOM
314 IMP_ATOM_HAS_BOOST_REGEX = _IMP_kinematics.IMP_ATOM_HAS_BOOST_REGEX
315 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_ATOM_HAS_BOOST_SYSTEM
316 IMP_ATOM_HAS_CGAL = _IMP_kinematics.IMP_ATOM_HAS_CGAL
317 IMPATOM_SHOW_WARNINGS = _IMP_kinematics.IMPATOM_SHOW_WARNINGS
318 IMP_ATOM_TYPE_INDEX = _IMP_kinematics.IMP_ATOM_TYPE_INDEX
319 IMP_RESIDUE_TYPE_INDEX = _IMP_kinematics.IMP_RESIDUE_TYPE_INDEX
320 IMP_HIERARCHY_TYPE_INDEX = _IMP_kinematics.IMP_HIERARCHY_TYPE_INDEX
321 import IMP.atom
322 IMP_KINEMATICS_HAS_IMP_CGAL = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_CGAL
323 IMP_KINEMATICS_HAS_IMP_DISPLAY = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_DISPLAY
324 IMP_KINEMATICS_HAS_IMP_KERNEL = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_KERNEL
325 IMP_KINEMATICS_HAS_IMP_SCORE_FUNCTOR = _IMP_kinematics.IMP_KINEMATICS_HAS_IMP_SCORE_FUNCTOR
326 IMP_KINEMATICS_HAS_BOOST_FILESYSTEM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_FILESYSTEM
327 IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_PROGRAMOPTIONS
328 IMP_KINEMATICS_HAS_BOOST_RANDOM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_RANDOM
329 IMP_KINEMATICS_HAS_BOOST_REGEX = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_REGEX
330 IMP_KINEMATICS_HAS_BOOST_SYSTEM = _IMP_kinematics.IMP_KINEMATICS_HAS_BOOST_SYSTEM
331 IMP_KINEMATICS_HAS_CGAL = _IMP_kinematics.IMP_KINEMATICS_HAS_CGAL
332 IMPKINEMATICS_SHOW_WARNINGS = _IMP_kinematics.IMPKINEMATICS_SHOW_WARNINGS
333 class VectorOfDoubles(_object):
334  """Proxy of C++ std::vector<(double)> class"""
335  __swig_setmethods__ = {}
336  __setattr__ = lambda self, name, value: _swig_setattr(self, VectorOfDoubles, name, value)
337  __swig_getmethods__ = {}
338  __getattr__ = lambda self, name: _swig_getattr(self, VectorOfDoubles, name)
339  __repr__ = _swig_repr
340  def iterator(self):
341  """iterator(VectorOfDoubles self) -> IMP_KINEMATICS_SwigPyIterator"""
342  return _IMP_kinematics.VectorOfDoubles_iterator(self)
343 
344  def __iter__(self): return self.iterator()
345  def __nonzero__(self):
346  """__nonzero__(VectorOfDoubles self) -> bool"""
347  return _IMP_kinematics.VectorOfDoubles___nonzero__(self)
348 
349  def __bool__(self):
350  """__bool__(VectorOfDoubles self) -> bool"""
351  return _IMP_kinematics.VectorOfDoubles___bool__(self)
352 
353  def __len__(self):
354  """__len__(VectorOfDoubles self) -> std::vector< double >::size_type"""
355  return _IMP_kinematics.VectorOfDoubles___len__(self)
356 
357  def pop(self):
358  """pop(VectorOfDoubles self) -> std::vector< double >::value_type"""
359  return _IMP_kinematics.VectorOfDoubles_pop(self)
360 
361  def __getslice__(self, *args):
362  """__getslice__(VectorOfDoubles self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> VectorOfDoubles"""
363  return _IMP_kinematics.VectorOfDoubles___getslice__(self, *args)
364 
365  def __setslice__(self, *args):
366  """
367  __setslice__(VectorOfDoubles self, std::vector< double >::difference_type i, std::vector< double >::difference_type j,
368  VectorOfDoubles v=std::vector< double,std::allocator< double > >())
369  __setslice__(VectorOfDoubles self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)
370  """
371  return _IMP_kinematics.VectorOfDoubles___setslice__(self, *args)
372 
373  def __delslice__(self, *args):
374  """__delslice__(VectorOfDoubles self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)"""
375  return _IMP_kinematics.VectorOfDoubles___delslice__(self, *args)
376 
377  def __delitem__(self, *args):
378  """
379  __delitem__(VectorOfDoubles self, std::vector< double >::difference_type i)
380  __delitem__(VectorOfDoubles self, PySliceObject * slice)
381  """
382  return _IMP_kinematics.VectorOfDoubles___delitem__(self, *args)
383 
384  def __getitem__(self, *args):
385  """
386  __getitem__(VectorOfDoubles self, PySliceObject * slice) -> VectorOfDoubles
387  __getitem__(VectorOfDoubles self, std::vector< double >::difference_type i) -> std::vector< double >::value_type const &
388  """
389  return _IMP_kinematics.VectorOfDoubles___getitem__(self, *args)
390 
391  def __setitem__(self, *args):
392  """
393  __setitem__(VectorOfDoubles self, PySliceObject * slice, VectorOfDoubles v)
394  __setitem__(VectorOfDoubles self, PySliceObject * slice)
395  __setitem__(VectorOfDoubles self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x)
396  """
397  return _IMP_kinematics.VectorOfDoubles___setitem__(self, *args)
398 
399  def append(self, *args):
400  """append(VectorOfDoubles self, std::vector< double >::value_type const & x)"""
401  return _IMP_kinematics.VectorOfDoubles_append(self, *args)
402 
403  def empty(self):
404  """empty(VectorOfDoubles self) -> bool"""
405  return _IMP_kinematics.VectorOfDoubles_empty(self)
406 
407  def size(self):
408  """size(VectorOfDoubles self) -> std::vector< double >::size_type"""
409  return _IMP_kinematics.VectorOfDoubles_size(self)
410 
411  def clear(self):
412  """clear(VectorOfDoubles self)"""
413  return _IMP_kinematics.VectorOfDoubles_clear(self)
414 
415  def swap(self, *args):
416  """swap(VectorOfDoubles self, VectorOfDoubles v)"""
417  return _IMP_kinematics.VectorOfDoubles_swap(self, *args)
418 
419  def get_allocator(self):
420  """get_allocator(VectorOfDoubles self) -> std::vector< double >::allocator_type"""
421  return _IMP_kinematics.VectorOfDoubles_get_allocator(self)
422 
423  def begin(self):
424  """begin(VectorOfDoubles self) -> std::vector< double >::iterator"""
425  return _IMP_kinematics.VectorOfDoubles_begin(self)
426 
427  def end(self):
428  """end(VectorOfDoubles self) -> std::vector< double >::iterator"""
429  return _IMP_kinematics.VectorOfDoubles_end(self)
430 
431  def rbegin(self):
432  """rbegin(VectorOfDoubles self) -> std::vector< double >::reverse_iterator"""
433  return _IMP_kinematics.VectorOfDoubles_rbegin(self)
434 
435  def rend(self):
436  """rend(VectorOfDoubles self) -> std::vector< double >::reverse_iterator"""
437  return _IMP_kinematics.VectorOfDoubles_rend(self)
438 
439  def pop_back(self):
440  """pop_back(VectorOfDoubles self)"""
441  return _IMP_kinematics.VectorOfDoubles_pop_back(self)
442 
443  def erase(self, *args):
444  """
445  erase(VectorOfDoubles self, std::vector< double >::iterator pos) -> std::vector< double >::iterator
446  erase(VectorOfDoubles self, std::vector< double >::iterator first, std::vector< double >::iterator last) -> std::vector< double >::iterator
447  """
448  return _IMP_kinematics.VectorOfDoubles_erase(self, *args)
449 
450  def __init__(self, *args):
451  """
452  __init__(std::vector<(double)> self) -> VectorOfDoubles
453  __init__(std::vector<(double)> self, VectorOfDoubles arg2) -> VectorOfDoubles
454  __init__(std::vector<(double)> self, std::vector< double >::size_type size) -> VectorOfDoubles
455  __init__(std::vector<(double)> self, std::vector< double >::size_type size, std::vector< double >::value_type const & value) -> VectorOfDoubles
456  """
457  this = _IMP_kinematics.new_VectorOfDoubles(*args)
458  try: self.this.append(this)
459  except: self.this = this
460  def push_back(self, *args):
461  """push_back(VectorOfDoubles self, std::vector< double >::value_type const & x)"""
462  return _IMP_kinematics.VectorOfDoubles_push_back(self, *args)
463 
464  def front(self):
465  """front(VectorOfDoubles self) -> std::vector< double >::value_type const &"""
466  return _IMP_kinematics.VectorOfDoubles_front(self)
467 
468  def back(self):
469  """back(VectorOfDoubles self) -> std::vector< double >::value_type const &"""
470  return _IMP_kinematics.VectorOfDoubles_back(self)
471 
472  def assign(self, *args):
473  """assign(VectorOfDoubles self, std::vector< double >::size_type n, std::vector< double >::value_type const & x)"""
474  return _IMP_kinematics.VectorOfDoubles_assign(self, *args)
475 
476  def resize(self, *args):
477  """
478  resize(VectorOfDoubles self, std::vector< double >::size_type new_size)
479  resize(VectorOfDoubles self, std::vector< double >::size_type new_size, std::vector< double >::value_type const & x)
480  """
481  return _IMP_kinematics.VectorOfDoubles_resize(self, *args)
482 
483  def insert(self, *args):
484  """
485  insert(VectorOfDoubles self, std::vector< double >::iterator pos, std::vector< double >::value_type const & x) -> std::vector< double >::iterator
486  insert(VectorOfDoubles self, std::vector< double >::iterator pos, std::vector< double >::size_type n, std::vector< double >::value_type const & x)
487  """
488  return _IMP_kinematics.VectorOfDoubles_insert(self, *args)
489 
490  def reserve(self, *args):
491  """reserve(VectorOfDoubles self, std::vector< double >::size_type n)"""
492  return _IMP_kinematics.VectorOfDoubles_reserve(self, *args)
493 
494  def capacity(self):
495  """capacity(VectorOfDoubles self) -> std::vector< double >::size_type"""
496  return _IMP_kinematics.VectorOfDoubles_capacity(self)
497 
498  __swig_destroy__ = _IMP_kinematics.delete_VectorOfDoubles
499  __del__ = lambda self : None;
500 VectorOfDoubles_swigregister = _IMP_kinematics.VectorOfDoubles_swigregister
501 VectorOfDoubles_swigregister(VectorOfDoubles)
502 
503 _object_types.append("Joint")
504 
505 
506 def _object_cast_to_Joint(*args):
507  """_object_cast_to_Joint(Object o) -> Joint"""
508  return _IMP_kinematics._object_cast_to_Joint(*args)
509 _object_types.append("TransformationJoint")
510 
511 
512 def _object_cast_to_TransformationJoint(*args):
513  """_object_cast_to_TransformationJoint(Object o) -> TransformationJoint"""
514  return _IMP_kinematics._object_cast_to_TransformationJoint(*args)
515 _object_types.append("RevoluteJoint")
516 
517 
518 def _object_cast_to_RevoluteJoint(*args):
519  """_object_cast_to_RevoluteJoint(Object o) -> RevoluteJoint"""
520  return _IMP_kinematics._object_cast_to_RevoluteJoint(*args)
521 _object_types.append("DihedralAngleRevoluteJoint")
522 
523 
524 def _object_cast_to_DihedralAngleRevoluteJoint(*args):
525  """_object_cast_to_DihedralAngleRevoluteJoint(Object o) -> DihedralAngleRevoluteJoint"""
526  return _IMP_kinematics._object_cast_to_DihedralAngleRevoluteJoint(*args)
527 _object_types.append("BondAngleRevoluteJoint")
528 
529 
530 def _object_cast_to_BondAngleRevoluteJoint(*args):
531  """_object_cast_to_BondAngleRevoluteJoint(Object o) -> BondAngleRevoluteJoint"""
532  return _IMP_kinematics._object_cast_to_BondAngleRevoluteJoint(*args)
533 _object_types.append("PrismaticJoint")
534 
535 
536 def _object_cast_to_PrismaticJoint(*args):
537  """_object_cast_to_PrismaticJoint(Object o) -> PrismaticJoint"""
538  return _IMP_kinematics._object_cast_to_PrismaticJoint(*args)
539 _object_types.append("KinematicForest")
540 
541 
542 def _object_cast_to_KinematicForest(*args):
543  """_object_cast_to_KinematicForest(Object o) -> KinematicForest"""
544  return _IMP_kinematics._object_cast_to_KinematicForest(*args)
545 _object_types.append("CompositeJoint")
546 
547 
548 def _object_cast_to_CompositeJoint(*args):
549  """_object_cast_to_CompositeJoint(Object o) -> CompositeJoint"""
550  return _IMP_kinematics._object_cast_to_CompositeJoint(*args)
551 _object_types.append("DOF")
552 
553 
554 def _object_cast_to_DOF(*args):
555  """_object_cast_to_DOF(Object o) -> DOF"""
556  return _IMP_kinematics._object_cast_to_DOF(*args)
557 DOFValuesList=list
558 _plural_types.append("DOFValuesList")
559 _value_types.append("DOFValues")
560 
561 DirectionalDOFs=list
562 _plural_types.append("DirectionalDOFs")
563 _value_types.append("DirectionalDOF")
564 
565 _object_types.append("DOFsSampler")
566 
567 
568 def _object_cast_to_DOFsSampler(*args):
569  """_object_cast_to_DOFsSampler(Object o) -> DOFsSampler"""
570  return _IMP_kinematics._object_cast_to_DOFsSampler(*args)
571 _object_types.append("UniformBackboneSampler")
572 
573 
574 def _object_cast_to_UniformBackboneSampler(*args):
575  """_object_cast_to_UniformBackboneSampler(Object o) -> UniformBackboneSampler"""
576  return _IMP_kinematics._object_cast_to_UniformBackboneSampler(*args)
577 class Joint(IMP.base.Object):
578  """Proxy of C++ IMP::kinematics::Joint class"""
579  __swig_setmethods__ = {}
580  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
581  __setattr__ = lambda self, name, value: _swig_setattr(self, Joint, name, value)
582  __swig_getmethods__ = {}
583  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
584  __getattr__ = lambda self, name: _swig_getattr(self, Joint, name)
585  def get_version_info(self):
586  """get_version_info(Joint self) -> VersionInfo"""
587  return _IMP_kinematics.Joint_get_version_info(self)
588 
589  __swig_destroy__ = _IMP_kinematics.delete_Joint
590  __del__ = lambda self : None;
591  def __init__(self, *args):
592  """__init__(IMP::kinematics::Joint self, RigidBody parent, RigidBody child) -> Joint"""
593  this = _IMP_kinematics.new_Joint(*args)
594  try: self.this.append(this)
595  except: self.this = this
596  def get_owner_kf(self):
597  """get_owner_kf(Joint self) -> KinematicForest"""
598  return _IMP_kinematics.Joint_get_owner_kf(self)
599 
600  def get_transformation_child_to_parent(self):
601  """get_transformation_child_to_parent(Joint self) -> Transformation3D"""
602  return _IMP_kinematics.Joint_get_transformation_child_to_parent(self)
603 
604  def get_parent_node(self):
605  """get_parent_node(Joint self) -> RigidBody"""
606  return _IMP_kinematics.Joint_get_parent_node(self)
607 
608  def get_child_node(self):
609  """get_child_node(Joint self) -> RigidBody"""
610  return _IMP_kinematics.Joint_get_child_node(self)
611 
612  def __str__(self):
613  """__str__(Joint self) -> std::string"""
614  return _IMP_kinematics.Joint___str__(self)
615 
616  def __repr__(self):
617  """__repr__(Joint self) -> std::string"""
618  return _IMP_kinematics.Joint___repr__(self)
619 
620  def get_from(o):
621  return _object_cast_to_Joint(o)
622  get_from = staticmethod(get_from)
623 
624 Joint_swigregister = _IMP_kinematics.Joint_swigregister
625 Joint_swigregister(Joint)
626 
627 class TransformationJoint(Joint):
628  """Proxy of C++ IMP::kinematics::TransformationJoint class"""
629  __swig_setmethods__ = {}
630  for _s in [Joint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
631  __setattr__ = lambda self, name, value: _swig_setattr(self, TransformationJoint, name, value)
632  __swig_getmethods__ = {}
633  for _s in [Joint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
634  __getattr__ = lambda self, name: _swig_getattr(self, TransformationJoint, name)
635  def __init__(self, *args):
636  """__init__(IMP::kinematics::TransformationJoint self, RigidBody parent, RigidBody child) -> TransformationJoint"""
637  this = _IMP_kinematics.new_TransformationJoint(*args)
638  try: self.this.append(this)
639  except: self.this = this
640  def set_transformation_child_to_parent(self, *args):
641  """set_transformation_child_to_parent(TransformationJoint self, Transformation3D transformation)"""
642  return _IMP_kinematics.TransformationJoint_set_transformation_child_to_parent(self, *args)
643 
644  def __str__(self):
645  """__str__(TransformationJoint self) -> std::string"""
646  return _IMP_kinematics.TransformationJoint___str__(self)
647 
648  def __repr__(self):
649  """__repr__(TransformationJoint self) -> std::string"""
650  return _IMP_kinematics.TransformationJoint___repr__(self)
651 
652  def get_from(o):
653  return _object_cast_to_TransformationJoint(o)
654  get_from = staticmethod(get_from)
655 
656  __swig_destroy__ = _IMP_kinematics.delete_TransformationJoint
657  __del__ = lambda self : None;
658 TransformationJoint_swigregister = _IMP_kinematics.TransformationJoint_swigregister
659 TransformationJoint_swigregister(TransformationJoint)
660 
661 class PrismaticJoint(Joint):
662  """Proxy of C++ IMP::kinematics::PrismaticJoint class"""
663  __swig_setmethods__ = {}
664  for _s in [Joint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
665  __setattr__ = lambda self, name, value: _swig_setattr(self, PrismaticJoint, name, value)
666  __swig_getmethods__ = {}
667  for _s in [Joint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
668  __getattr__ = lambda self, name: _swig_getattr(self, PrismaticJoint, name)
669  def __init__(self, *args):
670  """
671  __init__(IMP::kinematics::PrismaticJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b) -> PrismaticJoint
672  __init__(IMP::kinematics::PrismaticJoint self, RigidBody parent, RigidBody child) -> PrismaticJoint
673  """
674  this = _IMP_kinematics.new_PrismaticJoint(*args)
675  try: self.this.append(this)
676  except: self.this = this
677  def get_length(self):
678  """get_length(PrismaticJoint self) -> double"""
679  return _IMP_kinematics.PrismaticJoint_get_length(self)
680 
681  def set_length(self, *args):
682  """set_length(PrismaticJoint self, double l)"""
683  return _IMP_kinematics.PrismaticJoint_set_length(self, *args)
684 
685  def __str__(self):
686  """__str__(PrismaticJoint self) -> std::string"""
687  return _IMP_kinematics.PrismaticJoint___str__(self)
688 
689  def __repr__(self):
690  """__repr__(PrismaticJoint self) -> std::string"""
691  return _IMP_kinematics.PrismaticJoint___repr__(self)
692 
693  def get_from(o):
694  return _object_cast_to_PrismaticJoint(o)
695  get_from = staticmethod(get_from)
696 
697  __swig_destroy__ = _IMP_kinematics.delete_PrismaticJoint
698  __del__ = lambda self : None;
699 PrismaticJoint_swigregister = _IMP_kinematics.PrismaticJoint_swigregister
700 PrismaticJoint_swigregister(PrismaticJoint)
701 
702 class CompositeJoint(Joint):
703  """Proxy of C++ IMP::kinematics::CompositeJoint class"""
704  __swig_setmethods__ = {}
705  for _s in [Joint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
706  __setattr__ = lambda self, name, value: _swig_setattr(self, CompositeJoint, name, value)
707  __swig_getmethods__ = {}
708  for _s in [Joint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
709  __getattr__ = lambda self, name: _swig_getattr(self, CompositeJoint, name)
710  def __init__(self, *args):
711  """
712  __init__(IMP::kinematics::CompositeJoint self, RigidBody parent, RigidBody child, IMP::kinematics::Joints joints=IMP::kinematics::Joints()) -> CompositeJoint
713  __init__(IMP::kinematics::CompositeJoint self, RigidBody parent, RigidBody child) -> CompositeJoint
714  """
715  this = _IMP_kinematics.new_CompositeJoint(*args)
716  try: self.this.append(this)
717  except: self.this = this
718  def add_downstream_joint(self, *args):
719  """add_downstream_joint(CompositeJoint self, Joint j)"""
720  return _IMP_kinematics.CompositeJoint_add_downstream_joint(self, *args)
721 
722  def add_upstream_joint(self, *args):
723  """add_upstream_joint(CompositeJoint self, Joint j)"""
724  return _IMP_kinematics.CompositeJoint_add_upstream_joint(self, *args)
725 
726  def set_joints(self, *args):
727  """set_joints(CompositeJoint self, IMP::kinematics::Joints joints)"""
728  return _IMP_kinematics.CompositeJoint_set_joints(self, *args)
729 
730  def get_inner_joints(self):
731  """get_inner_joints(CompositeJoint self) -> IMP::kinematics::Joints const &"""
732  return _IMP_kinematics.CompositeJoint_get_inner_joints(self)
733 
734  def __str__(self):
735  """__str__(CompositeJoint self) -> std::string"""
736  return _IMP_kinematics.CompositeJoint___str__(self)
737 
738  def __repr__(self):
739  """__repr__(CompositeJoint self) -> std::string"""
740  return _IMP_kinematics.CompositeJoint___repr__(self)
741 
742  def get_from(o):
743  return _object_cast_to_CompositeJoint(o)
744  get_from = staticmethod(get_from)
745 
746  __swig_destroy__ = _IMP_kinematics.delete_CompositeJoint
747  __del__ = lambda self : None;
748 CompositeJoint_swigregister = _IMP_kinematics.CompositeJoint_swigregister
749 CompositeJoint_swigregister(CompositeJoint)
750 
751 class RevoluteJoint(Joint):
752  """Proxy of C++ IMP::kinematics::RevoluteJoint class"""
753  __swig_setmethods__ = {}
754  for _s in [Joint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
755  __setattr__ = lambda self, name, value: _swig_setattr(self, RevoluteJoint, name, value)
756  __swig_getmethods__ = {}
757  for _s in [Joint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
758  __getattr__ = lambda self, name: _swig_getattr(self, RevoluteJoint, name)
759  def __init__(self, *args):
760  """__init__(IMP::kinematics::RevoluteJoint self, RigidBody parent, RigidBody child) -> RevoluteJoint"""
761  if self.__class__ == RevoluteJoint:
762  _self = None
763  else:
764  _self = self
765  this = _IMP_kinematics.new_RevoluteJoint(_self, *args)
766  try: self.this.append(this)
767  except: self.this = this
768  if self.__class__ != RevoluteJoint:
769  import IMP.base
770  IMP.base._director_objects.register(self)
771 
772 
773 
774  __swig_destroy__ = _IMP_kinematics.delete_RevoluteJoint
775  __del__ = lambda self : None;
776  def set_angle(self, *args):
777  """set_angle(RevoluteJoint self, double angle)"""
778  return _IMP_kinematics.RevoluteJoint_set_angle(self, *args)
779 
780  def get_angle(self):
781  """get_angle(RevoluteJoint self) -> double"""
782  return _IMP_kinematics.RevoluteJoint_get_angle(self)
783 
784  def get_rot_axis_origin(self):
785  """get_rot_axis_origin(RevoluteJoint self) -> Vector3D"""
786  return _IMP_kinematics.RevoluteJoint_get_rot_axis_origin(self)
787 
788  def get_rot_axis_unit_vector(self):
789  """get_rot_axis_unit_vector(RevoluteJoint self) -> Vector3D"""
790  return _IMP_kinematics.RevoluteJoint_get_rot_axis_unit_vector(self)
791 
792  def update_child_node_reference_frame(self):
793  """update_child_node_reference_frame(RevoluteJoint self)"""
794  return _IMP_kinematics.RevoluteJoint_update_child_node_reference_frame(self)
795 
796  def update_axis_of_rotation_from_cartesian_witnesses(self):
797  """update_axis_of_rotation_from_cartesian_witnesses(RevoluteJoint self)"""
798  return _IMP_kinematics.RevoluteJoint_update_axis_of_rotation_from_cartesian_witnesses(self)
799 
800  def get_current_angle_from_cartesian_witnesses(self):
801  """get_current_angle_from_cartesian_witnesses(RevoluteJoint self) -> double"""
802  return _IMP_kinematics.RevoluteJoint_get_current_angle_from_cartesian_witnesses(self)
803 
804  def update_joint_from_cartesian_witnesses(self):
805  """update_joint_from_cartesian_witnesses(RevoluteJoint self)"""
806  return _IMP_kinematics.RevoluteJoint_update_joint_from_cartesian_witnesses(self)
807 
808  def get_rotation_about_joint_in_parent_coordinates(self):
809  """get_rotation_about_joint_in_parent_coordinates(RevoluteJoint self) -> Transformation3D"""
810  return _IMP_kinematics.RevoluteJoint_get_rotation_about_joint_in_parent_coordinates(self)
811 
812  __swig_setmethods__["angle_"] = _IMP_kinematics.RevoluteJoint_angle__set
813  __swig_getmethods__["angle_"] = _IMP_kinematics.RevoluteJoint_angle__get
814  if _newclass:angle_ = _swig_property(_IMP_kinematics.RevoluteJoint_angle__get, _IMP_kinematics.RevoluteJoint_angle__set)
815  __swig_setmethods__["last_updated_angle_"] = _IMP_kinematics.RevoluteJoint_last_updated_angle__set
816  __swig_getmethods__["last_updated_angle_"] = _IMP_kinematics.RevoluteJoint_last_updated_angle__get
817  if _newclass:last_updated_angle_ = _swig_property(_IMP_kinematics.RevoluteJoint_last_updated_angle__get, _IMP_kinematics.RevoluteJoint_last_updated_angle__set)
818  __swig_setmethods__["rot_axis_unit_vector_"] = _IMP_kinematics.RevoluteJoint_rot_axis_unit_vector__set
819  __swig_getmethods__["rot_axis_unit_vector_"] = _IMP_kinematics.RevoluteJoint_rot_axis_unit_vector__get
820  if _newclass:rot_axis_unit_vector_ = _swig_property(_IMP_kinematics.RevoluteJoint_rot_axis_unit_vector__get, _IMP_kinematics.RevoluteJoint_rot_axis_unit_vector__set)
821  __swig_setmethods__["rot_axis_origin_"] = _IMP_kinematics.RevoluteJoint_rot_axis_origin__set
822  __swig_getmethods__["rot_axis_origin_"] = _IMP_kinematics.RevoluteJoint_rot_axis_origin__get
823  if _newclass:rot_axis_origin_ = _swig_property(_IMP_kinematics.RevoluteJoint_rot_axis_origin__get, _IMP_kinematics.RevoluteJoint_rot_axis_origin__set)
824  def __str__(self):
825  """__str__(RevoluteJoint self) -> std::string"""
826  return _IMP_kinematics.RevoluteJoint___str__(self)
827 
828  def __repr__(self):
829  """__repr__(RevoluteJoint self) -> std::string"""
830  return _IMP_kinematics.RevoluteJoint___repr__(self)
831 
832  def get_from(o):
833  return _object_cast_to_RevoluteJoint(o)
834  get_from = staticmethod(get_from)
835 
836  def get_type_name(self):
837  return self.__class__.__name__
838  def do_show(self, out):
839  pass
840  def get_version_info(self):
841  if"IMP::kinematics" == "IMP":
842  return VersionInfo("python", "0")
843  else:
844  return IMP.VersionInfo("python", "0")
845  def get_from(o):
846  return _object_cast_to_RevoluteJoint(o)
847  get_from = staticmethod(get_from)
848 
849  def __disown__(self):
850  self.this.disown()
851  _IMP_kinematics.disown_RevoluteJoint(self)
852  return weakref_proxy(self)
853 RevoluteJoint_swigregister = _IMP_kinematics.RevoluteJoint_swigregister
854 RevoluteJoint_swigregister(RevoluteJoint)
855 
856 class DihedralAngleRevoluteJoint(RevoluteJoint):
857  """Proxy of C++ IMP::kinematics::DihedralAngleRevoluteJoint class"""
858  __swig_setmethods__ = {}
859  for _s in [RevoluteJoint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
860  __setattr__ = lambda self, name, value: _swig_setattr(self, DihedralAngleRevoluteJoint, name, value)
861  __swig_getmethods__ = {}
862  for _s in [RevoluteJoint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
863  __getattr__ = lambda self, name: _swig_getattr(self, DihedralAngleRevoluteJoint, name)
864  def __init__(self, *args):
865  """__init__(IMP::kinematics::DihedralAngleRevoluteJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b, XYZ c, XYZ d) -> DihedralAngleRevoluteJoint"""
866  this = _IMP_kinematics.new_DihedralAngleRevoluteJoint(*args)
867  try: self.this.append(this)
868  except: self.this = this
869  def __str__(self):
870  """__str__(DihedralAngleRevoluteJoint self) -> std::string"""
871  return _IMP_kinematics.DihedralAngleRevoluteJoint___str__(self)
872 
873  def __repr__(self):
874  """__repr__(DihedralAngleRevoluteJoint self) -> std::string"""
875  return _IMP_kinematics.DihedralAngleRevoluteJoint___repr__(self)
876 
877  def get_from(o):
878  return _object_cast_to_DihedralAngleRevoluteJoint(o)
879  get_from = staticmethod(get_from)
880 
881  __swig_destroy__ = _IMP_kinematics.delete_DihedralAngleRevoluteJoint
882  __del__ = lambda self : None;
883 DihedralAngleRevoluteJoint_swigregister = _IMP_kinematics.DihedralAngleRevoluteJoint_swigregister
884 DihedralAngleRevoluteJoint_swigregister(DihedralAngleRevoluteJoint)
885 
886 class BondAngleRevoluteJoint(RevoluteJoint):
887  """Proxy of C++ IMP::kinematics::BondAngleRevoluteJoint class"""
888  __swig_setmethods__ = {}
889  for _s in [RevoluteJoint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
890  __setattr__ = lambda self, name, value: _swig_setattr(self, BondAngleRevoluteJoint, name, value)
891  __swig_getmethods__ = {}
892  for _s in [RevoluteJoint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
893  __getattr__ = lambda self, name: _swig_getattr(self, BondAngleRevoluteJoint, name)
894  def __init__(self, *args):
895  """__init__(IMP::kinematics::BondAngleRevoluteJoint self, RigidBody parent, RigidBody child, XYZ a, XYZ b, XYZ c) -> BondAngleRevoluteJoint"""
896  this = _IMP_kinematics.new_BondAngleRevoluteJoint(*args)
897  try: self.this.append(this)
898  except: self.this = this
899  def __str__(self):
900  """__str__(BondAngleRevoluteJoint self) -> std::string"""
901  return _IMP_kinematics.BondAngleRevoluteJoint___str__(self)
902 
903  def __repr__(self):
904  """__repr__(BondAngleRevoluteJoint self) -> std::string"""
905  return _IMP_kinematics.BondAngleRevoluteJoint___repr__(self)
906 
907  def get_from(o):
908  return _object_cast_to_BondAngleRevoluteJoint(o)
909  get_from = staticmethod(get_from)
910 
911  __swig_destroy__ = _IMP_kinematics.delete_BondAngleRevoluteJoint
912  __del__ = lambda self : None;
913 BondAngleRevoluteJoint_swigregister = _IMP_kinematics.BondAngleRevoluteJoint_swigregister
914 BondAngleRevoluteJoint_swigregister(BondAngleRevoluteJoint)
915 
916 class KinematicForest(IMP.base.Object):
917  """Proxy of C++ IMP::kinematics::KinematicForest class"""
918  __swig_setmethods__ = {}
919  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
920  __setattr__ = lambda self, name, value: _swig_setattr(self, KinematicForest, name, value)
921  __swig_getmethods__ = {}
922  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
923  __getattr__ = lambda self, name: _swig_getattr(self, KinematicForest, name)
924  def get_version_info(self):
925  """get_version_info(KinematicForest self) -> VersionInfo"""
926  return _IMP_kinematics.KinematicForest_get_version_info(self)
927 
928  __swig_destroy__ = _IMP_kinematics.delete_KinematicForest
929  __del__ = lambda self : None;
930  def __init__(self, *args):
931  """
932  __init__(IMP::kinematics::KinematicForest self, Model m) -> KinematicForest
933  __init__(IMP::kinematics::KinematicForest self, Model m, Hierarchy hierarchy) -> KinematicForest
934  """
935  this = _IMP_kinematics.new_KinematicForest(*args)
936  try: self.this.append(this)
937  except: self.this = this
938  def add_edge(self, *args):
939  """
940  add_edge(KinematicForest self, RigidBody parent, RigidBody child) -> Joint
941  add_edge(KinematicForest self, Joint joint)
942  """
943  return _IMP_kinematics.KinematicForest_add_edge(self, *args)
944 
945  def add_rigid_bodies_in_chain(self, *args):
946  """add_rigid_bodies_in_chain(KinematicForest self, IMP::core::RigidBodies rbs)"""
947  return _IMP_kinematics.KinematicForest_add_rigid_bodies_in_chain(self, *args)
948 
949  def reset_root(self, *args):
950  """reset_root(KinematicForest self, Particle new_root)"""
951  return _IMP_kinematics.KinematicForest_reset_root(self, *args)
952 
953  def update_all_internal_coordinates(self):
954  """update_all_internal_coordinates(KinematicForest self)"""
955  return _IMP_kinematics.KinematicForest_update_all_internal_coordinates(self)
956 
957  def update_all_external_coordinates(self):
958  """update_all_external_coordinates(KinematicForest self)"""
959  return _IMP_kinematics.KinematicForest_update_all_external_coordinates(self)
960 
961  def get_ordered_joints(self):
962  """get_ordered_joints(KinematicForest self) -> IMP::kinematics::Joints"""
963  return _IMP_kinematics.KinematicForest_get_ordered_joints(self)
964 
965  def mark_internal_coordinates_changed(self):
966  """mark_internal_coordinates_changed(KinematicForest self)"""
967  return _IMP_kinematics.KinematicForest_mark_internal_coordinates_changed(self)
968 
969  def mark_external_coordinates_changed(self):
970  """mark_external_coordinates_changed(KinematicForest self)"""
971  return _IMP_kinematics.KinematicForest_mark_external_coordinates_changed(self)
972 
973  def set_coordinates_safe(self, *args):
974  """set_coordinates_safe(KinematicForest self, RigidBody rb, Vector3D c)"""
975  return _IMP_kinematics.KinematicForest_set_coordinates_safe(self, *args)
976 
977  def get_coordinates_safe(self, *args):
978  """get_coordinates_safe(KinematicForest self, RigidBody rb) -> Vector3D"""
979  return _IMP_kinematics.KinematicForest_get_coordinates_safe(self, *args)
980 
981  def get_is_member(self, *args):
982  """get_is_member(KinematicForest self, RigidBody rb) -> bool"""
983  return _IMP_kinematics.KinematicForest_get_is_member(self, *args)
984 
985  def get_reference_frame_safe(self, *args):
986  """get_reference_frame_safe(KinematicForest self, RigidBody rb) -> ReferenceFrame3D"""
987  return _IMP_kinematics.KinematicForest_get_reference_frame_safe(self, *args)
988 
989  def set_reference_frame_safe(self, *args):
990  """set_reference_frame_safe(KinematicForest self, RigidBody rb, ReferenceFrame3D r)"""
991  return _IMP_kinematics.KinematicForest_set_reference_frame_safe(self, *args)
992 
993  def __str__(self):
994  """__str__(KinematicForest self) -> std::string"""
995  return _IMP_kinematics.KinematicForest___str__(self)
996 
997  def __repr__(self):
998  """__repr__(KinematicForest self) -> std::string"""
999  return _IMP_kinematics.KinematicForest___repr__(self)
1000 
1001  def get_from(o):
1002  return _object_cast_to_KinematicForest(o)
1003  get_from = staticmethod(get_from)
1004 
1005 KinematicForest_swigregister = _IMP_kinematics.KinematicForest_swigregister
1006 KinematicForest_swigregister(KinematicForest)
1007 
1008 class DOF(IMP.base.Object):
1009  """Proxy of C++ IMP::kinematics::DOF class"""
1010  __swig_setmethods__ = {}
1011  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1012  __setattr__ = lambda self, name, value: _swig_setattr(self, DOF, name, value)
1013  __swig_getmethods__ = {}
1014  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1015  __getattr__ = lambda self, name: _swig_getattr(self, DOF, name)
1016  def get_version_info(self):
1017  """get_version_info(DOF self) -> VersionInfo"""
1018  return _IMP_kinematics.DOF_get_version_info(self)
1019 
1020  __swig_destroy__ = _IMP_kinematics.delete_DOF
1021  __del__ = lambda self : None;
1022  def __init__(self, *args):
1023  """
1024  __init__(IMP::kinematics::DOF self, double v) -> DOF
1025  __init__(IMP::kinematics::DOF self, double v, double min, double max, double step_size) -> DOF
1026  """
1027  this = _IMP_kinematics.new_DOF(*args)
1028  try: self.this.append(this)
1029  except: self.this = this
1030  def get_value(self):
1031  """get_value(DOF self) -> double"""
1032  return _IMP_kinematics.DOF_get_value(self)
1033 
1034  def set_value(self, *args):
1035  """set_value(DOF self, double v)"""
1036  return _IMP_kinematics.DOF_set_value(self, *args)
1037 
1038  def get_range(self):
1039  """get_range(DOF self) -> std::pair< double,double >"""
1040  return _IMP_kinematics.DOF_get_range(self)
1041 
1042  def set_range(self, *args):
1043  """set_range(DOF self, std::pair< double,double > range)"""
1044  return _IMP_kinematics.DOF_set_range(self, *args)
1045 
1046  def get_step_size(self):
1047  """get_step_size(DOF self) -> double"""
1048  return _IMP_kinematics.DOF_get_step_size(self)
1049 
1050  def set_step_size(self, *args):
1051  """set_step_size(DOF self, double step_size)"""
1052  return _IMP_kinematics.DOF_set_step_size(self, *args)
1053 
1054  def get_number_of_steps(self, *args):
1055  """
1056  get_number_of_steps(DOF self, double value) -> int
1057  get_number_of_steps(DOF self, double value1, double value2) -> int
1058  """
1059  return _IMP_kinematics.DOF_get_number_of_steps(self, *args)
1060 
1061  def __str__(self):
1062  """__str__(DOF self) -> std::string"""
1063  return _IMP_kinematics.DOF___str__(self)
1064 
1065  def __repr__(self):
1066  """__repr__(DOF self) -> std::string"""
1067  return _IMP_kinematics.DOF___repr__(self)
1068 
1069  def get_from(o):
1070  return _object_cast_to_DOF(o)
1071  get_from = staticmethod(get_from)
1072 
1073 DOF_swigregister = _IMP_kinematics.DOF_swigregister
1074 DOF_swigregister(DOF)
1075 
1076 class DOFValues(VectorOfDoubles):
1077  """Proxy of C++ IMP::kinematics::DOFValues class"""
1078  __swig_setmethods__ = {}
1079  for _s in [VectorOfDoubles]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1080  __setattr__ = lambda self, name, value: _swig_setattr(self, DOFValues, name, value)
1081  __swig_getmethods__ = {}
1082  for _s in [VectorOfDoubles]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1083  __getattr__ = lambda self, name: _swig_getattr(self, DOFValues, name)
1084  def __init__(self, *args):
1085  """
1086  __init__(IMP::kinematics::DOFValues self, IMP::kinematics::DOFs const & dofs) -> DOFValues
1087  __init__(IMP::kinematics::DOFValues self) -> DOFValues
1088  """
1089  this = _IMP_kinematics.new_DOFValues(*args)
1090  try: self.this.append(this)
1091  except: self.this = this
1092  def get_distance2(self, *args):
1093  """get_distance2(DOFValues self, DOFValues other_dof_values) -> double"""
1094  return _IMP_kinematics.DOFValues_get_distance2(self, *args)
1095 
1096  def get_distance(self, *args):
1097  """get_distance(DOFValues self, DOFValues other_dof_values) -> double"""
1098  return _IMP_kinematics.DOFValues_get_distance(self, *args)
1099 
1100  def show(self, *args):
1101  """
1102  show(DOFValues self, _ostream out=std::cout)
1103  show(DOFValues self)
1104  """
1105  return _IMP_kinematics.DOFValues_show(self, *args)
1106 
1107  def __str__(self):
1108  """__str__(DOFValues self) -> std::string"""
1109  return _IMP_kinematics.DOFValues___str__(self)
1110 
1111  def __repr__(self):
1112  """__repr__(DOFValues self) -> std::string"""
1113  return _IMP_kinematics.DOFValues___repr__(self)
1114 
1115  __swig_destroy__ = _IMP_kinematics.delete_DOFValues
1116  __del__ = lambda self : None;
1117 DOFValues_swigregister = _IMP_kinematics.DOFValues_swigregister
1118 DOFValues_swigregister(DOFValues)
1119 
1120 class DirectionalDOF(_object):
1121  """Proxy of C++ IMP::kinematics::DirectionalDOF class"""
1122  __swig_setmethods__ = {}
1123  __setattr__ = lambda self, name, value: _swig_setattr(self, DirectionalDOF, name, value)
1124  __swig_getmethods__ = {}
1125  __getattr__ = lambda self, name: _swig_getattr(self, DirectionalDOF, name)
1126  def __init__(self, *args):
1127  """__init__(IMP::kinematics::DirectionalDOF self, IMP::kinematics::DOFs const & dofs) -> DirectionalDOF"""
1128  this = _IMP_kinematics.new_DirectionalDOF(*args)
1129  try: self.this.append(this)
1130  except: self.this = this
1131  def set_end_points(self, *args):
1132  """set_end_points(DirectionalDOF self, DOFValues q1, DOFValues q2)"""
1133  return _IMP_kinematics.DirectionalDOF_set_end_points(self, *args)
1134 
1135  def get_dofs_values(self):
1136  """get_dofs_values(DirectionalDOF self) -> DOFValues"""
1137  return _IMP_kinematics.DirectionalDOF_get_dofs_values(self)
1138 
1139  def get_value(self):
1140  """get_value(DirectionalDOF self) -> double"""
1141  return _IMP_kinematics.DirectionalDOF_get_value(self)
1142 
1143  def show(self, *args):
1144  """
1145  show(DirectionalDOF self, _ostream out=std::cout)
1146  show(DirectionalDOF self)
1147  """
1148  return _IMP_kinematics.DirectionalDOF_show(self, *args)
1149 
1150  def __str__(self):
1151  """__str__(DirectionalDOF self) -> std::string"""
1152  return _IMP_kinematics.DirectionalDOF___str__(self)
1153 
1154  def __repr__(self):
1155  """__repr__(DirectionalDOF self) -> std::string"""
1156  return _IMP_kinematics.DirectionalDOF___repr__(self)
1157 
1158  __swig_destroy__ = _IMP_kinematics.delete_DirectionalDOF
1159  __del__ = lambda self : None;
1160 DirectionalDOF_swigregister = _IMP_kinematics.DirectionalDOF_swigregister
1161 DirectionalDOF_swigregister(DirectionalDOF)
1162 
1163 class DOFsSampler(IMP.base.Object):
1164  """Proxy of C++ IMP::kinematics::DOFsSampler class"""
1165  __swig_setmethods__ = {}
1166  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1167  __setattr__ = lambda self, name, value: _swig_setattr(self, DOFsSampler, name, value)
1168  __swig_getmethods__ = {}
1169  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1170  __getattr__ = lambda self, name: _swig_getattr(self, DOFsSampler, name)
1171  def get_type_name(self):
1172  """get_type_name(DOFsSampler self) -> std::string"""
1173  return _IMP_kinematics.DOFsSampler_get_type_name(self)
1174 
1175  def get_version_info(self):
1176  """get_version_info(DOFsSampler self) -> VersionInfo"""
1177  return _IMP_kinematics.DOFsSampler_get_version_info(self)
1178 
1179  __swig_destroy__ = _IMP_kinematics.delete_DOFsSampler
1180  __del__ = lambda self : None;
1181  def __init__(self, *args):
1182  """__init__(IMP::kinematics::DOFsSampler self, IMP::kinematics::DOFs dofs) -> DOFsSampler"""
1183  if self.__class__ == DOFsSampler:
1184  _self = None
1185  else:
1186  _self = self
1187  this = _IMP_kinematics.new_DOFsSampler(_self, *args)
1188  try: self.this.append(this)
1189  except: self.this = this
1190  if self.__class__ != DOFsSampler:
1191  import IMP.base
1192  IMP.base._director_objects.register(self)
1193 
1194 
1195 
1196  def get_sample(self):
1197  """get_sample(DOFsSampler self) -> DOFValues"""
1198  return _IMP_kinematics.DOFsSampler_get_sample(self)
1199 
1200  def apply(self, *args):
1201  """apply(DOFsSampler self, DOFValues values)"""
1202  return _IMP_kinematics.DOFsSampler_apply(self, *args)
1203 
1204  def apply_last_sample(self):
1205  """apply_last_sample(DOFsSampler self)"""
1206  return _IMP_kinematics.DOFsSampler_apply_last_sample(self)
1207 
1208  def sample_and_apply(self):
1209  """sample_and_apply(DOFsSampler self)"""
1210  return _IMP_kinematics.DOFsSampler_sample_and_apply(self)
1211 
1212  def get_dofs(self):
1213  """get_dofs(DOFsSampler self) -> IMP::kinematics::DOFs const &"""
1214  return _IMP_kinematics.DOFsSampler_get_dofs(self)
1215 
1216  def get_dof(self, *args):
1217  """get_dof(DOFsSampler self, unsigned int i) -> DOF"""
1218  return _IMP_kinematics.DOFsSampler_get_dof(self, *args)
1219 
1220  def get_number_of_dofs(self):
1221  """get_number_of_dofs(DOFsSampler self) -> unsigned int"""
1222  return _IMP_kinematics.DOFsSampler_get_number_of_dofs(self)
1223 
1224  def do_get_sample(self):
1225  """do_get_sample(DOFsSampler self) -> DOFValues"""
1226  return _IMP_kinematics.DOFsSampler_do_get_sample(self)
1227 
1228  def __str__(self):
1229  """__str__(DOFsSampler self) -> std::string"""
1230  return _IMP_kinematics.DOFsSampler___str__(self)
1231 
1232  def __repr__(self):
1233  """__repr__(DOFsSampler self) -> std::string"""
1234  return _IMP_kinematics.DOFsSampler___repr__(self)
1235 
1236  def get_from(o):
1237  return _object_cast_to_DOFsSampler(o)
1238  get_from = staticmethod(get_from)
1239 
1240  def get_type_name(self):
1241  return self.__class__.__name__
1242  def do_show(self, out):
1243  pass
1244  def get_version_info(self):
1245  if"IMP::kinematics" == "IMP":
1246  return VersionInfo("python", "0")
1247  else:
1248  return IMP.VersionInfo("python", "0")
1249  def get_from(o):
1250  return _object_cast_to_DOFsSampler(o)
1251  get_from = staticmethod(get_from)
1252 
1253  def __disown__(self):
1254  self.this.disown()
1255  _IMP_kinematics.disown_DOFsSampler(self)
1256  return weakref_proxy(self)
1257 DOFsSampler_swigregister = _IMP_kinematics.DOFsSampler_swigregister
1258 DOFsSampler_swigregister(DOFsSampler)
1259 
1260 class UniformBackboneSampler(DOFsSampler):
1261  """Proxy of C++ IMP::kinematics::UniformBackboneSampler class"""
1262  __swig_setmethods__ = {}
1263  for _s in [DOFsSampler]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1264  __setattr__ = lambda self, name, value: _swig_setattr(self, UniformBackboneSampler, name, value)
1265  __swig_getmethods__ = {}
1266  for _s in [DOFsSampler]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1267  __getattr__ = lambda self, name: _swig_getattr(self, UniformBackboneSampler, name)
1268  def __init__(self, *args):
1269  """__init__(IMP::kinematics::UniformBackboneSampler self, IMP::kinematics::DihedralAngleRevoluteJoints joints, IMP::kinematics::DOFs dofs) -> UniformBackboneSampler"""
1270  this = _IMP_kinematics.new_UniformBackboneSampler(*args)
1271  try: self.this.append(this)
1272  except: self.this = this
1273  def __str__(self):
1274  """__str__(UniformBackboneSampler self) -> std::string"""
1275  return _IMP_kinematics.UniformBackboneSampler___str__(self)
1276 
1277  def __repr__(self):
1278  """__repr__(UniformBackboneSampler self) -> std::string"""
1279  return _IMP_kinematics.UniformBackboneSampler___repr__(self)
1280 
1281  def get_from(o):
1282  return _object_cast_to_UniformBackboneSampler(o)
1283  get_from = staticmethod(get_from)
1284 
1285  __swig_destroy__ = _IMP_kinematics.delete_UniformBackboneSampler
1286  __del__ = lambda self : None;
1287 UniformBackboneSampler_swigregister = _IMP_kinematics.UniformBackboneSampler_swigregister
1288 UniformBackboneSampler_swigregister(UniformBackboneSampler)
1289 
1290 
1291 def get_module_version():
1292  """get_module_version() -> std::string const"""
1293  return _IMP_kinematics.get_module_version()
1294 
1295 def get_example_path(*args):
1296  """get_example_path(std::string fname) -> std::string"""
1297  return _IMP_kinematics.get_example_path(*args)
1298 
1299 def get_data_path(*args):
1300  """get_data_path(std::string fname) -> std::string"""
1301  return _IMP_kinematics.get_data_path(*args)
1302 import _version_check
1303 _version_check.check_version(get_module_version())
1304 
1305 # This file is compatible with both classic and new-style classes.
1306 
1307 
See IMP.container for more information.
See IMP.cgal for more information.
Definition: cgal_config.h:107
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
See IMP.base for more information.
Definition: base/Array.h:20
std::string get_data_path(std::string file_name)
Return the full path to installed data.
See IMP.score_functor for more information.
Definition: AddScores.h:14
double get_distance(const Plane3D &pln, const Vector3D &p)
Return the distance between a plane and a point in 3D.
Definition: Plane3D.h:68
See IMP.kernel for more information.
Common base class for heavy weight IMP objects.
See IMP.core for more information.
See IMP.algebra for more information.
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.
See IMP.display for more information.
Definition: BildWriter.h:20
CheckLevel get_check_level()
Get the current audit mode.
See IMP.atom for more information.