IMP logo
IMP Reference Guide  2.6.1
The Integrative Modeling Platform
display/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.7
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 # This wrapper is part of IMP,
8 # Copyright 2007-2016 IMP Inventors. All rights reserved.
9 
10 from __future__ import print_function, division, absolute_import
11 
12 
13 
14 
15 from sys import version_info
16 if version_info >= (2, 6, 0):
17  def swig_import_helper():
18  from os.path import dirname
19  import imp
20  fp = None
21  try:
22  fp, pathname, description = imp.find_module('_IMP_display', [dirname(__file__)])
23  except ImportError:
24  import _IMP_display
25  return _IMP_display
26  if fp is not None:
27  try:
28  _mod = imp.load_module('_IMP_display', fp, pathname, description)
29  finally:
30  fp.close()
31  return _mod
32  _IMP_display = swig_import_helper()
33  del swig_import_helper
34 else:
35  import _IMP_display
36 del version_info
37 try:
38  _swig_property = property
39 except NameError:
40  pass # Python < 2.2 doesn't have 'property'.
41 
42 
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44  if (name == "thisown"):
45  return self.this.own(value)
46  if (name == "this"):
47  if type(value).__name__ == 'SwigPyObject':
48  self.__dict__[name] = value
49  return
50  method = class_type.__swig_setmethods__.get(name, None)
51  if method:
52  return method(self, value)
53  if (not static):
54  object.__setattr__(self, name, value)
55  else:
56  raise AttributeError("You cannot add attributes to %s" % self)
57 
58 
59 def _swig_setattr(self, class_type, name, value):
60  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
61 
62 
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64  if (name == "thisown"):
65  return self.this.own()
66  method = class_type.__swig_getmethods__.get(name, None)
67  if method:
68  return method(self)
69  if (not static):
70  return object.__getattr__(self, name)
71  else:
72  raise AttributeError(name)
73 
74 def _swig_getattr(self, class_type, name):
75  return _swig_getattr_nondynamic(self, class_type, name, 0)
76 
77 
78 def _swig_repr(self):
79  try:
80  strthis = "proxy of " + self.this.__repr__()
81  except:
82  strthis = ""
83  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
84 
85 try:
86  _object = object
87  _newclass = 1
88 except AttributeError:
89  class _object:
90  pass
91  _newclass = 0
92 
93 
94 
95 def _swig_setattr_nondynamic_method(set):
96  def set_attr(self, name, value):
97  if (name == "thisown"):
98  return self.this.own(value)
99  if hasattr(self, name) or (name == "this"):
100  set(self, name, value)
101  else:
102  raise AttributeError("You cannot add attributes to %s" % self)
103  return set_attr
104 
105 
106 try:
107  import weakref
108  weakref_proxy = weakref.proxy
109 except:
110  weakref_proxy = lambda x: x
111 
112 
113 class IMP_DISPLAY_SwigPyIterator(object):
114  """Proxy of C++ swig::IMP_DISPLAY_SwigPyIterator class"""
115  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
116 
117  def __init__(self, *args, **kwargs):
118  raise AttributeError("No constructor defined - class is abstract")
119  __repr__ = _swig_repr
120  __swig_destroy__ = _IMP_display.delete_IMP_DISPLAY_SwigPyIterator
121  __del__ = lambda self: None
122 
123  def value(self):
124  """value(IMP_DISPLAY_SwigPyIterator self) -> PyObject *"""
125  return _IMP_display.IMP_DISPLAY_SwigPyIterator_value(self)
126 
127 
128  def incr(self, n=1):
129  """
130  incr(IMP_DISPLAY_SwigPyIterator self, size_t n=1) -> IMP_DISPLAY_SwigPyIterator
131  incr(IMP_DISPLAY_SwigPyIterator self) -> IMP_DISPLAY_SwigPyIterator
132  """
133  return _IMP_display.IMP_DISPLAY_SwigPyIterator_incr(self, n)
134 
135 
136  def decr(self, n=1):
137  """
138  decr(IMP_DISPLAY_SwigPyIterator self, size_t n=1) -> IMP_DISPLAY_SwigPyIterator
139  decr(IMP_DISPLAY_SwigPyIterator self) -> IMP_DISPLAY_SwigPyIterator
140  """
141  return _IMP_display.IMP_DISPLAY_SwigPyIterator_decr(self, n)
142 
143 
144  def distance(self, x):
145  """distance(IMP_DISPLAY_SwigPyIterator self, IMP_DISPLAY_SwigPyIterator x) -> ptrdiff_t"""
146  return _IMP_display.IMP_DISPLAY_SwigPyIterator_distance(self, x)
147 
148 
149  def equal(self, x):
150  """equal(IMP_DISPLAY_SwigPyIterator self, IMP_DISPLAY_SwigPyIterator x) -> bool"""
151  return _IMP_display.IMP_DISPLAY_SwigPyIterator_equal(self, x)
152 
153 
154  def copy(self):
155  """copy(IMP_DISPLAY_SwigPyIterator self) -> IMP_DISPLAY_SwigPyIterator"""
156  return _IMP_display.IMP_DISPLAY_SwigPyIterator_copy(self)
157 
158 
159  def next(self):
160  """next(IMP_DISPLAY_SwigPyIterator self) -> PyObject *"""
161  return _IMP_display.IMP_DISPLAY_SwigPyIterator_next(self)
162 
163 
164  def __next__(self):
165  """__next__(IMP_DISPLAY_SwigPyIterator self) -> PyObject *"""
166  return _IMP_display.IMP_DISPLAY_SwigPyIterator___next__(self)
167 
168 
169  def previous(self):
170  """previous(IMP_DISPLAY_SwigPyIterator self) -> PyObject *"""
171  return _IMP_display.IMP_DISPLAY_SwigPyIterator_previous(self)
172 
173 
174  def advance(self, n):
175  """advance(IMP_DISPLAY_SwigPyIterator self, ptrdiff_t n) -> IMP_DISPLAY_SwigPyIterator"""
176  return _IMP_display.IMP_DISPLAY_SwigPyIterator_advance(self, n)
177 
178 
179  def __eq__(self, x):
180  """__eq__(IMP_DISPLAY_SwigPyIterator self, IMP_DISPLAY_SwigPyIterator x) -> bool"""
181  return _IMP_display.IMP_DISPLAY_SwigPyIterator___eq__(self, x)
182 
183 
184  def __ne__(self, x):
185  """__ne__(IMP_DISPLAY_SwigPyIterator self, IMP_DISPLAY_SwigPyIterator x) -> bool"""
186  return _IMP_display.IMP_DISPLAY_SwigPyIterator___ne__(self, x)
187 
188 
189  def __iadd__(self, n):
190  """__iadd__(IMP_DISPLAY_SwigPyIterator self, ptrdiff_t n) -> IMP_DISPLAY_SwigPyIterator"""
191  return _IMP_display.IMP_DISPLAY_SwigPyIterator___iadd__(self, n)
192 
193 
194  def __isub__(self, n):
195  """__isub__(IMP_DISPLAY_SwigPyIterator self, ptrdiff_t n) -> IMP_DISPLAY_SwigPyIterator"""
196  return _IMP_display.IMP_DISPLAY_SwigPyIterator___isub__(self, n)
197 
198 
199  def __add__(self, n):
200  """__add__(IMP_DISPLAY_SwigPyIterator self, ptrdiff_t n) -> IMP_DISPLAY_SwigPyIterator"""
201  return _IMP_display.IMP_DISPLAY_SwigPyIterator___add__(self, n)
202 
203 
204  def __sub__(self, *args):
205  """
206  __sub__(IMP_DISPLAY_SwigPyIterator self, ptrdiff_t n) -> IMP_DISPLAY_SwigPyIterator
207  __sub__(IMP_DISPLAY_SwigPyIterator self, IMP_DISPLAY_SwigPyIterator x) -> ptrdiff_t
208  """
209  return _IMP_display.IMP_DISPLAY_SwigPyIterator___sub__(self, *args)
210 
211  def __iter__(self):
212  return self
213 IMP_DISPLAY_SwigPyIterator_swigregister = _IMP_display.IMP_DISPLAY_SwigPyIterator_swigregister
214 IMP_DISPLAY_SwigPyIterator_swigregister(IMP_DISPLAY_SwigPyIterator)
215 
216 
217 _value_types=[]
218 _object_types=[]
219 _raii_types=[]
220 _plural_types=[]
221 
222 
223 _IMP_display.IMP_DEBUG_swigconstant(_IMP_display)
224 IMP_DEBUG = _IMP_display.IMP_DEBUG
225 
226 _IMP_display.IMP_RELEASE_swigconstant(_IMP_display)
227 IMP_RELEASE = _IMP_display.IMP_RELEASE
228 
229 _IMP_display.IMP_SILENT_swigconstant(_IMP_display)
230 IMP_SILENT = _IMP_display.IMP_SILENT
231 
232 _IMP_display.IMP_PROGRESS_swigconstant(_IMP_display)
233 IMP_PROGRESS = _IMP_display.IMP_PROGRESS
234 
235 _IMP_display.IMP_TERSE_swigconstant(_IMP_display)
236 IMP_TERSE = _IMP_display.IMP_TERSE
237 
238 _IMP_display.IMP_VERBOSE_swigconstant(_IMP_display)
239 IMP_VERBOSE = _IMP_display.IMP_VERBOSE
240 
241 _IMP_display.IMP_MEMORY_swigconstant(_IMP_display)
242 IMP_MEMORY = _IMP_display.IMP_MEMORY
243 
244 _IMP_display.IMP_NONE_swigconstant(_IMP_display)
245 IMP_NONE = _IMP_display.IMP_NONE
246 
247 _IMP_display.IMP_USAGE_swigconstant(_IMP_display)
248 IMP_USAGE = _IMP_display.IMP_USAGE
249 
250 _IMP_display.IMP_INTERNAL_swigconstant(_IMP_display)
251 IMP_INTERNAL = _IMP_display.IMP_INTERNAL
252 
253 _IMP_display.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_display)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_display.IMP_KERNEL_HAS_LOG4CXX
255 
256 _IMP_display.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_display)
257 IMP_COMPILER_HAS_AUTO = _IMP_display.IMP_COMPILER_HAS_AUTO
258 
259 _IMP_display.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_display)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_display.IMP_COMPILER_HAS_DEBUG_VECTOR
261 
262 _IMP_display.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_display)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_display.IMP_COMPILER_HAS_UNIQUE_PTR
264 
265 _IMP_display.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_display)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_display.IMP_KERNEL_HAS_BOOST_RANDOM
267 
268 _IMP_display.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_display)
269 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_display.IMP_KERNEL_HAS_GPERFTOOLS
270 
271 _IMP_display.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_display)
272 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_display.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
273 
274 _IMP_display.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_display)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_display.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
276 
277 _IMP_display.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_display)
278 IMPKERNEL_SHOW_WARNINGS = _IMP_display.IMPKERNEL_SHOW_WARNINGS
279 
280 import sys
281 class _DirectorObjects(object):
282  """@internal Simple class to keep references to director objects
283  to prevent premature deletion."""
284  def __init__(self):
285  self._objects = []
286  def register(self, obj):
287  """Take a reference to a director object; will only work for
288  refcounted C++ classes"""
289  if hasattr(obj, 'get_ref_count'):
290  self._objects.append(obj)
291  def cleanup(self):
292  """Only drop our reference and allow cleanup by Python if no other
293  Python references exist (we hold 3 references: one in self._objects,
294  one in x, and one in the argument list for getrefcount) *and* no
295  other C++ references exist (the Python object always holds one)"""
296  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
297  or x.get_ref_count() > 1]
298 # Do in two steps so the references are kept until the end of the
299 # function (deleting references may trigger a fresh call to this method)
300  self._objects = objs
301  def get_object_count(self):
302  """Get number of director objects (useful for testing only)"""
303  return len(self._objects)
304 _director_objects = _DirectorObjects()
305 
306 class _ostream(object):
307  """Proxy of C++ std::ostream class"""
308  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
309 
310  def __init__(self, *args, **kwargs):
311  raise AttributeError("No constructor defined")
312  __repr__ = _swig_repr
313 
314  def write(self, osa_buf):
315  """write(_ostream self, char const * osa_buf)"""
316  return _IMP_display._ostream_write(self, osa_buf)
317 
318 _ostream_swigregister = _IMP_display._ostream_swigregister
319 _ostream_swigregister(_ostream)
320 
321 
322 _IMP_display.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_display)
323 IMP_COMPILER_HAS_OVERRIDE = _IMP_display.IMP_COMPILER_HAS_OVERRIDE
324 
325 _IMP_display.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_display)
326 IMP_COMPILER_HAS_FINAL = _IMP_display.IMP_COMPILER_HAS_FINAL
327 
328 _IMP_display.IMP_HAS_NOEXCEPT_swigconstant(_IMP_display)
329 IMP_HAS_NOEXCEPT = _IMP_display.IMP_HAS_NOEXCEPT
330 import IMP
331 
332 _IMP_display.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_display)
333 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_display.IMP_CGAL_HAS_BOOST_FILESYSTEM
334 
335 _IMP_display.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_display)
336 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_display.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
337 
338 _IMP_display.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_display)
339 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_display.IMP_CGAL_HAS_BOOST_RANDOM
340 
341 _IMP_display.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_display)
342 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_display.IMP_CGAL_HAS_BOOST_SYSTEM
343 
344 _IMP_display.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_display)
345 IMPCGAL_SHOW_WARNINGS = _IMP_display.IMPCGAL_SHOW_WARNINGS
346 import IMP.cgal
347 
348 _IMP_display.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_display)
349 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_display.IMP_ALGEBRA_HAS_IMP_CGAL
350 
351 _IMP_display.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_display)
352 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_display.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
353 
354 _IMP_display.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_display)
355 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_display.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
356 
357 _IMP_display.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_display)
358 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_display.IMP_ALGEBRA_HAS_BOOST_RANDOM
359 
360 _IMP_display.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_display)
361 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_display.IMP_ALGEBRA_HAS_BOOST_SYSTEM
362 
363 _IMP_display.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_display)
364 IMP_ALGEBRA_HAS_CGAL = _IMP_display.IMP_ALGEBRA_HAS_CGAL
365 
366 _IMP_display.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_display)
367 IMP_ALGEBRA_HAS_ANN = _IMP_display.IMP_ALGEBRA_HAS_ANN
368 
369 _IMP_display.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_display)
370 IMPALGEBRA_SHOW_WARNINGS = _IMP_display.IMPALGEBRA_SHOW_WARNINGS
371 import IMP.algebra
372 
373 _IMP_display.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_display)
374 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_display.IMP_DISPLAY_HAS_IMP_CGAL
375 
376 _IMP_display.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_display)
377 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_display.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
378 
379 _IMP_display.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_display)
380 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_display.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
381 
382 _IMP_display.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_display)
383 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_display.IMP_DISPLAY_HAS_BOOST_RANDOM
384 
385 _IMP_display.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_display)
386 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_display.IMP_DISPLAY_HAS_BOOST_SYSTEM
387 
388 _IMP_display.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_display)
389 IMP_DISPLAY_HAS_CGAL = _IMP_display.IMP_DISPLAY_HAS_CGAL
390 
391 _IMP_display.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_display)
392 IMPDISPLAY_SHOW_WARNINGS = _IMP_display.IMPDISPLAY_SHOW_WARNINGS
393 
394 _object_types.append("Writer")
395 
396 
397 def _object_cast_to_Writer(o):
398  """_object_cast_to_Writer(Object o) -> Writer"""
399  return _IMP_display._object_cast_to_Writer(o)
400 
401 _object_types.append("TextWriter")
402 
403 
404 def _object_cast_to_TextWriter(o):
405  """_object_cast_to_TextWriter(Object o) -> TextWriter"""
406  return _IMP_display._object_cast_to_TextWriter(o)
407 
408 _object_types.append("Geometry")
409 
410 
411 def _object_cast_to_Geometry(o):
412  """_object_cast_to_Geometry(Object o) -> Geometry"""
413  return _IMP_display._object_cast_to_Geometry(o)
414 
415 _object_types.append("SingletonGeometry")
416 
417 
418 def _object_cast_to_SingletonGeometry(o):
419  """_object_cast_to_SingletonGeometry(Object o) -> SingletonGeometry"""
420  return _IMP_display._object_cast_to_SingletonGeometry(o)
421 
422 _object_types.append("PairGeometry")
423 
424 
425 def _object_cast_to_PairGeometry(o):
426  """_object_cast_to_PairGeometry(Object o) -> PairGeometry"""
427  return _IMP_display._object_cast_to_PairGeometry(o)
428 
429 _object_types.append("SingletonsGeometry")
430 
431 
432 def _object_cast_to_SingletonsGeometry(o):
433  """_object_cast_to_SingletonsGeometry(Object o) -> SingletonsGeometry"""
434  return _IMP_display._object_cast_to_SingletonsGeometry(o)
435 
436 _object_types.append("PairsGeometry")
437 
438 
439 def _object_cast_to_PairsGeometry(o):
440  """_object_cast_to_PairsGeometry(Object o) -> PairsGeometry"""
441  return _IMP_display._object_cast_to_PairsGeometry(o)
442 
443 _object_types.append("PymolWriter")
444 
445 
446 def _object_cast_to_PymolWriter(o):
447  """_object_cast_to_PymolWriter(Object o) -> PymolWriter"""
448  return _IMP_display._object_cast_to_PymolWriter(o)
449 
450 _object_types.append("SphereGeometry")
451 
452 
453 def _object_cast_to_SphereGeometry(o):
454  """_object_cast_to_SphereGeometry(Object o) -> SphereGeometry"""
455  return _IMP_display._object_cast_to_SphereGeometry(o)
456 
457 _object_types.append("CylinderGeometry")
458 
459 
460 def _object_cast_to_CylinderGeometry(o):
461  """_object_cast_to_CylinderGeometry(Object o) -> CylinderGeometry"""
462  return _IMP_display._object_cast_to_CylinderGeometry(o)
463 
464 _object_types.append("EllipsoidGeometry")
465 
466 
467 def _object_cast_to_EllipsoidGeometry(o):
468  """_object_cast_to_EllipsoidGeometry(Object o) -> EllipsoidGeometry"""
469  return _IMP_display._object_cast_to_EllipsoidGeometry(o)
470 
471 _object_types.append("PointGeometry")
472 
473 
474 def _object_cast_to_PointGeometry(o):
475  """_object_cast_to_PointGeometry(Object o) -> PointGeometry"""
476  return _IMP_display._object_cast_to_PointGeometry(o)
477 
478 _object_types.append("SegmentGeometry")
479 
480 
481 def _object_cast_to_SegmentGeometry(o):
482  """_object_cast_to_SegmentGeometry(Object o) -> SegmentGeometry"""
483  return _IMP_display._object_cast_to_SegmentGeometry(o)
484 
485 _object_types.append("PolygonGeometry")
486 
487 
488 def _object_cast_to_PolygonGeometry(o):
489  """_object_cast_to_PolygonGeometry(Object o) -> PolygonGeometry"""
490  return _IMP_display._object_cast_to_PolygonGeometry(o)
491 
492 _object_types.append("ReferenceFrameGeometry")
493 
494 
495 def _object_cast_to_ReferenceFrameGeometry(o):
496  """_object_cast_to_ReferenceFrameGeometry(Object o) -> ReferenceFrameGeometry"""
497  return _IMP_display._object_cast_to_ReferenceFrameGeometry(o)
498 
499 _object_types.append("BoundingBoxGeometry")
500 
501 
502 def _object_cast_to_BoundingBoxGeometry(o):
503  """_object_cast_to_BoundingBoxGeometry(Object o) -> BoundingBoxGeometry"""
504  return _IMP_display._object_cast_to_BoundingBoxGeometry(o)
505 
506 _object_types.append("LabelGeometry")
507 
508 
509 def _object_cast_to_LabelGeometry(o):
510  """_object_cast_to_LabelGeometry(Object o) -> LabelGeometry"""
511  return _IMP_display._object_cast_to_LabelGeometry(o)
512 
513 _object_types.append("RestraintGeometry")
514 
515 
516 def _object_cast_to_RestraintGeometry(o):
517  """_object_cast_to_RestraintGeometry(Object o) -> RestraintGeometry"""
518  return _IMP_display._object_cast_to_RestraintGeometry(o)
519 
520 _object_types.append("RestraintSetGeometry")
521 
522 
523 def _object_cast_to_RestraintSetGeometry(o):
524  """_object_cast_to_RestraintSetGeometry(Object o) -> RestraintSetGeometry"""
525  return _IMP_display._object_cast_to_RestraintSetGeometry(o)
526 
527 _object_types.append("GeometrySet")
528 
529 
530 def _object_cast_to_GeometrySet(o):
531  """_object_cast_to_GeometrySet(Object o) -> GeometrySet"""
532  return _IMP_display._object_cast_to_GeometrySet(o)
533 
534 def Coloreds(l=[]):
535  return [Colored(x) for x in l]
536 _plural_types.append("Coloreds")
537 
538 
539 _value_types.append("Colored")
540 
541 
542 Colors=list
543 _plural_types.append("Colors")
544 _value_types.append("Color")
545 
546 
547 WriterAdaptors=list
548 _plural_types.append("WriterAdaptors")
549 _value_types.append("WriterAdaptor")
550 
551 
552 _object_types.append("FilterGeometry")
553 
554 
555 def _object_cast_to_FilterGeometry(o):
556  """_object_cast_to_FilterGeometry(Object o) -> FilterGeometry"""
557  return _IMP_display._object_cast_to_FilterGeometry(o)
558 
559 _object_types.append("WriteOptimizerState")
560 
561 
562 def _object_cast_to_WriteOptimizerState(o):
563  """_object_cast_to_WriteOptimizerState(Object o) -> WriteOptimizerState"""
564  return _IMP_display._object_cast_to_WriteOptimizerState(o)
565 
566 _object_types.append("TriangleGeometry")
567 
568 
569 def _object_cast_to_TriangleGeometry(o):
570  """_object_cast_to_TriangleGeometry(Object o) -> TriangleGeometry"""
571  return _IMP_display._object_cast_to_TriangleGeometry(o)
572 
573 _object_types.append("SurfaceMeshGeometry")
574 
575 
576 def _object_cast_to_SurfaceMeshGeometry(o):
577  """_object_cast_to_SurfaceMeshGeometry(Object o) -> SurfaceMeshGeometry"""
578  return _IMP_display._object_cast_to_SurfaceMeshGeometry(o)
579 
580 _object_types.append("PlaneGeometry")
581 
582 
583 def _object_cast_to_PlaneGeometry(o):
584  """_object_cast_to_PlaneGeometry(Object o) -> PlaneGeometry"""
585  return _IMP_display._object_cast_to_PlaneGeometry(o)
586 
587 _object_types.append("IsosurfaceGeometry")
588 
589 
590 def _object_cast_to_IsosurfaceGeometry(o):
591  """_object_cast_to_IsosurfaceGeometry(Object o) -> IsosurfaceGeometry"""
592  return _IMP_display._object_cast_to_IsosurfaceGeometry(o)
593 
594 _object_types.append("SkinSurfaceGeometry")
595 
596 
597 def _object_cast_to_SkinSurfaceGeometry(o):
598  """_object_cast_to_SkinSurfaceGeometry(Object o) -> SkinSurfaceGeometry"""
599  return _IMP_display._object_cast_to_SkinSurfaceGeometry(o)
600 class Color(IMP._Value):
601  """Proxy of C++ IMP::display::Color class"""
602  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
603 
604  def __init__(self, *args):
605  """
606  __init__(IMP::display::Color self) -> Color
607  __init__(IMP::display::Color self, double r, double g, double b) -> Color
608  """
609  this = _IMP_display.new_Color(*args)
610  try:
611  self.this.append(this)
612  except:
613  self.this = this
614  __swig_destroy__ = _IMP_display.delete_Color
615  __del__ = lambda self: None
616 
617  def get_red(self):
618  """get_red(Color self) -> double"""
619  return _IMP_display.Color_get_red(self)
620 
621 
622  def get_green(self):
623  """get_green(Color self) -> double"""
624  return _IMP_display.Color_get_green(self)
625 
626 
627  def get_blue(self):
628  """get_blue(Color self) -> double"""
629  return _IMP_display.Color_get_blue(self)
630 
631 
632  def show(self, *args):
633  """
634  show(Color self, _ostream out, std::string delim)
635  show(Color self, _ostream out)
636  show(Color self)
637  """
638  return _IMP_display.Color_show(self, *args)
639 
640 
641  def __cmp__(self, o):
642  """__cmp__(Color self, Color o) -> int"""
643  return _IMP_display.Color___cmp__(self, o)
644 
645 
646  def __eq__(self, o):
647  """__eq__(Color self, Color o) -> bool"""
648  return _IMP_display.Color___eq__(self, o)
649 
650 
651  def __ne__(self, o):
652  """__ne__(Color self, Color o) -> bool"""
653  return _IMP_display.Color___ne__(self, o)
654 
655 
656  def __lt__(self, o):
657  """__lt__(Color self, Color o) -> bool"""
658  return _IMP_display.Color___lt__(self, o)
659 
660 
661  def __gt__(self, o):
662  """__gt__(Color self, Color o) -> bool"""
663  return _IMP_display.Color___gt__(self, o)
664 
665 
666  def __ge__(self, o):
667  """__ge__(Color self, Color o) -> bool"""
668  return _IMP_display.Color___ge__(self, o)
669 
670 
671  def __le__(self, o):
672  """__le__(Color self, Color o) -> bool"""
673  return _IMP_display.Color___le__(self, o)
674 
675 
676  def __str__(self):
677  """__str__(Color self) -> std::string"""
678  return _IMP_display.Color___str__(self)
679 
680 
681  def __repr__(self):
682  """__repr__(Color self) -> std::string"""
683  return _IMP_display.Color___repr__(self)
684 
685 Color_swigregister = _IMP_display.Color_swigregister
686 Color_swigregister(Color)
687 
688 
689 def get_display_color(i):
690  """get_display_color(unsigned int i) -> Color"""
691  return _IMP_display.get_display_color(i)
692 
693 def get_interpolated_rgb(a, b, f):
694  """get_interpolated_rgb(Color a, Color b, double f) -> Color"""
695  return _IMP_display.get_interpolated_rgb(a, b, f)
696 
697 def get_linear_color_map_value(min, max, value):
698  """get_linear_color_map_value(double min, double max, double value) -> double"""
699  return _IMP_display.get_linear_color_map_value(min, max, value)
700 
701 def get_jet_color(f):
702  """get_jet_color(double f) -> Color"""
703  return _IMP_display.get_jet_color(f)
704 
705 def get_hot_color(f):
706  """get_hot_color(double f) -> Color"""
707  return _IMP_display.get_hot_color(f)
708 
709 def get_rgb_color(f):
710  """get_rgb_color(double f) -> Color"""
711  return _IMP_display.get_rgb_color(f)
712 
713 def get_gray_color(f):
714  """get_gray_color(double f) -> Color"""
715  return _IMP_display.get_gray_color(f)
716 
717 def get_gnuplot_color(f):
718  """get_gnuplot_color(double f) -> Color"""
719  return _IMP_display.get_gnuplot_color(f)
720 class Geometry(IMP.Object):
721  """Proxy of C++ IMP::display::Geometry class"""
722  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
723 
724  def __init__(self, *args):
725  """
726  __init__(IMP::display::Geometry self, std::string name) -> Geometry
727  __init__(IMP::display::Geometry self, Color c, std::string name) -> Geometry
728  """
729  if self.__class__ == Geometry:
730  _self = None
731  else:
732  _self = self
733  this = _IMP_display.new_Geometry(_self, *args)
734  try:
735  self.this.append(this)
736  except:
737  self.this = this
738 
739  if self.__class__ != Geometry:
740  _director_objects.register(self)
741 
742 
743 
744 
745  def get_color(self):
746  """get_color(Geometry self) -> Color"""
747  return _IMP_display.Geometry_get_color(self)
748 
749 
750  def get_has_color(self):
751  """get_has_color(Geometry self) -> bool"""
752  return _IMP_display.Geometry_get_has_color(self)
753 
754 
755  def set_has_color(self, tf):
756  """set_has_color(Geometry self, bool tf)"""
757  return _IMP_display.Geometry_set_has_color(self, tf)
758 
759 
760  def set_color(self, c):
761  """set_color(Geometry self, Color c)"""
762  return _IMP_display.Geometry_set_color(self, c)
763 
764 
765  def get_components(self):
766  """get_components(Geometry self) -> IMP::display::Geometries"""
767  return _IMP_display.Geometry_get_components(self)
768 
769  __swig_destroy__ = _IMP_display.delete_Geometry
770  __del__ = lambda self: None
771 
772  def __str__(self):
773  """__str__(Geometry self) -> std::string"""
774  return _IMP_display.Geometry___str__(self)
775 
776 
777  def __repr__(self):
778  """__repr__(Geometry self) -> std::string"""
779  return _IMP_display.Geometry___repr__(self)
780 
781 
782  @staticmethod
783  def get_from(o):
784  return _object_cast_to_Geometry(o)
785 
786 
787  def get_type_name(self):
788  return self.__class__.__name__
789  def do_show(self, out):
790  pass
791  def get_version_info(self):
792  if"IMP::display" == "IMP":
793  return VersionInfo(self.__module__,
794  __import__(self.__module__).get_module_version())
795  else:
796  return IMP.VersionInfo(self.__module__,
797  __import__(self.__module__).get_module_version())
798  @staticmethod
799  def get_from(o):
800  return _object_cast_to_Geometry(o)
801 
802  def __disown__(self):
803  self.this.disown()
804  _IMP_display.disown_Geometry(self)
805  return weakref_proxy(self)
806 
807  def do_destroy(self):
808  """do_destroy(Geometry self)"""
809  return _IMP_display.Geometry_do_destroy(self)
810 
811 Geometry_swigregister = _IMP_display.Geometry_swigregister
812 Geometry_swigregister(Geometry)
813 
814 class GeometrySet(Geometry):
815  """Proxy of C++ IMP::display::GeometrySet class"""
816  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
817 
818  def __init__(self, *args):
819  """
820  __init__(IMP::display::GeometrySet self, IMP::display::Geometries const & v) -> GeometrySet
821  __init__(IMP::display::GeometrySet self, IMP::display::Geometries const & v, Color c) -> GeometrySet
822  __init__(IMP::display::GeometrySet self, IMP::display::Geometries const & v, std::string const n) -> GeometrySet
823  __init__(IMP::display::GeometrySet self, IMP::display::Geometries const & v, Color c, std::string n) -> GeometrySet
824  """
825  this = _IMP_display.new_GeometrySet(*args)
826  try:
827  self.this.append(this)
828  except:
829  self.this = this
830 
831  def get_geometry(self):
832  """get_geometry(GeometrySet self) -> IMP::display::Geometries"""
833  return _IMP_display.GeometrySet_get_geometry(self)
834 
835 
836  def get_version_info(self):
837  """get_version_info(GeometrySet self) -> VersionInfo"""
838  return _IMP_display.GeometrySet_get_version_info(self)
839 
840 
841  def __str__(self):
842  """__str__(GeometrySet self) -> std::string"""
843  return _IMP_display.GeometrySet___str__(self)
844 
845 
846  def __repr__(self):
847  """__repr__(GeometrySet self) -> std::string"""
848  return _IMP_display.GeometrySet___repr__(self)
849 
850 
851  @staticmethod
852  def get_from(o):
853  return _object_cast_to_GeometrySet(o)
854 
855 GeometrySet_swigregister = _IMP_display.GeometrySet_swigregister
856 GeometrySet_swigregister(GeometrySet)
857 
858 class SphereGeometry(Geometry):
859  """Proxy of C++ IMP::display::SphereGeometry class"""
860  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
861 
862  def __init__(self, *args):
863  """
864  __init__(IMP::display::SphereGeometry self, Sphere3D v) -> SphereGeometry
865  __init__(IMP::display::SphereGeometry self, Sphere3D v, Color c) -> SphereGeometry
866  __init__(IMP::display::SphereGeometry self, Sphere3D v, std::string const n) -> SphereGeometry
867  __init__(IMP::display::SphereGeometry self, Sphere3D v, Color c, std::string n) -> SphereGeometry
868  """
869  this = _IMP_display.new_SphereGeometry(*args)
870  try:
871  self.this.append(this)
872  except:
873  self.this = this
874 
875  def get_geometry(self):
876  """get_geometry(SphereGeometry self) -> Sphere3D"""
877  return _IMP_display.SphereGeometry_get_geometry(self)
878 
879 
880  def set_geometry(self, v):
881  """set_geometry(SphereGeometry self, Sphere3D v)"""
882  return _IMP_display.SphereGeometry_set_geometry(self, v)
883 
884 
885  def get_version_info(self):
886  """get_version_info(SphereGeometry self) -> VersionInfo"""
887  return _IMP_display.SphereGeometry_get_version_info(self)
888 
889 
890  def __str__(self):
891  """__str__(SphereGeometry self) -> std::string"""
892  return _IMP_display.SphereGeometry___str__(self)
893 
894 
895  def __repr__(self):
896  """__repr__(SphereGeometry self) -> std::string"""
897  return _IMP_display.SphereGeometry___repr__(self)
898 
899 
900  @staticmethod
901  def get_from(o):
902  return _object_cast_to_SphereGeometry(o)
903 
904 SphereGeometry_swigregister = _IMP_display.SphereGeometry_swigregister
905 SphereGeometry_swigregister(SphereGeometry)
906 
907 class CylinderGeometry(Geometry):
908  """Proxy of C++ IMP::display::CylinderGeometry class"""
909  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
910 
911  def __init__(self, *args):
912  """
913  __init__(IMP::display::CylinderGeometry self, Cylinder3D v) -> CylinderGeometry
914  __init__(IMP::display::CylinderGeometry self, Cylinder3D v, Color c) -> CylinderGeometry
915  __init__(IMP::display::CylinderGeometry self, Cylinder3D v, std::string const n) -> CylinderGeometry
916  __init__(IMP::display::CylinderGeometry self, Cylinder3D v, Color c, std::string n) -> CylinderGeometry
917  """
918  this = _IMP_display.new_CylinderGeometry(*args)
919  try:
920  self.this.append(this)
921  except:
922  self.this = this
923 
924  def get_geometry(self):
925  """get_geometry(CylinderGeometry self) -> Cylinder3D"""
926  return _IMP_display.CylinderGeometry_get_geometry(self)
927 
928 
929  def set_geometry(self, v):
930  """set_geometry(CylinderGeometry self, Cylinder3D v)"""
931  return _IMP_display.CylinderGeometry_set_geometry(self, v)
932 
933 
934  def get_version_info(self):
935  """get_version_info(CylinderGeometry self) -> VersionInfo"""
936  return _IMP_display.CylinderGeometry_get_version_info(self)
937 
938 
939  def __str__(self):
940  """__str__(CylinderGeometry self) -> std::string"""
941  return _IMP_display.CylinderGeometry___str__(self)
942 
943 
944  def __repr__(self):
945  """__repr__(CylinderGeometry self) -> std::string"""
946  return _IMP_display.CylinderGeometry___repr__(self)
947 
948 
949  @staticmethod
950  def get_from(o):
951  return _object_cast_to_CylinderGeometry(o)
952 
953 CylinderGeometry_swigregister = _IMP_display.CylinderGeometry_swigregister
954 CylinderGeometry_swigregister(CylinderGeometry)
955 
956 class EllipsoidGeometry(Geometry):
957  """Proxy of C++ IMP::display::EllipsoidGeometry class"""
958  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
959 
960  def __init__(self, *args):
961  """
962  __init__(IMP::display::EllipsoidGeometry self, Ellipsoid3D v) -> EllipsoidGeometry
963  __init__(IMP::display::EllipsoidGeometry self, Ellipsoid3D v, Color c) -> EllipsoidGeometry
964  __init__(IMP::display::EllipsoidGeometry self, Ellipsoid3D v, std::string const n) -> EllipsoidGeometry
965  __init__(IMP::display::EllipsoidGeometry self, Ellipsoid3D v, Color c, std::string n) -> EllipsoidGeometry
966  """
967  this = _IMP_display.new_EllipsoidGeometry(*args)
968  try:
969  self.this.append(this)
970  except:
971  self.this = this
972 
973  def get_geometry(self):
974  """get_geometry(EllipsoidGeometry self) -> Ellipsoid3D"""
975  return _IMP_display.EllipsoidGeometry_get_geometry(self)
976 
977 
978  def set_geometry(self, v):
979  """set_geometry(EllipsoidGeometry self, Ellipsoid3D v)"""
980  return _IMP_display.EllipsoidGeometry_set_geometry(self, v)
981 
982 
983  def get_version_info(self):
984  """get_version_info(EllipsoidGeometry self) -> VersionInfo"""
985  return _IMP_display.EllipsoidGeometry_get_version_info(self)
986 
987 
988  def __str__(self):
989  """__str__(EllipsoidGeometry self) -> std::string"""
990  return _IMP_display.EllipsoidGeometry___str__(self)
991 
992 
993  def __repr__(self):
994  """__repr__(EllipsoidGeometry self) -> std::string"""
995  return _IMP_display.EllipsoidGeometry___repr__(self)
996 
997 
998  @staticmethod
999  def get_from(o):
1000  return _object_cast_to_EllipsoidGeometry(o)
1001 
1002 EllipsoidGeometry_swigregister = _IMP_display.EllipsoidGeometry_swigregister
1003 EllipsoidGeometry_swigregister(EllipsoidGeometry)
1004 
1005 class PointGeometry(Geometry):
1006  """Proxy of C++ IMP::display::PointGeometry class"""
1007  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1008 
1009  def __init__(self, *args):
1010  """
1011  __init__(IMP::display::PointGeometry self, Vector3D v) -> PointGeometry
1012  __init__(IMP::display::PointGeometry self, Vector3D v, Color c) -> PointGeometry
1013  __init__(IMP::display::PointGeometry self, Vector3D v, std::string const n) -> PointGeometry
1014  __init__(IMP::display::PointGeometry self, Vector3D v, Color c, std::string n) -> PointGeometry
1015  """
1016  this = _IMP_display.new_PointGeometry(*args)
1017  try:
1018  self.this.append(this)
1019  except:
1020  self.this = this
1021 
1022  def get_geometry(self):
1023  """get_geometry(PointGeometry self) -> Vector3D"""
1024  return _IMP_display.PointGeometry_get_geometry(self)
1025 
1026 
1027  def set_geometry(self, v):
1028  """set_geometry(PointGeometry self, Vector3D v)"""
1029  return _IMP_display.PointGeometry_set_geometry(self, v)
1030 
1031 
1032  def get_version_info(self):
1033  """get_version_info(PointGeometry self) -> VersionInfo"""
1034  return _IMP_display.PointGeometry_get_version_info(self)
1035 
1036 
1037  def __str__(self):
1038  """__str__(PointGeometry self) -> std::string"""
1039  return _IMP_display.PointGeometry___str__(self)
1040 
1041 
1042  def __repr__(self):
1043  """__repr__(PointGeometry self) -> std::string"""
1044  return _IMP_display.PointGeometry___repr__(self)
1045 
1046 
1047  @staticmethod
1048  def get_from(o):
1049  return _object_cast_to_PointGeometry(o)
1050 
1051 PointGeometry_swigregister = _IMP_display.PointGeometry_swigregister
1052 PointGeometry_swigregister(PointGeometry)
1053 
1054 class SegmentGeometry(Geometry):
1055  """Proxy of C++ IMP::display::SegmentGeometry class"""
1056  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1057 
1058  def __init__(self, *args):
1059  """
1060  __init__(IMP::display::SegmentGeometry self, Segment3D v) -> SegmentGeometry
1061  __init__(IMP::display::SegmentGeometry self, Segment3D v, Color c) -> SegmentGeometry
1062  __init__(IMP::display::SegmentGeometry self, Segment3D v, std::string const n) -> SegmentGeometry
1063  __init__(IMP::display::SegmentGeometry self, Segment3D v, Color c, std::string n) -> SegmentGeometry
1064  """
1065  this = _IMP_display.new_SegmentGeometry(*args)
1066  try:
1067  self.this.append(this)
1068  except:
1069  self.this = this
1070 
1071  def get_geometry(self):
1072  """get_geometry(SegmentGeometry self) -> Segment3D"""
1073  return _IMP_display.SegmentGeometry_get_geometry(self)
1074 
1075 
1076  def set_geometry(self, v):
1077  """set_geometry(SegmentGeometry self, Segment3D v)"""
1078  return _IMP_display.SegmentGeometry_set_geometry(self, v)
1079 
1080 
1081  def get_version_info(self):
1082  """get_version_info(SegmentGeometry self) -> VersionInfo"""
1083  return _IMP_display.SegmentGeometry_get_version_info(self)
1084 
1085 
1086  def __str__(self):
1087  """__str__(SegmentGeometry self) -> std::string"""
1088  return _IMP_display.SegmentGeometry___str__(self)
1089 
1090 
1091  def __repr__(self):
1092  """__repr__(SegmentGeometry self) -> std::string"""
1093  return _IMP_display.SegmentGeometry___repr__(self)
1094 
1095 
1096  @staticmethod
1097  def get_from(o):
1098  return _object_cast_to_SegmentGeometry(o)
1099 
1100 SegmentGeometry_swigregister = _IMP_display.SegmentGeometry_swigregister
1101 SegmentGeometry_swigregister(SegmentGeometry)
1102 
1103 class PolygonGeometry(Geometry):
1104  """Proxy of C++ IMP::display::PolygonGeometry class"""
1105  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1106 
1107  def __init__(self, *args):
1108  """
1109  __init__(IMP::display::PolygonGeometry self, IMP::algebra::Vector3Ds const & v) -> PolygonGeometry
1110  __init__(IMP::display::PolygonGeometry self, IMP::algebra::Vector3Ds const & v, Color c) -> PolygonGeometry
1111  __init__(IMP::display::PolygonGeometry self, IMP::algebra::Vector3Ds const & v, std::string const n) -> PolygonGeometry
1112  __init__(IMP::display::PolygonGeometry self, IMP::algebra::Vector3Ds const & v, Color c, std::string n) -> PolygonGeometry
1113  """
1114  this = _IMP_display.new_PolygonGeometry(*args)
1115  try:
1116  self.this.append(this)
1117  except:
1118  self.this = this
1119 
1120  def get_geometry(self):
1121  """get_geometry(PolygonGeometry self) -> IMP::algebra::Vector3Ds const &"""
1122  return _IMP_display.PolygonGeometry_get_geometry(self)
1123 
1124 
1125  def set_geometry(self, v):
1126  """set_geometry(PolygonGeometry self, IMP::algebra::Vector3Ds const & v)"""
1127  return _IMP_display.PolygonGeometry_set_geometry(self, v)
1128 
1129 
1130  def get_version_info(self):
1131  """get_version_info(PolygonGeometry self) -> VersionInfo"""
1132  return _IMP_display.PolygonGeometry_get_version_info(self)
1133 
1134 
1135  def __str__(self):
1136  """__str__(PolygonGeometry self) -> std::string"""
1137  return _IMP_display.PolygonGeometry___str__(self)
1138 
1139 
1140  def __repr__(self):
1141  """__repr__(PolygonGeometry self) -> std::string"""
1142  return _IMP_display.PolygonGeometry___repr__(self)
1143 
1144 
1145  @staticmethod
1146  def get_from(o):
1147  return _object_cast_to_PolygonGeometry(o)
1148 
1149 PolygonGeometry_swigregister = _IMP_display.PolygonGeometry_swigregister
1150 PolygonGeometry_swigregister(PolygonGeometry)
1151 
1152 class TriangleGeometry(Geometry):
1153  """Proxy of C++ IMP::display::TriangleGeometry class"""
1154  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1155 
1156  def __init__(self, *args):
1157  """
1158  __init__(IMP::display::TriangleGeometry self, Triangle3D v) -> TriangleGeometry
1159  __init__(IMP::display::TriangleGeometry self, Triangle3D v, Color c) -> TriangleGeometry
1160  __init__(IMP::display::TriangleGeometry self, Triangle3D v, std::string const n) -> TriangleGeometry
1161  __init__(IMP::display::TriangleGeometry self, Triangle3D v, Color c, std::string n) -> TriangleGeometry
1162  """
1163  this = _IMP_display.new_TriangleGeometry(*args)
1164  try:
1165  self.this.append(this)
1166  except:
1167  self.this = this
1168 
1169  def get_geometry(self):
1170  """get_geometry(TriangleGeometry self) -> Triangle3D"""
1171  return _IMP_display.TriangleGeometry_get_geometry(self)
1172 
1173 
1174  def set_geometry(self, v):
1175  """set_geometry(TriangleGeometry self, Triangle3D v)"""
1176  return _IMP_display.TriangleGeometry_set_geometry(self, v)
1177 
1178 
1179  def get_version_info(self):
1180  """get_version_info(TriangleGeometry self) -> VersionInfo"""
1181  return _IMP_display.TriangleGeometry_get_version_info(self)
1182 
1183 
1184  def __str__(self):
1185  """__str__(TriangleGeometry self) -> std::string"""
1186  return _IMP_display.TriangleGeometry___str__(self)
1187 
1188 
1189  def __repr__(self):
1190  """__repr__(TriangleGeometry self) -> std::string"""
1191  return _IMP_display.TriangleGeometry___repr__(self)
1192 
1193 
1194  @staticmethod
1195  def get_from(o):
1196  return _object_cast_to_TriangleGeometry(o)
1197 
1198 TriangleGeometry_swigregister = _IMP_display.TriangleGeometry_swigregister
1199 TriangleGeometry_swigregister(TriangleGeometry)
1200 
1201 class BoundingBoxGeometry(Geometry):
1202  """Proxy of C++ IMP::display::BoundingBoxGeometry class"""
1203  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1204 
1205  def __init__(self, *args):
1206  """
1207  __init__(IMP::display::BoundingBoxGeometry self, BoundingBox3D v) -> BoundingBoxGeometry
1208  __init__(IMP::display::BoundingBoxGeometry self, BoundingBox3D v, Color c) -> BoundingBoxGeometry
1209  __init__(IMP::display::BoundingBoxGeometry self, BoundingBox3D v, std::string const n) -> BoundingBoxGeometry
1210  __init__(IMP::display::BoundingBoxGeometry self, BoundingBox3D v, Color c, std::string n) -> BoundingBoxGeometry
1211  """
1212  this = _IMP_display.new_BoundingBoxGeometry(*args)
1213  try:
1214  self.this.append(this)
1215  except:
1216  self.this = this
1217 
1218  def get_geometry(self):
1219  """get_geometry(BoundingBoxGeometry self) -> BoundingBox3D"""
1220  return _IMP_display.BoundingBoxGeometry_get_geometry(self)
1221 
1222 
1223  def set_geometry(self, v):
1224  """set_geometry(BoundingBoxGeometry self, BoundingBox3D v)"""
1225  return _IMP_display.BoundingBoxGeometry_set_geometry(self, v)
1226 
1227 
1228  def get_version_info(self):
1229  """get_version_info(BoundingBoxGeometry self) -> VersionInfo"""
1230  return _IMP_display.BoundingBoxGeometry_get_version_info(self)
1231 
1232 
1233  def __str__(self):
1234  """__str__(BoundingBoxGeometry self) -> std::string"""
1235  return _IMP_display.BoundingBoxGeometry___str__(self)
1236 
1237 
1238  def __repr__(self):
1239  """__repr__(BoundingBoxGeometry self) -> std::string"""
1240  return _IMP_display.BoundingBoxGeometry___repr__(self)
1241 
1242 
1243  @staticmethod
1244  def get_from(o):
1245  return _object_cast_to_BoundingBoxGeometry(o)
1246 
1247 BoundingBoxGeometry_swigregister = _IMP_display.BoundingBoxGeometry_swigregister
1248 BoundingBoxGeometry_swigregister(BoundingBoxGeometry)
1249 
1250 class ReferenceFrameGeometry(Geometry):
1251  """Proxy of C++ IMP::display::ReferenceFrameGeometry class"""
1252  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1253 
1254  def __init__(self, *args):
1255  """
1256  __init__(IMP::display::ReferenceFrameGeometry self, ReferenceFrame3D v) -> ReferenceFrameGeometry
1257  __init__(IMP::display::ReferenceFrameGeometry self, ReferenceFrame3D v, Color c) -> ReferenceFrameGeometry
1258  __init__(IMP::display::ReferenceFrameGeometry self, ReferenceFrame3D v, std::string const n) -> ReferenceFrameGeometry
1259  __init__(IMP::display::ReferenceFrameGeometry self, ReferenceFrame3D v, Color c, std::string n) -> ReferenceFrameGeometry
1260  """
1261  this = _IMP_display.new_ReferenceFrameGeometry(*args)
1262  try:
1263  self.this.append(this)
1264  except:
1265  self.this = this
1266 
1267  def get_geometry(self):
1268  """get_geometry(ReferenceFrameGeometry self) -> ReferenceFrame3D"""
1269  return _IMP_display.ReferenceFrameGeometry_get_geometry(self)
1270 
1271 
1272  def set_geometry(self, v):
1273  """set_geometry(ReferenceFrameGeometry self, ReferenceFrame3D v)"""
1274  return _IMP_display.ReferenceFrameGeometry_set_geometry(self, v)
1275 
1276 
1277  def get_version_info(self):
1278  """get_version_info(ReferenceFrameGeometry self) -> VersionInfo"""
1279  return _IMP_display.ReferenceFrameGeometry_get_version_info(self)
1280 
1281 
1282  def __str__(self):
1283  """__str__(ReferenceFrameGeometry self) -> std::string"""
1284  return _IMP_display.ReferenceFrameGeometry___str__(self)
1285 
1286 
1287  def __repr__(self):
1288  """__repr__(ReferenceFrameGeometry self) -> std::string"""
1289  return _IMP_display.ReferenceFrameGeometry___repr__(self)
1290 
1291 
1292  @staticmethod
1293  def get_from(o):
1294  return _object_cast_to_ReferenceFrameGeometry(o)
1295 
1296 ReferenceFrameGeometry_swigregister = _IMP_display.ReferenceFrameGeometry_swigregister
1297 ReferenceFrameGeometry_swigregister(ReferenceFrameGeometry)
1298 
1299 
1300 def create_geometry(*args):
1301  """
1302  create_geometry(Sphere3D t, std::string name) -> SphereGeometry
1303  create_geometry(Sphere3D t) -> SphereGeometry
1304  create_geometry(Cylinder3D t, std::string name) -> CylinderGeometry
1305  create_geometry(Cylinder3D t) -> CylinderGeometry
1306  create_geometry(Ellipsoid3D t, std::string name) -> EllipsoidGeometry
1307  create_geometry(Ellipsoid3D t) -> EllipsoidGeometry
1308  create_geometry(Vector3D t, std::string name) -> PointGeometry
1309  create_geometry(Vector3D t) -> PointGeometry
1310  create_geometry(Segment3D t, std::string name) -> SegmentGeometry
1311  create_geometry(Segment3D t) -> SegmentGeometry
1312  create_geometry(IMP::algebra::Vector3Ds const & t, std::string name) -> PolygonGeometry
1313  create_geometry(IMP::algebra::Vector3Ds const & t) -> PolygonGeometry
1314  create_geometry(Triangle3D t, std::string name) -> TriangleGeometry
1315  create_geometry(Triangle3D t) -> TriangleGeometry
1316  create_geometry(BoundingBox3D t, std::string name) -> BoundingBoxGeometry
1317  create_geometry(BoundingBox3D t) -> BoundingBoxGeometry
1318  create_geometry(ReferenceFrame3D t, std::string name) -> ReferenceFrameGeometry
1319  create_geometry(ReferenceFrame3D t) -> ReferenceFrameGeometry
1320  """
1321  return _IMP_display.create_geometry(*args)
1322 class LabelGeometry(Geometry):
1323  """Proxy of C++ IMP::display::LabelGeometry class"""
1324  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1325 
1326  def __init__(self, *args):
1327  """
1328  __init__(IMP::display::LabelGeometry self, Sphere3D loc, std::string text) -> LabelGeometry
1329  __init__(IMP::display::LabelGeometry self, Vector3D loc, std::string text) -> LabelGeometry
1330  """
1331  this = _IMP_display.new_LabelGeometry(*args)
1332  try:
1333  self.this.append(this)
1334  except:
1335  self.this = this
1336 
1337  def get_text(self):
1338  """get_text(LabelGeometry self) -> std::string"""
1339  return _IMP_display.LabelGeometry_get_text(self)
1340 
1341 
1342  def get_location(self):
1343  """get_location(LabelGeometry self) -> Sphere3D"""
1344  return _IMP_display.LabelGeometry_get_location(self)
1345 
1346 
1347  def get_version_info(self):
1348  """get_version_info(LabelGeometry self) -> VersionInfo"""
1349  return _IMP_display.LabelGeometry_get_version_info(self)
1350 
1351 
1352  def __str__(self):
1353  """__str__(LabelGeometry self) -> std::string"""
1354  return _IMP_display.LabelGeometry___str__(self)
1355 
1356 
1357  def __repr__(self):
1358  """__repr__(LabelGeometry self) -> std::string"""
1359  return _IMP_display.LabelGeometry___repr__(self)
1360 
1361 
1362  @staticmethod
1363  def get_from(o):
1364  return _object_cast_to_LabelGeometry(o)
1365 
1366 LabelGeometry_swigregister = _IMP_display.LabelGeometry_swigregister
1367 LabelGeometry_swigregister(LabelGeometry)
1368 
1369 class SurfaceMeshGeometry(Geometry):
1370  """Proxy of C++ IMP::display::SurfaceMeshGeometry class"""
1371  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1372 
1373  def __init__(self, vertices, faces):
1374  """__init__(IMP::display::SurfaceMeshGeometry self, IMP::algebra::Vector3Ds const & vertices, IMP::Ints const & faces) -> SurfaceMeshGeometry"""
1375  this = _IMP_display.new_SurfaceMeshGeometry(vertices, faces)
1376  try:
1377  self.this.append(this)
1378  except:
1379  self.this = this
1380 
1381  def get_vertexes(self):
1382  """get_vertexes(SurfaceMeshGeometry self) -> IMP::algebra::Vector3Ds const &"""
1383  return _IMP_display.SurfaceMeshGeometry_get_vertexes(self)
1384 
1385 
1386  def get_faces(self):
1387  """get_faces(SurfaceMeshGeometry self) -> IMP::Ints const &"""
1388  return _IMP_display.SurfaceMeshGeometry_get_faces(self)
1389 
1390 
1391  def get_version_info(self):
1392  """get_version_info(SurfaceMeshGeometry self) -> VersionInfo"""
1393  return _IMP_display.SurfaceMeshGeometry_get_version_info(self)
1394 
1395 
1396  def __str__(self):
1397  """__str__(SurfaceMeshGeometry self) -> std::string"""
1398  return _IMP_display.SurfaceMeshGeometry___str__(self)
1399 
1400 
1401  def __repr__(self):
1402  """__repr__(SurfaceMeshGeometry self) -> std::string"""
1403  return _IMP_display.SurfaceMeshGeometry___repr__(self)
1404 
1405 
1406  @staticmethod
1407  def get_from(o):
1408  return _object_cast_to_SurfaceMeshGeometry(o)
1409 
1410 SurfaceMeshGeometry_swigregister = _IMP_display.SurfaceMeshGeometry_swigregister
1411 SurfaceMeshGeometry_swigregister(SurfaceMeshGeometry)
1412 
1413 class PlaneGeometry(Geometry):
1414  """Proxy of C++ IMP::display::PlaneGeometry class"""
1415  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1416 
1417  def __init__(self, loc, box):
1418  """__init__(IMP::display::PlaneGeometry self, Plane3D loc, BoundingBox3D box) -> PlaneGeometry"""
1419  this = _IMP_display.new_PlaneGeometry(loc, box)
1420  try:
1421  self.this.append(this)
1422  except:
1423  self.this = this
1424 
1425  def get_version_info(self):
1426  """get_version_info(PlaneGeometry self) -> VersionInfo"""
1427  return _IMP_display.PlaneGeometry_get_version_info(self)
1428 
1429 
1430  def __str__(self):
1431  """__str__(PlaneGeometry self) -> std::string"""
1432  return _IMP_display.PlaneGeometry___str__(self)
1433 
1434 
1435  def __repr__(self):
1436  """__repr__(PlaneGeometry self) -> std::string"""
1437  return _IMP_display.PlaneGeometry___repr__(self)
1438 
1439 
1440  @staticmethod
1441  def get_from(o):
1442  return _object_cast_to_PlaneGeometry(o)
1443 
1444 PlaneGeometry_swigregister = _IMP_display.PlaneGeometry_swigregister
1445 PlaneGeometry_swigregister(PlaneGeometry)
1446 
1447 class IsosurfaceGeometry(SurfaceMeshGeometry):
1448  """Proxy of C++ IMP::display::IsosurfaceGeometry class"""
1449  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1450 
1451  def __init__(self, *args):
1452  """
1453  __init__(IMP::display::IsosurfaceGeometry self, IMP::algebra::GridD< 3,IMP::algebra::DenseGridStorageD< 3,double >,double,IMP::algebra::DefaultEmbeddingD< 3 > > const & grid, double iso) -> IsosurfaceGeometry
1454  __init__(IMP::display::IsosurfaceGeometry self, IMP::algebra::GridD< 3,IMP::algebra::DenseGridStorageD< 3,float >,float,IMP::algebra::DefaultEmbeddingD< 3 > > const & grid, double iso) -> IsosurfaceGeometry
1455  """
1456  this = _IMP_display.new_IsosurfaceGeometry(*args)
1457  try:
1458  self.this.append(this)
1459  except:
1460  self.this = this
1461 
1462  def __str__(self):
1463  """__str__(IsosurfaceGeometry self) -> std::string"""
1464  return _IMP_display.IsosurfaceGeometry___str__(self)
1465 
1466 
1467  def __repr__(self):
1468  """__repr__(IsosurfaceGeometry self) -> std::string"""
1469  return _IMP_display.IsosurfaceGeometry___repr__(self)
1470 
1471 
1472  @staticmethod
1473  def get_from(o):
1474  return _object_cast_to_IsosurfaceGeometry(o)
1475 
1476  __swig_destroy__ = _IMP_display.delete_IsosurfaceGeometry
1477  __del__ = lambda self: None
1478 IsosurfaceGeometry_swigregister = _IMP_display.IsosurfaceGeometry_swigregister
1479 IsosurfaceGeometry_swigregister(IsosurfaceGeometry)
1480 
1481 class SkinSurfaceGeometry(SurfaceMeshGeometry):
1482  """Proxy of C++ IMP::display::SkinSurfaceGeometry class"""
1483  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1484 
1485  def __init__(self, balls):
1486  """__init__(IMP::display::SkinSurfaceGeometry self, IMP::algebra::Sphere3Ds const & balls) -> SkinSurfaceGeometry"""
1487  this = _IMP_display.new_SkinSurfaceGeometry(balls)
1488  try:
1489  self.this.append(this)
1490  except:
1491  self.this = this
1492 
1493  def __str__(self):
1494  """__str__(SkinSurfaceGeometry self) -> std::string"""
1495  return _IMP_display.SkinSurfaceGeometry___str__(self)
1496 
1497 
1498  def __repr__(self):
1499  """__repr__(SkinSurfaceGeometry self) -> std::string"""
1500  return _IMP_display.SkinSurfaceGeometry___repr__(self)
1501 
1502 
1503  @staticmethod
1504  def get_from(o):
1505  return _object_cast_to_SkinSurfaceGeometry(o)
1506 
1507  __swig_destroy__ = _IMP_display.delete_SkinSurfaceGeometry
1508  __del__ = lambda self: None
1509 SkinSurfaceGeometry_swigregister = _IMP_display.SkinSurfaceGeometry_swigregister
1510 SkinSurfaceGeometry_swigregister(SkinSurfaceGeometry)
1511 
1512 class GeometryProcessor(object):
1513  """Proxy of C++ IMP::display::GeometryProcessor class"""
1514  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1515  __repr__ = _swig_repr
1516 
1517  def __init__(self):
1518  """__init__(IMP::display::GeometryProcessor self) -> GeometryProcessor"""
1519  this = _IMP_display.new_GeometryProcessor()
1520  try:
1521  self.this.append(this)
1522  except:
1523  self.this = this
1524 GeometryProcessor_swigregister = _IMP_display.GeometryProcessor_swigregister
1525 GeometryProcessor_swigregister(GeometryProcessor)
1526 
1527 class Writer(GeometryProcessor, IMP.Object):
1528  """Proxy of C++ IMP::display::Writer class"""
1529  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1530 
1531  def __init__(self, name):
1532  """__init__(IMP::display::Writer self, std::string name) -> Writer"""
1533  if self.__class__ == Writer:
1534  _self = None
1535  else:
1536  _self = self
1537  this = _IMP_display.new_Writer(_self, name)
1538  try:
1539  self.this.append(this)
1540  except:
1541  self.this = this
1542 
1543  if self.__class__ != Writer:
1544  _director_objects.register(self)
1545 
1546 
1547 
1548  __swig_destroy__ = _IMP_display.delete_Writer
1549  __del__ = lambda self: None
1550 
1551  def set_frame(self, i):
1552  """set_frame(Writer self, unsigned int i)"""
1553  return _IMP_display.Writer_set_frame(self, i)
1554 
1555 
1556  def get_frame(self):
1557  """get_frame(Writer self) -> int"""
1558  return _IMP_display.Writer_get_frame(self)
1559 
1560 
1561  def add_geometry(self, *args):
1562  """
1563  add_geometry(Writer self, Geometry g)
1564  add_geometry(Writer self, IMP::display::Geometries const & g)
1565  """
1566  return _IMP_display.Writer_add_geometry(self, *args)
1567 
1568 
1569  def do_close(self):
1570  """do_close(Writer self)"""
1571  return _IMP_display.Writer_do_close(self)
1572 
1573 
1574  def do_open(self):
1575  """do_open(Writer self)"""
1576  return _IMP_display.Writer_do_open(self)
1577 
1578 
1579  def do_set_frame(self):
1580  """do_set_frame(Writer self)"""
1581  return _IMP_display.Writer_do_set_frame(self)
1582 
1583 
1584  def __str__(self):
1585  """__str__(Writer self) -> std::string"""
1586  return _IMP_display.Writer___str__(self)
1587 
1588 
1589  def __repr__(self):
1590  """__repr__(Writer self) -> std::string"""
1591  return _IMP_display.Writer___repr__(self)
1592 
1593 
1594  @staticmethod
1595  def get_from(o):
1596  return _object_cast_to_Writer(o)
1597 
1598 
1599  def get_type_name(self):
1600  return self.__class__.__name__
1601  def do_show(self, out):
1602  pass
1603  def get_version_info(self):
1604  if"IMP::display" == "IMP":
1605  return VersionInfo(self.__module__,
1606  __import__(self.__module__).get_module_version())
1607  else:
1608  return IMP.VersionInfo(self.__module__,
1609  __import__(self.__module__).get_module_version())
1610  @staticmethod
1611  def get_from(o):
1612  return _object_cast_to_Writer(o)
1613 
1614  def __disown__(self):
1615  self.this.disown()
1616  _IMP_display.disown_Writer(self)
1617  return weakref_proxy(self)
1618 
1619  def handle_sphere(self, arg0, arg1, arg2):
1620  """handle_sphere(Writer self, SphereGeometry arg0, Color arg1, std::string arg2) -> bool"""
1621  return _IMP_display.Writer_handle_sphere(self, arg0, arg1, arg2)
1622 
1623 
1624  def handle_cylinder(self, arg0, arg1, arg2):
1625  """handle_cylinder(Writer self, CylinderGeometry arg0, Color arg1, std::string arg2) -> bool"""
1626  return _IMP_display.Writer_handle_cylinder(self, arg0, arg1, arg2)
1627 
1628 
1629  def handle_point(self, arg0, arg1, arg2):
1630  """handle_point(Writer self, PointGeometry arg0, Color arg1, std::string arg2) -> bool"""
1631  return _IMP_display.Writer_handle_point(self, arg0, arg1, arg2)
1632 
1633 
1634  def handle_segment(self, arg0, arg1, arg2):
1635  """handle_segment(Writer self, SegmentGeometry arg0, Color arg1, std::string arg2) -> bool"""
1636  return _IMP_display.Writer_handle_segment(self, arg0, arg1, arg2)
1637 
1638 
1639  def handle_polygon(self, arg0, arg1, arg2):
1640  """handle_polygon(Writer self, PolygonGeometry arg0, Color arg1, std::string arg2) -> bool"""
1641  return _IMP_display.Writer_handle_polygon(self, arg0, arg1, arg2)
1642 
1643 
1644  def handle_triangle(self, arg0, arg1, arg2):
1645  """handle_triangle(Writer self, TriangleGeometry arg0, Color arg1, std::string arg2) -> bool"""
1646  return _IMP_display.Writer_handle_triangle(self, arg0, arg1, arg2)
1647 
1648 
1649  def handle_surface_mesh(self, arg0, arg1, arg2):
1650  """handle_surface_mesh(Writer self, SurfaceMeshGeometry arg0, Color arg1, std::string arg2) -> bool"""
1651  return _IMP_display.Writer_handle_surface_mesh(self, arg0, arg1, arg2)
1652 
1653 
1654  def handle_label(self, arg0, arg1, arg2):
1655  """handle_label(Writer self, LabelGeometry arg0, Color arg1, std::string arg2) -> bool"""
1656  return _IMP_display.Writer_handle_label(self, arg0, arg1, arg2)
1657 
1658 
1659  def handle_ellipsoid(self, arg0, arg1, arg2):
1660  """handle_ellipsoid(Writer self, EllipsoidGeometry arg0, Color arg1, std::string arg2) -> bool"""
1661  return _IMP_display.Writer_handle_ellipsoid(self, arg0, arg1, arg2)
1662 
1663 
1664  def handle_bounding_box(self, arg0, arg1, arg2):
1665  """handle_bounding_box(Writer self, BoundingBoxGeometry arg0, Color arg1, std::string arg2) -> bool"""
1666  return _IMP_display.Writer_handle_bounding_box(self, arg0, arg1, arg2)
1667 
1668 
1669  def handle_anything(self, arg0, arg1, arg2):
1670  """handle_anything(Writer self, Geometry arg0, Color arg1, std::string arg2) -> bool"""
1671  return _IMP_display.Writer_handle_anything(self, arg0, arg1, arg2)
1672 
1673 
1674  def do_destroy(self):
1675  """do_destroy(Writer self)"""
1676  return _IMP_display.Writer_do_destroy(self)
1677 
1678 Writer_swigregister = _IMP_display.Writer_swigregister
1679 Writer_swigregister(Writer)
1680 
1681 class TextWriter(Writer):
1682  """Proxy of C++ IMP::display::TextWriter class"""
1683  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1684 
1685  def open(self):
1686  """open(TextWriter self)"""
1687  return _IMP_display.TextWriter_open(self)
1688 
1689 
1690  def get_stream(self):
1691  """get_stream(TextWriter self) -> _ostream"""
1692  return _IMP_display.TextWriter_get_stream(self)
1693 
1694 
1695  def do_set_frame(self):
1696  """do_set_frame(TextWriter self)"""
1697  return _IMP_display.TextWriter_do_set_frame(self)
1698 
1699 
1700  def __init__(self, *args):
1701  """
1702  __init__(IMP::display::TextWriter self, TextOutput fn) -> TextWriter
1703  __init__(IMP::display::TextWriter self, std::string name) -> TextWriter
1704  """
1705  if self.__class__ == TextWriter:
1706  _self = None
1707  else:
1708  _self = self
1709  this = _IMP_display.new_TextWriter(_self, *args)
1710  try:
1711  self.this.append(this)
1712  except:
1713  self.this = this
1714 
1715  if self.__class__ != TextWriter:
1716  _director_objects.register(self)
1717 
1718 
1719 
1720 
1721  def get_current_file_name(self):
1722  """get_current_file_name(TextWriter self) -> std::string"""
1723  return _IMP_display.TextWriter_get_current_file_name(self)
1724 
1725  __swig_destroy__ = _IMP_display.delete_TextWriter
1726  __del__ = lambda self: None
1727 
1728  def __str__(self):
1729  """__str__(TextWriter self) -> std::string"""
1730  return _IMP_display.TextWriter___str__(self)
1731 
1732 
1733  def __repr__(self):
1734  """__repr__(TextWriter self) -> std::string"""
1735  return _IMP_display.TextWriter___repr__(self)
1736 
1737 
1738  @staticmethod
1739  def get_from(o):
1740  return _object_cast_to_TextWriter(o)
1741 
1742 
1743  def get_type_name(self):
1744  return self.__class__.__name__
1745  def do_show(self, out):
1746  pass
1747  def get_version_info(self):
1748  if"IMP::display" == "IMP":
1749  return VersionInfo(self.__module__,
1750  __import__(self.__module__).get_module_version())
1751  else:
1752  return IMP.VersionInfo(self.__module__,
1753  __import__(self.__module__).get_module_version())
1754  @staticmethod
1755  def get_from(o):
1756  return _object_cast_to_TextWriter(o)
1757 
1758  def __disown__(self):
1759  self.this.disown()
1760  _IMP_display.disown_TextWriter(self)
1761  return weakref_proxy(self)
1762 
1763  def handle_sphere(self, arg0, arg1, arg2):
1764  """handle_sphere(TextWriter self, SphereGeometry arg0, Color arg1, std::string arg2) -> bool"""
1765  return _IMP_display.TextWriter_handle_sphere(self, arg0, arg1, arg2)
1766 
1767 
1768  def handle_cylinder(self, arg0, arg1, arg2):
1769  """handle_cylinder(TextWriter self, CylinderGeometry arg0, Color arg1, std::string arg2) -> bool"""
1770  return _IMP_display.TextWriter_handle_cylinder(self, arg0, arg1, arg2)
1771 
1772 
1773  def handle_point(self, arg0, arg1, arg2):
1774  """handle_point(TextWriter self, PointGeometry arg0, Color arg1, std::string arg2) -> bool"""
1775  return _IMP_display.TextWriter_handle_point(self, arg0, arg1, arg2)
1776 
1777 
1778  def handle_segment(self, arg0, arg1, arg2):
1779  """handle_segment(TextWriter self, SegmentGeometry arg0, Color arg1, std::string arg2) -> bool"""
1780  return _IMP_display.TextWriter_handle_segment(self, arg0, arg1, arg2)
1781 
1782 
1783  def handle_polygon(self, arg0, arg1, arg2):
1784  """handle_polygon(TextWriter self, PolygonGeometry arg0, Color arg1, std::string arg2) -> bool"""
1785  return _IMP_display.TextWriter_handle_polygon(self, arg0, arg1, arg2)
1786 
1787 
1788  def handle_triangle(self, arg0, arg1, arg2):
1789  """handle_triangle(TextWriter self, TriangleGeometry arg0, Color arg1, std::string arg2) -> bool"""
1790  return _IMP_display.TextWriter_handle_triangle(self, arg0, arg1, arg2)
1791 
1792 
1793  def handle_surface_mesh(self, arg0, arg1, arg2):
1794  """handle_surface_mesh(TextWriter self, SurfaceMeshGeometry arg0, Color arg1, std::string arg2) -> bool"""
1795  return _IMP_display.TextWriter_handle_surface_mesh(self, arg0, arg1, arg2)
1796 
1797 
1798  def handle_label(self, arg0, arg1, arg2):
1799  """handle_label(TextWriter self, LabelGeometry arg0, Color arg1, std::string arg2) -> bool"""
1800  return _IMP_display.TextWriter_handle_label(self, arg0, arg1, arg2)
1801 
1802 
1803  def handle_ellipsoid(self, arg0, arg1, arg2):
1804  """handle_ellipsoid(TextWriter self, EllipsoidGeometry arg0, Color arg1, std::string arg2) -> bool"""
1805  return _IMP_display.TextWriter_handle_ellipsoid(self, arg0, arg1, arg2)
1806 
1807 
1808  def handle_bounding_box(self, arg0, arg1, arg2):
1809  """handle_bounding_box(TextWriter self, BoundingBoxGeometry arg0, Color arg1, std::string arg2) -> bool"""
1810  return _IMP_display.TextWriter_handle_bounding_box(self, arg0, arg1, arg2)
1811 
1812 
1813  def handle_anything(self, arg0, arg1, arg2):
1814  """handle_anything(TextWriter self, Geometry arg0, Color arg1, std::string arg2) -> bool"""
1815  return _IMP_display.TextWriter_handle_anything(self, arg0, arg1, arg2)
1816 
1817 
1818  def do_destroy(self):
1819  """do_destroy(TextWriter self)"""
1820  return _IMP_display.TextWriter_do_destroy(self)
1821 
1822 
1823  def do_close(self):
1824  """do_close(TextWriter self)"""
1825  return _IMP_display.TextWriter_do_close(self)
1826 
1827 
1828  def do_open(self):
1829  """do_open(TextWriter self)"""
1830  return _IMP_display.TextWriter_do_open(self)
1831 
1832 TextWriter_swigregister = _IMP_display.TextWriter_swigregister
1833 TextWriter_swigregister(TextWriter)
1834 
1835 
1836 def create_writer(filename):
1837  """create_writer(std::string filename) -> Writer"""
1838  return _IMP_display.create_writer(filename)
1839 class WriterAdaptor(IMP._InputAdaptor):
1840  """Proxy of C++ IMP::display::WriterAdaptor class"""
1841  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1842 
1843  def __init__(self, *args):
1844  """
1845  __init__(IMP::display::WriterAdaptor self, std::string name) -> WriterAdaptor
1846  __init__(IMP::display::WriterAdaptor self, Writer w) -> WriterAdaptor
1847  """
1848  this = _IMP_display.new_WriterAdaptor(*args)
1849  try:
1850  self.this.append(this)
1851  except:
1852  self.this = this
1853 
1854  def get_writer(self):
1855  """get_writer(WriterAdaptor self) -> Writer"""
1856  return _IMP_display.WriterAdaptor_get_writer(self)
1857 
1858 
1859  def show(self, *args):
1860  """
1861  show(WriterAdaptor self, _ostream out)
1862  show(WriterAdaptor self)
1863  """
1864  return _IMP_display.WriterAdaptor_show(self, *args)
1865 
1866  __swig_destroy__ = _IMP_display.delete_WriterAdaptor
1867  __del__ = lambda self: None
1868 
1869  def __str__(self):
1870  """__str__(WriterAdaptor self) -> std::string"""
1871  return _IMP_display.WriterAdaptor___str__(self)
1872 
1873 
1874  def __repr__(self):
1875  """__repr__(WriterAdaptor self) -> std::string"""
1876  return _IMP_display.WriterAdaptor___repr__(self)
1877 
1878 WriterAdaptor_swigregister = _IMP_display.WriterAdaptor_swigregister
1879 WriterAdaptor_swigregister(WriterAdaptor)
1880 
1881 class Colored(IMP.Decorator):
1882  """Proxy of C++ IMP::display::Colored class"""
1883  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1884 
1885  def set_color(self, c):
1886  """set_color(Colored self, Color c)"""
1887  return _IMP_display.Colored_set_color(self, c)
1888 
1889 
1890  def get_color(self):
1891  """get_color(Colored self) -> Color"""
1892  return _IMP_display.Colored_get_color(self)
1893 
1894 
1895  def get_color_keys():
1896  """get_color_keys() -> IMP::FloatKeys const &"""
1897  return _IMP_display.Colored_get_color_keys()
1898 
1899  get_color_keys = staticmethod(get_color_keys)
1900 
1901  def __init__(self, *args):
1902  """
1903  __init__(IMP::display::Colored self) -> Colored
1904  __init__(IMP::display::Colored self, Model m, ParticleIndex id) -> Colored
1905  __init__(IMP::display::Colored self, _ParticleAdaptor d) -> Colored
1906  """
1907  this = _IMP_display.new_Colored(*args)
1908  try:
1909  self.this.append(this)
1910  except:
1911  self.this = this
1912 
1913  def get_is_setup(*args):
1914  """
1915  get_is_setup(Model m, ParticleIndex pi) -> bool
1916  get_is_setup(_ParticleAdaptor p) -> bool
1917  """
1918  return _IMP_display.Colored_get_is_setup(*args)
1919 
1920  get_is_setup = staticmethod(get_is_setup)
1921 
1922  def show(self, *args):
1923  """
1924  show(Colored self, _ostream out)
1925  show(Colored self)
1926  """
1927  return _IMP_display.Colored_show(self, *args)
1928 
1929 
1930  def setup_particle(*args):
1931  """
1932  setup_particle(Model m, ParticleIndex pi, Color color) -> Colored
1933  setup_particle(_ParticleAdaptor decorator, Color color) -> Colored
1934  """
1935  return _IMP_display.Colored_setup_particle(*args)
1936 
1937  setup_particle = staticmethod(setup_particle)
1938 
1939  def add_attribute(self, *args):
1940  """
1941  add_attribute(Colored self, FloatKey k, IMP::Float v, bool opt)
1942  add_attribute(Colored self, FloatKey a0, IMP::Float a1)
1943  add_attribute(Colored self, IntKey a0, IMP::Int a1)
1944  add_attribute(Colored self, StringKey a0, IMP::String a1)
1945  add_attribute(Colored self, ParticleIndexKey a0, Particle a1)
1946  add_attribute(Colored self, ObjectKey a0, Object a1)
1947  """
1948  return _IMP_display.Colored_add_attribute(self, *args)
1949 
1950 
1951  def get_value(self, *args):
1952  """
1953  get_value(Colored self, FloatKey a0) -> IMP::Float
1954  get_value(Colored self, IntKey a0) -> IMP::Int
1955  get_value(Colored self, StringKey a0) -> IMP::String
1956  get_value(Colored self, ParticleIndexKey a0) -> Particle
1957  get_value(Colored self, ObjectKey a0) -> Object
1958  """
1959  return _IMP_display.Colored_get_value(self, *args)
1960 
1961 
1962  def set_value(self, *args):
1963  """
1964  set_value(Colored self, FloatKey a0, IMP::Float a1)
1965  set_value(Colored self, IntKey a0, IMP::Int a1)
1966  set_value(Colored self, StringKey a0, IMP::String a1)
1967  set_value(Colored self, ParticleIndexKey a0, Particle a1)
1968  set_value(Colored self, ObjectKey a0, Object a1)
1969  """
1970  return _IMP_display.Colored_set_value(self, *args)
1971 
1972 
1973  def remove_attribute(self, *args):
1974  """
1975  remove_attribute(Colored self, FloatKey a0)
1976  remove_attribute(Colored self, IntKey a0)
1977  remove_attribute(Colored self, StringKey a0)
1978  remove_attribute(Colored self, ParticleIndexKey a0)
1979  remove_attribute(Colored self, ObjectKey a0)
1980  """
1981  return _IMP_display.Colored_remove_attribute(self, *args)
1982 
1983 
1984  def has_attribute(self, *args):
1985  """
1986  has_attribute(Colored self, FloatKey a0) -> bool
1987  has_attribute(Colored self, IntKey a0) -> bool
1988  has_attribute(Colored self, StringKey a0) -> bool
1989  has_attribute(Colored self, ParticleIndexKey a0) -> bool
1990  has_attribute(Colored self, ObjectKey a0) -> bool
1991  """
1992  return _IMP_display.Colored_has_attribute(self, *args)
1993 
1994 
1995  def get_derivative(self, a0):
1996  """get_derivative(Colored self, FloatKey a0) -> double"""
1997  return _IMP_display.Colored_get_derivative(self, a0)
1998 
1999 
2000  def get_name(self):
2001  """get_name(Colored self) -> std::string"""
2002  return _IMP_display.Colored_get_name(self)
2003 
2004 
2005  def clear_caches(self):
2006  """clear_caches(Colored self)"""
2007  return _IMP_display.Colored_clear_caches(self)
2008 
2009 
2010  def set_name(self, a0):
2011  """set_name(Colored self, std::string a0)"""
2012  return _IMP_display.Colored_set_name(self, a0)
2013 
2014 
2015  def set_check_level(self, a0):
2016  """set_check_level(Colored self, IMP::CheckLevel a0)"""
2017  return _IMP_display.Colored_set_check_level(self, a0)
2018 
2019 
2020  def add_to_derivative(self, a0, a1, a2):
2021  """add_to_derivative(Colored self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2022  return _IMP_display.Colored_add_to_derivative(self, a0, a1, a2)
2023 
2024 
2025  def set_is_optimized(self, a0, a1):
2026  """set_is_optimized(Colored self, FloatKey a0, bool a1)"""
2027  return _IMP_display.Colored_set_is_optimized(self, a0, a1)
2028 
2029 
2030  def get_is_optimized(self, a0):
2031  """get_is_optimized(Colored self, FloatKey a0) -> bool"""
2032  return _IMP_display.Colored_get_is_optimized(self, a0)
2033 
2034 
2035  def get_check_level(self):
2036  """get_check_level(Colored self) -> IMP::CheckLevel"""
2037  return _IMP_display.Colored_get_check_level(self)
2038 
2039 
2040  def __eq__(self, *args):
2041  """
2042  __eq__(Colored self, Colored o) -> bool
2043  __eq__(Colored self, Particle d) -> bool
2044  """
2045  return _IMP_display.Colored___eq__(self, *args)
2046 
2047 
2048  def __ne__(self, *args):
2049  """
2050  __ne__(Colored self, Colored o) -> bool
2051  __ne__(Colored self, Particle d) -> bool
2052  """
2053  return _IMP_display.Colored___ne__(self, *args)
2054 
2055 
2056  def __le__(self, *args):
2057  """
2058  __le__(Colored self, Colored o) -> bool
2059  __le__(Colored self, Particle d) -> bool
2060  """
2061  return _IMP_display.Colored___le__(self, *args)
2062 
2063 
2064  def __lt__(self, *args):
2065  """
2066  __lt__(Colored self, Colored o) -> bool
2067  __lt__(Colored self, Particle d) -> bool
2068  """
2069  return _IMP_display.Colored___lt__(self, *args)
2070 
2071 
2072  def __ge__(self, *args):
2073  """
2074  __ge__(Colored self, Colored o) -> bool
2075  __ge__(Colored self, Particle d) -> bool
2076  """
2077  return _IMP_display.Colored___ge__(self, *args)
2078 
2079 
2080  def __gt__(self, *args):
2081  """
2082  __gt__(Colored self, Colored o) -> bool
2083  __gt__(Colored self, Particle d) -> bool
2084  """
2085  return _IMP_display.Colored___gt__(self, *args)
2086 
2087 
2088  def __hash__(self):
2089  """__hash__(Colored self) -> std::size_t"""
2090  return _IMP_display.Colored___hash__(self)
2091 
2092 
2093  def __str__(self):
2094  """__str__(Colored self) -> std::string"""
2095  return _IMP_display.Colored___str__(self)
2096 
2097 
2098  def __repr__(self):
2099  """__repr__(Colored self) -> std::string"""
2100  return _IMP_display.Colored___repr__(self)
2101 
2102  __swig_destroy__ = _IMP_display.delete_Colored
2103  __del__ = lambda self: None
2104 Colored_swigregister = _IMP_display.Colored_swigregister
2105 Colored_swigregister(Colored)
2106 
2107 def Colored_get_color_keys():
2108  """Colored_get_color_keys() -> IMP::FloatKeys const &"""
2109  return _IMP_display.Colored_get_color_keys()
2110 
2111 def Colored_get_is_setup(*args):
2112  """
2113  get_is_setup(Model m, ParticleIndex pi) -> bool
2114  Colored_get_is_setup(_ParticleAdaptor p) -> bool
2115  """
2116  return _IMP_display.Colored_get_is_setup(*args)
2117 
2118 def Colored_setup_particle(*args):
2119  """
2120  setup_particle(Model m, ParticleIndex pi, Color color) -> Colored
2121  Colored_setup_particle(_ParticleAdaptor decorator, Color color) -> Colored
2122  """
2123  return _IMP_display.Colored_setup_particle(*args)
2124 
2125 
2126 def __lshift__(out, n):
2127  """__lshift__(_ostream out, Colored n) -> _ostream"""
2128  return _IMP_display.__lshift__(out, n)
2129 class FilterGeometry(GeometryProcessor, Geometry):
2130  """Proxy of C++ IMP::display::FilterGeometry class"""
2131  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2132 
2133  def __init__(self, p):
2134  """__init__(IMP::display::FilterGeometry self, Plane3D p) -> FilterGeometry"""
2135  this = _IMP_display.new_FilterGeometry(p)
2136  try:
2137  self.this.append(this)
2138  except:
2139  self.this = this
2140 
2141  def add_geometry(self, *args):
2142  """
2143  add_geometry(FilterGeometry self, Geometry g)
2144  add_geometry(FilterGeometry self, IMP::display::Geometries const & g)
2145  """
2146  return _IMP_display.FilterGeometry_add_geometry(self, *args)
2147 
2148 
2149  def get_version_info(self):
2150  """get_version_info(FilterGeometry self) -> VersionInfo"""
2151  return _IMP_display.FilterGeometry_get_version_info(self)
2152 
2153 
2154  def __str__(self):
2155  """__str__(FilterGeometry self) -> std::string"""
2156  return _IMP_display.FilterGeometry___str__(self)
2157 
2158 
2159  def __repr__(self):
2160  """__repr__(FilterGeometry self) -> std::string"""
2161  return _IMP_display.FilterGeometry___repr__(self)
2162 
2163 
2164  @staticmethod
2165  def get_from(o):
2166  return _object_cast_to_FilterGeometry(o)
2167 
2168 FilterGeometry_swigregister = _IMP_display.FilterGeometry_swigregister
2169 FilterGeometry_swigregister(FilterGeometry)
2170 
2171 class WriteOptimizerState(IMP.OptimizerState):
2172  """Proxy of C++ IMP::display::WriteOptimizerState class"""
2173  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2174 
2175  def __init__(self, m, w):
2176  """__init__(IMP::display::WriteOptimizerState self, Model m, WriterAdaptor w) -> WriteOptimizerState"""
2177  this = _IMP_display.new_WriteOptimizerState(m, w)
2178  try:
2179  self.this.append(this)
2180  except:
2181  self.this = this
2182 
2183  def write(self, w):
2184  """write(WriteOptimizerState self, WriterAdaptor w)"""
2185  return _IMP_display.WriteOptimizerState_write(self, w)
2186 
2187 
2188  def remove_geometry(self, d):
2189  """remove_geometry(WriteOptimizerState self, Geometry d)"""
2190  return _IMP_display.WriteOptimizerState_remove_geometry(self, d)
2191 
2192 
2193  def remove_geometries(self, d):
2194  """remove_geometries(WriteOptimizerState self, IMP::display::Geometries const & d)"""
2195  return _IMP_display.WriteOptimizerState_remove_geometries(self, d)
2196 
2197 
2198  def set_geometries(self, ps):
2199  """set_geometries(WriteOptimizerState self, IMP::display::Geometries const & ps)"""
2200  return _IMP_display.WriteOptimizerState_set_geometries(self, ps)
2201 
2202 
2203  def set_geometries_order(self, objs):
2204  """set_geometries_order(WriteOptimizerState self, IMP::display::Geometries const & objs)"""
2205  return _IMP_display.WriteOptimizerState_set_geometries_order(self, objs)
2206 
2207 
2208  def add_geometry(self, obj):
2209  """add_geometry(WriteOptimizerState self, Geometry obj) -> unsigned int"""
2210  return _IMP_display.WriteOptimizerState_add_geometry(self, obj)
2211 
2212 
2213  def add_geometries(self, objs):
2214  """add_geometries(WriteOptimizerState self, IMP::display::Geometries const & objs)"""
2215  return _IMP_display.WriteOptimizerState_add_geometries(self, objs)
2216 
2217 
2218  def clear_geometries(self):
2219  """clear_geometries(WriteOptimizerState self)"""
2220  return _IMP_display.WriteOptimizerState_clear_geometries(self)
2221 
2222 
2223  def get_number_of_geometries(self):
2224  """get_number_of_geometries(WriteOptimizerState self) -> unsigned int"""
2225  return _IMP_display.WriteOptimizerState_get_number_of_geometries(self)
2226 
2227 
2228  def get_has_geometries(self):
2229  """get_has_geometries(WriteOptimizerState self) -> bool"""
2230  return _IMP_display.WriteOptimizerState_get_has_geometries(self)
2231 
2232 
2233  def get_geometry(self, i):
2234  """get_geometry(WriteOptimizerState self, unsigned int i) -> Geometry"""
2235  return _IMP_display.WriteOptimizerState_get_geometry(self, i)
2236 
2237 
2238  def get_geometries(self):
2239  """get_geometries(WriteOptimizerState self) -> IMP::display::Geometries"""
2240  return _IMP_display.WriteOptimizerState_get_geometries(self)
2241 
2242 
2243  def reserve_geometries(self, sz):
2244  """reserve_geometries(WriteOptimizerState self, unsigned int sz)"""
2245  return _IMP_display.WriteOptimizerState_reserve_geometries(self, sz)
2246 
2247 
2248  def get_version_info(self):
2249  """get_version_info(WriteOptimizerState self) -> VersionInfo"""
2250  return _IMP_display.WriteOptimizerState_get_version_info(self)
2251 
2252 
2253  def __str__(self):
2254  """__str__(WriteOptimizerState self) -> std::string"""
2255  return _IMP_display.WriteOptimizerState___str__(self)
2256 
2257 
2258  def __repr__(self):
2259  """__repr__(WriteOptimizerState self) -> std::string"""
2260  return _IMP_display.WriteOptimizerState___repr__(self)
2261 
2262 
2263  @staticmethod
2264  def get_from(o):
2265  return _object_cast_to_WriteOptimizerState(o)
2266 
2267 WriteOptimizerState_swigregister = _IMP_display.WriteOptimizerState_swigregister
2268 WriteOptimizerState_swigregister(WriteOptimizerState)
2269 
2270 class SingletonGeometry(Geometry):
2271  """Proxy of C++ IMP::display::SingletonGeometry class"""
2272  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2273 
2274  def __init__(self, p):
2275  """__init__(IMP::display::SingletonGeometry self, Particle p) -> SingletonGeometry"""
2276  this = _IMP_display.new_SingletonGeometry(p)
2277  try:
2278  self.this.append(this)
2279  except:
2280  self.this = this
2281 
2282  def get_particle(self):
2283  """get_particle(SingletonGeometry self) -> Particle"""
2284  return _IMP_display.SingletonGeometry_get_particle(self)
2285 
2286  __swig_destroy__ = _IMP_display.delete_SingletonGeometry
2287  __del__ = lambda self: None
2288 
2289  def __str__(self):
2290  """__str__(SingletonGeometry self) -> std::string"""
2291  return _IMP_display.SingletonGeometry___str__(self)
2292 
2293 
2294  def __repr__(self):
2295  """__repr__(SingletonGeometry self) -> std::string"""
2296  return _IMP_display.SingletonGeometry___repr__(self)
2297 
2298 
2299  @staticmethod
2300  def get_from(o):
2301  return _object_cast_to_SingletonGeometry(o)
2302 
2303 SingletonGeometry_swigregister = _IMP_display.SingletonGeometry_swigregister
2304 SingletonGeometry_swigregister(SingletonGeometry)
2305 
2306 class SingletonsGeometry(Geometry):
2307  """Proxy of C++ IMP::display::SingletonsGeometry class"""
2308  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2309 
2310  def __init__(self, *args):
2311  """
2312  __init__(IMP::display::SingletonsGeometry self, _SingletonContainerAdaptor pc, Color c) -> SingletonsGeometry
2313  __init__(IMP::display::SingletonsGeometry self, _SingletonContainerAdaptor pc) -> SingletonsGeometry
2314  """
2315  this = _IMP_display.new_SingletonsGeometry(*args)
2316  try:
2317  self.this.append(this)
2318  except:
2319  self.this = this
2320 
2321  def get_container(self):
2322  """get_container(SingletonsGeometry self) -> SingletonContainer"""
2323  return _IMP_display.SingletonsGeometry_get_container(self)
2324 
2325  __swig_destroy__ = _IMP_display.delete_SingletonsGeometry
2326  __del__ = lambda self: None
2327 
2328  def __str__(self):
2329  """__str__(SingletonsGeometry self) -> std::string"""
2330  return _IMP_display.SingletonsGeometry___str__(self)
2331 
2332 
2333  def __repr__(self):
2334  """__repr__(SingletonsGeometry self) -> std::string"""
2335  return _IMP_display.SingletonsGeometry___repr__(self)
2336 
2337 
2338  @staticmethod
2339  def get_from(o):
2340  return _object_cast_to_SingletonsGeometry(o)
2341 
2342 SingletonsGeometry_swigregister = _IMP_display.SingletonsGeometry_swigregister
2343 SingletonsGeometry_swigregister(SingletonsGeometry)
2344 
2345 class PairGeometry(Geometry):
2346  """Proxy of C++ IMP::display::PairGeometry class"""
2347  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2348 
2349  def __init__(self, pp):
2350  """__init__(IMP::display::PairGeometry self, IMP::ParticlePair const & pp) -> PairGeometry"""
2351  this = _IMP_display.new_PairGeometry(pp)
2352  try:
2353  self.this.append(this)
2354  except:
2355  self.this = this
2356 
2357  def get_particle_pair(self):
2358  """get_particle_pair(PairGeometry self) -> IMP::ParticlePair"""
2359  return _IMP_display.PairGeometry_get_particle_pair(self)
2360 
2361  __swig_destroy__ = _IMP_display.delete_PairGeometry
2362  __del__ = lambda self: None
2363 
2364  def __str__(self):
2365  """__str__(PairGeometry self) -> std::string"""
2366  return _IMP_display.PairGeometry___str__(self)
2367 
2368 
2369  def __repr__(self):
2370  """__repr__(PairGeometry self) -> std::string"""
2371  return _IMP_display.PairGeometry___repr__(self)
2372 
2373 
2374  @staticmethod
2375  def get_from(o):
2376  return _object_cast_to_PairGeometry(o)
2377 
2378 PairGeometry_swigregister = _IMP_display.PairGeometry_swigregister
2379 PairGeometry_swigregister(PairGeometry)
2380 
2381 class PairsGeometry(Geometry):
2382  """Proxy of C++ IMP::display::PairsGeometry class"""
2383  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2384 
2385  def __init__(self, *args):
2386  """
2387  __init__(IMP::display::PairsGeometry self, PairContainer pc, Color c) -> PairsGeometry
2388  __init__(IMP::display::PairsGeometry self, PairContainer pc) -> PairsGeometry
2389  """
2390  this = _IMP_display.new_PairsGeometry(*args)
2391  try:
2392  self.this.append(this)
2393  except:
2394  self.this = this
2395 
2396  def get_container(self):
2397  """get_container(PairsGeometry self) -> PairContainer"""
2398  return _IMP_display.PairsGeometry_get_container(self)
2399 
2400  __swig_destroy__ = _IMP_display.delete_PairsGeometry
2401  __del__ = lambda self: None
2402 
2403  def __str__(self):
2404  """__str__(PairsGeometry self) -> std::string"""
2405  return _IMP_display.PairsGeometry___str__(self)
2406 
2407 
2408  def __repr__(self):
2409  """__repr__(PairsGeometry self) -> std::string"""
2410  return _IMP_display.PairsGeometry___repr__(self)
2411 
2412 
2413  @staticmethod
2414  def get_from(o):
2415  return _object_cast_to_PairsGeometry(o)
2416 
2417 PairsGeometry_swigregister = _IMP_display.PairsGeometry_swigregister
2418 PairsGeometry_swigregister(PairsGeometry)
2419 
2420 class PymolWriter(TextWriter):
2421  """Proxy of C++ IMP::display::PymolWriter class"""
2422  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2423 
2424  def __init__(self, *args):
2425  """
2426  __init__(IMP::display::PymolWriter self, TextOutput of) -> PymolWriter
2427  __init__(IMP::display::PymolWriter self, std::string name) -> PymolWriter
2428  __init__(IMP::display::PymolWriter self, char const * name) -> PymolWriter
2429  """
2430  this = _IMP_display.new_PymolWriter(*args)
2431  try:
2432  self.this.append(this)
2433  except:
2434  self.this = this
2435 
2436  def get_version_info(self):
2437  """get_version_info(PymolWriter self) -> VersionInfo"""
2438  return _IMP_display.PymolWriter_get_version_info(self)
2439 
2440 
2441  def __str__(self):
2442  """__str__(PymolWriter self) -> std::string"""
2443  return _IMP_display.PymolWriter___str__(self)
2444 
2445 
2446  def __repr__(self):
2447  """__repr__(PymolWriter self) -> std::string"""
2448  return _IMP_display.PymolWriter___repr__(self)
2449 
2450 
2451  @staticmethod
2452  def get_from(o):
2453  return _object_cast_to_PymolWriter(o)
2454 
2455 PymolWriter_swigregister = _IMP_display.PymolWriter_swigregister
2456 PymolWriter_swigregister(PymolWriter)
2457 
2458 class RestraintGeometry(Geometry):
2459  """Proxy of C++ IMP::display::RestraintGeometry class"""
2460  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2461 
2462  def __init__(self, p):
2463  """__init__(IMP::display::RestraintGeometry self, Restraint p) -> RestraintGeometry"""
2464  this = _IMP_display.new_RestraintGeometry(p)
2465  try:
2466  self.this.append(this)
2467  except:
2468  self.this = this
2469 
2470  def get_restraint(self):
2471  """get_restraint(RestraintGeometry self) -> Restraint"""
2472  return _IMP_display.RestraintGeometry_get_restraint(self)
2473 
2474 
2475  def get_version_info(self):
2476  """get_version_info(RestraintGeometry self) -> VersionInfo"""
2477  return _IMP_display.RestraintGeometry_get_version_info(self)
2478 
2479 
2480  def __str__(self):
2481  """__str__(RestraintGeometry self) -> std::string"""
2482  return _IMP_display.RestraintGeometry___str__(self)
2483 
2484 
2485  def __repr__(self):
2486  """__repr__(RestraintGeometry self) -> std::string"""
2487  return _IMP_display.RestraintGeometry___repr__(self)
2488 
2489 
2490  @staticmethod
2491  def get_from(o):
2492  return _object_cast_to_RestraintGeometry(o)
2493 
2494 RestraintGeometry_swigregister = _IMP_display.RestraintGeometry_swigregister
2495 RestraintGeometry_swigregister(RestraintGeometry)
2496 
2497 class RestraintSetGeometry(Geometry):
2498  """Proxy of C++ IMP::display::RestraintSetGeometry class"""
2499  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2500 
2501  def __init__(self, p):
2502  """__init__(IMP::display::RestraintSetGeometry self, RestraintSet p) -> RestraintSetGeometry"""
2503  this = _IMP_display.new_RestraintSetGeometry(p)
2504  try:
2505  self.this.append(this)
2506  except:
2507  self.this = this
2508 
2509  def get_restraint_set(self):
2510  """get_restraint_set(RestraintSetGeometry self) -> RestraintSet"""
2511  return _IMP_display.RestraintSetGeometry_get_restraint_set(self)
2512 
2513 
2514  def get_version_info(self):
2515  """get_version_info(RestraintSetGeometry self) -> VersionInfo"""
2516  return _IMP_display.RestraintSetGeometry_get_version_info(self)
2517 
2518 
2519  def __str__(self):
2520  """__str__(RestraintSetGeometry self) -> std::string"""
2521  return _IMP_display.RestraintSetGeometry___str__(self)
2522 
2523 
2524  def __repr__(self):
2525  """__repr__(RestraintSetGeometry self) -> std::string"""
2526  return _IMP_display.RestraintSetGeometry___repr__(self)
2527 
2528 
2529  @staticmethod
2530  def get_from(o):
2531  return _object_cast_to_RestraintSetGeometry(o)
2532 
2533 RestraintSetGeometry_swigregister = _IMP_display.RestraintSetGeometry_swigregister
2534 RestraintSetGeometry_swigregister(RestraintSetGeometry)
2535 
2536 
2537 from . import _pivy
2538 PivyWriter= _pivy.get_writer(Writer)
2539 _object_types.append('PivyWriter')
2540 
2541 
2542 def get_module_version():
2543  """get_module_version() -> std::string const"""
2544  return _IMP_display.get_module_version()
2545 
2546 def get_example_path(fname):
2547  """get_example_path(std::string fname) -> std::string"""
2548  return _IMP_display.get_example_path(fname)
2549 
2550 def get_data_path(fname):
2551  """get_data_path(std::string fname) -> std::string"""
2552  return _IMP_display.get_data_path(fname)
2553 
2554 from . import _version_check
2555 _version_check.check_version(get_module_version())
2556 __version__ = get_module_version()
2557 
2558 
2559 
CheckLevel get_check_level()
Get the current audit mode.
Definition: exception.h:81
Color get_rgb_color(double f)
Return the color for f from the RGB color map.
Make CGAL functionality available to IMP.
double get_linear_color_map_value(double min, double max, double value)
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Color get_interpolated_rgb(const Color &a, const Color &b, double f)
Return a color interpolated between a and b in RGB space.
Definition: Color.h:143
Color get_hot_color(double f)
Return the color for f from the hot color map.
SphereGeometry * create_geometry(const algebra::Sphere3D &t, std::string name="algebra::Sphere3D"+"%1""%")
Common base class for heavy weight IMP objects.
Definition: Object.h:106
Color get_display_color(unsigned int i)
Version and module information for Objects.
Definition: VersionInfo.h:28
Writer * create_writer(std::string filename)
Color get_gnuplot_color(double f)
Return colors using the gnuplot default color map.
Interface to specialized Particle types (e.g. atoms)
Definition: Decorator.h:118
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Shared optimizer state that is invoked upon commitment of new coordinates.
Color get_gray_color(double f)
Return the a grayscale value for f.
Color get_jet_color(double f)
Return the color for f from the jet color map.
void add_geometry(RMF::FileHandle file, display::Geometry *r)
Add a single geometry to the file.
void add_geometries(RMF::FileHandle file, const display::GeometriesTemp &r)
Add geometries to the file.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
Definition: exception.h:73