11 from __future__
import print_function, division, absolute_import
17 from sys
import version_info
18 if version_info >= (2, 6, 0):
19 def swig_import_helper():
20 from os.path
import dirname
24 fp, pathname, description = imp.find_module(
'_IMP_display', [dirname(__file__)])
30 _mod = imp.load_module(
'_IMP_display', fp, pathname, description)
34 _IMP_display = swig_import_helper()
35 del swig_import_helper
40 _swig_property = property
45 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
46 if (name ==
"thisown"):
47 return self.this.own(value)
49 if type(value).__name__ ==
'SwigPyObject':
50 self.__dict__[name] = value
52 method = class_type.__swig_setmethods__.get(name,
None)
54 return method(self, value)
56 object.__setattr__(self, name, value)
58 raise AttributeError(
"You cannot add attributes to %s" % self)
61 def _swig_setattr(self, class_type, name, value):
62 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
65 def _swig_getattr_nondynamic(self, class_type, name, static=1):
66 if (name ==
"thisown"):
67 return self.this.own()
68 method = class_type.__swig_getmethods__.get(name,
None)
72 return object.__getattr__(self, name)
74 raise AttributeError(name)
76 def _swig_getattr(self, class_type, name):
77 return _swig_getattr_nondynamic(self, class_type, name, 0)
82 strthis =
"proxy of " + self.this.__repr__()
85 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
90 except AttributeError:
97 def _swig_setattr_nondynamic_method(set):
98 def set_attr(self, name, value):
99 if (name ==
"thisown"):
100 return self.this.own(value)
101 if hasattr(self, name)
or (name ==
"this"):
102 set(self, name, value)
104 raise AttributeError(
"You cannot add attributes to %s" % self)
110 weakref_proxy = weakref.proxy
112 weakref_proxy =
lambda x: x
115 class IMP_DISPLAY_SwigPyIterator(object):
116 """Proxy of C++ swig::IMP_DISPLAY_SwigPyIterator class"""
117 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
119 def __init__(self, *args, **kwargs):
120 raise AttributeError(
"No constructor defined - class is abstract")
121 __repr__ = _swig_repr
122 __swig_destroy__ = _IMP_display.delete_IMP_DISPLAY_SwigPyIterator
123 __del__ =
lambda self:
None
126 """value(IMP_DISPLAY_SwigPyIterator self) -> PyObject *"""
127 return _IMP_display.IMP_DISPLAY_SwigPyIterator_value(self)
132 incr(IMP_DISPLAY_SwigPyIterator self, size_t n=1) -> IMP_DISPLAY_SwigPyIterator
133 incr(IMP_DISPLAY_SwigPyIterator self) -> IMP_DISPLAY_SwigPyIterator
135 return _IMP_display.IMP_DISPLAY_SwigPyIterator_incr(self, n)
140 decr(IMP_DISPLAY_SwigPyIterator self, size_t n=1) -> IMP_DISPLAY_SwigPyIterator
141 decr(IMP_DISPLAY_SwigPyIterator self) -> IMP_DISPLAY_SwigPyIterator
143 return _IMP_display.IMP_DISPLAY_SwigPyIterator_decr(self, n)
146 def distance(self, x):
147 """distance(IMP_DISPLAY_SwigPyIterator self, IMP_DISPLAY_SwigPyIterator x) -> ptrdiff_t"""
148 return _IMP_display.IMP_DISPLAY_SwigPyIterator_distance(self, x)
152 """equal(IMP_DISPLAY_SwigPyIterator self, IMP_DISPLAY_SwigPyIterator x) -> bool"""
153 return _IMP_display.IMP_DISPLAY_SwigPyIterator_equal(self, x)
157 """copy(IMP_DISPLAY_SwigPyIterator self) -> IMP_DISPLAY_SwigPyIterator"""
158 return _IMP_display.IMP_DISPLAY_SwigPyIterator_copy(self)
162 """next(IMP_DISPLAY_SwigPyIterator self) -> PyObject *"""
163 return _IMP_display.IMP_DISPLAY_SwigPyIterator_next(self)
167 """__next__(IMP_DISPLAY_SwigPyIterator self) -> PyObject *"""
168 return _IMP_display.IMP_DISPLAY_SwigPyIterator___next__(self)
172 """previous(IMP_DISPLAY_SwigPyIterator self) -> PyObject *"""
173 return _IMP_display.IMP_DISPLAY_SwigPyIterator_previous(self)
176 def advance(self, n):
177 """advance(IMP_DISPLAY_SwigPyIterator self, ptrdiff_t n) -> IMP_DISPLAY_SwigPyIterator"""
178 return _IMP_display.IMP_DISPLAY_SwigPyIterator_advance(self, n)
182 """__eq__(IMP_DISPLAY_SwigPyIterator self, IMP_DISPLAY_SwigPyIterator x) -> bool"""
183 return _IMP_display.IMP_DISPLAY_SwigPyIterator___eq__(self, x)
187 """__ne__(IMP_DISPLAY_SwigPyIterator self, IMP_DISPLAY_SwigPyIterator x) -> bool"""
188 return _IMP_display.IMP_DISPLAY_SwigPyIterator___ne__(self, x)
191 def __iadd__(self, n):
192 """__iadd__(IMP_DISPLAY_SwigPyIterator self, ptrdiff_t n) -> IMP_DISPLAY_SwigPyIterator"""
193 return _IMP_display.IMP_DISPLAY_SwigPyIterator___iadd__(self, n)
196 def __isub__(self, n):
197 """__isub__(IMP_DISPLAY_SwigPyIterator self, ptrdiff_t n) -> IMP_DISPLAY_SwigPyIterator"""
198 return _IMP_display.IMP_DISPLAY_SwigPyIterator___isub__(self, n)
201 def __add__(self, n):
202 """__add__(IMP_DISPLAY_SwigPyIterator self, ptrdiff_t n) -> IMP_DISPLAY_SwigPyIterator"""
203 return _IMP_display.IMP_DISPLAY_SwigPyIterator___add__(self, n)
206 def __sub__(self, *args):
208 __sub__(IMP_DISPLAY_SwigPyIterator self, ptrdiff_t n) -> IMP_DISPLAY_SwigPyIterator
209 __sub__(IMP_DISPLAY_SwigPyIterator self, IMP_DISPLAY_SwigPyIterator x) -> ptrdiff_t
211 return _IMP_display.IMP_DISPLAY_SwigPyIterator___sub__(self, *args)
215 IMP_DISPLAY_SwigPyIterator_swigregister = _IMP_display.IMP_DISPLAY_SwigPyIterator_swigregister
216 IMP_DISPLAY_SwigPyIterator_swigregister(IMP_DISPLAY_SwigPyIterator)
225 _IMP_display.IMP_DEBUG_swigconstant(_IMP_display)
226 IMP_DEBUG = _IMP_display.IMP_DEBUG
228 _IMP_display.IMP_RELEASE_swigconstant(_IMP_display)
229 IMP_RELEASE = _IMP_display.IMP_RELEASE
231 _IMP_display.IMP_SILENT_swigconstant(_IMP_display)
232 IMP_SILENT = _IMP_display.IMP_SILENT
234 _IMP_display.IMP_PROGRESS_swigconstant(_IMP_display)
235 IMP_PROGRESS = _IMP_display.IMP_PROGRESS
237 _IMP_display.IMP_TERSE_swigconstant(_IMP_display)
238 IMP_TERSE = _IMP_display.IMP_TERSE
240 _IMP_display.IMP_VERBOSE_swigconstant(_IMP_display)
241 IMP_VERBOSE = _IMP_display.IMP_VERBOSE
243 _IMP_display.IMP_MEMORY_swigconstant(_IMP_display)
244 IMP_MEMORY = _IMP_display.IMP_MEMORY
246 _IMP_display.IMP_NONE_swigconstant(_IMP_display)
247 IMP_NONE = _IMP_display.IMP_NONE
249 _IMP_display.IMP_USAGE_swigconstant(_IMP_display)
250 IMP_USAGE = _IMP_display.IMP_USAGE
252 _IMP_display.IMP_INTERNAL_swigconstant(_IMP_display)
253 IMP_INTERNAL = _IMP_display.IMP_INTERNAL
255 _IMP_display.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_display)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_display.IMP_KERNEL_HAS_LOG4CXX
258 _IMP_display.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_display)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_display.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_display.IMP_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_display)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_display.IMP_COMPILER_HAS_RANDOM_SHUFFLE
264 _IMP_display.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_display)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_display.IMP_COMPILER_HAS_THREE_WAY
267 _IMP_display.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_display)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_display.IMP_KERNEL_HAS_BOOST_RANDOM
270 _IMP_display.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_display)
271 IMP_KERNEL_HAS_NUMPY = _IMP_display.IMP_KERNEL_HAS_NUMPY
273 _IMP_display.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_display)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_display.IMP_KERNEL_HAS_GPERFTOOLS
276 _IMP_display.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_display)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_display.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
279 _IMP_display.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_display)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_display.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
282 _IMP_display.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_display)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_display.IMPKERNEL_SHOW_WARNINGS
286 class _DirectorObjects(object):
287 """@internal Simple class to keep references to director objects
288 to prevent premature deletion."""
291 def register(self, obj):
292 """Take a reference to a director object; will only work for
293 refcounted C++ classes"""
294 if hasattr(obj,
'get_ref_count'):
295 self._objects.append(obj)
297 """Only drop our reference and allow cleanup by Python if no other
298 Python references exist (we hold 3 references: one in self._objects,
299 one in x, and one in the argument list for getrefcount) *and* no
300 other C++ references exist (the Python object always holds one)"""
301 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
302 or x.get_ref_count() > 1]
306 def get_object_count(self):
307 """Get number of director objects (useful for testing only)"""
308 return len(self._objects)
309 _director_objects = _DirectorObjects()
311 class _ostream(object):
312 """Proxy of C++ std::ostream class"""
313 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
315 def __init__(self, *args, **kwargs):
316 raise AttributeError(
"No constructor defined")
317 __repr__ = _swig_repr
319 def write(self, osa_buf):
320 """write(_ostream self, char const * osa_buf)"""
321 return _IMP_display._ostream_write(self, osa_buf)
323 _ostream_swigregister = _IMP_display._ostream_swigregister
324 _ostream_swigregister(_ostream)
327 _IMP_display.IMP_HAS_NOEXCEPT_swigconstant(_IMP_display)
328 IMP_HAS_NOEXCEPT = _IMP_display.IMP_HAS_NOEXCEPT
330 _IMP_display.IMP_C_OPEN_BINARY_swigconstant(_IMP_display)
331 IMP_C_OPEN_BINARY = _IMP_display.IMP_C_OPEN_BINARY
334 _IMP_display.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_display)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_display.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_display.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_display)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_display.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_display.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_display)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_display.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_display.IMP_CGAL_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_display)
344 IMP_CGAL_HAS_BOOST_SERIALIZATION = _IMP_display.IMP_CGAL_HAS_BOOST_SERIALIZATION
346 _IMP_display.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_display)
347 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_display.IMP_CGAL_HAS_BOOST_SYSTEM
349 _IMP_display.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_display)
350 IMP_CGAL_HAS_NUMPY = _IMP_display.IMP_CGAL_HAS_NUMPY
352 _IMP_display.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_display)
353 IMPCGAL_SHOW_WARNINGS = _IMP_display.IMPCGAL_SHOW_WARNINGS
356 _IMP_display.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_display)
357 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_display.IMP_ALGEBRA_HAS_IMP_CGAL
359 _IMP_display.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_display)
360 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_display.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
362 _IMP_display.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_display)
363 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_display.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
365 _IMP_display.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_display)
366 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_display.IMP_ALGEBRA_HAS_BOOST_RANDOM
368 _IMP_display.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_display)
369 IMP_ALGEBRA_HAS_BOOST_SERIALIZATION = _IMP_display.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION
371 _IMP_display.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_display)
372 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_display.IMP_ALGEBRA_HAS_BOOST_SYSTEM
374 _IMP_display.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_display)
375 IMP_ALGEBRA_HAS_CGAL = _IMP_display.IMP_ALGEBRA_HAS_CGAL
377 _IMP_display.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_display)
378 IMP_ALGEBRA_HAS_NUMPY = _IMP_display.IMP_ALGEBRA_HAS_NUMPY
380 _IMP_display.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_display)
381 IMP_ALGEBRA_HAS_ANN = _IMP_display.IMP_ALGEBRA_HAS_ANN
383 _IMP_display.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_display)
384 IMPALGEBRA_SHOW_WARNINGS = _IMP_display.IMPALGEBRA_SHOW_WARNINGS
387 _IMP_display.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_display)
388 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_display.IMP_DISPLAY_HAS_IMP_CGAL
390 _IMP_display.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_display)
391 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_display.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
393 _IMP_display.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_display)
394 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_display.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
396 _IMP_display.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_display)
397 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_display.IMP_DISPLAY_HAS_BOOST_RANDOM
399 _IMP_display.IMP_DISPLAY_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_display)
400 IMP_DISPLAY_HAS_BOOST_SERIALIZATION = _IMP_display.IMP_DISPLAY_HAS_BOOST_SERIALIZATION
402 _IMP_display.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_display)
403 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_display.IMP_DISPLAY_HAS_BOOST_SYSTEM
405 _IMP_display.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_display)
406 IMP_DISPLAY_HAS_CGAL = _IMP_display.IMP_DISPLAY_HAS_CGAL
408 _IMP_display.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_display)
409 IMP_DISPLAY_HAS_NUMPY = _IMP_display.IMP_DISPLAY_HAS_NUMPY
411 _IMP_display.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_display)
412 IMPDISPLAY_SHOW_WARNINGS = _IMP_display.IMPDISPLAY_SHOW_WARNINGS
414 _object_types.append(
"Writer")
417 def _object_cast_to_Writer(o):
418 """_object_cast_to_Writer(Object o) -> Writer"""
419 return _IMP_display._object_cast_to_Writer(o)
421 _object_types.append(
"TextWriter")
424 def _object_cast_to_TextWriter(o):
425 """_object_cast_to_TextWriter(Object o) -> TextWriter"""
426 return _IMP_display._object_cast_to_TextWriter(o)
428 _object_types.append(
"Geometry")
431 def _object_cast_to_Geometry(o):
432 """_object_cast_to_Geometry(Object o) -> Geometry"""
433 return _IMP_display._object_cast_to_Geometry(o)
435 _object_types.append(
"SingletonGeometry")
438 def _object_cast_to_SingletonGeometry(o):
439 """_object_cast_to_SingletonGeometry(Object o) -> SingletonGeometry"""
440 return _IMP_display._object_cast_to_SingletonGeometry(o)
442 _object_types.append(
"PairGeometry")
445 def _object_cast_to_PairGeometry(o):
446 """_object_cast_to_PairGeometry(Object o) -> PairGeometry"""
447 return _IMP_display._object_cast_to_PairGeometry(o)
449 _object_types.append(
"SingletonsGeometry")
452 def _object_cast_to_SingletonsGeometry(o):
453 """_object_cast_to_SingletonsGeometry(Object o) -> SingletonsGeometry"""
454 return _IMP_display._object_cast_to_SingletonsGeometry(o)
456 _object_types.append(
"PairsGeometry")
459 def _object_cast_to_PairsGeometry(o):
460 """_object_cast_to_PairsGeometry(Object o) -> PairsGeometry"""
461 return _IMP_display._object_cast_to_PairsGeometry(o)
463 _object_types.append(
"PymolWriter")
466 def _object_cast_to_PymolWriter(o):
467 """_object_cast_to_PymolWriter(Object o) -> PymolWriter"""
468 return _IMP_display._object_cast_to_PymolWriter(o)
470 _object_types.append(
"SphereGeometry")
473 def _object_cast_to_SphereGeometry(o):
474 """_object_cast_to_SphereGeometry(Object o) -> SphereGeometry"""
475 return _IMP_display._object_cast_to_SphereGeometry(o)
477 _object_types.append(
"CylinderGeometry")
480 def _object_cast_to_CylinderGeometry(o):
481 """_object_cast_to_CylinderGeometry(Object o) -> CylinderGeometry"""
482 return _IMP_display._object_cast_to_CylinderGeometry(o)
484 _object_types.append(
"EllipsoidGeometry")
487 def _object_cast_to_EllipsoidGeometry(o):
488 """_object_cast_to_EllipsoidGeometry(Object o) -> EllipsoidGeometry"""
489 return _IMP_display._object_cast_to_EllipsoidGeometry(o)
491 _object_types.append(
"PointGeometry")
494 def _object_cast_to_PointGeometry(o):
495 """_object_cast_to_PointGeometry(Object o) -> PointGeometry"""
496 return _IMP_display._object_cast_to_PointGeometry(o)
498 _object_types.append(
"SegmentGeometry")
501 def _object_cast_to_SegmentGeometry(o):
502 """_object_cast_to_SegmentGeometry(Object o) -> SegmentGeometry"""
503 return _IMP_display._object_cast_to_SegmentGeometry(o)
505 _object_types.append(
"PolygonGeometry")
508 def _object_cast_to_PolygonGeometry(o):
509 """_object_cast_to_PolygonGeometry(Object o) -> PolygonGeometry"""
510 return _IMP_display._object_cast_to_PolygonGeometry(o)
512 _object_types.append(
"ReferenceFrameGeometry")
515 def _object_cast_to_ReferenceFrameGeometry(o):
516 """_object_cast_to_ReferenceFrameGeometry(Object o) -> ReferenceFrameGeometry"""
517 return _IMP_display._object_cast_to_ReferenceFrameGeometry(o)
519 _object_types.append(
"BoundingBoxGeometry")
522 def _object_cast_to_BoundingBoxGeometry(o):
523 """_object_cast_to_BoundingBoxGeometry(Object o) -> BoundingBoxGeometry"""
524 return _IMP_display._object_cast_to_BoundingBoxGeometry(o)
526 _object_types.append(
"LabelGeometry")
529 def _object_cast_to_LabelGeometry(o):
530 """_object_cast_to_LabelGeometry(Object o) -> LabelGeometry"""
531 return _IMP_display._object_cast_to_LabelGeometry(o)
533 _object_types.append(
"RestraintGeometry")
536 def _object_cast_to_RestraintGeometry(o):
537 """_object_cast_to_RestraintGeometry(Object o) -> RestraintGeometry"""
538 return _IMP_display._object_cast_to_RestraintGeometry(o)
540 _object_types.append(
"RestraintSetGeometry")
543 def _object_cast_to_RestraintSetGeometry(o):
544 """_object_cast_to_RestraintSetGeometry(Object o) -> RestraintSetGeometry"""
545 return _IMP_display._object_cast_to_RestraintSetGeometry(o)
547 _object_types.append(
"GeometrySet")
550 def _object_cast_to_GeometrySet(o):
551 """_object_cast_to_GeometrySet(Object o) -> GeometrySet"""
552 return _IMP_display._object_cast_to_GeometrySet(o)
555 return [Colored(x)
for x
in l]
556 _plural_types.append(
"Coloreds")
559 _value_types.append(
"Colored")
563 _plural_types.append(
"Colors")
564 _value_types.append(
"Color")
568 _plural_types.append(
"WriterAdaptors")
569 _value_types.append(
"WriterAdaptor")
572 _object_types.append(
"FilterGeometry")
575 def _object_cast_to_FilterGeometry(o):
576 """_object_cast_to_FilterGeometry(Object o) -> FilterGeometry"""
577 return _IMP_display._object_cast_to_FilterGeometry(o)
579 _object_types.append(
"WriteOptimizerState")
582 def _object_cast_to_WriteOptimizerState(o):
583 """_object_cast_to_WriteOptimizerState(Object o) -> WriteOptimizerState"""
584 return _IMP_display._object_cast_to_WriteOptimizerState(o)
586 _object_types.append(
"TriangleGeometry")
589 def _object_cast_to_TriangleGeometry(o):
590 """_object_cast_to_TriangleGeometry(Object o) -> TriangleGeometry"""
591 return _IMP_display._object_cast_to_TriangleGeometry(o)
593 _object_types.append(
"SurfaceMeshGeometry")
596 def _object_cast_to_SurfaceMeshGeometry(o):
597 """_object_cast_to_SurfaceMeshGeometry(Object o) -> SurfaceMeshGeometry"""
598 return _IMP_display._object_cast_to_SurfaceMeshGeometry(o)
600 _object_types.append(
"PlaneGeometry")
603 def _object_cast_to_PlaneGeometry(o):
604 """_object_cast_to_PlaneGeometry(Object o) -> PlaneGeometry"""
605 return _IMP_display._object_cast_to_PlaneGeometry(o)
607 _object_types.append(
"IsosurfaceGeometry")
610 def _object_cast_to_IsosurfaceGeometry(o):
611 """_object_cast_to_IsosurfaceGeometry(Object o) -> IsosurfaceGeometry"""
612 return _IMP_display._object_cast_to_IsosurfaceGeometry(o)
614 _object_types.append(
"SkinSurfaceGeometry")
617 def _object_cast_to_SkinSurfaceGeometry(o):
618 """_object_cast_to_SkinSurfaceGeometry(Object o) -> SkinSurfaceGeometry"""
619 return _IMP_display._object_cast_to_SkinSurfaceGeometry(o)
620 class Color(IMP._Value):
621 """Proxy of C++ IMP::display::Color class"""
622 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
624 def __init__(self, *args):
626 __init__(IMP::display::Color self) -> Color
627 __init__(IMP::display::Color self, double r, double g, double b) -> Color
629 this = _IMP_display.new_Color(*args)
631 self.this.append(this)
634 __swig_destroy__ = _IMP_display.delete_Color
635 __del__ =
lambda self:
None
638 """get_red(Color self) -> double"""
639 return _IMP_display.Color_get_red(self)
643 """get_green(Color self) -> double"""
644 return _IMP_display.Color_get_green(self)
648 """get_blue(Color self) -> double"""
649 return _IMP_display.Color_get_blue(self)
652 def show(self, *args):
654 show(Color self, _ostream out, std::string delim)
655 show(Color self, _ostream out)
658 return _IMP_display.Color_show(self, *args)
661 def __cmp__(self, o):
662 """__cmp__(Color self, Color o) -> int"""
663 return _IMP_display.Color___cmp__(self, o)
667 """__eq__(Color self, Color o) -> bool"""
668 return _IMP_display.Color___eq__(self, o)
672 """__ne__(Color self, Color o) -> bool"""
673 return _IMP_display.Color___ne__(self, o)
677 """__lt__(Color self, Color o) -> bool"""
678 return _IMP_display.Color___lt__(self, o)
682 """__gt__(Color self, Color o) -> bool"""
683 return _IMP_display.Color___gt__(self, o)
687 """__ge__(Color self, Color o) -> bool"""
688 return _IMP_display.Color___ge__(self, o)
692 """__le__(Color self, Color o) -> bool"""
693 return _IMP_display.Color___le__(self, o)
697 """__str__(Color self) -> std::string"""
698 return _IMP_display.Color___str__(self)
702 """__repr__(Color self) -> std::string"""
703 return _IMP_display.Color___repr__(self)
706 def _get_as_binary(self):
707 """_get_as_binary(Color self) -> PyObject *"""
708 return _IMP_display.Color__get_as_binary(self)
711 def _set_from_binary(self, p):
712 """_set_from_binary(Color self, PyObject * p)"""
713 return _IMP_display.Color__set_from_binary(self, p)
716 def __getstate__(self):
717 p = self._get_as_binary()
718 if len(self.__dict__) > 1:
719 d = self.__dict__.copy()
724 def __setstate__(self, p):
725 if not hasattr(self,
'this'):
727 if isinstance(p, tuple):
729 self.__dict__.update(d)
730 return self._set_from_binary(p)
732 Color_swigregister = _IMP_display.Color_swigregister
733 Color_swigregister(Color)
737 """get_display_color(unsigned int i) -> Color"""
738 return _IMP_display.get_display_color(i)
741 """get_interpolated_rgb(Color a, Color b, double f) -> Color"""
742 return _IMP_display.get_interpolated_rgb(a, b, f)
745 """get_linear_color_map_value(double min, double max, double value) -> double"""
746 return _IMP_display.get_linear_color_map_value(min, max, value)
749 """get_jet_color(double f) -> Color"""
750 return _IMP_display.get_jet_color(f)
753 """get_hot_color(double f) -> Color"""
754 return _IMP_display.get_hot_color(f)
757 """get_rgb_color(double f) -> Color"""
758 return _IMP_display.get_rgb_color(f)
761 """get_gray_color(double f) -> Color"""
762 return _IMP_display.get_gray_color(f)
765 """get_gnuplot_color(double f) -> Color"""
766 return _IMP_display.get_gnuplot_color(f)
768 """Proxy of C++ IMP::display::Geometry class"""
769 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
771 def __init__(self, *args):
773 __init__(IMP::display::Geometry self, std::string name) -> Geometry
774 __init__(IMP::display::Geometry self, Color c, std::string name) -> Geometry
776 if self.__class__ == Geometry:
780 this = _IMP_display.new_Geometry(_self, *args)
782 self.this.append(this)
786 if self.__class__ != Geometry:
787 _director_objects.register(self)
793 """get_color(Geometry self) -> Color"""
794 return _IMP_display.Geometry_get_color(self)
797 def get_has_color(self):
798 """get_has_color(Geometry self) -> bool"""
799 return _IMP_display.Geometry_get_has_color(self)
802 def set_has_color(self, tf):
803 """set_has_color(Geometry self, bool tf)"""
804 return _IMP_display.Geometry_set_has_color(self, tf)
807 def set_color(self, c):
808 """set_color(Geometry self, Color c)"""
809 return _IMP_display.Geometry_set_color(self, c)
812 def get_components(self):
813 """get_components(Geometry self) -> IMP::display::Geometries"""
814 return _IMP_display.Geometry_get_components(self)
816 __swig_destroy__ = _IMP_display.delete_Geometry
817 __del__ =
lambda self:
None
820 """__str__(Geometry self) -> std::string"""
821 return _IMP_display.Geometry___str__(self)
825 """__repr__(Geometry self) -> std::string"""
826 return _IMP_display.Geometry___repr__(self)
831 return _object_cast_to_Geometry(o)
834 def get_type_name(self):
835 return self.__class__.__name__
836 def do_show(self, out):
838 def get_version_info(self):
839 if"IMP::display" ==
"IMP":
840 return VersionInfo(self.__module__,
847 return _object_cast_to_Geometry(o)
849 def __disown__(self):
851 _IMP_display.disown_Geometry(self)
852 return weakref_proxy(self)
854 def do_destroy(self):
855 """do_destroy(Geometry self)"""
856 return _IMP_display.Geometry_do_destroy(self)
858 Geometry_swigregister = _IMP_display.Geometry_swigregister
859 Geometry_swigregister(Geometry)
861 class GeometrySet(Geometry):
862 """Proxy of C++ IMP::display::GeometrySet class"""
863 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
865 def __init__(self, *args):
867 __init__(IMP::display::GeometrySet self, IMP::display::Geometries const & v) -> GeometrySet
868 __init__(IMP::display::GeometrySet self, IMP::display::Geometries const & v, Color c) -> GeometrySet
869 __init__(IMP::display::GeometrySet self, IMP::display::Geometries const & v, std::string const n) -> GeometrySet
870 __init__(IMP::display::GeometrySet self, IMP::display::Geometries const & v, Color c, std::string n) -> GeometrySet
872 this = _IMP_display.new_GeometrySet(*args)
874 self.this.append(this)
878 def get_geometry(self):
879 """get_geometry(GeometrySet self) -> IMP::display::Geometries"""
880 return _IMP_display.GeometrySet_get_geometry(self)
883 def get_version_info(self):
884 """get_version_info(GeometrySet self) -> VersionInfo"""
885 return _IMP_display.GeometrySet_get_version_info(self)
889 """__str__(GeometrySet self) -> std::string"""
890 return _IMP_display.GeometrySet___str__(self)
894 """__repr__(GeometrySet self) -> std::string"""
895 return _IMP_display.GeometrySet___repr__(self)
900 return _object_cast_to_GeometrySet(o)
902 GeometrySet_swigregister = _IMP_display.GeometrySet_swigregister
903 GeometrySet_swigregister(GeometrySet)
905 class SphereGeometry(Geometry):
906 """Proxy of C++ IMP::display::SphereGeometry class"""
907 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
909 def __init__(self, *args):
911 __init__(IMP::display::SphereGeometry self, Sphere3D v) -> SphereGeometry
912 __init__(IMP::display::SphereGeometry self, Sphere3D v, Color c) -> SphereGeometry
913 __init__(IMP::display::SphereGeometry self, Sphere3D v, std::string const n) -> SphereGeometry
914 __init__(IMP::display::SphereGeometry self, Sphere3D v, Color c, std::string n) -> SphereGeometry
916 this = _IMP_display.new_SphereGeometry(*args)
918 self.this.append(this)
922 def get_geometry(self):
923 """get_geometry(SphereGeometry self) -> Sphere3D"""
924 return _IMP_display.SphereGeometry_get_geometry(self)
927 def set_geometry(self, v):
928 """set_geometry(SphereGeometry self, Sphere3D v)"""
929 return _IMP_display.SphereGeometry_set_geometry(self, v)
932 def get_version_info(self):
933 """get_version_info(SphereGeometry self) -> VersionInfo"""
934 return _IMP_display.SphereGeometry_get_version_info(self)
938 """__str__(SphereGeometry self) -> std::string"""
939 return _IMP_display.SphereGeometry___str__(self)
943 """__repr__(SphereGeometry self) -> std::string"""
944 return _IMP_display.SphereGeometry___repr__(self)
949 return _object_cast_to_SphereGeometry(o)
951 SphereGeometry_swigregister = _IMP_display.SphereGeometry_swigregister
952 SphereGeometry_swigregister(SphereGeometry)
954 class CylinderGeometry(Geometry):
955 """Proxy of C++ IMP::display::CylinderGeometry class"""
956 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
958 def __init__(self, *args):
960 __init__(IMP::display::CylinderGeometry self, Cylinder3D v) -> CylinderGeometry
961 __init__(IMP::display::CylinderGeometry self, Cylinder3D v, Color c) -> CylinderGeometry
962 __init__(IMP::display::CylinderGeometry self, Cylinder3D v, std::string const n) -> CylinderGeometry
963 __init__(IMP::display::CylinderGeometry self, Cylinder3D v, Color c, std::string n) -> CylinderGeometry
965 this = _IMP_display.new_CylinderGeometry(*args)
967 self.this.append(this)
971 def get_geometry(self):
972 """get_geometry(CylinderGeometry self) -> Cylinder3D"""
973 return _IMP_display.CylinderGeometry_get_geometry(self)
976 def set_geometry(self, v):
977 """set_geometry(CylinderGeometry self, Cylinder3D v)"""
978 return _IMP_display.CylinderGeometry_set_geometry(self, v)
981 def get_version_info(self):
982 """get_version_info(CylinderGeometry self) -> VersionInfo"""
983 return _IMP_display.CylinderGeometry_get_version_info(self)
987 """__str__(CylinderGeometry self) -> std::string"""
988 return _IMP_display.CylinderGeometry___str__(self)
992 """__repr__(CylinderGeometry self) -> std::string"""
993 return _IMP_display.CylinderGeometry___repr__(self)
998 return _object_cast_to_CylinderGeometry(o)
1000 CylinderGeometry_swigregister = _IMP_display.CylinderGeometry_swigregister
1001 CylinderGeometry_swigregister(CylinderGeometry)
1003 class EllipsoidGeometry(Geometry):
1004 """Proxy of C++ IMP::display::EllipsoidGeometry class"""
1005 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1007 def __init__(self, *args):
1009 __init__(IMP::display::EllipsoidGeometry self, Ellipsoid3D v) -> EllipsoidGeometry
1010 __init__(IMP::display::EllipsoidGeometry self, Ellipsoid3D v, Color c) -> EllipsoidGeometry
1011 __init__(IMP::display::EllipsoidGeometry self, Ellipsoid3D v, std::string const n) -> EllipsoidGeometry
1012 __init__(IMP::display::EllipsoidGeometry self, Ellipsoid3D v, Color c, std::string n) -> EllipsoidGeometry
1014 this = _IMP_display.new_EllipsoidGeometry(*args)
1016 self.this.append(this)
1020 def get_geometry(self):
1021 """get_geometry(EllipsoidGeometry self) -> Ellipsoid3D"""
1022 return _IMP_display.EllipsoidGeometry_get_geometry(self)
1025 def set_geometry(self, v):
1026 """set_geometry(EllipsoidGeometry self, Ellipsoid3D v)"""
1027 return _IMP_display.EllipsoidGeometry_set_geometry(self, v)
1030 def get_version_info(self):
1031 """get_version_info(EllipsoidGeometry self) -> VersionInfo"""
1032 return _IMP_display.EllipsoidGeometry_get_version_info(self)
1036 """__str__(EllipsoidGeometry self) -> std::string"""
1037 return _IMP_display.EllipsoidGeometry___str__(self)
1041 """__repr__(EllipsoidGeometry self) -> std::string"""
1042 return _IMP_display.EllipsoidGeometry___repr__(self)
1047 return _object_cast_to_EllipsoidGeometry(o)
1049 EllipsoidGeometry_swigregister = _IMP_display.EllipsoidGeometry_swigregister
1050 EllipsoidGeometry_swigregister(EllipsoidGeometry)
1052 class PointGeometry(Geometry):
1053 """Proxy of C++ IMP::display::PointGeometry class"""
1054 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1056 def __init__(self, *args):
1058 __init__(IMP::display::PointGeometry self, Vector3D v) -> PointGeometry
1059 __init__(IMP::display::PointGeometry self, Vector3D v, Color c) -> PointGeometry
1060 __init__(IMP::display::PointGeometry self, Vector3D v, std::string const n) -> PointGeometry
1061 __init__(IMP::display::PointGeometry self, Vector3D v, Color c, std::string n) -> PointGeometry
1063 this = _IMP_display.new_PointGeometry(*args)
1065 self.this.append(this)
1069 def get_geometry(self):
1070 """get_geometry(PointGeometry self) -> Vector3D"""
1071 return _IMP_display.PointGeometry_get_geometry(self)
1074 def set_geometry(self, v):
1075 """set_geometry(PointGeometry self, Vector3D v)"""
1076 return _IMP_display.PointGeometry_set_geometry(self, v)
1079 def get_version_info(self):
1080 """get_version_info(PointGeometry self) -> VersionInfo"""
1081 return _IMP_display.PointGeometry_get_version_info(self)
1085 """__str__(PointGeometry self) -> std::string"""
1086 return _IMP_display.PointGeometry___str__(self)
1090 """__repr__(PointGeometry self) -> std::string"""
1091 return _IMP_display.PointGeometry___repr__(self)
1096 return _object_cast_to_PointGeometry(o)
1098 PointGeometry_swigregister = _IMP_display.PointGeometry_swigregister
1099 PointGeometry_swigregister(PointGeometry)
1101 class SegmentGeometry(Geometry):
1102 """Proxy of C++ IMP::display::SegmentGeometry class"""
1103 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1105 def __init__(self, *args):
1107 __init__(IMP::display::SegmentGeometry self, Segment3D v) -> SegmentGeometry
1108 __init__(IMP::display::SegmentGeometry self, Segment3D v, Color c) -> SegmentGeometry
1109 __init__(IMP::display::SegmentGeometry self, Segment3D v, std::string const n) -> SegmentGeometry
1110 __init__(IMP::display::SegmentGeometry self, Segment3D v, Color c, std::string n) -> SegmentGeometry
1112 this = _IMP_display.new_SegmentGeometry(*args)
1114 self.this.append(this)
1118 def get_geometry(self):
1119 """get_geometry(SegmentGeometry self) -> Segment3D"""
1120 return _IMP_display.SegmentGeometry_get_geometry(self)
1123 def set_geometry(self, v):
1124 """set_geometry(SegmentGeometry self, Segment3D v)"""
1125 return _IMP_display.SegmentGeometry_set_geometry(self, v)
1128 def get_version_info(self):
1129 """get_version_info(SegmentGeometry self) -> VersionInfo"""
1130 return _IMP_display.SegmentGeometry_get_version_info(self)
1134 """__str__(SegmentGeometry self) -> std::string"""
1135 return _IMP_display.SegmentGeometry___str__(self)
1139 """__repr__(SegmentGeometry self) -> std::string"""
1140 return _IMP_display.SegmentGeometry___repr__(self)
1145 return _object_cast_to_SegmentGeometry(o)
1147 SegmentGeometry_swigregister = _IMP_display.SegmentGeometry_swigregister
1148 SegmentGeometry_swigregister(SegmentGeometry)
1150 class PolygonGeometry(Geometry):
1151 """Proxy of C++ IMP::display::PolygonGeometry class"""
1152 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1154 def __init__(self, *args):
1156 __init__(IMP::display::PolygonGeometry self, IMP::algebra::Vector3Ds const & v) -> PolygonGeometry
1157 __init__(IMP::display::PolygonGeometry self, IMP::algebra::Vector3Ds const & v, Color c) -> PolygonGeometry
1158 __init__(IMP::display::PolygonGeometry self, IMP::algebra::Vector3Ds const & v, std::string const n) -> PolygonGeometry
1159 __init__(IMP::display::PolygonGeometry self, IMP::algebra::Vector3Ds const & v, Color c, std::string n) -> PolygonGeometry
1161 this = _IMP_display.new_PolygonGeometry(*args)
1163 self.this.append(this)
1167 def get_geometry(self):
1168 """get_geometry(PolygonGeometry self) -> IMP::algebra::Vector3Ds const &"""
1169 return _IMP_display.PolygonGeometry_get_geometry(self)
1172 def set_geometry(self, v):
1173 """set_geometry(PolygonGeometry self, IMP::algebra::Vector3Ds const & v)"""
1174 return _IMP_display.PolygonGeometry_set_geometry(self, v)
1177 def get_version_info(self):
1178 """get_version_info(PolygonGeometry self) -> VersionInfo"""
1179 return _IMP_display.PolygonGeometry_get_version_info(self)
1183 """__str__(PolygonGeometry self) -> std::string"""
1184 return _IMP_display.PolygonGeometry___str__(self)
1188 """__repr__(PolygonGeometry self) -> std::string"""
1189 return _IMP_display.PolygonGeometry___repr__(self)
1194 return _object_cast_to_PolygonGeometry(o)
1196 PolygonGeometry_swigregister = _IMP_display.PolygonGeometry_swigregister
1197 PolygonGeometry_swigregister(PolygonGeometry)
1199 class TriangleGeometry(Geometry):
1200 """Proxy of C++ IMP::display::TriangleGeometry class"""
1201 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1203 def __init__(self, *args):
1205 __init__(IMP::display::TriangleGeometry self, Triangle3D v) -> TriangleGeometry
1206 __init__(IMP::display::TriangleGeometry self, Triangle3D v, Color c) -> TriangleGeometry
1207 __init__(IMP::display::TriangleGeometry self, Triangle3D v, std::string const n) -> TriangleGeometry
1208 __init__(IMP::display::TriangleGeometry self, Triangle3D v, Color c, std::string n) -> TriangleGeometry
1210 this = _IMP_display.new_TriangleGeometry(*args)
1212 self.this.append(this)
1216 def get_geometry(self):
1217 """get_geometry(TriangleGeometry self) -> Triangle3D"""
1218 return _IMP_display.TriangleGeometry_get_geometry(self)
1221 def set_geometry(self, v):
1222 """set_geometry(TriangleGeometry self, Triangle3D v)"""
1223 return _IMP_display.TriangleGeometry_set_geometry(self, v)
1226 def get_version_info(self):
1227 """get_version_info(TriangleGeometry self) -> VersionInfo"""
1228 return _IMP_display.TriangleGeometry_get_version_info(self)
1232 """__str__(TriangleGeometry self) -> std::string"""
1233 return _IMP_display.TriangleGeometry___str__(self)
1237 """__repr__(TriangleGeometry self) -> std::string"""
1238 return _IMP_display.TriangleGeometry___repr__(self)
1243 return _object_cast_to_TriangleGeometry(o)
1245 TriangleGeometry_swigregister = _IMP_display.TriangleGeometry_swigregister
1246 TriangleGeometry_swigregister(TriangleGeometry)
1248 class BoundingBoxGeometry(Geometry):
1249 """Proxy of C++ IMP::display::BoundingBoxGeometry class"""
1250 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1252 def __init__(self, *args):
1254 __init__(IMP::display::BoundingBoxGeometry self, BoundingBox3D v) -> BoundingBoxGeometry
1255 __init__(IMP::display::BoundingBoxGeometry self, BoundingBox3D v, Color c) -> BoundingBoxGeometry
1256 __init__(IMP::display::BoundingBoxGeometry self, BoundingBox3D v, std::string const n) -> BoundingBoxGeometry
1257 __init__(IMP::display::BoundingBoxGeometry self, BoundingBox3D v, Color c, std::string n) -> BoundingBoxGeometry
1259 this = _IMP_display.new_BoundingBoxGeometry(*args)
1261 self.this.append(this)
1265 def get_geometry(self):
1266 """get_geometry(BoundingBoxGeometry self) -> BoundingBox3D"""
1267 return _IMP_display.BoundingBoxGeometry_get_geometry(self)
1270 def set_geometry(self, v):
1271 """set_geometry(BoundingBoxGeometry self, BoundingBox3D v)"""
1272 return _IMP_display.BoundingBoxGeometry_set_geometry(self, v)
1275 def get_version_info(self):
1276 """get_version_info(BoundingBoxGeometry self) -> VersionInfo"""
1277 return _IMP_display.BoundingBoxGeometry_get_version_info(self)
1281 """__str__(BoundingBoxGeometry self) -> std::string"""
1282 return _IMP_display.BoundingBoxGeometry___str__(self)
1286 """__repr__(BoundingBoxGeometry self) -> std::string"""
1287 return _IMP_display.BoundingBoxGeometry___repr__(self)
1292 return _object_cast_to_BoundingBoxGeometry(o)
1294 BoundingBoxGeometry_swigregister = _IMP_display.BoundingBoxGeometry_swigregister
1295 BoundingBoxGeometry_swigregister(BoundingBoxGeometry)
1297 class ReferenceFrameGeometry(Geometry):
1298 """Proxy of C++ IMP::display::ReferenceFrameGeometry class"""
1299 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1301 def __init__(self, *args):
1303 __init__(IMP::display::ReferenceFrameGeometry self, ReferenceFrame3D v) -> ReferenceFrameGeometry
1304 __init__(IMP::display::ReferenceFrameGeometry self, ReferenceFrame3D v, Color c) -> ReferenceFrameGeometry
1305 __init__(IMP::display::ReferenceFrameGeometry self, ReferenceFrame3D v, std::string const n) -> ReferenceFrameGeometry
1306 __init__(IMP::display::ReferenceFrameGeometry self, ReferenceFrame3D v, Color c, std::string n) -> ReferenceFrameGeometry
1308 this = _IMP_display.new_ReferenceFrameGeometry(*args)
1310 self.this.append(this)
1314 def get_geometry(self):
1315 """get_geometry(ReferenceFrameGeometry self) -> ReferenceFrame3D"""
1316 return _IMP_display.ReferenceFrameGeometry_get_geometry(self)
1319 def set_geometry(self, v):
1320 """set_geometry(ReferenceFrameGeometry self, ReferenceFrame3D v)"""
1321 return _IMP_display.ReferenceFrameGeometry_set_geometry(self, v)
1324 def get_version_info(self):
1325 """get_version_info(ReferenceFrameGeometry self) -> VersionInfo"""
1326 return _IMP_display.ReferenceFrameGeometry_get_version_info(self)
1330 """__str__(ReferenceFrameGeometry self) -> std::string"""
1331 return _IMP_display.ReferenceFrameGeometry___str__(self)
1335 """__repr__(ReferenceFrameGeometry self) -> std::string"""
1336 return _IMP_display.ReferenceFrameGeometry___repr__(self)
1341 return _object_cast_to_ReferenceFrameGeometry(o)
1343 ReferenceFrameGeometry_swigregister = _IMP_display.ReferenceFrameGeometry_swigregister
1344 ReferenceFrameGeometry_swigregister(ReferenceFrameGeometry)
1349 create_geometry(Sphere3D t, std::string name) -> SphereGeometry
1350 create_geometry(Sphere3D t) -> SphereGeometry
1351 create_geometry(Cylinder3D t, std::string name) -> CylinderGeometry
1352 create_geometry(Cylinder3D t) -> CylinderGeometry
1353 create_geometry(Ellipsoid3D t, std::string name) -> EllipsoidGeometry
1354 create_geometry(Ellipsoid3D t) -> EllipsoidGeometry
1355 create_geometry(Vector3D t, std::string name) -> PointGeometry
1356 create_geometry(Vector3D t) -> PointGeometry
1357 create_geometry(Segment3D t, std::string name) -> SegmentGeometry
1358 create_geometry(Segment3D t) -> SegmentGeometry
1359 create_geometry(IMP::algebra::Vector3Ds const & t, std::string name) -> PolygonGeometry
1360 create_geometry(IMP::algebra::Vector3Ds const & t) -> PolygonGeometry
1361 create_geometry(Triangle3D t, std::string name) -> TriangleGeometry
1362 create_geometry(Triangle3D t) -> TriangleGeometry
1363 create_geometry(BoundingBox3D t, std::string name) -> BoundingBoxGeometry
1364 create_geometry(BoundingBox3D t) -> BoundingBoxGeometry
1365 create_geometry(ReferenceFrame3D t, std::string name) -> ReferenceFrameGeometry
1366 create_geometry(ReferenceFrame3D t) -> ReferenceFrameGeometry
1368 return _IMP_display.create_geometry(*args)
1369 class LabelGeometry(Geometry):
1370 """Proxy of C++ IMP::display::LabelGeometry class"""
1371 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1373 def __init__(self, *args):
1375 __init__(IMP::display::LabelGeometry self, Sphere3D loc, std::string text) -> LabelGeometry
1376 __init__(IMP::display::LabelGeometry self, Vector3D loc, std::string text) -> LabelGeometry
1378 this = _IMP_display.new_LabelGeometry(*args)
1380 self.this.append(this)
1385 """get_text(LabelGeometry self) -> std::string"""
1386 return _IMP_display.LabelGeometry_get_text(self)
1389 def get_location(self):
1390 """get_location(LabelGeometry self) -> Sphere3D"""
1391 return _IMP_display.LabelGeometry_get_location(self)
1394 def get_version_info(self):
1395 """get_version_info(LabelGeometry self) -> VersionInfo"""
1396 return _IMP_display.LabelGeometry_get_version_info(self)
1400 """__str__(LabelGeometry self) -> std::string"""
1401 return _IMP_display.LabelGeometry___str__(self)
1405 """__repr__(LabelGeometry self) -> std::string"""
1406 return _IMP_display.LabelGeometry___repr__(self)
1411 return _object_cast_to_LabelGeometry(o)
1413 LabelGeometry_swigregister = _IMP_display.LabelGeometry_swigregister
1414 LabelGeometry_swigregister(LabelGeometry)
1416 class SurfaceMeshGeometry(Geometry):
1417 """Proxy of C++ IMP::display::SurfaceMeshGeometry class"""
1418 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1420 def __init__(self, vertices, faces):
1421 """__init__(IMP::display::SurfaceMeshGeometry self, IMP::algebra::Vector3Ds const & vertices, IMP::Ints const & faces) -> SurfaceMeshGeometry"""
1422 this = _IMP_display.new_SurfaceMeshGeometry(vertices, faces)
1424 self.this.append(this)
1428 def get_vertexes(self):
1429 """get_vertexes(SurfaceMeshGeometry self) -> IMP::algebra::Vector3Ds const &"""
1430 return _IMP_display.SurfaceMeshGeometry_get_vertexes(self)
1433 def get_faces(self):
1434 """get_faces(SurfaceMeshGeometry self) -> IMP::Ints const &"""
1435 return _IMP_display.SurfaceMeshGeometry_get_faces(self)
1438 def get_version_info(self):
1439 """get_version_info(SurfaceMeshGeometry self) -> VersionInfo"""
1440 return _IMP_display.SurfaceMeshGeometry_get_version_info(self)
1444 """__str__(SurfaceMeshGeometry self) -> std::string"""
1445 return _IMP_display.SurfaceMeshGeometry___str__(self)
1449 """__repr__(SurfaceMeshGeometry self) -> std::string"""
1450 return _IMP_display.SurfaceMeshGeometry___repr__(self)
1455 return _object_cast_to_SurfaceMeshGeometry(o)
1457 SurfaceMeshGeometry_swigregister = _IMP_display.SurfaceMeshGeometry_swigregister
1458 SurfaceMeshGeometry_swigregister(SurfaceMeshGeometry)
1460 class PlaneGeometry(Geometry):
1461 """Proxy of C++ IMP::display::PlaneGeometry class"""
1462 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1464 def __init__(self, loc, box):
1465 """__init__(IMP::display::PlaneGeometry self, Plane3D loc, BoundingBox3D box) -> PlaneGeometry"""
1466 this = _IMP_display.new_PlaneGeometry(loc, box)
1468 self.this.append(this)
1472 def get_version_info(self):
1473 """get_version_info(PlaneGeometry self) -> VersionInfo"""
1474 return _IMP_display.PlaneGeometry_get_version_info(self)
1478 """__str__(PlaneGeometry self) -> std::string"""
1479 return _IMP_display.PlaneGeometry___str__(self)
1483 """__repr__(PlaneGeometry self) -> std::string"""
1484 return _IMP_display.PlaneGeometry___repr__(self)
1489 return _object_cast_to_PlaneGeometry(o)
1491 PlaneGeometry_swigregister = _IMP_display.PlaneGeometry_swigregister
1492 PlaneGeometry_swigregister(PlaneGeometry)
1494 class IsosurfaceGeometry(SurfaceMeshGeometry):
1495 """Proxy of C++ IMP::display::IsosurfaceGeometry class"""
1496 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1498 def __init__(self, *args):
1500 __init__(IMP::display::IsosurfaceGeometry self, IMP::algebra::GridD< 3,IMP::algebra::DenseGridStorageD< 3,double >,double,IMP::algebra::DefaultEmbeddingD< 3 > > const & grid, double iso) -> IsosurfaceGeometry
1501 __init__(IMP::display::IsosurfaceGeometry self, IMP::algebra::GridD< 3,IMP::algebra::DenseGridStorageD< 3,float >,float,IMP::algebra::DefaultEmbeddingD< 3 > > const & grid, double iso) -> IsosurfaceGeometry
1503 this = _IMP_display.new_IsosurfaceGeometry(*args)
1505 self.this.append(this)
1510 """__str__(IsosurfaceGeometry self) -> std::string"""
1511 return _IMP_display.IsosurfaceGeometry___str__(self)
1515 """__repr__(IsosurfaceGeometry self) -> std::string"""
1516 return _IMP_display.IsosurfaceGeometry___repr__(self)
1521 return _object_cast_to_IsosurfaceGeometry(o)
1523 __swig_destroy__ = _IMP_display.delete_IsosurfaceGeometry
1524 __del__ =
lambda self:
None
1525 IsosurfaceGeometry_swigregister = _IMP_display.IsosurfaceGeometry_swigregister
1526 IsosurfaceGeometry_swigregister(IsosurfaceGeometry)
1528 class SkinSurfaceGeometry(SurfaceMeshGeometry):
1529 """Proxy of C++ IMP::display::SkinSurfaceGeometry class"""
1530 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1532 def __init__(self, balls):
1533 """__init__(IMP::display::SkinSurfaceGeometry self, IMP::algebra::Sphere3Ds const & balls) -> SkinSurfaceGeometry"""
1534 this = _IMP_display.new_SkinSurfaceGeometry(balls)
1536 self.this.append(this)
1541 """__str__(SkinSurfaceGeometry self) -> std::string"""
1542 return _IMP_display.SkinSurfaceGeometry___str__(self)
1546 """__repr__(SkinSurfaceGeometry self) -> std::string"""
1547 return _IMP_display.SkinSurfaceGeometry___repr__(self)
1552 return _object_cast_to_SkinSurfaceGeometry(o)
1554 __swig_destroy__ = _IMP_display.delete_SkinSurfaceGeometry
1555 __del__ =
lambda self:
None
1556 SkinSurfaceGeometry_swigregister = _IMP_display.SkinSurfaceGeometry_swigregister
1557 SkinSurfaceGeometry_swigregister(SkinSurfaceGeometry)
1559 class GeometryProcessor(object):
1560 """Proxy of C++ IMP::display::GeometryProcessor class"""
1561 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1562 __repr__ = _swig_repr
1565 """__init__(IMP::display::GeometryProcessor self) -> GeometryProcessor"""
1566 this = _IMP_display.new_GeometryProcessor()
1568 self.this.append(this)
1571 GeometryProcessor_swigregister = _IMP_display.GeometryProcessor_swigregister
1572 GeometryProcessor_swigregister(GeometryProcessor)
1575 """Proxy of C++ IMP::display::Writer class"""
1576 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1578 def __init__(self, name):
1579 """__init__(IMP::display::Writer self, std::string name) -> Writer"""
1580 if self.__class__ == Writer:
1584 this = _IMP_display.new_Writer(_self, name)
1586 self.this.append(this)
1590 if self.__class__ != Writer:
1591 _director_objects.register(self)
1595 __swig_destroy__ = _IMP_display.delete_Writer
1596 __del__ =
lambda self:
None
1598 def set_frame(self, i):
1599 """set_frame(Writer self, unsigned int i)"""
1600 return _IMP_display.Writer_set_frame(self, i)
1603 def get_frame(self):
1604 """get_frame(Writer self) -> int"""
1605 return _IMP_display.Writer_get_frame(self)
1610 add_geometry(Writer self, Geometry g)
1611 add_geometry(Writer self, IMP::display::Geometries const & g)
1613 return _IMP_display.Writer_add_geometry(self, *args)
1617 """do_close(Writer self)"""
1618 return _IMP_display.Writer_do_close(self)
1622 """do_open(Writer self)"""
1623 return _IMP_display.Writer_do_open(self)
1626 def do_set_frame(self):
1627 """do_set_frame(Writer self)"""
1628 return _IMP_display.Writer_do_set_frame(self)
1632 """__str__(Writer self) -> std::string"""
1633 return _IMP_display.Writer___str__(self)
1637 """__repr__(Writer self) -> std::string"""
1638 return _IMP_display.Writer___repr__(self)
1643 return _object_cast_to_Writer(o)
1646 def get_type_name(self):
1647 return self.__class__.__name__
1648 def do_show(self, out):
1650 def get_version_info(self):
1651 if"IMP::display" ==
"IMP":
1652 return VersionInfo(self.__module__,
1659 return _object_cast_to_Writer(o)
1661 def __disown__(self):
1663 _IMP_display.disown_Writer(self)
1664 return weakref_proxy(self)
1666 def handle_sphere(self, arg0, arg1, arg2):
1667 """handle_sphere(Writer self, SphereGeometry arg0, Color arg1, std::string arg2) -> bool"""
1668 return _IMP_display.Writer_handle_sphere(self, arg0, arg1, arg2)
1671 def handle_cylinder(self, arg0, arg1, arg2):
1672 """handle_cylinder(Writer self, CylinderGeometry arg0, Color arg1, std::string arg2) -> bool"""
1673 return _IMP_display.Writer_handle_cylinder(self, arg0, arg1, arg2)
1676 def handle_point(self, arg0, arg1, arg2):
1677 """handle_point(Writer self, PointGeometry arg0, Color arg1, std::string arg2) -> bool"""
1678 return _IMP_display.Writer_handle_point(self, arg0, arg1, arg2)
1681 def handle_segment(self, arg0, arg1, arg2):
1682 """handle_segment(Writer self, SegmentGeometry arg0, Color arg1, std::string arg2) -> bool"""
1683 return _IMP_display.Writer_handle_segment(self, arg0, arg1, arg2)
1686 def handle_polygon(self, arg0, arg1, arg2):
1687 """handle_polygon(Writer self, PolygonGeometry arg0, Color arg1, std::string arg2) -> bool"""
1688 return _IMP_display.Writer_handle_polygon(self, arg0, arg1, arg2)
1691 def handle_triangle(self, arg0, arg1, arg2):
1692 """handle_triangle(Writer self, TriangleGeometry arg0, Color arg1, std::string arg2) -> bool"""
1693 return _IMP_display.Writer_handle_triangle(self, arg0, arg1, arg2)
1696 def handle_surface_mesh(self, arg0, arg1, arg2):
1697 """handle_surface_mesh(Writer self, SurfaceMeshGeometry arg0, Color arg1, std::string arg2) -> bool"""
1698 return _IMP_display.Writer_handle_surface_mesh(self, arg0, arg1, arg2)
1701 def handle_label(self, arg0, arg1, arg2):
1702 """handle_label(Writer self, LabelGeometry arg0, Color arg1, std::string arg2) -> bool"""
1703 return _IMP_display.Writer_handle_label(self, arg0, arg1, arg2)
1706 def handle_ellipsoid(self, arg0, arg1, arg2):
1707 """handle_ellipsoid(Writer self, EllipsoidGeometry arg0, Color arg1, std::string arg2) -> bool"""
1708 return _IMP_display.Writer_handle_ellipsoid(self, arg0, arg1, arg2)
1711 def handle_bounding_box(self, arg0, arg1, arg2):
1712 """handle_bounding_box(Writer self, BoundingBoxGeometry arg0, Color arg1, std::string arg2) -> bool"""
1713 return _IMP_display.Writer_handle_bounding_box(self, arg0, arg1, arg2)
1716 def handle_anything(self, arg0, arg1, arg2):
1717 """handle_anything(Writer self, Geometry arg0, Color arg1, std::string arg2) -> bool"""
1718 return _IMP_display.Writer_handle_anything(self, arg0, arg1, arg2)
1721 def do_destroy(self):
1722 """do_destroy(Writer self)"""
1723 return _IMP_display.Writer_do_destroy(self)
1725 Writer_swigregister = _IMP_display.Writer_swigregister
1726 Writer_swigregister(Writer)
1728 class TextWriter(Writer):
1729 """Proxy of C++ IMP::display::TextWriter class"""
1730 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1733 """open(TextWriter self)"""
1734 return _IMP_display.TextWriter_open(self)
1737 def get_stream(self):
1738 """get_stream(TextWriter self) -> _ostream"""
1739 return _IMP_display.TextWriter_get_stream(self)
1742 def do_set_frame(self):
1743 """do_set_frame(TextWriter self)"""
1744 return _IMP_display.TextWriter_do_set_frame(self)
1747 def __init__(self, *args):
1749 __init__(IMP::display::TextWriter self, TextOutput fn) -> TextWriter
1750 __init__(IMP::display::TextWriter self, std::string name) -> TextWriter
1752 if self.__class__ == TextWriter:
1756 this = _IMP_display.new_TextWriter(_self, *args)
1758 self.this.append(this)
1762 if self.__class__ != TextWriter:
1763 _director_objects.register(self)
1768 def get_current_file_name(self):
1769 """get_current_file_name(TextWriter self) -> std::string"""
1770 return _IMP_display.TextWriter_get_current_file_name(self)
1772 __swig_destroy__ = _IMP_display.delete_TextWriter
1773 __del__ =
lambda self:
None
1776 """__str__(TextWriter self) -> std::string"""
1777 return _IMP_display.TextWriter___str__(self)
1781 """__repr__(TextWriter self) -> std::string"""
1782 return _IMP_display.TextWriter___repr__(self)
1787 return _object_cast_to_TextWriter(o)
1790 def get_type_name(self):
1791 return self.__class__.__name__
1792 def do_show(self, out):
1794 def get_version_info(self):
1795 if"IMP::display" ==
"IMP":
1796 return VersionInfo(self.__module__,
1803 return _object_cast_to_TextWriter(o)
1805 def __disown__(self):
1807 _IMP_display.disown_TextWriter(self)
1808 return weakref_proxy(self)
1810 def handle_sphere(self, arg0, arg1, arg2):
1811 """handle_sphere(TextWriter self, SphereGeometry arg0, Color arg1, std::string arg2) -> bool"""
1812 return _IMP_display.TextWriter_handle_sphere(self, arg0, arg1, arg2)
1815 def handle_cylinder(self, arg0, arg1, arg2):
1816 """handle_cylinder(TextWriter self, CylinderGeometry arg0, Color arg1, std::string arg2) -> bool"""
1817 return _IMP_display.TextWriter_handle_cylinder(self, arg0, arg1, arg2)
1820 def handle_point(self, arg0, arg1, arg2):
1821 """handle_point(TextWriter self, PointGeometry arg0, Color arg1, std::string arg2) -> bool"""
1822 return _IMP_display.TextWriter_handle_point(self, arg0, arg1, arg2)
1825 def handle_segment(self, arg0, arg1, arg2):
1826 """handle_segment(TextWriter self, SegmentGeometry arg0, Color arg1, std::string arg2) -> bool"""
1827 return _IMP_display.TextWriter_handle_segment(self, arg0, arg1, arg2)
1830 def handle_polygon(self, arg0, arg1, arg2):
1831 """handle_polygon(TextWriter self, PolygonGeometry arg0, Color arg1, std::string arg2) -> bool"""
1832 return _IMP_display.TextWriter_handle_polygon(self, arg0, arg1, arg2)
1835 def handle_triangle(self, arg0, arg1, arg2):
1836 """handle_triangle(TextWriter self, TriangleGeometry arg0, Color arg1, std::string arg2) -> bool"""
1837 return _IMP_display.TextWriter_handle_triangle(self, arg0, arg1, arg2)
1840 def handle_surface_mesh(self, arg0, arg1, arg2):
1841 """handle_surface_mesh(TextWriter self, SurfaceMeshGeometry arg0, Color arg1, std::string arg2) -> bool"""
1842 return _IMP_display.TextWriter_handle_surface_mesh(self, arg0, arg1, arg2)
1845 def handle_label(self, arg0, arg1, arg2):
1846 """handle_label(TextWriter self, LabelGeometry arg0, Color arg1, std::string arg2) -> bool"""
1847 return _IMP_display.TextWriter_handle_label(self, arg0, arg1, arg2)
1850 def handle_ellipsoid(self, arg0, arg1, arg2):
1851 """handle_ellipsoid(TextWriter self, EllipsoidGeometry arg0, Color arg1, std::string arg2) -> bool"""
1852 return _IMP_display.TextWriter_handle_ellipsoid(self, arg0, arg1, arg2)
1855 def handle_bounding_box(self, arg0, arg1, arg2):
1856 """handle_bounding_box(TextWriter self, BoundingBoxGeometry arg0, Color arg1, std::string arg2) -> bool"""
1857 return _IMP_display.TextWriter_handle_bounding_box(self, arg0, arg1, arg2)
1860 def handle_anything(self, arg0, arg1, arg2):
1861 """handle_anything(TextWriter self, Geometry arg0, Color arg1, std::string arg2) -> bool"""
1862 return _IMP_display.TextWriter_handle_anything(self, arg0, arg1, arg2)
1865 def do_destroy(self):
1866 """do_destroy(TextWriter self)"""
1867 return _IMP_display.TextWriter_do_destroy(self)
1871 """do_close(TextWriter self)"""
1872 return _IMP_display.TextWriter_do_close(self)
1876 """do_open(TextWriter self)"""
1877 return _IMP_display.TextWriter_do_open(self)
1879 TextWriter_swigregister = _IMP_display.TextWriter_swigregister
1880 TextWriter_swigregister(TextWriter)
1884 """create_writer(std::string filename) -> Writer"""
1885 return _IMP_display.create_writer(filename)
1886 class WriterAdaptor(IMP._InputAdaptor):
1887 """Proxy of C++ IMP::display::WriterAdaptor class"""
1888 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1890 def __init__(self, *args):
1892 __init__(IMP::display::WriterAdaptor self, std::string name) -> WriterAdaptor
1893 __init__(IMP::display::WriterAdaptor self, Writer w) -> WriterAdaptor
1895 this = _IMP_display.new_WriterAdaptor(*args)
1897 self.this.append(this)
1901 def get_writer(self):
1902 """get_writer(WriterAdaptor self) -> Writer"""
1903 return _IMP_display.WriterAdaptor_get_writer(self)
1906 def show(self, *args):
1908 show(WriterAdaptor self, _ostream out)
1909 show(WriterAdaptor self)
1911 return _IMP_display.WriterAdaptor_show(self, *args)
1913 __swig_destroy__ = _IMP_display.delete_WriterAdaptor
1914 __del__ =
lambda self:
None
1917 """__str__(WriterAdaptor self) -> std::string"""
1918 return _IMP_display.WriterAdaptor___str__(self)
1922 """__repr__(WriterAdaptor self) -> std::string"""
1923 return _IMP_display.WriterAdaptor___repr__(self)
1925 WriterAdaptor_swigregister = _IMP_display.WriterAdaptor_swigregister
1926 WriterAdaptor_swigregister(WriterAdaptor)
1929 """Proxy of C++ IMP::display::Colored class"""
1930 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1932 def set_color(self, c):
1933 """set_color(Colored self, Color c)"""
1934 return _IMP_display.Colored_set_color(self, c)
1937 def get_color(self):
1938 """get_color(Colored self) -> Color"""
1939 return _IMP_display.Colored_get_color(self)
1942 def get_color_keys():
1943 """get_color_keys() -> IMP::FloatKeys const &"""
1944 return _IMP_display.Colored_get_color_keys()
1946 get_color_keys = staticmethod(get_color_keys)
1948 def __init__(self, *args):
1950 __init__(IMP::display::Colored self) -> Colored
1951 __init__(IMP::display::Colored self, Model m, ParticleIndex id) -> Colored
1952 __init__(IMP::display::Colored self, _ParticleAdaptor d) -> Colored
1954 this = _IMP_display.new_Colored(*args)
1956 self.this.append(this)
1960 def get_is_setup(*args):
1962 get_is_setup(Model m, ParticleIndex pi) -> bool
1963 get_is_setup(_ParticleAdaptor p) -> bool
1965 return _IMP_display.Colored_get_is_setup(*args)
1967 get_is_setup = staticmethod(get_is_setup)
1969 def show(self, *args):
1971 show(Colored self, _ostream out)
1974 return _IMP_display.Colored_show(self, *args)
1977 def setup_particle(*args):
1979 setup_particle(Model m, ParticleIndex pi, Color color) -> Colored
1980 setup_particle(_ParticleAdaptor decorator, Color color) -> Colored
1982 return _IMP_display.Colored_setup_particle(*args)
1984 setup_particle = staticmethod(setup_particle)
1986 def add_attribute(self, *args):
1988 add_attribute(Colored self, FloatKey k, IMP::Float v, bool opt)
1989 add_attribute(Colored self, FloatKey a0, IMP::Float a1)
1990 add_attribute(Colored self, IntKey a0, IMP::Int a1)
1991 add_attribute(Colored self, FloatsKey a0, IMP::Floats a1)
1992 add_attribute(Colored self, IntsKey a0, IMP::Ints a1)
1993 add_attribute(Colored self, StringKey a0, IMP::String a1)
1994 add_attribute(Colored self, ParticleIndexKey a0, Particle a1)
1995 add_attribute(Colored self, ObjectKey a0, Object a1)
1997 return _IMP_display.Colored_add_attribute(self, *args)
2000 def get_value(self, *args):
2002 get_value(Colored self, FloatKey a0) -> IMP::Float
2003 get_value(Colored self, IntKey a0) -> IMP::Int
2004 get_value(Colored self, FloatsKey a0) -> IMP::Floats
2005 get_value(Colored self, IntsKey a0) -> IMP::Ints
2006 get_value(Colored self, StringKey a0) -> IMP::String
2007 get_value(Colored self, ParticleIndexKey a0) -> Particle
2008 get_value(Colored self, ObjectKey a0) -> Object
2010 return _IMP_display.Colored_get_value(self, *args)
2013 def set_value(self, *args):
2015 set_value(Colored self, FloatKey a0, IMP::Float a1)
2016 set_value(Colored self, IntKey a0, IMP::Int a1)
2017 set_value(Colored self, FloatsKey a0, IMP::Floats a1)
2018 set_value(Colored self, IntsKey a0, IMP::Ints a1)
2019 set_value(Colored self, StringKey a0, IMP::String a1)
2020 set_value(Colored self, ParticleIndexKey a0, Particle a1)
2021 set_value(Colored self, ObjectKey a0, Object a1)
2023 return _IMP_display.Colored_set_value(self, *args)
2026 def remove_attribute(self, *args):
2028 remove_attribute(Colored self, FloatKey a0)
2029 remove_attribute(Colored self, IntKey a0)
2030 remove_attribute(Colored self, FloatsKey a0)
2031 remove_attribute(Colored self, IntsKey a0)
2032 remove_attribute(Colored self, StringKey a0)
2033 remove_attribute(Colored self, ParticleIndexKey a0)
2034 remove_attribute(Colored self, ObjectKey a0)
2036 return _IMP_display.Colored_remove_attribute(self, *args)
2039 def has_attribute(self, *args):
2041 has_attribute(Colored self, FloatKey a0) -> bool
2042 has_attribute(Colored self, IntKey a0) -> bool
2043 has_attribute(Colored self, FloatsKey a0) -> bool
2044 has_attribute(Colored self, IntsKey a0) -> bool
2045 has_attribute(Colored self, StringKey a0) -> bool
2046 has_attribute(Colored self, ParticleIndexKey a0) -> bool
2047 has_attribute(Colored self, ObjectKey a0) -> bool
2049 return _IMP_display.Colored_has_attribute(self, *args)
2052 def get_derivative(self, a0):
2053 """get_derivative(Colored self, FloatKey a0) -> double"""
2054 return _IMP_display.Colored_get_derivative(self, a0)
2058 """get_name(Colored self) -> std::string"""
2059 return _IMP_display.Colored_get_name(self)
2062 def clear_caches(self):
2063 """clear_caches(Colored self)"""
2064 return _IMP_display.Colored_clear_caches(self)
2067 def set_name(self, a0):
2068 """set_name(Colored self, std::string a0)"""
2069 return _IMP_display.Colored_set_name(self, a0)
2073 """set_check_level(Colored self, IMP::CheckLevel a0)"""
2074 return _IMP_display.Colored_set_check_level(self, a0)
2077 def add_to_derivative(self, a0, a1, a2):
2078 """add_to_derivative(Colored self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2079 return _IMP_display.Colored_add_to_derivative(self, a0, a1, a2)
2082 def set_is_optimized(self, a0, a1):
2083 """set_is_optimized(Colored self, FloatKey a0, bool a1)"""
2084 return _IMP_display.Colored_set_is_optimized(self, a0, a1)
2087 def get_is_optimized(self, a0):
2088 """get_is_optimized(Colored self, FloatKey a0) -> bool"""
2089 return _IMP_display.Colored_get_is_optimized(self, a0)
2093 """get_check_level(Colored self) -> IMP::CheckLevel"""
2094 return _IMP_display.Colored_get_check_level(self)
2097 def __eq__(self, *args):
2099 __eq__(Colored self, Colored o) -> bool
2100 __eq__(Colored self, Particle d) -> bool
2102 return _IMP_display.Colored___eq__(self, *args)
2105 def __ne__(self, *args):
2107 __ne__(Colored self, Colored o) -> bool
2108 __ne__(Colored self, Particle d) -> bool
2110 return _IMP_display.Colored___ne__(self, *args)
2113 def __le__(self, *args):
2115 __le__(Colored self, Colored o) -> bool
2116 __le__(Colored self, Particle d) -> bool
2118 return _IMP_display.Colored___le__(self, *args)
2121 def __lt__(self, *args):
2123 __lt__(Colored self, Colored o) -> bool
2124 __lt__(Colored self, Particle d) -> bool
2126 return _IMP_display.Colored___lt__(self, *args)
2129 def __ge__(self, *args):
2131 __ge__(Colored self, Colored o) -> bool
2132 __ge__(Colored self, Particle d) -> bool
2134 return _IMP_display.Colored___ge__(self, *args)
2137 def __gt__(self, *args):
2139 __gt__(Colored self, Colored o) -> bool
2140 __gt__(Colored self, Particle d) -> bool
2142 return _IMP_display.Colored___gt__(self, *args)
2146 """__hash__(Colored self) -> std::size_t"""
2147 return _IMP_display.Colored___hash__(self)
2151 """__str__(Colored self) -> std::string"""
2152 return _IMP_display.Colored___str__(self)
2156 """__repr__(Colored self) -> std::string"""
2157 return _IMP_display.Colored___repr__(self)
2159 __swig_destroy__ = _IMP_display.delete_Colored
2160 __del__ =
lambda self:
None
2161 Colored_swigregister = _IMP_display.Colored_swigregister
2162 Colored_swigregister(Colored)
2164 def Colored_get_color_keys():
2165 """Colored_get_color_keys() -> IMP::FloatKeys const &"""
2166 return _IMP_display.Colored_get_color_keys()
2168 def Colored_get_is_setup(*args):
2170 get_is_setup(Model m, ParticleIndex pi) -> bool
2171 Colored_get_is_setup(_ParticleAdaptor p) -> bool
2173 return _IMP_display.Colored_get_is_setup(*args)
2175 def Colored_setup_particle(*args):
2177 setup_particle(Model m, ParticleIndex pi, Color color) -> Colored
2178 Colored_setup_particle(_ParticleAdaptor decorator, Color color) -> Colored
2180 return _IMP_display.Colored_setup_particle(*args)
2183 def __lshift__(out, n):
2184 """__lshift__(_ostream out, Colored n) -> _ostream"""
2185 return _IMP_display.__lshift__(out, n)
2186 class FilterGeometry(GeometryProcessor, Geometry):
2187 """Proxy of C++ IMP::display::FilterGeometry class"""
2188 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2190 def __init__(self, p):
2191 """__init__(IMP::display::FilterGeometry self, Plane3D p) -> FilterGeometry"""
2192 this = _IMP_display.new_FilterGeometry(p)
2194 self.this.append(this)
2200 add_geometry(FilterGeometry self, Geometry g)
2201 add_geometry(FilterGeometry self, IMP::display::Geometries const & g)
2203 return _IMP_display.FilterGeometry_add_geometry(self, *args)
2206 def get_version_info(self):
2207 """get_version_info(FilterGeometry self) -> VersionInfo"""
2208 return _IMP_display.FilterGeometry_get_version_info(self)
2212 """__str__(FilterGeometry self) -> std::string"""
2213 return _IMP_display.FilterGeometry___str__(self)
2217 """__repr__(FilterGeometry self) -> std::string"""
2218 return _IMP_display.FilterGeometry___repr__(self)
2223 return _object_cast_to_FilterGeometry(o)
2225 FilterGeometry_swigregister = _IMP_display.FilterGeometry_swigregister
2226 FilterGeometry_swigregister(FilterGeometry)
2229 """Proxy of C++ IMP::display::WriteOptimizerState class"""
2230 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2232 def __init__(self, m, w):
2233 """__init__(IMP::display::WriteOptimizerState self, Model m, WriterAdaptor w) -> WriteOptimizerState"""
2234 this = _IMP_display.new_WriteOptimizerState(m, w)
2236 self.this.append(this)
2241 """write(WriteOptimizerState self, WriterAdaptor w)"""
2242 return _IMP_display.WriteOptimizerState_write(self, w)
2244 def __get_geometries(self):
return IMP._list_util.VarList(getdimfunc=self.get_number_of_geometries, getfunc=self.get_geometry, erasefunc=self.erase_geometry, appendfunc=self.add_geometry, extendfunc=self.add_geometries, clearfunc=self.clear_geometries, indexfunc=self._python_index_geometry)
2245 def __set_geometries(self, obj): IMP._list_util.set_varlist(self.geometries, obj)
2246 def __del_geometries(self): IMP._list_util.del_varlist(self.geometries)
2247 geometries = property(__get_geometries, __set_geometries, __del_geometries, doc=
"List of ##ucnames")
2249 def remove_geometry(self, d):
2250 """remove_geometry(WriteOptimizerState self, Geometry d)"""
2251 return _IMP_display.WriteOptimizerState_remove_geometry(self, d)
2254 def _python_index_geometry(self, d, start, stop):
2255 """_python_index_geometry(WriteOptimizerState self, Geometry d, unsigned int start, unsigned int stop) -> unsigned int"""
2256 return _IMP_display.WriteOptimizerState__python_index_geometry(self, d, start, stop)
2259 def remove_geometries(self, d):
2260 """remove_geometries(WriteOptimizerState self, IMP::display::Geometries const & d)"""
2261 return _IMP_display.WriteOptimizerState_remove_geometries(self, d)
2264 def set_geometries(self, ps):
2265 """set_geometries(WriteOptimizerState self, IMP::display::Geometries const & ps)"""
2266 return _IMP_display.WriteOptimizerState_set_geometries(self, ps)
2269 def set_geometries_order(self, objs):
2270 """set_geometries_order(WriteOptimizerState self, IMP::display::Geometries const & objs)"""
2271 return _IMP_display.WriteOptimizerState_set_geometries_order(self, objs)
2275 """add_geometry(WriteOptimizerState self, Geometry obj) -> unsigned int"""
2276 return _IMP_display.WriteOptimizerState_add_geometry(self, obj)
2280 """add_geometries(WriteOptimizerState self, IMP::display::Geometries const & objs)"""
2281 return _IMP_display.WriteOptimizerState_add_geometries(self, objs)
2284 def clear_geometries(self):
2285 """clear_geometries(WriteOptimizerState self)"""
2286 return _IMP_display.WriteOptimizerState_clear_geometries(self)
2289 def get_number_of_geometries(self):
2290 """get_number_of_geometries(WriteOptimizerState self) -> unsigned int"""
2291 return _IMP_display.WriteOptimizerState_get_number_of_geometries(self)
2294 def get_has_geometries(self):
2295 """get_has_geometries(WriteOptimizerState self) -> bool"""
2296 return _IMP_display.WriteOptimizerState_get_has_geometries(self)
2299 def get_geometry(self, i):
2300 """get_geometry(WriteOptimizerState self, unsigned int i) -> Geometry"""
2301 return _IMP_display.WriteOptimizerState_get_geometry(self, i)
2304 def get_geometries(self):
2305 """get_geometries(WriteOptimizerState self) -> IMP::display::Geometries"""
2306 return _IMP_display.WriteOptimizerState_get_geometries(self)
2309 def erase_geometry(self, i):
2310 """erase_geometry(WriteOptimizerState self, unsigned int i)"""
2311 return _IMP_display.WriteOptimizerState_erase_geometry(self, i)
2314 def reserve_geometries(self, sz):
2315 """reserve_geometries(WriteOptimizerState self, unsigned int sz)"""
2316 return _IMP_display.WriteOptimizerState_reserve_geometries(self, sz)
2319 def get_version_info(self):
2320 """get_version_info(WriteOptimizerState self) -> VersionInfo"""
2321 return _IMP_display.WriteOptimizerState_get_version_info(self)
2325 """__str__(WriteOptimizerState self) -> std::string"""
2326 return _IMP_display.WriteOptimizerState___str__(self)
2330 """__repr__(WriteOptimizerState self) -> std::string"""
2331 return _IMP_display.WriteOptimizerState___repr__(self)
2336 return _object_cast_to_WriteOptimizerState(o)
2338 WriteOptimizerState_swigregister = _IMP_display.WriteOptimizerState_swigregister
2339 WriteOptimizerState_swigregister(WriteOptimizerState)
2341 class SingletonGeometry(Geometry):
2342 """Proxy of C++ IMP::display::SingletonGeometry class"""
2343 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2345 def __init__(self, p):
2346 """__init__(IMP::display::SingletonGeometry self, Particle p) -> SingletonGeometry"""
2347 this = _IMP_display.new_SingletonGeometry(p)
2349 self.this.append(this)
2353 def get_particle(self):
2354 """get_particle(SingletonGeometry self) -> Particle"""
2355 return _IMP_display.SingletonGeometry_get_particle(self)
2357 __swig_destroy__ = _IMP_display.delete_SingletonGeometry
2358 __del__ =
lambda self:
None
2361 """__str__(SingletonGeometry self) -> std::string"""
2362 return _IMP_display.SingletonGeometry___str__(self)
2366 """__repr__(SingletonGeometry self) -> std::string"""
2367 return _IMP_display.SingletonGeometry___repr__(self)
2372 return _object_cast_to_SingletonGeometry(o)
2374 SingletonGeometry_swigregister = _IMP_display.SingletonGeometry_swigregister
2375 SingletonGeometry_swigregister(SingletonGeometry)
2377 class SingletonsGeometry(Geometry):
2378 """Proxy of C++ IMP::display::SingletonsGeometry class"""
2379 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2381 def __init__(self, *args):
2383 __init__(IMP::display::SingletonsGeometry self, _SingletonContainerAdaptor pc, Color c) -> SingletonsGeometry
2384 __init__(IMP::display::SingletonsGeometry self, _SingletonContainerAdaptor pc) -> SingletonsGeometry
2386 this = _IMP_display.new_SingletonsGeometry(*args)
2388 self.this.append(this)
2392 def get_container(self):
2393 """get_container(SingletonsGeometry self) -> SingletonContainer"""
2394 return _IMP_display.SingletonsGeometry_get_container(self)
2396 __swig_destroy__ = _IMP_display.delete_SingletonsGeometry
2397 __del__ =
lambda self:
None
2400 """__str__(SingletonsGeometry self) -> std::string"""
2401 return _IMP_display.SingletonsGeometry___str__(self)
2405 """__repr__(SingletonsGeometry self) -> std::string"""
2406 return _IMP_display.SingletonsGeometry___repr__(self)
2411 return _object_cast_to_SingletonsGeometry(o)
2413 SingletonsGeometry_swigregister = _IMP_display.SingletonsGeometry_swigregister
2414 SingletonsGeometry_swigregister(SingletonsGeometry)
2416 class PairGeometry(Geometry):
2417 """Proxy of C++ IMP::display::PairGeometry class"""
2418 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2420 def __init__(self, pp):
2421 """__init__(IMP::display::PairGeometry self, IMP::ParticlePair const & pp) -> PairGeometry"""
2422 this = _IMP_display.new_PairGeometry(pp)
2424 self.this.append(this)
2428 def get_particle_pair(self):
2429 """get_particle_pair(PairGeometry self) -> IMP::ParticlePair"""
2430 return _IMP_display.PairGeometry_get_particle_pair(self)
2432 __swig_destroy__ = _IMP_display.delete_PairGeometry
2433 __del__ =
lambda self:
None
2436 """__str__(PairGeometry self) -> std::string"""
2437 return _IMP_display.PairGeometry___str__(self)
2441 """__repr__(PairGeometry self) -> std::string"""
2442 return _IMP_display.PairGeometry___repr__(self)
2447 return _object_cast_to_PairGeometry(o)
2449 PairGeometry_swigregister = _IMP_display.PairGeometry_swigregister
2450 PairGeometry_swigregister(PairGeometry)
2452 class PairsGeometry(Geometry):
2453 """Proxy of C++ IMP::display::PairsGeometry class"""
2454 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2456 def __init__(self, *args):
2458 __init__(IMP::display::PairsGeometry self, PairContainer pc, Color c) -> PairsGeometry
2459 __init__(IMP::display::PairsGeometry self, PairContainer pc) -> PairsGeometry
2461 this = _IMP_display.new_PairsGeometry(*args)
2463 self.this.append(this)
2467 def get_container(self):
2468 """get_container(PairsGeometry self) -> PairContainer"""
2469 return _IMP_display.PairsGeometry_get_container(self)
2471 __swig_destroy__ = _IMP_display.delete_PairsGeometry
2472 __del__ =
lambda self:
None
2475 """__str__(PairsGeometry self) -> std::string"""
2476 return _IMP_display.PairsGeometry___str__(self)
2480 """__repr__(PairsGeometry self) -> std::string"""
2481 return _IMP_display.PairsGeometry___repr__(self)
2486 return _object_cast_to_PairsGeometry(o)
2488 PairsGeometry_swigregister = _IMP_display.PairsGeometry_swigregister
2489 PairsGeometry_swigregister(PairsGeometry)
2491 class PymolWriter(TextWriter):
2492 """Proxy of C++ IMP::display::PymolWriter class"""
2493 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2495 def __init__(self, *args):
2497 __init__(IMP::display::PymolWriter self, TextOutput of) -> PymolWriter
2498 __init__(IMP::display::PymolWriter self, std::string name) -> PymolWriter
2499 __init__(IMP::display::PymolWriter self, char const * name) -> PymolWriter
2501 this = _IMP_display.new_PymolWriter(*args)
2503 self.this.append(this)
2507 def get_version_info(self):
2508 """get_version_info(PymolWriter self) -> VersionInfo"""
2509 return _IMP_display.PymolWriter_get_version_info(self)
2513 """__str__(PymolWriter self) -> std::string"""
2514 return _IMP_display.PymolWriter___str__(self)
2518 """__repr__(PymolWriter self) -> std::string"""
2519 return _IMP_display.PymolWriter___repr__(self)
2524 return _object_cast_to_PymolWriter(o)
2526 PymolWriter_swigregister = _IMP_display.PymolWriter_swigregister
2527 PymolWriter_swigregister(PymolWriter)
2529 class RestraintGeometry(Geometry):
2530 """Proxy of C++ IMP::display::RestraintGeometry class"""
2531 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2533 def __init__(self, p):
2534 """__init__(IMP::display::RestraintGeometry self, Restraint p) -> RestraintGeometry"""
2535 this = _IMP_display.new_RestraintGeometry(p)
2537 self.this.append(this)
2541 def get_restraint(self):
2542 """get_restraint(RestraintGeometry self) -> Restraint"""
2543 return _IMP_display.RestraintGeometry_get_restraint(self)
2546 def get_version_info(self):
2547 """get_version_info(RestraintGeometry self) -> VersionInfo"""
2548 return _IMP_display.RestraintGeometry_get_version_info(self)
2552 """__str__(RestraintGeometry self) -> std::string"""
2553 return _IMP_display.RestraintGeometry___str__(self)
2557 """__repr__(RestraintGeometry self) -> std::string"""
2558 return _IMP_display.RestraintGeometry___repr__(self)
2563 return _object_cast_to_RestraintGeometry(o)
2565 RestraintGeometry_swigregister = _IMP_display.RestraintGeometry_swigregister
2566 RestraintGeometry_swigregister(RestraintGeometry)
2568 class RestraintSetGeometry(Geometry):
2569 """Proxy of C++ IMP::display::RestraintSetGeometry class"""
2570 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2572 def __init__(self, p):
2573 """__init__(IMP::display::RestraintSetGeometry self, RestraintSet p) -> RestraintSetGeometry"""
2574 this = _IMP_display.new_RestraintSetGeometry(p)
2576 self.this.append(this)
2580 def get_restraint_set(self):
2581 """get_restraint_set(RestraintSetGeometry self) -> RestraintSet"""
2582 return _IMP_display.RestraintSetGeometry_get_restraint_set(self)
2585 def get_version_info(self):
2586 """get_version_info(RestraintSetGeometry self) -> VersionInfo"""
2587 return _IMP_display.RestraintSetGeometry_get_version_info(self)
2591 """__str__(RestraintSetGeometry self) -> std::string"""
2592 return _IMP_display.RestraintSetGeometry___str__(self)
2596 """__repr__(RestraintSetGeometry self) -> std::string"""
2597 return _IMP_display.RestraintSetGeometry___repr__(self)
2602 return _object_cast_to_RestraintSetGeometry(o)
2604 RestraintSetGeometry_swigregister = _IMP_display.RestraintSetGeometry_swigregister
2605 RestraintSetGeometry_swigregister(RestraintSetGeometry)
2609 PivyWriter= _pivy.get_writer(Writer)
2610 _object_types.append(
'PivyWriter')
2614 """get_module_version() -> std::string const"""
2615 return _IMP_display.get_module_version()
2618 """get_example_path(std::string fname) -> std::string"""
2619 return _IMP_display.get_example_path(fname)
2622 """get_data_path(std::string fname) -> std::string"""
2623 return _IMP_display.get_data_path(fname)
2625 from .
import _version_check
CheckLevel get_check_level()
Get the current audit mode.
Color get_rgb_color(double f)
Return the color for f from the RGB color map.
Make CGAL functionality available to IMP.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
double get_linear_color_map_value(double min, double max, double value)
Color get_interpolated_rgb(const Color &a, const Color &b, double f)
Return a color interpolated between a and b in RGB space.
Color get_hot_color(double f)
Return the color for f from the hot color map.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Common base class for heavy weight IMP objects.
SurfaceGeometry * create_geometry(const Surface s, std::string name=std::string("SurfaceGeometry%1%"))
Create a geometry from a Surface.
Color get_display_color(unsigned int i)
Version and module information for Objects.
Writer * create_writer(std::string filename)
Color get_gnuplot_color(double f)
Return colors using the gnuplot default color map.
Interface to specialized Particle types (e.g. atoms)
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Shared optimizer state that is invoked upon commitment of new coordinates.
Color get_gray_color(double f)
Return the a grayscale value for f.
Color get_jet_color(double f)
Return the color for f from the jet color map.
std::string get_module_version()
Return the version of this module, as a string.
void add_geometry(RMF::FileHandle file, display::Geometry *r)
Add a single geometry to the file.
void add_geometries(RMF::FileHandle file, const display::GeometriesTemp &r)
Add geometries to the file.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.