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