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