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