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