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