IMP  2.2.0
The Integrative Modeling Platform
display/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 2.0.12
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_grey_color(*args):
557  """get_grey_color(double f) -> Color"""
558  return _IMP_display.get_grey_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 Geometry_swigregister = _IMP_display.Geometry_swigregister
641 Geometry_swigregister(Geometry)
642 
643 class GeometrySet(Geometry):
644  """Proxy of C++ IMP::display::GeometrySet class"""
645  __swig_setmethods__ = {}
646  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
647  __setattr__ = lambda self, name, value: _swig_setattr(self, GeometrySet, name, value)
648  __swig_getmethods__ = {}
649  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
650  __getattr__ = lambda self, name: _swig_getattr(self, GeometrySet, name)
651  def __init__(self, *args):
652  """
653  __init__(IMP::display::GeometrySet self, IMP::display::Geometries const & v) -> GeometrySet
654  __init__(IMP::display::GeometrySet self, IMP::display::Geometries const & v, Color c) -> GeometrySet
655  __init__(IMP::display::GeometrySet self, IMP::display::Geometries const & v, std::string const n) -> GeometrySet
656  __init__(IMP::display::GeometrySet self, IMP::display::Geometries const & v, Color c, std::string n) -> GeometrySet
657  """
658  this = _IMP_display.new_GeometrySet(*args)
659  try: self.this.append(this)
660  except: self.this = this
661  def get_geometry(self):
662  """get_geometry(GeometrySet self) -> IMP::display::Geometries"""
663  return _IMP_display.GeometrySet_get_geometry(self)
664 
665  def get_version_info(self):
666  """get_version_info(GeometrySet self) -> VersionInfo"""
667  return _IMP_display.GeometrySet_get_version_info(self)
668 
669  def __str__(self):
670  """__str__(GeometrySet self) -> std::string"""
671  return _IMP_display.GeometrySet___str__(self)
672 
673  def __repr__(self):
674  """__repr__(GeometrySet self) -> std::string"""
675  return _IMP_display.GeometrySet___repr__(self)
676 
677  def get_from(o):
678  return _object_cast_to_GeometrySet(o)
679  get_from = staticmethod(get_from)
680 
681 GeometrySet_swigregister = _IMP_display.GeometrySet_swigregister
682 GeometrySet_swigregister(GeometrySet)
683 
684 class SphereGeometry(Geometry):
685  """Proxy of C++ IMP::display::SphereGeometry class"""
686  __swig_setmethods__ = {}
687  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
688  __setattr__ = lambda self, name, value: _swig_setattr(self, SphereGeometry, name, value)
689  __swig_getmethods__ = {}
690  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
691  __getattr__ = lambda self, name: _swig_getattr(self, SphereGeometry, name)
692  def __init__(self, *args):
693  """
694  __init__(IMP::display::SphereGeometry self, Sphere3D v) -> SphereGeometry
695  __init__(IMP::display::SphereGeometry self, Sphere3D v, Color c) -> SphereGeometry
696  __init__(IMP::display::SphereGeometry self, Sphere3D v, std::string const n) -> SphereGeometry
697  __init__(IMP::display::SphereGeometry self, Sphere3D v, Color c, std::string n) -> SphereGeometry
698  """
699  this = _IMP_display.new_SphereGeometry(*args)
700  try: self.this.append(this)
701  except: self.this = this
702  def get_geometry(self):
703  """get_geometry(SphereGeometry self) -> Sphere3D"""
704  return _IMP_display.SphereGeometry_get_geometry(self)
705 
706  def set_geometry(self, *args):
707  """set_geometry(SphereGeometry self, Sphere3D v)"""
708  return _IMP_display.SphereGeometry_set_geometry(self, *args)
709 
710  def get_version_info(self):
711  """get_version_info(SphereGeometry self) -> VersionInfo"""
712  return _IMP_display.SphereGeometry_get_version_info(self)
713 
714  def __str__(self):
715  """__str__(SphereGeometry self) -> std::string"""
716  return _IMP_display.SphereGeometry___str__(self)
717 
718  def __repr__(self):
719  """__repr__(SphereGeometry self) -> std::string"""
720  return _IMP_display.SphereGeometry___repr__(self)
721 
722  def get_from(o):
723  return _object_cast_to_SphereGeometry(o)
724  get_from = staticmethod(get_from)
725 
726 SphereGeometry_swigregister = _IMP_display.SphereGeometry_swigregister
727 SphereGeometry_swigregister(SphereGeometry)
728 
729 class CylinderGeometry(Geometry):
730  """Proxy of C++ IMP::display::CylinderGeometry class"""
731  __swig_setmethods__ = {}
732  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
733  __setattr__ = lambda self, name, value: _swig_setattr(self, CylinderGeometry, name, value)
734  __swig_getmethods__ = {}
735  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
736  __getattr__ = lambda self, name: _swig_getattr(self, CylinderGeometry, name)
737  def __init__(self, *args):
738  """
739  __init__(IMP::display::CylinderGeometry self, Cylinder3D v) -> CylinderGeometry
740  __init__(IMP::display::CylinderGeometry self, Cylinder3D v, Color c) -> CylinderGeometry
741  __init__(IMP::display::CylinderGeometry self, Cylinder3D v, std::string const n) -> CylinderGeometry
742  __init__(IMP::display::CylinderGeometry self, Cylinder3D v, Color c, std::string n) -> CylinderGeometry
743  """
744  this = _IMP_display.new_CylinderGeometry(*args)
745  try: self.this.append(this)
746  except: self.this = this
747  def get_geometry(self):
748  """get_geometry(CylinderGeometry self) -> Cylinder3D"""
749  return _IMP_display.CylinderGeometry_get_geometry(self)
750 
751  def set_geometry(self, *args):
752  """set_geometry(CylinderGeometry self, Cylinder3D v)"""
753  return _IMP_display.CylinderGeometry_set_geometry(self, *args)
754 
755  def get_version_info(self):
756  """get_version_info(CylinderGeometry self) -> VersionInfo"""
757  return _IMP_display.CylinderGeometry_get_version_info(self)
758 
759  def __str__(self):
760  """__str__(CylinderGeometry self) -> std::string"""
761  return _IMP_display.CylinderGeometry___str__(self)
762 
763  def __repr__(self):
764  """__repr__(CylinderGeometry self) -> std::string"""
765  return _IMP_display.CylinderGeometry___repr__(self)
766 
767  def get_from(o):
768  return _object_cast_to_CylinderGeometry(o)
769  get_from = staticmethod(get_from)
770 
771 CylinderGeometry_swigregister = _IMP_display.CylinderGeometry_swigregister
772 CylinderGeometry_swigregister(CylinderGeometry)
773 
774 class EllipsoidGeometry(Geometry):
775  """Proxy of C++ IMP::display::EllipsoidGeometry class"""
776  __swig_setmethods__ = {}
777  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
778  __setattr__ = lambda self, name, value: _swig_setattr(self, EllipsoidGeometry, name, value)
779  __swig_getmethods__ = {}
780  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
781  __getattr__ = lambda self, name: _swig_getattr(self, EllipsoidGeometry, name)
782  def __init__(self, *args):
783  """
784  __init__(IMP::display::EllipsoidGeometry self, Ellipsoid3D v) -> EllipsoidGeometry
785  __init__(IMP::display::EllipsoidGeometry self, Ellipsoid3D v, Color c) -> EllipsoidGeometry
786  __init__(IMP::display::EllipsoidGeometry self, Ellipsoid3D v, std::string const n) -> EllipsoidGeometry
787  __init__(IMP::display::EllipsoidGeometry self, Ellipsoid3D v, Color c, std::string n) -> EllipsoidGeometry
788  """
789  this = _IMP_display.new_EllipsoidGeometry(*args)
790  try: self.this.append(this)
791  except: self.this = this
792  def get_geometry(self):
793  """get_geometry(EllipsoidGeometry self) -> Ellipsoid3D"""
794  return _IMP_display.EllipsoidGeometry_get_geometry(self)
795 
796  def set_geometry(self, *args):
797  """set_geometry(EllipsoidGeometry self, Ellipsoid3D v)"""
798  return _IMP_display.EllipsoidGeometry_set_geometry(self, *args)
799 
800  def get_version_info(self):
801  """get_version_info(EllipsoidGeometry self) -> VersionInfo"""
802  return _IMP_display.EllipsoidGeometry_get_version_info(self)
803 
804  def __str__(self):
805  """__str__(EllipsoidGeometry self) -> std::string"""
806  return _IMP_display.EllipsoidGeometry___str__(self)
807 
808  def __repr__(self):
809  """__repr__(EllipsoidGeometry self) -> std::string"""
810  return _IMP_display.EllipsoidGeometry___repr__(self)
811 
812  def get_from(o):
813  return _object_cast_to_EllipsoidGeometry(o)
814  get_from = staticmethod(get_from)
815 
816 EllipsoidGeometry_swigregister = _IMP_display.EllipsoidGeometry_swigregister
817 EllipsoidGeometry_swigregister(EllipsoidGeometry)
818 
819 class PointGeometry(Geometry):
820  """Proxy of C++ IMP::display::PointGeometry class"""
821  __swig_setmethods__ = {}
822  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
823  __setattr__ = lambda self, name, value: _swig_setattr(self, PointGeometry, name, value)
824  __swig_getmethods__ = {}
825  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
826  __getattr__ = lambda self, name: _swig_getattr(self, PointGeometry, name)
827  def __init__(self, *args):
828  """
829  __init__(IMP::display::PointGeometry self, Vector3D v) -> PointGeometry
830  __init__(IMP::display::PointGeometry self, Vector3D v, Color c) -> PointGeometry
831  __init__(IMP::display::PointGeometry self, Vector3D v, std::string const n) -> PointGeometry
832  __init__(IMP::display::PointGeometry self, Vector3D v, Color c, std::string n) -> PointGeometry
833  """
834  this = _IMP_display.new_PointGeometry(*args)
835  try: self.this.append(this)
836  except: self.this = this
837  def get_geometry(self):
838  """get_geometry(PointGeometry self) -> Vector3D"""
839  return _IMP_display.PointGeometry_get_geometry(self)
840 
841  def set_geometry(self, *args):
842  """set_geometry(PointGeometry self, Vector3D v)"""
843  return _IMP_display.PointGeometry_set_geometry(self, *args)
844 
845  def get_version_info(self):
846  """get_version_info(PointGeometry self) -> VersionInfo"""
847  return _IMP_display.PointGeometry_get_version_info(self)
848 
849  def __str__(self):
850  """__str__(PointGeometry self) -> std::string"""
851  return _IMP_display.PointGeometry___str__(self)
852 
853  def __repr__(self):
854  """__repr__(PointGeometry self) -> std::string"""
855  return _IMP_display.PointGeometry___repr__(self)
856 
857  def get_from(o):
858  return _object_cast_to_PointGeometry(o)
859  get_from = staticmethod(get_from)
860 
861 PointGeometry_swigregister = _IMP_display.PointGeometry_swigregister
862 PointGeometry_swigregister(PointGeometry)
863 
864 class SegmentGeometry(Geometry):
865  """Proxy of C++ IMP::display::SegmentGeometry class"""
866  __swig_setmethods__ = {}
867  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
868  __setattr__ = lambda self, name, value: _swig_setattr(self, SegmentGeometry, name, value)
869  __swig_getmethods__ = {}
870  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
871  __getattr__ = lambda self, name: _swig_getattr(self, SegmentGeometry, name)
872  def __init__(self, *args):
873  """
874  __init__(IMP::display::SegmentGeometry self, Segment3D v) -> SegmentGeometry
875  __init__(IMP::display::SegmentGeometry self, Segment3D v, Color c) -> SegmentGeometry
876  __init__(IMP::display::SegmentGeometry self, Segment3D v, std::string const n) -> SegmentGeometry
877  __init__(IMP::display::SegmentGeometry self, Segment3D v, Color c, std::string n) -> SegmentGeometry
878  """
879  this = _IMP_display.new_SegmentGeometry(*args)
880  try: self.this.append(this)
881  except: self.this = this
882  def get_geometry(self):
883  """get_geometry(SegmentGeometry self) -> Segment3D"""
884  return _IMP_display.SegmentGeometry_get_geometry(self)
885 
886  def set_geometry(self, *args):
887  """set_geometry(SegmentGeometry self, Segment3D v)"""
888  return _IMP_display.SegmentGeometry_set_geometry(self, *args)
889 
890  def get_version_info(self):
891  """get_version_info(SegmentGeometry self) -> VersionInfo"""
892  return _IMP_display.SegmentGeometry_get_version_info(self)
893 
894  def __str__(self):
895  """__str__(SegmentGeometry self) -> std::string"""
896  return _IMP_display.SegmentGeometry___str__(self)
897 
898  def __repr__(self):
899  """__repr__(SegmentGeometry self) -> std::string"""
900  return _IMP_display.SegmentGeometry___repr__(self)
901 
902  def get_from(o):
903  return _object_cast_to_SegmentGeometry(o)
904  get_from = staticmethod(get_from)
905 
906 SegmentGeometry_swigregister = _IMP_display.SegmentGeometry_swigregister
907 SegmentGeometry_swigregister(SegmentGeometry)
908 
909 class PolygonGeometry(Geometry):
910  """Proxy of C++ IMP::display::PolygonGeometry class"""
911  __swig_setmethods__ = {}
912  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
913  __setattr__ = lambda self, name, value: _swig_setattr(self, PolygonGeometry, name, value)
914  __swig_getmethods__ = {}
915  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
916  __getattr__ = lambda self, name: _swig_getattr(self, PolygonGeometry, name)
917  def __init__(self, *args):
918  """
919  __init__(IMP::display::PolygonGeometry self, IMP::algebra::Vector3Ds const & v) -> PolygonGeometry
920  __init__(IMP::display::PolygonGeometry self, IMP::algebra::Vector3Ds const & v, Color c) -> PolygonGeometry
921  __init__(IMP::display::PolygonGeometry self, IMP::algebra::Vector3Ds const & v, std::string const n) -> PolygonGeometry
922  __init__(IMP::display::PolygonGeometry self, IMP::algebra::Vector3Ds const & v, Color c, std::string n) -> PolygonGeometry
923  """
924  this = _IMP_display.new_PolygonGeometry(*args)
925  try: self.this.append(this)
926  except: self.this = this
927  def get_geometry(self):
928  """get_geometry(PolygonGeometry self) -> IMP::algebra::Vector3Ds const &"""
929  return _IMP_display.PolygonGeometry_get_geometry(self)
930 
931  def set_geometry(self, *args):
932  """set_geometry(PolygonGeometry self, IMP::algebra::Vector3Ds const & v)"""
933  return _IMP_display.PolygonGeometry_set_geometry(self, *args)
934 
935  def get_version_info(self):
936  """get_version_info(PolygonGeometry self) -> VersionInfo"""
937  return _IMP_display.PolygonGeometry_get_version_info(self)
938 
939  def __str__(self):
940  """__str__(PolygonGeometry self) -> std::string"""
941  return _IMP_display.PolygonGeometry___str__(self)
942 
943  def __repr__(self):
944  """__repr__(PolygonGeometry self) -> std::string"""
945  return _IMP_display.PolygonGeometry___repr__(self)
946 
947  def get_from(o):
948  return _object_cast_to_PolygonGeometry(o)
949  get_from = staticmethod(get_from)
950 
951 PolygonGeometry_swigregister = _IMP_display.PolygonGeometry_swigregister
952 PolygonGeometry_swigregister(PolygonGeometry)
953 
954 class TriangleGeometry(Geometry):
955  """Proxy of C++ IMP::display::TriangleGeometry class"""
956  __swig_setmethods__ = {}
957  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
958  __setattr__ = lambda self, name, value: _swig_setattr(self, TriangleGeometry, name, value)
959  __swig_getmethods__ = {}
960  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
961  __getattr__ = lambda self, name: _swig_getattr(self, TriangleGeometry, name)
962  def __init__(self, *args):
963  """
964  __init__(IMP::display::TriangleGeometry self, Triangle3D v) -> TriangleGeometry
965  __init__(IMP::display::TriangleGeometry self, Triangle3D v, Color c) -> TriangleGeometry
966  __init__(IMP::display::TriangleGeometry self, Triangle3D v, std::string const n) -> TriangleGeometry
967  __init__(IMP::display::TriangleGeometry self, Triangle3D v, Color c, std::string n) -> TriangleGeometry
968  """
969  this = _IMP_display.new_TriangleGeometry(*args)
970  try: self.this.append(this)
971  except: self.this = this
972  def get_geometry(self):
973  """get_geometry(TriangleGeometry self) -> Triangle3D"""
974  return _IMP_display.TriangleGeometry_get_geometry(self)
975 
976  def set_geometry(self, *args):
977  """set_geometry(TriangleGeometry self, Triangle3D v)"""
978  return _IMP_display.TriangleGeometry_set_geometry(self, *args)
979 
980  def get_version_info(self):
981  """get_version_info(TriangleGeometry self) -> VersionInfo"""
982  return _IMP_display.TriangleGeometry_get_version_info(self)
983 
984  def __str__(self):
985  """__str__(TriangleGeometry self) -> std::string"""
986  return _IMP_display.TriangleGeometry___str__(self)
987 
988  def __repr__(self):
989  """__repr__(TriangleGeometry self) -> std::string"""
990  return _IMP_display.TriangleGeometry___repr__(self)
991 
992  def get_from(o):
993  return _object_cast_to_TriangleGeometry(o)
994  get_from = staticmethod(get_from)
995 
996 TriangleGeometry_swigregister = _IMP_display.TriangleGeometry_swigregister
997 TriangleGeometry_swigregister(TriangleGeometry)
998 
999 class BoundingBoxGeometry(Geometry):
1000  """Proxy of C++ IMP::display::BoundingBoxGeometry class"""
1001  __swig_setmethods__ = {}
1002  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1003  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundingBoxGeometry, name, value)
1004  __swig_getmethods__ = {}
1005  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1006  __getattr__ = lambda self, name: _swig_getattr(self, BoundingBoxGeometry, name)
1007  def __init__(self, *args):
1008  """
1009  __init__(IMP::display::BoundingBoxGeometry self, BoundingBox3D v) -> BoundingBoxGeometry
1010  __init__(IMP::display::BoundingBoxGeometry self, BoundingBox3D v, Color c) -> BoundingBoxGeometry
1011  __init__(IMP::display::BoundingBoxGeometry self, BoundingBox3D v, std::string const n) -> BoundingBoxGeometry
1012  __init__(IMP::display::BoundingBoxGeometry self, BoundingBox3D v, Color c, std::string n) -> BoundingBoxGeometry
1013  """
1014  this = _IMP_display.new_BoundingBoxGeometry(*args)
1015  try: self.this.append(this)
1016  except: self.this = this
1017  def get_geometry(self):
1018  """get_geometry(BoundingBoxGeometry self) -> BoundingBox3D"""
1019  return _IMP_display.BoundingBoxGeometry_get_geometry(self)
1020 
1021  def set_geometry(self, *args):
1022  """set_geometry(BoundingBoxGeometry self, BoundingBox3D v)"""
1023  return _IMP_display.BoundingBoxGeometry_set_geometry(self, *args)
1024 
1025  def get_version_info(self):
1026  """get_version_info(BoundingBoxGeometry self) -> VersionInfo"""
1027  return _IMP_display.BoundingBoxGeometry_get_version_info(self)
1028 
1029  def __str__(self):
1030  """__str__(BoundingBoxGeometry self) -> std::string"""
1031  return _IMP_display.BoundingBoxGeometry___str__(self)
1032 
1033  def __repr__(self):
1034  """__repr__(BoundingBoxGeometry self) -> std::string"""
1035  return _IMP_display.BoundingBoxGeometry___repr__(self)
1036 
1037  def get_from(o):
1038  return _object_cast_to_BoundingBoxGeometry(o)
1039  get_from = staticmethod(get_from)
1040 
1041 BoundingBoxGeometry_swigregister = _IMP_display.BoundingBoxGeometry_swigregister
1042 BoundingBoxGeometry_swigregister(BoundingBoxGeometry)
1043 
1044 class ReferenceFrameGeometry(Geometry):
1045  """Proxy of C++ IMP::display::ReferenceFrameGeometry class"""
1046  __swig_setmethods__ = {}
1047  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1048  __setattr__ = lambda self, name, value: _swig_setattr(self, ReferenceFrameGeometry, name, value)
1049  __swig_getmethods__ = {}
1050  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1051  __getattr__ = lambda self, name: _swig_getattr(self, ReferenceFrameGeometry, name)
1052  def __init__(self, *args):
1053  """
1054  __init__(IMP::display::ReferenceFrameGeometry self, ReferenceFrame3D v) -> ReferenceFrameGeometry
1055  __init__(IMP::display::ReferenceFrameGeometry self, ReferenceFrame3D v, Color c) -> ReferenceFrameGeometry
1056  __init__(IMP::display::ReferenceFrameGeometry self, ReferenceFrame3D v, std::string const n) -> ReferenceFrameGeometry
1057  __init__(IMP::display::ReferenceFrameGeometry self, ReferenceFrame3D v, Color c, std::string n) -> ReferenceFrameGeometry
1058  """
1059  this = _IMP_display.new_ReferenceFrameGeometry(*args)
1060  try: self.this.append(this)
1061  except: self.this = this
1062  def get_geometry(self):
1063  """get_geometry(ReferenceFrameGeometry self) -> ReferenceFrame3D"""
1064  return _IMP_display.ReferenceFrameGeometry_get_geometry(self)
1065 
1066  def set_geometry(self, *args):
1067  """set_geometry(ReferenceFrameGeometry self, ReferenceFrame3D v)"""
1068  return _IMP_display.ReferenceFrameGeometry_set_geometry(self, *args)
1069 
1070  def get_version_info(self):
1071  """get_version_info(ReferenceFrameGeometry self) -> VersionInfo"""
1072  return _IMP_display.ReferenceFrameGeometry_get_version_info(self)
1073 
1074  def __str__(self):
1075  """__str__(ReferenceFrameGeometry self) -> std::string"""
1076  return _IMP_display.ReferenceFrameGeometry___str__(self)
1077 
1078  def __repr__(self):
1079  """__repr__(ReferenceFrameGeometry self) -> std::string"""
1080  return _IMP_display.ReferenceFrameGeometry___repr__(self)
1081 
1082  def get_from(o):
1083  return _object_cast_to_ReferenceFrameGeometry(o)
1084  get_from = staticmethod(get_from)
1085 
1086 ReferenceFrameGeometry_swigregister = _IMP_display.ReferenceFrameGeometry_swigregister
1087 ReferenceFrameGeometry_swigregister(ReferenceFrameGeometry)
1088 
1089 
1090 def create_geometry(*args):
1091  """
1092  create_geometry(Sphere3D t, std::string name="algebra::Sphere3D+%1%") -> SphereGeometry
1093  create_geometry(Sphere3D t) -> SphereGeometry
1094  create_geometry(Cylinder3D t, std::string name="algebra::Cylinder3D+%1%") -> CylinderGeometry
1095  create_geometry(Cylinder3D t) -> CylinderGeometry
1096  create_geometry(Ellipsoid3D t, std::string name="algebra::Ellipsoid3D+%1%") -> EllipsoidGeometry
1097  create_geometry(Ellipsoid3D t) -> EllipsoidGeometry
1098  create_geometry(Vector3D t, std::string name="algebra::Vector3D+%1%") -> PointGeometry
1099  create_geometry(Vector3D t) -> PointGeometry
1100  create_geometry(Segment3D t, std::string name="algebra::Segment3D+%1%") -> SegmentGeometry
1101  create_geometry(Segment3D t) -> SegmentGeometry
1102  create_geometry(IMP::algebra::Vector3Ds const & t, std::string name="algebra::Vector3Ds+%1%") -> PolygonGeometry
1103  create_geometry(IMP::algebra::Vector3Ds const & t) -> PolygonGeometry
1104  create_geometry(Triangle3D t, std::string name="algebra::Triangle3D+%1%") -> TriangleGeometry
1105  create_geometry(Triangle3D t) -> TriangleGeometry
1106  create_geometry(BoundingBox3D t, std::string name="algebra::BoundingBoxD<3>+%1%") -> BoundingBoxGeometry
1107  create_geometry(BoundingBox3D t) -> BoundingBoxGeometry
1108  create_geometry(ReferenceFrame3D t, std::string name="algebra::ReferenceFrame3D+%1%") -> ReferenceFrameGeometry
1109  create_geometry(ReferenceFrame3D t) -> ReferenceFrameGeometry
1110  """
1111  return _IMP_display.create_geometry(*args)
1112 class LabelGeometry(Geometry):
1113  """Proxy of C++ IMP::display::LabelGeometry class"""
1114  __swig_setmethods__ = {}
1115  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1116  __setattr__ = lambda self, name, value: _swig_setattr(self, LabelGeometry, name, value)
1117  __swig_getmethods__ = {}
1118  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1119  __getattr__ = lambda self, name: _swig_getattr(self, LabelGeometry, name)
1120  def __init__(self, *args):
1121  """
1122  __init__(IMP::display::LabelGeometry self, Sphere3D loc, std::string text) -> LabelGeometry
1123  __init__(IMP::display::LabelGeometry self, Vector3D loc, std::string text) -> LabelGeometry
1124  """
1125  this = _IMP_display.new_LabelGeometry(*args)
1126  try: self.this.append(this)
1127  except: self.this = this
1128  def get_text(self):
1129  """get_text(LabelGeometry self) -> std::string"""
1130  return _IMP_display.LabelGeometry_get_text(self)
1131 
1132  def get_location(self):
1133  """get_location(LabelGeometry self) -> Sphere3D"""
1134  return _IMP_display.LabelGeometry_get_location(self)
1135 
1136  def get_version_info(self):
1137  """get_version_info(LabelGeometry self) -> VersionInfo"""
1138  return _IMP_display.LabelGeometry_get_version_info(self)
1139 
1140  def __str__(self):
1141  """__str__(LabelGeometry self) -> std::string"""
1142  return _IMP_display.LabelGeometry___str__(self)
1143 
1144  def __repr__(self):
1145  """__repr__(LabelGeometry self) -> std::string"""
1146  return _IMP_display.LabelGeometry___repr__(self)
1147 
1148  def get_from(o):
1149  return _object_cast_to_LabelGeometry(o)
1150  get_from = staticmethod(get_from)
1151 
1152 LabelGeometry_swigregister = _IMP_display.LabelGeometry_swigregister
1153 LabelGeometry_swigregister(LabelGeometry)
1154 
1155 class SurfaceMeshGeometry(Geometry):
1156  """Proxy of C++ IMP::display::SurfaceMeshGeometry class"""
1157  __swig_setmethods__ = {}
1158  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1159  __setattr__ = lambda self, name, value: _swig_setattr(self, SurfaceMeshGeometry, name, value)
1160  __swig_getmethods__ = {}
1161  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1162  __getattr__ = lambda self, name: _swig_getattr(self, SurfaceMeshGeometry, name)
1163  def __init__(self, *args):
1164  """__init__(IMP::display::SurfaceMeshGeometry self, IMP::algebra::Vector3Ds const & vertices, IMP::Ints const & faces) -> SurfaceMeshGeometry"""
1165  this = _IMP_display.new_SurfaceMeshGeometry(*args)
1166  try: self.this.append(this)
1167  except: self.this = this
1168  def get_vertexes(self):
1169  """get_vertexes(SurfaceMeshGeometry self) -> IMP::algebra::Vector3Ds const &"""
1170  return _IMP_display.SurfaceMeshGeometry_get_vertexes(self)
1171 
1172  def get_faces(self):
1173  """get_faces(SurfaceMeshGeometry self) -> IMP::Ints const &"""
1174  return _IMP_display.SurfaceMeshGeometry_get_faces(self)
1175 
1176  def get_version_info(self):
1177  """get_version_info(SurfaceMeshGeometry self) -> VersionInfo"""
1178  return _IMP_display.SurfaceMeshGeometry_get_version_info(self)
1179 
1180  def __str__(self):
1181  """__str__(SurfaceMeshGeometry self) -> std::string"""
1182  return _IMP_display.SurfaceMeshGeometry___str__(self)
1183 
1184  def __repr__(self):
1185  """__repr__(SurfaceMeshGeometry self) -> std::string"""
1186  return _IMP_display.SurfaceMeshGeometry___repr__(self)
1187 
1188  def get_from(o):
1189  return _object_cast_to_SurfaceMeshGeometry(o)
1190  get_from = staticmethod(get_from)
1191 
1192 SurfaceMeshGeometry_swigregister = _IMP_display.SurfaceMeshGeometry_swigregister
1193 SurfaceMeshGeometry_swigregister(SurfaceMeshGeometry)
1194 
1195 class PlaneGeometry(Geometry):
1196  """Proxy of C++ IMP::display::PlaneGeometry class"""
1197  __swig_setmethods__ = {}
1198  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1199  __setattr__ = lambda self, name, value: _swig_setattr(self, PlaneGeometry, name, value)
1200  __swig_getmethods__ = {}
1201  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1202  __getattr__ = lambda self, name: _swig_getattr(self, PlaneGeometry, name)
1203  def __init__(self, *args):
1204  """__init__(IMP::display::PlaneGeometry self, Plane3D loc, BoundingBox3D box) -> PlaneGeometry"""
1205  this = _IMP_display.new_PlaneGeometry(*args)
1206  try: self.this.append(this)
1207  except: self.this = this
1208  def get_version_info(self):
1209  """get_version_info(PlaneGeometry self) -> VersionInfo"""
1210  return _IMP_display.PlaneGeometry_get_version_info(self)
1211 
1212  def __str__(self):
1213  """__str__(PlaneGeometry self) -> std::string"""
1214  return _IMP_display.PlaneGeometry___str__(self)
1215 
1216  def __repr__(self):
1217  """__repr__(PlaneGeometry self) -> std::string"""
1218  return _IMP_display.PlaneGeometry___repr__(self)
1219 
1220  def get_from(o):
1221  return _object_cast_to_PlaneGeometry(o)
1222  get_from = staticmethod(get_from)
1223 
1224 PlaneGeometry_swigregister = _IMP_display.PlaneGeometry_swigregister
1225 PlaneGeometry_swigregister(PlaneGeometry)
1226 
1227 class IsosurfaceGeometry(SurfaceMeshGeometry):
1228  """Proxy of C++ IMP::display::IsosurfaceGeometry class"""
1229  __swig_setmethods__ = {}
1230  for _s in [SurfaceMeshGeometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1231  __setattr__ = lambda self, name, value: _swig_setattr(self, IsosurfaceGeometry, name, value)
1232  __swig_getmethods__ = {}
1233  for _s in [SurfaceMeshGeometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1234  __getattr__ = lambda self, name: _swig_getattr(self, IsosurfaceGeometry, name)
1235  def __init__(self, *args):
1236  """
1237  __init__(IMP::display::IsosurfaceGeometry self, IMP::algebra::GridD< 3,IMP::algebra::DenseGridStorageD< 3,double >,double,IMP::algebra::DefaultEmbeddingD< 3 > > const & grid,
1238  double iso) -> IsosurfaceGeometry
1239  __init__(IMP::display::IsosurfaceGeometry self, IMP::algebra::GridD< 3,IMP::algebra::DenseGridStorageD< 3,float >,float,IMP::algebra::DefaultEmbeddingD< 3 > > const & grid,
1240  double iso) -> IsosurfaceGeometry
1241  """
1242  this = _IMP_display.new_IsosurfaceGeometry(*args)
1243  try: self.this.append(this)
1244  except: self.this = this
1245  def __str__(self):
1246  """__str__(IsosurfaceGeometry self) -> std::string"""
1247  return _IMP_display.IsosurfaceGeometry___str__(self)
1248 
1249  def __repr__(self):
1250  """__repr__(IsosurfaceGeometry self) -> std::string"""
1251  return _IMP_display.IsosurfaceGeometry___repr__(self)
1252 
1253  def get_from(o):
1254  return _object_cast_to_IsosurfaceGeometry(o)
1255  get_from = staticmethod(get_from)
1256 
1257  __swig_destroy__ = _IMP_display.delete_IsosurfaceGeometry
1258  __del__ = lambda self : None;
1259 IsosurfaceGeometry_swigregister = _IMP_display.IsosurfaceGeometry_swigregister
1260 IsosurfaceGeometry_swigregister(IsosurfaceGeometry)
1261 
1262 class SkinSurfaceGeometry(SurfaceMeshGeometry):
1263  """Proxy of C++ IMP::display::SkinSurfaceGeometry class"""
1264  __swig_setmethods__ = {}
1265  for _s in [SurfaceMeshGeometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1266  __setattr__ = lambda self, name, value: _swig_setattr(self, SkinSurfaceGeometry, name, value)
1267  __swig_getmethods__ = {}
1268  for _s in [SurfaceMeshGeometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1269  __getattr__ = lambda self, name: _swig_getattr(self, SkinSurfaceGeometry, name)
1270  def __init__(self, *args):
1271  """__init__(IMP::display::SkinSurfaceGeometry self, IMP::algebra::Sphere3Ds const & balls) -> SkinSurfaceGeometry"""
1272  this = _IMP_display.new_SkinSurfaceGeometry(*args)
1273  try: self.this.append(this)
1274  except: self.this = this
1275  def __str__(self):
1276  """__str__(SkinSurfaceGeometry self) -> std::string"""
1277  return _IMP_display.SkinSurfaceGeometry___str__(self)
1278 
1279  def __repr__(self):
1280  """__repr__(SkinSurfaceGeometry self) -> std::string"""
1281  return _IMP_display.SkinSurfaceGeometry___repr__(self)
1282 
1283  def get_from(o):
1284  return _object_cast_to_SkinSurfaceGeometry(o)
1285  get_from = staticmethod(get_from)
1286 
1287  __swig_destroy__ = _IMP_display.delete_SkinSurfaceGeometry
1288  __del__ = lambda self : None;
1289 SkinSurfaceGeometry_swigregister = _IMP_display.SkinSurfaceGeometry_swigregister
1290 SkinSurfaceGeometry_swigregister(SkinSurfaceGeometry)
1291 
1292 class GeometryProcessor(_object):
1293  """Proxy of C++ IMP::display::GeometryProcessor class"""
1294  __swig_setmethods__ = {}
1295  __setattr__ = lambda self, name, value: _swig_setattr(self, GeometryProcessor, name, value)
1296  __swig_getmethods__ = {}
1297  __getattr__ = lambda self, name: _swig_getattr(self, GeometryProcessor, name)
1298  __repr__ = _swig_repr
1299  def __init__(self):
1300  """__init__(IMP::display::GeometryProcessor self) -> GeometryProcessor"""
1301  this = _IMP_display.new_GeometryProcessor()
1302  try: self.this.append(this)
1303  except: self.this = this
1304 GeometryProcessor_swigregister = _IMP_display.GeometryProcessor_swigregister
1305 GeometryProcessor_swigregister(GeometryProcessor)
1306 
1307 class Writer(GeometryProcessor,IMP.base.Object):
1308  """Proxy of C++ IMP::display::Writer class"""
1309  __swig_setmethods__ = {}
1310  for _s in [GeometryProcessor,IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1311  __setattr__ = lambda self, name, value: _swig_setattr(self, Writer, name, value)
1312  __swig_getmethods__ = {}
1313  for _s in [GeometryProcessor,IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1314  __getattr__ = lambda self, name: _swig_getattr(self, Writer, name)
1315  def __init__(self, *args):
1316  """__init__(IMP::display::Writer self, std::string name) -> Writer"""
1317  if self.__class__ == Writer:
1318  _self = None
1319  else:
1320  _self = self
1321  this = _IMP_display.new_Writer(_self, *args)
1322  try: self.this.append(this)
1323  except: self.this = this
1324  if self.__class__ != Writer:
1325  import IMP.base
1326  IMP.base._director_objects.register(self)
1327 
1328 
1329 
1330  __swig_destroy__ = _IMP_display.delete_Writer
1331  __del__ = lambda self : None;
1332  def set_frame(self, *args):
1333  """set_frame(Writer self, unsigned int i)"""
1334  return _IMP_display.Writer_set_frame(self, *args)
1335 
1336  def get_frame(self):
1337  """get_frame(Writer self) -> int"""
1338  return _IMP_display.Writer_get_frame(self)
1339 
1340  def add_geometry(self, *args):
1341  """
1342  add_geometry(Writer self, Geometry g)
1343  add_geometry(Writer self, IMP::display::Geometries const & g)
1344  """
1345  return _IMP_display.Writer_add_geometry(self, *args)
1346 
1347  def do_close(self):
1348  """do_close(Writer self)"""
1349  return _IMP_display.Writer_do_close(self)
1350 
1351  def do_open(self):
1352  """do_open(Writer self)"""
1353  return _IMP_display.Writer_do_open(self)
1354 
1355  def do_set_frame(self):
1356  """do_set_frame(Writer self)"""
1357  return _IMP_display.Writer_do_set_frame(self)
1358 
1359  def __str__(self):
1360  """__str__(Writer self) -> std::string"""
1361  return _IMP_display.Writer___str__(self)
1362 
1363  def __repr__(self):
1364  """__repr__(Writer self) -> std::string"""
1365  return _IMP_display.Writer___repr__(self)
1366 
1367  def get_from(o):
1368  return _object_cast_to_Writer(o)
1369  get_from = staticmethod(get_from)
1370 
1371  def get_type_name(self):
1372  return self.__class__.__name__
1373  def do_show(self, out):
1374  pass
1375  def get_version_info(self):
1376  if"IMP::display" == "IMP":
1377  return VersionInfo("python", "0")
1378  else:
1379  return IMP.VersionInfo("python", "0")
1380  def get_from(o):
1381  return _object_cast_to_Writer(o)
1382  get_from = staticmethod(get_from)
1383 
1384  def __disown__(self):
1385  self.this.disown()
1386  _IMP_display.disown_Writer(self)
1387  return weakref_proxy(self)
1388  def handle_sphere(self, *args):
1389  """handle_sphere(Writer self, SphereGeometry arg0, Color arg1, std::string arg2) -> bool"""
1390  return _IMP_display.Writer_handle_sphere(self, *args)
1391 
1392  def handle_cylinder(self, *args):
1393  """handle_cylinder(Writer self, CylinderGeometry arg0, Color arg1, std::string arg2) -> bool"""
1394  return _IMP_display.Writer_handle_cylinder(self, *args)
1395 
1396  def handle_point(self, *args):
1397  """handle_point(Writer self, PointGeometry arg0, Color arg1, std::string arg2) -> bool"""
1398  return _IMP_display.Writer_handle_point(self, *args)
1399 
1400  def handle_segment(self, *args):
1401  """handle_segment(Writer self, SegmentGeometry arg0, Color arg1, std::string arg2) -> bool"""
1402  return _IMP_display.Writer_handle_segment(self, *args)
1403 
1404  def handle_polygon(self, *args):
1405  """handle_polygon(Writer self, PolygonGeometry arg0, Color arg1, std::string arg2) -> bool"""
1406  return _IMP_display.Writer_handle_polygon(self, *args)
1407 
1408  def handle_triangle(self, *args):
1409  """handle_triangle(Writer self, TriangleGeometry arg0, Color arg1, std::string arg2) -> bool"""
1410  return _IMP_display.Writer_handle_triangle(self, *args)
1411 
1412  def handle_surface_mesh(self, *args):
1413  """handle_surface_mesh(Writer self, SurfaceMeshGeometry arg0, Color arg1, std::string arg2) -> bool"""
1414  return _IMP_display.Writer_handle_surface_mesh(self, *args)
1415 
1416  def handle_label(self, *args):
1417  """handle_label(Writer self, LabelGeometry arg0, Color arg1, std::string arg2) -> bool"""
1418  return _IMP_display.Writer_handle_label(self, *args)
1419 
1420  def handle_ellipsoid(self, *args):
1421  """handle_ellipsoid(Writer self, EllipsoidGeometry arg0, Color arg1, std::string arg2) -> bool"""
1422  return _IMP_display.Writer_handle_ellipsoid(self, *args)
1423 
1424  def handle_bounding_box(self, *args):
1425  """handle_bounding_box(Writer self, BoundingBoxGeometry arg0, Color arg1, std::string arg2) -> bool"""
1426  return _IMP_display.Writer_handle_bounding_box(self, *args)
1427 
1428  def handle_anything(self, *args):
1429  """handle_anything(Writer self, Geometry arg0, Color arg1, std::string arg2) -> bool"""
1430  return _IMP_display.Writer_handle_anything(self, *args)
1431 
1432 Writer_swigregister = _IMP_display.Writer_swigregister
1433 Writer_swigregister(Writer)
1434 
1435 class TextWriter(Writer):
1436  """Proxy of C++ IMP::display::TextWriter class"""
1437  __swig_setmethods__ = {}
1438  for _s in [Writer]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1439  __setattr__ = lambda self, name, value: _swig_setattr(self, TextWriter, name, value)
1440  __swig_getmethods__ = {}
1441  for _s in [Writer]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1442  __getattr__ = lambda self, name: _swig_getattr(self, TextWriter, name)
1443  def open(self):
1444  """open(TextWriter self)"""
1445  return _IMP_display.TextWriter_open(self)
1446 
1447  def get_stream(self):
1448  """get_stream(TextWriter self) -> _ostream"""
1449  return _IMP_display.TextWriter_get_stream(self)
1450 
1451  def do_set_frame(self):
1452  """do_set_frame(TextWriter self)"""
1453  return _IMP_display.TextWriter_do_set_frame(self)
1454 
1455  def __init__(self, *args):
1456  """
1457  __init__(IMP::display::TextWriter self, TextOutput fn) -> TextWriter
1458  __init__(IMP::display::TextWriter self, std::string name) -> TextWriter
1459  """
1460  if self.__class__ == TextWriter:
1461  _self = None
1462  else:
1463  _self = self
1464  this = _IMP_display.new_TextWriter(_self, *args)
1465  try: self.this.append(this)
1466  except: self.this = this
1467  if self.__class__ != TextWriter:
1468  import IMP.base
1469  IMP.base._director_objects.register(self)
1470 
1471 
1472 
1473  def get_current_file_name(self):
1474  """get_current_file_name(TextWriter self) -> std::string"""
1475  return _IMP_display.TextWriter_get_current_file_name(self)
1476 
1477  __swig_destroy__ = _IMP_display.delete_TextWriter
1478  __del__ = lambda self : None;
1479  def __str__(self):
1480  """__str__(TextWriter self) -> std::string"""
1481  return _IMP_display.TextWriter___str__(self)
1482 
1483  def __repr__(self):
1484  """__repr__(TextWriter self) -> std::string"""
1485  return _IMP_display.TextWriter___repr__(self)
1486 
1487  def get_from(o):
1488  return _object_cast_to_TextWriter(o)
1489  get_from = staticmethod(get_from)
1490 
1491  def get_type_name(self):
1492  return self.__class__.__name__
1493  def do_show(self, out):
1494  pass
1495  def get_version_info(self):
1496  if"IMP::display" == "IMP":
1497  return VersionInfo("python", "0")
1498  else:
1499  return IMP.VersionInfo("python", "0")
1500  def get_from(o):
1501  return _object_cast_to_TextWriter(o)
1502  get_from = staticmethod(get_from)
1503 
1504  def __disown__(self):
1505  self.this.disown()
1506  _IMP_display.disown_TextWriter(self)
1507  return weakref_proxy(self)
1508  def handle_sphere(self, *args):
1509  """handle_sphere(TextWriter self, SphereGeometry arg0, Color arg1, std::string arg2) -> bool"""
1510  return _IMP_display.TextWriter_handle_sphere(self, *args)
1511 
1512  def handle_cylinder(self, *args):
1513  """handle_cylinder(TextWriter self, CylinderGeometry arg0, Color arg1, std::string arg2) -> bool"""
1514  return _IMP_display.TextWriter_handle_cylinder(self, *args)
1515 
1516  def handle_point(self, *args):
1517  """handle_point(TextWriter self, PointGeometry arg0, Color arg1, std::string arg2) -> bool"""
1518  return _IMP_display.TextWriter_handle_point(self, *args)
1519 
1520  def handle_segment(self, *args):
1521  """handle_segment(TextWriter self, SegmentGeometry arg0, Color arg1, std::string arg2) -> bool"""
1522  return _IMP_display.TextWriter_handle_segment(self, *args)
1523 
1524  def handle_polygon(self, *args):
1525  """handle_polygon(TextWriter self, PolygonGeometry arg0, Color arg1, std::string arg2) -> bool"""
1526  return _IMP_display.TextWriter_handle_polygon(self, *args)
1527 
1528  def handle_triangle(self, *args):
1529  """handle_triangle(TextWriter self, TriangleGeometry arg0, Color arg1, std::string arg2) -> bool"""
1530  return _IMP_display.TextWriter_handle_triangle(self, *args)
1531 
1532  def handle_surface_mesh(self, *args):
1533  """handle_surface_mesh(TextWriter self, SurfaceMeshGeometry arg0, Color arg1, std::string arg2) -> bool"""
1534  return _IMP_display.TextWriter_handle_surface_mesh(self, *args)
1535 
1536  def handle_label(self, *args):
1537  """handle_label(TextWriter self, LabelGeometry arg0, Color arg1, std::string arg2) -> bool"""
1538  return _IMP_display.TextWriter_handle_label(self, *args)
1539 
1540  def handle_ellipsoid(self, *args):
1541  """handle_ellipsoid(TextWriter self, EllipsoidGeometry arg0, Color arg1, std::string arg2) -> bool"""
1542  return _IMP_display.TextWriter_handle_ellipsoid(self, *args)
1543 
1544  def handle_bounding_box(self, *args):
1545  """handle_bounding_box(TextWriter self, BoundingBoxGeometry arg0, Color arg1, std::string arg2) -> bool"""
1546  return _IMP_display.TextWriter_handle_bounding_box(self, *args)
1547 
1548  def handle_anything(self, *args):
1549  """handle_anything(TextWriter self, Geometry arg0, Color arg1, std::string arg2) -> bool"""
1550  return _IMP_display.TextWriter_handle_anything(self, *args)
1551 
1552  def do_close(self):
1553  """do_close(TextWriter self)"""
1554  return _IMP_display.TextWriter_do_close(self)
1555 
1556  def do_open(self):
1557  """do_open(TextWriter self)"""
1558  return _IMP_display.TextWriter_do_open(self)
1559 
1560 TextWriter_swigregister = _IMP_display.TextWriter_swigregister
1561 TextWriter_swigregister(TextWriter)
1562 
1563 
1564 def create_writer(*args):
1565  """create_writer(std::string filename) -> Writer"""
1566  return _IMP_display.create_writer(*args)
1567 class WriterAdaptor(IMP.base._InputAdaptor):
1568  """Proxy of C++ IMP::display::WriterAdaptor class"""
1569  __swig_setmethods__ = {}
1570  for _s in [IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1571  __setattr__ = lambda self, name, value: _swig_setattr(self, WriterAdaptor, name, value)
1572  __swig_getmethods__ = {}
1573  for _s in [IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1574  __getattr__ = lambda self, name: _swig_getattr(self, WriterAdaptor, name)
1575  def __init__(self, *args):
1576  """
1577  __init__(IMP::display::WriterAdaptor self, std::string name) -> WriterAdaptor
1578  __init__(IMP::display::WriterAdaptor self, Writer w) -> WriterAdaptor
1579  """
1580  this = _IMP_display.new_WriterAdaptor(*args)
1581  try: self.this.append(this)
1582  except: self.this = this
1583  def get_writer(self):
1584  """get_writer(WriterAdaptor self) -> Writer"""
1585  return _IMP_display.WriterAdaptor_get_writer(self)
1586 
1587  def show(self, *args):
1588  """
1589  show(WriterAdaptor self, _ostream out=std::cout)
1590  show(WriterAdaptor self)
1591  """
1592  return _IMP_display.WriterAdaptor_show(self, *args)
1593 
1594  __swig_destroy__ = _IMP_display.delete_WriterAdaptor
1595  __del__ = lambda self : None;
1596  def __str__(self):
1597  """__str__(WriterAdaptor self) -> std::string"""
1598  return _IMP_display.WriterAdaptor___str__(self)
1599 
1600  def __repr__(self):
1601  """__repr__(WriterAdaptor self) -> std::string"""
1602  return _IMP_display.WriterAdaptor___repr__(self)
1603 
1604 WriterAdaptor_swigregister = _IMP_display.WriterAdaptor_swigregister
1605 WriterAdaptor_swigregister(WriterAdaptor)
1606 
1607 class ChimeraWriter(TextWriter):
1608  """Proxy of C++ IMP::display::ChimeraWriter class"""
1609  __swig_setmethods__ = {}
1610  for _s in [TextWriter]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1611  __setattr__ = lambda self, name, value: _swig_setattr(self, ChimeraWriter, name, value)
1612  __swig_getmethods__ = {}
1613  for _s in [TextWriter]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1614  __getattr__ = lambda self, name: _swig_getattr(self, ChimeraWriter, name)
1615  def __init__(self, *args):
1616  """
1617  __init__(IMP::display::ChimeraWriter self, TextOutput of) -> ChimeraWriter
1618  __init__(IMP::display::ChimeraWriter self, std::string name) -> ChimeraWriter
1619  __init__(IMP::display::ChimeraWriter self, char const * name) -> ChimeraWriter
1620  """
1621  this = _IMP_display.new_ChimeraWriter(*args)
1622  try: self.this.append(this)
1623  except: self.this = this
1624  def get_version_info(self):
1625  """get_version_info(ChimeraWriter self) -> VersionInfo"""
1626  return _IMP_display.ChimeraWriter_get_version_info(self)
1627 
1628  def __str__(self):
1629  """__str__(ChimeraWriter self) -> std::string"""
1630  return _IMP_display.ChimeraWriter___str__(self)
1631 
1632  def __repr__(self):
1633  """__repr__(ChimeraWriter self) -> std::string"""
1634  return _IMP_display.ChimeraWriter___repr__(self)
1635 
1636  def get_from(o):
1637  return _object_cast_to_ChimeraWriter(o)
1638  get_from = staticmethod(get_from)
1639 
1640 ChimeraWriter_swigregister = _IMP_display.ChimeraWriter_swigregister
1641 ChimeraWriter_swigregister(ChimeraWriter)
1642 
1643 class Colored(IMP.kernel.Decorator):
1644  """Proxy of C++ IMP::display::Colored class"""
1645  __swig_setmethods__ = {}
1646  for _s in [IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1647  __setattr__ = lambda self, name, value: _swig_setattr(self, Colored, name, value)
1648  __swig_getmethods__ = {}
1649  for _s in [IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1650  __getattr__ = lambda self, name: _swig_getattr(self, Colored, name)
1651  def set_color(self, *args):
1652  """set_color(Colored self, Color c)"""
1653  return _IMP_display.Colored_set_color(self, *args)
1654 
1655  def get_color(self):
1656  """get_color(Colored self) -> Color"""
1657  return _IMP_display.Colored_get_color(self)
1658 
1659  def get_color_keys():
1660  """get_color_keys() -> IMP::kernel::FloatKeys const &"""
1661  return _IMP_display.Colored_get_color_keys()
1662 
1663  if _newclass:get_color_keys = staticmethod(get_color_keys)
1664  __swig_getmethods__["get_color_keys"] = lambda x: get_color_keys
1665  def __init__(self, *args):
1666  """
1667  __init__(IMP::display::Colored self) -> Colored
1668  __init__(IMP::display::Colored self, Model m, ::IMP::kernel::ParticleIndex id) -> Colored
1669  __init__(IMP::display::Colored self, _ParticleAdaptor d) -> Colored
1670  """
1671  this = _IMP_display.new_Colored(*args)
1672  try: self.this.append(this)
1673  except: self.this = this
1674  def decorate_particle(*args):
1675  """decorate_particle(Particle p) -> Colored"""
1676  return _IMP_display.Colored_decorate_particle(*args)
1677 
1678  if _newclass:decorate_particle = staticmethod(decorate_particle)
1679  __swig_getmethods__["decorate_particle"] = lambda x: decorate_particle
1680  def get_is_setup(*args):
1681  """
1682  get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1683  get_is_setup(_ParticleAdaptor p) -> bool
1684  """
1685  return _IMP_display.Colored_get_is_setup(*args)
1686 
1687  if _newclass:get_is_setup = staticmethod(get_is_setup)
1688  __swig_getmethods__["get_is_setup"] = lambda x: get_is_setup
1689  def show(self, *args):
1690  """
1691  show(Colored self, _ostream out=std::cout)
1692  show(Colored self)
1693  """
1694  return _IMP_display.Colored_show(self, *args)
1695 
1696  def setup_particle(*args):
1697  """
1698  setup_particle(Model m, IMP::kernel::ParticleIndex pi, Color color) -> Colored
1699  setup_particle(_ParticleAdaptor decorator, Color color) -> Colored
1700  """
1701  return _IMP_display.Colored_setup_particle(*args)
1702 
1703  if _newclass:setup_particle = staticmethod(setup_particle)
1704  __swig_getmethods__["setup_particle"] = lambda x: setup_particle
1705  def add_attribute(self, *args):
1706  """
1707  add_attribute(Colored self, FloatKey k, IMP::Float v, bool opt)
1708  add_attribute(Colored self, FloatKey a0, IMP::Float a1)
1709  add_attribute(Colored self, IntKey a0, IMP::Int a1)
1710  add_attribute(Colored self, StringKey a0, IMP::String a1)
1711  add_attribute(Colored self, ParticleIndexKey a0, Particle a1)
1712  add_attribute(Colored self, ObjectKey a0, Object a1)
1713  """
1714  return _IMP_display.Colored_add_attribute(self, *args)
1715 
1716  def get_value(self, *args):
1717  """
1718  get_value(Colored self, FloatKey a0) -> IMP::Float
1719  get_value(Colored self, IntKey a0) -> IMP::Int
1720  get_value(Colored self, StringKey a0) -> IMP::String
1721  get_value(Colored self, ParticleIndexKey a0) -> Particle
1722  get_value(Colored self, ObjectKey a0) -> Object
1723  """
1724  return _IMP_display.Colored_get_value(self, *args)
1725 
1726  def set_value(self, *args):
1727  """
1728  set_value(Colored self, FloatKey a0, IMP::Float a1)
1729  set_value(Colored self, IntKey a0, IMP::Int a1)
1730  set_value(Colored self, StringKey a0, IMP::String a1)
1731  set_value(Colored self, ParticleIndexKey a0, Particle a1)
1732  set_value(Colored self, ObjectKey a0, Object a1)
1733  """
1734  return _IMP_display.Colored_set_value(self, *args)
1735 
1736  def remove_attribute(self, *args):
1737  """
1738  remove_attribute(Colored self, FloatKey a0)
1739  remove_attribute(Colored self, IntKey a0)
1740  remove_attribute(Colored self, StringKey a0)
1741  remove_attribute(Colored self, ParticleIndexKey a0)
1742  remove_attribute(Colored self, ObjectKey a0)
1743  """
1744  return _IMP_display.Colored_remove_attribute(self, *args)
1745 
1746  def has_attribute(self, *args):
1747  """
1748  has_attribute(Colored self, FloatKey a0) -> bool
1749  has_attribute(Colored self, IntKey a0) -> bool
1750  has_attribute(Colored self, StringKey a0) -> bool
1751  has_attribute(Colored self, ParticleIndexKey a0) -> bool
1752  has_attribute(Colored self, ObjectKey a0) -> bool
1753  """
1754  return _IMP_display.Colored_has_attribute(self, *args)
1755 
1756  def get_derivative(self, *args):
1757  """get_derivative(Colored self, FloatKey a0) -> double"""
1758  return _IMP_display.Colored_get_derivative(self, *args)
1759 
1760  def get_name(self):
1761  """get_name(Colored self) -> std::string"""
1762  return _IMP_display.Colored_get_name(self)
1763 
1764  def clear_caches(self):
1765  """clear_caches(Colored self)"""
1766  return _IMP_display.Colored_clear_caches(self)
1767 
1768  def set_name(self, *args):
1769  """set_name(Colored self, std::string a0)"""
1770  return _IMP_display.Colored_set_name(self, *args)
1771 
1772  def set_check_level(self, *args):
1773  """set_check_level(Colored self, IMP::base::CheckLevel a0)"""
1774  return _IMP_display.Colored_set_check_level(self, *args)
1775 
1776  def add_to_derivative(self, *args):
1777  """add_to_derivative(Colored self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1778  return _IMP_display.Colored_add_to_derivative(self, *args)
1779 
1780  def set_is_optimized(self, *args):
1781  """set_is_optimized(Colored self, FloatKey a0, bool a1)"""
1782  return _IMP_display.Colored_set_is_optimized(self, *args)
1783 
1784  def get_is_optimized(self, *args):
1785  """get_is_optimized(Colored self, FloatKey a0) -> bool"""
1786  return _IMP_display.Colored_get_is_optimized(self, *args)
1787 
1788  def get_check_level(self):
1789  """get_check_level(Colored self) -> IMP::base::CheckLevel"""
1790  return _IMP_display.Colored_get_check_level(self)
1791 
1792  def __eq__(self, *args):
1793  """
1794  __eq__(Colored self, Colored o) -> bool
1795  __eq__(Colored self, Particle d) -> bool
1796  """
1797  return _IMP_display.Colored___eq__(self, *args)
1798 
1799  def __ne__(self, *args):
1800  """
1801  __ne__(Colored self, Colored o) -> bool
1802  __ne__(Colored self, Particle d) -> bool
1803  """
1804  return _IMP_display.Colored___ne__(self, *args)
1805 
1806  def __le__(self, *args):
1807  """
1808  __le__(Colored self, Colored o) -> bool
1809  __le__(Colored self, Particle d) -> bool
1810  """
1811  return _IMP_display.Colored___le__(self, *args)
1812 
1813  def __lt__(self, *args):
1814  """
1815  __lt__(Colored self, Colored o) -> bool
1816  __lt__(Colored self, Particle d) -> bool
1817  """
1818  return _IMP_display.Colored___lt__(self, *args)
1819 
1820  def __ge__(self, *args):
1821  """
1822  __ge__(Colored self, Colored o) -> bool
1823  __ge__(Colored self, Particle d) -> bool
1824  """
1825  return _IMP_display.Colored___ge__(self, *args)
1826 
1827  def __gt__(self, *args):
1828  """
1829  __gt__(Colored self, Colored o) -> bool
1830  __gt__(Colored self, Particle d) -> bool
1831  """
1832  return _IMP_display.Colored___gt__(self, *args)
1833 
1834  def __str__(self):
1835  """__str__(Colored self) -> std::string"""
1836  return _IMP_display.Colored___str__(self)
1837 
1838  def __repr__(self):
1839  """__repr__(Colored self) -> std::string"""
1840  return _IMP_display.Colored___repr__(self)
1841 
1842  __swig_destroy__ = _IMP_display.delete_Colored
1843  __del__ = lambda self : None;
1844 Colored_swigregister = _IMP_display.Colored_swigregister
1845 Colored_swigregister(Colored)
1846 
1847 def Colored_get_color_keys():
1848  """Colored_get_color_keys() -> IMP::kernel::FloatKeys const &"""
1849  return _IMP_display.Colored_get_color_keys()
1850 
1851 def Colored_decorate_particle(*args):
1852  """Colored_decorate_particle(Particle p) -> Colored"""
1853  return _IMP_display.Colored_decorate_particle(*args)
1854 
1855 def Colored_get_is_setup(*args):
1856  """
1857  get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1858  Colored_get_is_setup(_ParticleAdaptor p) -> bool
1859  """
1860  return _IMP_display.Colored_get_is_setup(*args)
1861 
1862 def Colored_setup_particle(*args):
1863  """
1864  setup_particle(Model m, IMP::kernel::ParticleIndex pi, Color color) -> Colored
1865  Colored_setup_particle(_ParticleAdaptor decorator, Color color) -> Colored
1866  """
1867  return _IMP_display.Colored_setup_particle(*args)
1868 
1869 
1870 def __lshift__(*args):
1871  """__lshift__(_ostream out, Colored n) -> _ostream"""
1872  return _IMP_display.__lshift__(*args)
1873 class FilterGeometry(GeometryProcessor,Geometry):
1874  """Proxy of C++ IMP::display::FilterGeometry class"""
1875  __swig_setmethods__ = {}
1876  for _s in [GeometryProcessor,Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1877  __setattr__ = lambda self, name, value: _swig_setattr(self, FilterGeometry, name, value)
1878  __swig_getmethods__ = {}
1879  for _s in [GeometryProcessor,Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1880  __getattr__ = lambda self, name: _swig_getattr(self, FilterGeometry, name)
1881  def __init__(self, *args):
1882  """__init__(IMP::display::FilterGeometry self, Plane3D p) -> FilterGeometry"""
1883  this = _IMP_display.new_FilterGeometry(*args)
1884  try: self.this.append(this)
1885  except: self.this = this
1886  def add_geometry(self, *args):
1887  """
1888  add_geometry(FilterGeometry self, Geometry g)
1889  add_geometry(FilterGeometry self, IMP::display::Geometries const & g)
1890  """
1891  return _IMP_display.FilterGeometry_add_geometry(self, *args)
1892 
1893  def get_version_info(self):
1894  """get_version_info(FilterGeometry self) -> VersionInfo"""
1895  return _IMP_display.FilterGeometry_get_version_info(self)
1896 
1897  def __str__(self):
1898  """__str__(FilterGeometry self) -> std::string"""
1899  return _IMP_display.FilterGeometry___str__(self)
1900 
1901  def __repr__(self):
1902  """__repr__(FilterGeometry self) -> std::string"""
1903  return _IMP_display.FilterGeometry___repr__(self)
1904 
1905  def get_from(o):
1906  return _object_cast_to_FilterGeometry(o)
1907  get_from = staticmethod(get_from)
1908 
1909 FilterGeometry_swigregister = _IMP_display.FilterGeometry_swigregister
1910 FilterGeometry_swigregister(FilterGeometry)
1911 
1912 class WriteOptimizerState(IMP.kernel.OptimizerState):
1913  """Proxy of C++ IMP::display::WriteOptimizerState class"""
1914  __swig_setmethods__ = {}
1915  for _s in [IMP.kernel.OptimizerState]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1916  __setattr__ = lambda self, name, value: _swig_setattr(self, WriteOptimizerState, name, value)
1917  __swig_getmethods__ = {}
1918  for _s in [IMP.kernel.OptimizerState]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1919  __getattr__ = lambda self, name: _swig_getattr(self, WriteOptimizerState, name)
1920  def __init__(self, *args):
1921  """__init__(IMP::display::WriteOptimizerState self, Model m, WriterAdaptor w) -> WriteOptimizerState"""
1922  this = _IMP_display.new_WriteOptimizerState(*args)
1923  try: self.this.append(this)
1924  except: self.this = this
1925  def write(self, *args):
1926  """write(WriteOptimizerState self, WriterAdaptor w)"""
1927  return _IMP_display.WriteOptimizerState_write(self, *args)
1928 
1929  def remove_geometry(self, *args):
1930  """remove_geometry(WriteOptimizerState self, Geometry d)"""
1931  return _IMP_display.WriteOptimizerState_remove_geometry(self, *args)
1932 
1933  def remove_geometries(self, *args):
1934  """remove_geometries(WriteOptimizerState self, IMP::display::Geometries const & d)"""
1935  return _IMP_display.WriteOptimizerState_remove_geometries(self, *args)
1936 
1937  def set_geometries(self, *args):
1938  """set_geometries(WriteOptimizerState self, IMP::display::Geometries const & ps)"""
1939  return _IMP_display.WriteOptimizerState_set_geometries(self, *args)
1940 
1941  def set_geometries_order(self, *args):
1942  """set_geometries_order(WriteOptimizerState self, IMP::display::Geometries const & objs)"""
1943  return _IMP_display.WriteOptimizerState_set_geometries_order(self, *args)
1944 
1945  def add_geometry(self, *args):
1946  """add_geometry(WriteOptimizerState self, Geometry obj) -> unsigned int"""
1947  return _IMP_display.WriteOptimizerState_add_geometry(self, *args)
1948 
1949  def add_geometries(self, *args):
1950  """add_geometries(WriteOptimizerState self, IMP::display::Geometries const & objs)"""
1951  return _IMP_display.WriteOptimizerState_add_geometries(self, *args)
1952 
1953  def clear_geometries(self):
1954  """clear_geometries(WriteOptimizerState self)"""
1955  return _IMP_display.WriteOptimizerState_clear_geometries(self)
1956 
1957  def get_number_of_geometries(self):
1958  """get_number_of_geometries(WriteOptimizerState self) -> unsigned int"""
1959  return _IMP_display.WriteOptimizerState_get_number_of_geometries(self)
1960 
1961  def get_has_geometries(self):
1962  """get_has_geometries(WriteOptimizerState self) -> bool"""
1963  return _IMP_display.WriteOptimizerState_get_has_geometries(self)
1964 
1965  def get_geometry(self, *args):
1966  """get_geometry(WriteOptimizerState self, unsigned int i) -> Geometry"""
1967  return _IMP_display.WriteOptimizerState_get_geometry(self, *args)
1968 
1969  def get_geometries(self):
1970  """get_geometries(WriteOptimizerState self) -> IMP::display::Geometries"""
1971  return _IMP_display.WriteOptimizerState_get_geometries(self)
1972 
1973  def reserve_geometries(self, *args):
1974  """reserve_geometries(WriteOptimizerState self, unsigned int sz)"""
1975  return _IMP_display.WriteOptimizerState_reserve_geometries(self, *args)
1976 
1977  def get_version_info(self):
1978  """get_version_info(WriteOptimizerState self) -> VersionInfo"""
1979  return _IMP_display.WriteOptimizerState_get_version_info(self)
1980 
1981  def __str__(self):
1982  """__str__(WriteOptimizerState self) -> std::string"""
1983  return _IMP_display.WriteOptimizerState___str__(self)
1984 
1985  def __repr__(self):
1986  """__repr__(WriteOptimizerState self) -> std::string"""
1987  return _IMP_display.WriteOptimizerState___repr__(self)
1988 
1989  def get_from(o):
1990  return _object_cast_to_WriteOptimizerState(o)
1991  get_from = staticmethod(get_from)
1992 
1993 WriteOptimizerState_swigregister = _IMP_display.WriteOptimizerState_swigregister
1994 WriteOptimizerState_swigregister(WriteOptimizerState)
1995 
1996 class SingletonGeometry(Geometry):
1997  """Proxy of C++ IMP::display::SingletonGeometry class"""
1998  __swig_setmethods__ = {}
1999  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2000  __setattr__ = lambda self, name, value: _swig_setattr(self, SingletonGeometry, name, value)
2001  __swig_getmethods__ = {}
2002  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2003  __getattr__ = lambda self, name: _swig_getattr(self, SingletonGeometry, name)
2004  def __init__(self, *args):
2005  """__init__(IMP::display::SingletonGeometry self, Particle p) -> SingletonGeometry"""
2006  this = _IMP_display.new_SingletonGeometry(*args)
2007  try: self.this.append(this)
2008  except: self.this = this
2009  def get_particle(self):
2010  """get_particle(SingletonGeometry self) -> Particle"""
2011  return _IMP_display.SingletonGeometry_get_particle(self)
2012 
2013  __swig_destroy__ = _IMP_display.delete_SingletonGeometry
2014  __del__ = lambda self : None;
2015  def __str__(self):
2016  """__str__(SingletonGeometry self) -> std::string"""
2017  return _IMP_display.SingletonGeometry___str__(self)
2018 
2019  def __repr__(self):
2020  """__repr__(SingletonGeometry self) -> std::string"""
2021  return _IMP_display.SingletonGeometry___repr__(self)
2022 
2023  def get_from(o):
2024  return _object_cast_to_SingletonGeometry(o)
2025  get_from = staticmethod(get_from)
2026 
2027 SingletonGeometry_swigregister = _IMP_display.SingletonGeometry_swigregister
2028 SingletonGeometry_swigregister(SingletonGeometry)
2029 
2030 class SingletonsGeometry(Geometry):
2031  """Proxy of C++ IMP::display::SingletonsGeometry class"""
2032  __swig_setmethods__ = {}
2033  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2034  __setattr__ = lambda self, name, value: _swig_setattr(self, SingletonsGeometry, name, value)
2035  __swig_getmethods__ = {}
2036  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2037  __getattr__ = lambda self, name: _swig_getattr(self, SingletonsGeometry, name)
2038  def __init__(self, *args):
2039  """
2040  __init__(IMP::display::SingletonsGeometry self, SingletonContainer pc, Color c) -> SingletonsGeometry
2041  __init__(IMP::display::SingletonsGeometry self, SingletonContainer pc) -> SingletonsGeometry
2042  """
2043  this = _IMP_display.new_SingletonsGeometry(*args)
2044  try: self.this.append(this)
2045  except: self.this = this
2046  def get_container(self):
2047  """get_container(SingletonsGeometry self) -> SingletonContainer"""
2048  return _IMP_display.SingletonsGeometry_get_container(self)
2049 
2050  __swig_destroy__ = _IMP_display.delete_SingletonsGeometry
2051  __del__ = lambda self : None;
2052  def __str__(self):
2053  """__str__(SingletonsGeometry self) -> std::string"""
2054  return _IMP_display.SingletonsGeometry___str__(self)
2055 
2056  def __repr__(self):
2057  """__repr__(SingletonsGeometry self) -> std::string"""
2058  return _IMP_display.SingletonsGeometry___repr__(self)
2059 
2060  def get_from(o):
2061  return _object_cast_to_SingletonsGeometry(o)
2062  get_from = staticmethod(get_from)
2063 
2064 SingletonsGeometry_swigregister = _IMP_display.SingletonsGeometry_swigregister
2065 SingletonsGeometry_swigregister(SingletonsGeometry)
2066 
2067 class PairGeometry(Geometry):
2068  """Proxy of C++ IMP::display::PairGeometry class"""
2069  __swig_setmethods__ = {}
2070  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2071  __setattr__ = lambda self, name, value: _swig_setattr(self, PairGeometry, name, value)
2072  __swig_getmethods__ = {}
2073  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2074  __getattr__ = lambda self, name: _swig_getattr(self, PairGeometry, name)
2075  def __init__(self, *args):
2076  """__init__(IMP::display::PairGeometry self, IMP::kernel::ParticlePair const & pp) -> PairGeometry"""
2077  this = _IMP_display.new_PairGeometry(*args)
2078  try: self.this.append(this)
2079  except: self.this = this
2080  def get_particle_pair(self):
2081  """get_particle_pair(PairGeometry self) -> IMP::kernel::ParticlePair"""
2082  return _IMP_display.PairGeometry_get_particle_pair(self)
2083 
2084  __swig_destroy__ = _IMP_display.delete_PairGeometry
2085  __del__ = lambda self : None;
2086  def __str__(self):
2087  """__str__(PairGeometry self) -> std::string"""
2088  return _IMP_display.PairGeometry___str__(self)
2089 
2090  def __repr__(self):
2091  """__repr__(PairGeometry self) -> std::string"""
2092  return _IMP_display.PairGeometry___repr__(self)
2093 
2094  def get_from(o):
2095  return _object_cast_to_PairGeometry(o)
2096  get_from = staticmethod(get_from)
2097 
2098 PairGeometry_swigregister = _IMP_display.PairGeometry_swigregister
2099 PairGeometry_swigregister(PairGeometry)
2100 
2101 class PairsGeometry(Geometry):
2102  """Proxy of C++ IMP::display::PairsGeometry class"""
2103  __swig_setmethods__ = {}
2104  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2105  __setattr__ = lambda self, name, value: _swig_setattr(self, PairsGeometry, name, value)
2106  __swig_getmethods__ = {}
2107  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2108  __getattr__ = lambda self, name: _swig_getattr(self, PairsGeometry, name)
2109  def __init__(self, *args):
2110  """
2111  __init__(IMP::display::PairsGeometry self, PairContainer pc, Color c) -> PairsGeometry
2112  __init__(IMP::display::PairsGeometry self, PairContainer pc) -> PairsGeometry
2113  """
2114  this = _IMP_display.new_PairsGeometry(*args)
2115  try: self.this.append(this)
2116  except: self.this = this
2117  def get_container(self):
2118  """get_container(PairsGeometry self) -> PairContainer"""
2119  return _IMP_display.PairsGeometry_get_container(self)
2120 
2121  __swig_destroy__ = _IMP_display.delete_PairsGeometry
2122  __del__ = lambda self : None;
2123  def __str__(self):
2124  """__str__(PairsGeometry self) -> std::string"""
2125  return _IMP_display.PairsGeometry___str__(self)
2126 
2127  def __repr__(self):
2128  """__repr__(PairsGeometry self) -> std::string"""
2129  return _IMP_display.PairsGeometry___repr__(self)
2130 
2131  def get_from(o):
2132  return _object_cast_to_PairsGeometry(o)
2133  get_from = staticmethod(get_from)
2134 
2135 PairsGeometry_swigregister = _IMP_display.PairsGeometry_swigregister
2136 PairsGeometry_swigregister(PairsGeometry)
2137 
2138 class PymolWriter(TextWriter):
2139  """Proxy of C++ IMP::display::PymolWriter class"""
2140  __swig_setmethods__ = {}
2141  for _s in [TextWriter]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2142  __setattr__ = lambda self, name, value: _swig_setattr(self, PymolWriter, name, value)
2143  __swig_getmethods__ = {}
2144  for _s in [TextWriter]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2145  __getattr__ = lambda self, name: _swig_getattr(self, PymolWriter, name)
2146  def __init__(self, *args):
2147  """
2148  __init__(IMP::display::PymolWriter self, TextOutput of) -> PymolWriter
2149  __init__(IMP::display::PymolWriter self, std::string name) -> PymolWriter
2150  __init__(IMP::display::PymolWriter self, char const * name) -> PymolWriter
2151  """
2152  this = _IMP_display.new_PymolWriter(*args)
2153  try: self.this.append(this)
2154  except: self.this = this
2155  def get_version_info(self):
2156  """get_version_info(PymolWriter self) -> VersionInfo"""
2157  return _IMP_display.PymolWriter_get_version_info(self)
2158 
2159  def __str__(self):
2160  """__str__(PymolWriter self) -> std::string"""
2161  return _IMP_display.PymolWriter___str__(self)
2162 
2163  def __repr__(self):
2164  """__repr__(PymolWriter self) -> std::string"""
2165  return _IMP_display.PymolWriter___repr__(self)
2166 
2167  def get_from(o):
2168  return _object_cast_to_PymolWriter(o)
2169  get_from = staticmethod(get_from)
2170 
2171 PymolWriter_swigregister = _IMP_display.PymolWriter_swigregister
2172 PymolWriter_swigregister(PymolWriter)
2173 
2174 class RestraintGeometry(Geometry):
2175  """Proxy of C++ IMP::display::RestraintGeometry class"""
2176  __swig_setmethods__ = {}
2177  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2178  __setattr__ = lambda self, name, value: _swig_setattr(self, RestraintGeometry, name, value)
2179  __swig_getmethods__ = {}
2180  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2181  __getattr__ = lambda self, name: _swig_getattr(self, RestraintGeometry, name)
2182  def __init__(self, *args):
2183  """__init__(IMP::display::RestraintGeometry self, Restraint p) -> RestraintGeometry"""
2184  this = _IMP_display.new_RestraintGeometry(*args)
2185  try: self.this.append(this)
2186  except: self.this = this
2187  def get_restraint(self):
2188  """get_restraint(RestraintGeometry self) -> Restraint"""
2189  return _IMP_display.RestraintGeometry_get_restraint(self)
2190 
2191  def get_version_info(self):
2192  """get_version_info(RestraintGeometry self) -> VersionInfo"""
2193  return _IMP_display.RestraintGeometry_get_version_info(self)
2194 
2195  def __str__(self):
2196  """__str__(RestraintGeometry self) -> std::string"""
2197  return _IMP_display.RestraintGeometry___str__(self)
2198 
2199  def __repr__(self):
2200  """__repr__(RestraintGeometry self) -> std::string"""
2201  return _IMP_display.RestraintGeometry___repr__(self)
2202 
2203  def get_from(o):
2204  return _object_cast_to_RestraintGeometry(o)
2205  get_from = staticmethod(get_from)
2206 
2207 RestraintGeometry_swigregister = _IMP_display.RestraintGeometry_swigregister
2208 RestraintGeometry_swigregister(RestraintGeometry)
2209 
2210 class RestraintSetGeometry(Geometry):
2211  """Proxy of C++ IMP::display::RestraintSetGeometry class"""
2212  __swig_setmethods__ = {}
2213  for _s in [Geometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2214  __setattr__ = lambda self, name, value: _swig_setattr(self, RestraintSetGeometry, name, value)
2215  __swig_getmethods__ = {}
2216  for _s in [Geometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2217  __getattr__ = lambda self, name: _swig_getattr(self, RestraintSetGeometry, name)
2218  def __init__(self, *args):
2219  """__init__(IMP::display::RestraintSetGeometry self, RestraintSet p) -> RestraintSetGeometry"""
2220  this = _IMP_display.new_RestraintSetGeometry(*args)
2221  try: self.this.append(this)
2222  except: self.this = this
2223  def get_restraint_set(self):
2224  """get_restraint_set(RestraintSetGeometry self) -> RestraintSet"""
2225  return _IMP_display.RestraintSetGeometry_get_restraint_set(self)
2226 
2227  def get_version_info(self):
2228  """get_version_info(RestraintSetGeometry self) -> VersionInfo"""
2229  return _IMP_display.RestraintSetGeometry_get_version_info(self)
2230 
2231  def __str__(self):
2232  """__str__(RestraintSetGeometry self) -> std::string"""
2233  return _IMP_display.RestraintSetGeometry___str__(self)
2234 
2235  def __repr__(self):
2236  """__repr__(RestraintSetGeometry self) -> std::string"""
2237  return _IMP_display.RestraintSetGeometry___repr__(self)
2238 
2239  def get_from(o):
2240  return _object_cast_to_RestraintSetGeometry(o)
2241  get_from = staticmethod(get_from)
2242 
2243 RestraintSetGeometry_swigregister = _IMP_display.RestraintSetGeometry_swigregister
2244 RestraintSetGeometry_swigregister(RestraintSetGeometry)
2245 
2246 import _pivy
2247 PivyWriter= _pivy.get_writer(Writer)
2248 _object_types.append('PivyWriter')
2249 
2250 
2251 def get_module_version():
2252  """get_module_version() -> std::string const"""
2253  return _IMP_display.get_module_version()
2254 
2255 def get_example_path(*args):
2256  """get_example_path(std::string fname) -> std::string"""
2257  return _IMP_display.get_example_path(*args)
2258 
2259 def get_data_path(*args):
2260  """get_data_path(std::string fname) -> std::string"""
2261  return _IMP_display.get_data_path(*args)
2262 import _version_check
2263 _version_check.check_version(get_module_version())
2264 
2265 # This file is compatible with both classic and new-style classes.
2266 
2267 
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.
See IMP.cgal for more information.
Definition: cgal_config.h:107
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
See IMP.base for more information.
Definition: base/Array.h:20
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""%")
Color get_grey_color(double f)
Return the a greyscale value for f.
See IMP.kernel for more information.
Color get_display_color(unsigned int i)
Writer * create_writer(std::string filename)
Common base class for heavy weight IMP objects.
Definition: base/Object.h:106
Color get_gnuplot_color(double f)
Return colors using the gnuplot default color map.
See IMP.algebra for more information.
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
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.