11 from sys
import version_info
12 if version_info >= (2,6,0):
13 def swig_import_helper():
14 from os.path
import dirname
18 fp, pathname, description = imp.find_module(
'_IMP_display', [dirname(__file__)])
24 _mod = imp.load_module(
'_IMP_display', fp, pathname, description)
28 _IMP_display = swig_import_helper()
29 del swig_import_helper
34 _swig_property = property
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38 if (name ==
"thisown"):
return self.this.own(value)
40 if type(value).__name__ ==
'SwigPyObject':
41 self.__dict__[name] = value
43 method = class_type.__swig_setmethods__.get(name,
None)
44 if method:
return method(self,value)
46 self.__dict__[name] = value
48 raise AttributeError(
"You cannot add attributes to %s" % self)
50 def _swig_setattr(self,class_type,name,value):
51 return _swig_setattr_nondynamic(self,class_type,name,value,0)
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)
60 try: strthis =
"proxy of " + self.this.__repr__()
62 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
67 except AttributeError:
74 weakref_proxy = weakref.proxy
76 weakref_proxy =
lambda x: x
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")
87 __swig_destroy__ = _IMP_display.delete_IMP_DISPLAY_SwigPyIterator
88 __del__ =
lambda self :
None;
90 """value(IMP_DISPLAY_SwigPyIterator self) -> PyObject *"""
91 return _IMP_display.IMP_DISPLAY_SwigPyIterator_value(self)
95 incr(IMP_DISPLAY_SwigPyIterator self, size_t n=1) -> IMP_DISPLAY_SwigPyIterator
96 incr(IMP_DISPLAY_SwigPyIterator self) -> IMP_DISPLAY_SwigPyIterator
98 return _IMP_display.IMP_DISPLAY_SwigPyIterator_incr(self, n)
102 decr(IMP_DISPLAY_SwigPyIterator self, size_t n=1) -> IMP_DISPLAY_SwigPyIterator
103 decr(IMP_DISPLAY_SwigPyIterator self) -> IMP_DISPLAY_SwigPyIterator
105 return _IMP_display.IMP_DISPLAY_SwigPyIterator_decr(self, n)
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)
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)
116 """copy(IMP_DISPLAY_SwigPyIterator self) -> IMP_DISPLAY_SwigPyIterator"""
117 return _IMP_display.IMP_DISPLAY_SwigPyIterator_copy(self)
120 """next(IMP_DISPLAY_SwigPyIterator self) -> PyObject *"""
121 return _IMP_display.IMP_DISPLAY_SwigPyIterator_next(self)
124 """__next__(IMP_DISPLAY_SwigPyIterator self) -> PyObject *"""
125 return _IMP_display.IMP_DISPLAY_SwigPyIterator___next__(self)
128 """previous(IMP_DISPLAY_SwigPyIterator self) -> PyObject *"""
129 return _IMP_display.IMP_DISPLAY_SwigPyIterator_previous(self)
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)
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)
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)
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)
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)
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)
155 def __sub__(self, *args):
157 __sub__(IMP_DISPLAY_SwigPyIterator self, ptrdiff_t n) -> IMP_DISPLAY_SwigPyIterator
158 __sub__(IMP_DISPLAY_SwigPyIterator self, IMP_DISPLAY_SwigPyIterator x) -> ptrdiff_t
160 return _IMP_display.IMP_DISPLAY_SwigPyIterator___sub__(self, *args)
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)
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
190 class _DirectorObjects(object):
191 """@internal Simple class to keep references to director objects
192 to prevent premature deletion."""
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)
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]
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()
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
221 """set_check_level(IMP::base::CheckLevel tf)"""
222 return _IMP_display.set_check_level(*args)
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)
239 _ostream_swigregister = _IMP_display._ostream_swigregister
240 _ostream_swigregister(_ostream)
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
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
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
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
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")
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")
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")
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")
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")
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")
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")
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")
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")
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")
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")
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")
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")
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")
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")
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")
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")
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")
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")
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")
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")
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")
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")
411 def _object_cast_to_GeometrySet(*args):
412 """_object_cast_to_GeometrySet(Object o) -> GeometrySet"""
413 return _IMP_display._object_cast_to_GeometrySet(*args)
415 return [Colored(x)
for x
in l]
416 _plural_types.append(
"Coloreds")
418 _value_types.append(
"Colored")
421 _plural_types.append(
"Colors")
422 _value_types.append(
"Color")
425 _plural_types.append(
"WriterAdaptors")
426 _value_types.append(
"WriterAdaptor")
428 _object_types.append(
"FilterGeometry")
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")
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")
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")
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")
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")
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")
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):
480 __init__(IMP::display::Color self) -> Color
481 __init__(IMP::display::Color self, double r, double g, double b) -> Color
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;
489 """get_red(Color self) -> double"""
490 return _IMP_display.Color_get_red(self)
493 """get_green(Color self) -> double"""
494 return _IMP_display.Color_get_green(self)
497 """get_blue(Color self) -> double"""
498 return _IMP_display.Color_get_blue(self)
500 def show(self, *args):
502 show(Color self, _ostream out, std::string delim)
503 show(Color self, _ostream out=std::cout)
506 return _IMP_display.Color_show(self, *args)
508 def __eq__(self, *args):
509 """__eq__(Color self, Color o) -> bool"""
510 return _IMP_display.Color___eq__(self, *args)
512 def __ne__(self, *args):
513 """__ne__(Color self, Color o) -> bool"""
514 return _IMP_display.Color___ne__(self, *args)
516 def __lt__(self, *args):
517 """__lt__(Color self, Color o) -> bool"""
518 return _IMP_display.Color___lt__(self, *args)
520 def __gt__(self, *args):
521 """__gt__(Color self, Color o) -> bool"""
522 return _IMP_display.Color___gt__(self, *args)
524 def __ge__(self, *args):
525 """__ge__(Color self, Color o) -> bool"""
526 return _IMP_display.Color___ge__(self, *args)
528 def __le__(self, *args):
529 """__le__(Color self, Color o) -> bool"""
530 return _IMP_display.Color___le__(self, *args)
533 """__str__(Color self) -> std::string"""
534 return _IMP_display.Color___str__(self)
537 """__repr__(Color self) -> std::string"""
538 return _IMP_display.Color___repr__(self)
540 Color_swigregister = _IMP_display.Color_swigregister
541 Color_swigregister(Color)
545 """get_display_color(unsigned int i) -> Color"""
546 return _IMP_display.get_display_color(*args)
549 """get_interpolated_rgb(Color a, Color b, double f) -> Color"""
550 return _IMP_display.get_interpolated_rgb(*args)
553 """get_linear_color_map_value(double min, double max, double value) -> double"""
554 return _IMP_display.get_linear_color_map_value(*args)
557 """get_jet_color(double f) -> Color"""
558 return _IMP_display.get_jet_color(*args)
561 """get_hot_color(double f) -> Color"""
562 return _IMP_display.get_hot_color(*args)
565 """get_rgb_color(double f) -> Color"""
566 return _IMP_display.get_rgb_color(*args)
569 """get_grey_color(double f) -> Color"""
570 return _IMP_display.get_grey_color(*args)
573 """get_gnuplot_color(double f) -> Color"""
574 return _IMP_display.get_gnuplot_color(*args)
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):
585 __init__(IMP::display::Geometry self, std::string name) -> Geometry
586 __init__(IMP::display::Geometry self, Color c, std::string name) -> Geometry
588 if self.__class__ == Geometry:
592 this = _IMP_display.new_Geometry(_self, *args)
593 try: self.this.append(this)
594 except: self.this = this
595 if self.__class__ != Geometry:
597 IMP.base._director_objects.register(self)
602 """get_color(Geometry self) -> Color"""
603 return _IMP_display.Geometry_get_color(self)
605 def get_has_color(self):
606 """get_has_color(Geometry self) -> bool"""
607 return _IMP_display.Geometry_get_has_color(self)
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)
613 def set_color(self, *args):
614 """set_color(Geometry self, Color c)"""
615 return _IMP_display.Geometry_set_color(self, *args)
617 def get_components(self):
618 """get_components(Geometry self) -> IMP::display::Geometries"""
619 return _IMP_display.Geometry_get_components(self)
621 __swig_destroy__ = _IMP_display.delete_Geometry
622 __del__ =
lambda self :
None;
624 """__str__(Geometry self) -> std::string"""
625 return _IMP_display.Geometry___str__(self)
628 """__repr__(Geometry self) -> std::string"""
629 return _IMP_display.Geometry___repr__(self)
632 return _object_cast_to_Geometry(o)
633 get_from = staticmethod(get_from)
635 def get_type_name(self):
636 return self.__class__.__name__
637 def do_show(self, out):
639 def get_version_info(self):
640 if"IMP::display" ==
"IMP":
641 return VersionInfo(
"python",
"0")
643 return IMP.VersionInfo(
"python",
"0")
645 return _object_cast_to_Geometry(o)
646 get_from = staticmethod(get_from)
648 def __disown__(self):
650 _IMP_display.disown_Geometry(self)
651 return weakref_proxy(self)
652 Geometry_swigregister = _IMP_display.Geometry_swigregister
653 Geometry_swigregister(Geometry)
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):
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
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)
677 def get_version_info(self):
678 """get_version_info(GeometrySet self) -> VersionInfo"""
679 return _IMP_display.GeometrySet_get_version_info(self)
681 __swig_destroy__ = _IMP_display.delete_GeometrySet
682 __del__ =
lambda self :
None;
684 """__str__(GeometrySet self) -> std::string"""
685 return _IMP_display.GeometrySet___str__(self)
688 """__repr__(GeometrySet self) -> std::string"""
689 return _IMP_display.GeometrySet___repr__(self)
692 return _object_cast_to_GeometrySet(o)
693 get_from = staticmethod(get_from)
695 GeometrySet_swigregister = _IMP_display.GeometrySet_swigregister
696 GeometrySet_swigregister(GeometrySet)
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):
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
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)
720 def set_geometry(self, *args):
721 """set_geometry(SphereGeometry self, Sphere3D v)"""
722 return _IMP_display.SphereGeometry_set_geometry(self, *args)
724 def get_version_info(self):
725 """get_version_info(SphereGeometry self) -> VersionInfo"""
726 return _IMP_display.SphereGeometry_get_version_info(self)
728 __swig_destroy__ = _IMP_display.delete_SphereGeometry
729 __del__ =
lambda self :
None;
731 """__str__(SphereGeometry self) -> std::string"""
732 return _IMP_display.SphereGeometry___str__(self)
735 """__repr__(SphereGeometry self) -> std::string"""
736 return _IMP_display.SphereGeometry___repr__(self)
739 return _object_cast_to_SphereGeometry(o)
740 get_from = staticmethod(get_from)
742 SphereGeometry_swigregister = _IMP_display.SphereGeometry_swigregister
743 SphereGeometry_swigregister(SphereGeometry)
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):
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
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)
767 def set_geometry(self, *args):
768 """set_geometry(CylinderGeometry self, Cylinder3D v)"""
769 return _IMP_display.CylinderGeometry_set_geometry(self, *args)
771 def get_version_info(self):
772 """get_version_info(CylinderGeometry self) -> VersionInfo"""
773 return _IMP_display.CylinderGeometry_get_version_info(self)
775 __swig_destroy__ = _IMP_display.delete_CylinderGeometry
776 __del__ =
lambda self :
None;
778 """__str__(CylinderGeometry self) -> std::string"""
779 return _IMP_display.CylinderGeometry___str__(self)
782 """__repr__(CylinderGeometry self) -> std::string"""
783 return _IMP_display.CylinderGeometry___repr__(self)
786 return _object_cast_to_CylinderGeometry(o)
787 get_from = staticmethod(get_from)
789 CylinderGeometry_swigregister = _IMP_display.CylinderGeometry_swigregister
790 CylinderGeometry_swigregister(CylinderGeometry)
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):
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
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)
814 def set_geometry(self, *args):
815 """set_geometry(EllipsoidGeometry self, Ellipsoid3D v)"""
816 return _IMP_display.EllipsoidGeometry_set_geometry(self, *args)
818 def get_version_info(self):
819 """get_version_info(EllipsoidGeometry self) -> VersionInfo"""
820 return _IMP_display.EllipsoidGeometry_get_version_info(self)
822 __swig_destroy__ = _IMP_display.delete_EllipsoidGeometry
823 __del__ =
lambda self :
None;
825 """__str__(EllipsoidGeometry self) -> std::string"""
826 return _IMP_display.EllipsoidGeometry___str__(self)
829 """__repr__(EllipsoidGeometry self) -> std::string"""
830 return _IMP_display.EllipsoidGeometry___repr__(self)
833 return _object_cast_to_EllipsoidGeometry(o)
834 get_from = staticmethod(get_from)
836 EllipsoidGeometry_swigregister = _IMP_display.EllipsoidGeometry_swigregister
837 EllipsoidGeometry_swigregister(EllipsoidGeometry)
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):
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
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)
861 def set_geometry(self, *args):
862 """set_geometry(PointGeometry self, Vector3D v)"""
863 return _IMP_display.PointGeometry_set_geometry(self, *args)
865 def get_version_info(self):
866 """get_version_info(PointGeometry self) -> VersionInfo"""
867 return _IMP_display.PointGeometry_get_version_info(self)
869 __swig_destroy__ = _IMP_display.delete_PointGeometry
870 __del__ =
lambda self :
None;
872 """__str__(PointGeometry self) -> std::string"""
873 return _IMP_display.PointGeometry___str__(self)
876 """__repr__(PointGeometry self) -> std::string"""
877 return _IMP_display.PointGeometry___repr__(self)
880 return _object_cast_to_PointGeometry(o)
881 get_from = staticmethod(get_from)
883 PointGeometry_swigregister = _IMP_display.PointGeometry_swigregister
884 PointGeometry_swigregister(PointGeometry)
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):
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
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)
908 def set_geometry(self, *args):
909 """set_geometry(SegmentGeometry self, Segment3D v)"""
910 return _IMP_display.SegmentGeometry_set_geometry(self, *args)
912 def get_version_info(self):
913 """get_version_info(SegmentGeometry self) -> VersionInfo"""
914 return _IMP_display.SegmentGeometry_get_version_info(self)
916 __swig_destroy__ = _IMP_display.delete_SegmentGeometry
917 __del__ =
lambda self :
None;
919 """__str__(SegmentGeometry self) -> std::string"""
920 return _IMP_display.SegmentGeometry___str__(self)
923 """__repr__(SegmentGeometry self) -> std::string"""
924 return _IMP_display.SegmentGeometry___repr__(self)
927 return _object_cast_to_SegmentGeometry(o)
928 get_from = staticmethod(get_from)
930 SegmentGeometry_swigregister = _IMP_display.SegmentGeometry_swigregister
931 SegmentGeometry_swigregister(SegmentGeometry)
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):
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
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)
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)
959 def get_version_info(self):
960 """get_version_info(PolygonGeometry self) -> VersionInfo"""
961 return _IMP_display.PolygonGeometry_get_version_info(self)
963 __swig_destroy__ = _IMP_display.delete_PolygonGeometry
964 __del__ =
lambda self :
None;
966 """__str__(PolygonGeometry self) -> std::string"""
967 return _IMP_display.PolygonGeometry___str__(self)
970 """__repr__(PolygonGeometry self) -> std::string"""
971 return _IMP_display.PolygonGeometry___repr__(self)
974 return _object_cast_to_PolygonGeometry(o)
975 get_from = staticmethod(get_from)
977 PolygonGeometry_swigregister = _IMP_display.PolygonGeometry_swigregister
978 PolygonGeometry_swigregister(PolygonGeometry)
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):
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
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)
1002 def set_geometry(self, *args):
1003 """set_geometry(TriangleGeometry self, Triangle3D v)"""
1004 return _IMP_display.TriangleGeometry_set_geometry(self, *args)
1006 def get_version_info(self):
1007 """get_version_info(TriangleGeometry self) -> VersionInfo"""
1008 return _IMP_display.TriangleGeometry_get_version_info(self)
1010 __swig_destroy__ = _IMP_display.delete_TriangleGeometry
1011 __del__ =
lambda self :
None;
1013 """__str__(TriangleGeometry self) -> std::string"""
1014 return _IMP_display.TriangleGeometry___str__(self)
1017 """__repr__(TriangleGeometry self) -> std::string"""
1018 return _IMP_display.TriangleGeometry___repr__(self)
1021 return _object_cast_to_TriangleGeometry(o)
1022 get_from = staticmethod(get_from)
1024 TriangleGeometry_swigregister = _IMP_display.TriangleGeometry_swigregister
1025 TriangleGeometry_swigregister(TriangleGeometry)
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):
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
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)
1049 def set_geometry(self, *args):
1050 """set_geometry(BoundingBoxGeometry self, BoundingBox3D v)"""
1051 return _IMP_display.BoundingBoxGeometry_set_geometry(self, *args)
1053 def get_version_info(self):
1054 """get_version_info(BoundingBoxGeometry self) -> VersionInfo"""
1055 return _IMP_display.BoundingBoxGeometry_get_version_info(self)
1057 __swig_destroy__ = _IMP_display.delete_BoundingBoxGeometry
1058 __del__ =
lambda self :
None;
1060 """__str__(BoundingBoxGeometry self) -> std::string"""
1061 return _IMP_display.BoundingBoxGeometry___str__(self)
1064 """__repr__(BoundingBoxGeometry self) -> std::string"""
1065 return _IMP_display.BoundingBoxGeometry___repr__(self)
1068 return _object_cast_to_BoundingBoxGeometry(o)
1069 get_from = staticmethod(get_from)
1071 BoundingBoxGeometry_swigregister = _IMP_display.BoundingBoxGeometry_swigregister
1072 BoundingBoxGeometry_swigregister(BoundingBoxGeometry)
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):
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
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)
1096 def set_geometry(self, *args):
1097 """set_geometry(ReferenceFrameGeometry self, ReferenceFrame3D v)"""
1098 return _IMP_display.ReferenceFrameGeometry_set_geometry(self, *args)
1100 def get_version_info(self):
1101 """get_version_info(ReferenceFrameGeometry self) -> VersionInfo"""
1102 return _IMP_display.ReferenceFrameGeometry_get_version_info(self)
1104 __swig_destroy__ = _IMP_display.delete_ReferenceFrameGeometry
1105 __del__ =
lambda self :
None;
1107 """__str__(ReferenceFrameGeometry self) -> std::string"""
1108 return _IMP_display.ReferenceFrameGeometry___str__(self)
1111 """__repr__(ReferenceFrameGeometry self) -> std::string"""
1112 return _IMP_display.ReferenceFrameGeometry___repr__(self)
1115 return _object_cast_to_ReferenceFrameGeometry(o)
1116 get_from = staticmethod(get_from)
1118 ReferenceFrameGeometry_swigregister = _IMP_display.ReferenceFrameGeometry_swigregister
1119 ReferenceFrameGeometry_swigregister(ReferenceFrameGeometry)
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
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):
1154 __init__(IMP::display::LabelGeometry self, Sphere3D loc, std::string text) -> LabelGeometry
1155 __init__(IMP::display::LabelGeometry self, Vector3D loc, std::string text) -> LabelGeometry
1157 this = _IMP_display.new_LabelGeometry(*args)
1158 try: self.this.append(this)
1159 except: self.this = this
1161 """get_text(LabelGeometry self) -> std::string"""
1162 return _IMP_display.LabelGeometry_get_text(self)
1164 def get_location(self):
1165 """get_location(LabelGeometry self) -> Sphere3D"""
1166 return _IMP_display.LabelGeometry_get_location(self)
1168 def get_version_info(self):
1169 """get_version_info(LabelGeometry self) -> VersionInfo"""
1170 return _IMP_display.LabelGeometry_get_version_info(self)
1172 __swig_destroy__ = _IMP_display.delete_LabelGeometry
1173 __del__ =
lambda self :
None;
1175 """__str__(LabelGeometry self) -> std::string"""
1176 return _IMP_display.LabelGeometry___str__(self)
1179 """__repr__(LabelGeometry self) -> std::string"""
1180 return _IMP_display.LabelGeometry___repr__(self)
1183 return _object_cast_to_LabelGeometry(o)
1184 get_from = staticmethod(get_from)
1186 LabelGeometry_swigregister = _IMP_display.LabelGeometry_swigregister
1187 LabelGeometry_swigregister(LabelGeometry)
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)
1206 def get_faces(self):
1207 """get_faces(SurfaceMeshGeometry self) -> IMP::Ints const &"""
1208 return _IMP_display.SurfaceMeshGeometry_get_faces(self)
1210 def get_version_info(self):
1211 """get_version_info(SurfaceMeshGeometry self) -> VersionInfo"""
1212 return _IMP_display.SurfaceMeshGeometry_get_version_info(self)
1214 __swig_destroy__ = _IMP_display.delete_SurfaceMeshGeometry
1215 __del__ =
lambda self :
None;
1217 """__str__(SurfaceMeshGeometry self) -> std::string"""
1218 return _IMP_display.SurfaceMeshGeometry___str__(self)
1221 """__repr__(SurfaceMeshGeometry self) -> std::string"""
1222 return _IMP_display.SurfaceMeshGeometry___repr__(self)
1225 return _object_cast_to_SurfaceMeshGeometry(o)
1226 get_from = staticmethod(get_from)
1228 SurfaceMeshGeometry_swigregister = _IMP_display.SurfaceMeshGeometry_swigregister
1229 SurfaceMeshGeometry_swigregister(SurfaceMeshGeometry)
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)
1248 __swig_destroy__ = _IMP_display.delete_PlaneGeometry
1249 __del__ =
lambda self :
None;
1251 """__str__(PlaneGeometry self) -> std::string"""
1252 return _IMP_display.PlaneGeometry___str__(self)
1255 """__repr__(PlaneGeometry self) -> std::string"""
1256 return _IMP_display.PlaneGeometry___repr__(self)
1259 return _object_cast_to_PlaneGeometry(o)
1260 get_from = staticmethod(get_from)
1262 PlaneGeometry_swigregister = _IMP_display.PlaneGeometry_swigregister
1263 PlaneGeometry_swigregister(PlaneGeometry)
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):
1275 __init__(IMP::display::IsosurfaceGeometry self, DenseDoubleGrid3D grid, double iso) -> IsosurfaceGeometry
1276 __init__(IMP::display::IsosurfaceGeometry self, DenseFloatGrid3D grid, double iso) -> IsosurfaceGeometry
1278 this = _IMP_display.new_IsosurfaceGeometry(*args)
1279 try: self.this.append(this)
1280 except: self.this = this
1282 """__str__(IsosurfaceGeometry self) -> std::string"""
1283 return _IMP_display.IsosurfaceGeometry___str__(self)
1286 """__repr__(IsosurfaceGeometry self) -> std::string"""
1287 return _IMP_display.IsosurfaceGeometry___repr__(self)
1290 return _object_cast_to_IsosurfaceGeometry(o)
1291 get_from = staticmethod(get_from)
1293 __swig_destroy__ = _IMP_display.delete_IsosurfaceGeometry
1294 __del__ =
lambda self :
None;
1295 IsosurfaceGeometry_swigregister = _IMP_display.IsosurfaceGeometry_swigregister
1296 IsosurfaceGeometry_swigregister(IsosurfaceGeometry)
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
1312 """__str__(SkinSurfaceGeometry self) -> std::string"""
1313 return _IMP_display.SkinSurfaceGeometry___str__(self)
1316 """__repr__(SkinSurfaceGeometry self) -> std::string"""
1317 return _IMP_display.SkinSurfaceGeometry___repr__(self)
1320 return _object_cast_to_SkinSurfaceGeometry(o)
1321 get_from = staticmethod(get_from)
1323 __swig_destroy__ = _IMP_display.delete_SkinSurfaceGeometry
1324 __del__ =
lambda self :
None;
1325 SkinSurfaceGeometry_swigregister = _IMP_display.SkinSurfaceGeometry_swigregister
1326 SkinSurfaceGeometry_swigregister(SkinSurfaceGeometry)
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
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)
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:
1357 this = _IMP_display.new_Writer(_self, *args)
1358 try: self.this.append(this)
1359 except: self.this = this
1360 if self.__class__ != Writer:
1362 IMP.base._director_objects.register(self)
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)
1372 def get_frame(self):
1373 """get_frame(Writer self) -> int"""
1374 return _IMP_display.Writer_get_frame(self)
1376 def add_geometry(self, *args):
1378 add_geometry(Writer self, Geometry g)
1379 add_geometry(Writer self, IMP::display::Geometries const & g)
1381 return _IMP_display.Writer_add_geometry(self, *args)
1384 """do_close(Writer self)"""
1385 return _IMP_display.Writer_do_close(self)
1388 """do_open(Writer self)"""
1389 return _IMP_display.Writer_do_open(self)
1391 def do_set_frame(self):
1392 """do_set_frame(Writer self)"""
1393 return _IMP_display.Writer_do_set_frame(self)
1396 """__str__(Writer self) -> std::string"""
1397 return _IMP_display.Writer___str__(self)
1400 """__repr__(Writer self) -> std::string"""
1401 return _IMP_display.Writer___repr__(self)
1404 return _object_cast_to_Writer(o)
1405 get_from = staticmethod(get_from)
1407 def get_type_name(self):
1408 return self.__class__.__name__
1409 def do_show(self, out):
1411 def get_version_info(self):
1412 if"IMP::display" ==
"IMP":
1413 return VersionInfo(
"python",
"0")
1415 return IMP.VersionInfo(
"python",
"0")
1417 return _object_cast_to_Writer(o)
1418 get_from = staticmethod(get_from)
1420 def __disown__(self):
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
1468 Writer_swigregister = _IMP_display.Writer_swigregister
1469 Writer_swigregister(Writer)
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)
1480 """open(TextWriter self)"""
1481 return _IMP_display.TextWriter_open(self)
1483 def get_stream(self):
1484 """get_stream(TextWriter self) -> _ostream"""
1485 return _IMP_display.TextWriter_get_stream(self)
1487 def do_set_frame(self):
1488 """do_set_frame(TextWriter self)"""
1489 return _IMP_display.TextWriter_do_set_frame(self)
1491 def __init__(self, *args):
1493 __init__(IMP::display::TextWriter self, TextOutput fn) -> TextWriter
1494 __init__(IMP::display::TextWriter self, std::string name) -> TextWriter
1496 if self.__class__ == TextWriter:
1500 this = _IMP_display.new_TextWriter(_self, *args)
1501 try: self.this.append(this)
1502 except: self.this = this
1503 if self.__class__ != TextWriter:
1505 IMP.base._director_objects.register(self)
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)
1513 __swig_destroy__ = _IMP_display.delete_TextWriter
1514 __del__ =
lambda self :
None;
1516 """__str__(TextWriter self) -> std::string"""
1517 return _IMP_display.TextWriter___str__(self)
1520 """__repr__(TextWriter self) -> std::string"""
1521 return _IMP_display.TextWriter___repr__(self)
1524 return _object_cast_to_TextWriter(o)
1525 get_from = staticmethod(get_from)
1527 def get_type_name(self):
1528 return self.__class__.__name__
1529 def do_show(self, out):
1531 def get_version_info(self):
1532 if"IMP::display" ==
"IMP":
1533 return VersionInfo(
"python",
"0")
1535 return IMP.VersionInfo(
"python",
"0")
1537 return _object_cast_to_TextWriter(o)
1538 get_from = staticmethod(get_from)
1540 def __disown__(self):
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
1589 """do_close(TextWriter self)"""
1590 return _IMP_display.TextWriter_do_close(self)
1593 """do_open(TextWriter self)"""
1594 return _IMP_display.TextWriter_do_open(self)
1596 TextWriter_swigregister = _IMP_display.TextWriter_swigregister
1597 TextWriter_swigregister(TextWriter)
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):
1613 __init__(IMP::display::WriterAdaptor self, std::string name) -> WriterAdaptor
1614 __init__(IMP::display::WriterAdaptor self, Writer w) -> WriterAdaptor
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)
1623 def show(self, *args):
1625 show(WriterAdaptor self, _ostream out=std::cout)
1626 show(WriterAdaptor self)
1628 return _IMP_display.WriterAdaptor_show(self, *args)
1630 __swig_destroy__ = _IMP_display.delete_WriterAdaptor
1631 __del__ =
lambda self :
None;
1633 """__str__(WriterAdaptor self) -> std::string"""
1634 return _IMP_display.WriterAdaptor___str__(self)
1637 """__repr__(WriterAdaptor self) -> std::string"""
1638 return _IMP_display.WriterAdaptor___repr__(self)
1640 WriterAdaptor_swigregister = _IMP_display.WriterAdaptor_swigregister
1641 WriterAdaptor_swigregister(WriterAdaptor)
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):
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
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)
1664 __swig_destroy__ = _IMP_display.delete_BildWriter
1665 __del__ =
lambda self :
None;
1667 """__str__(BildWriter self) -> std::string"""
1668 return _IMP_display.BildWriter___str__(self)
1671 """__repr__(BildWriter self) -> std::string"""
1672 return _IMP_display.BildWriter___repr__(self)
1675 return _object_cast_to_BildWriter(o)
1676 get_from = staticmethod(get_from)
1678 BildWriter_swigregister = _IMP_display.BildWriter_swigregister
1679 BildWriter_swigregister(BildWriter)
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):
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
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)
1702 __swig_destroy__ = _IMP_display.delete_ChimeraWriter
1703 __del__ =
lambda self :
None;
1705 """__str__(ChimeraWriter self) -> std::string"""
1706 return _IMP_display.ChimeraWriter___str__(self)
1709 """__repr__(ChimeraWriter self) -> std::string"""
1710 return _IMP_display.ChimeraWriter___repr__(self)
1713 return _object_cast_to_ChimeraWriter(o)
1714 get_from = staticmethod(get_from)
1716 ChimeraWriter_swigregister = _IMP_display.ChimeraWriter_swigregister
1717 ChimeraWriter_swigregister(ChimeraWriter)
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):
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
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)
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)
1747 """__str__(CMMWriter self) -> std::string"""
1748 return _IMP_display.CMMWriter___str__(self)
1751 """__repr__(CMMWriter self) -> std::string"""
1752 return _IMP_display.CMMWriter___repr__(self)
1755 return _object_cast_to_CMMWriter(o)
1756 get_from = staticmethod(get_from)
1758 CMMWriter_swigregister = _IMP_display.CMMWriter_swigregister
1759 CMMWriter_swigregister(CMMWriter)
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)
1773 def get_color(self):
1774 """get_color(Colored self) -> Color"""
1775 return _IMP_display.Colored_get_color(self)
1777 def get_color_keys():
1778 """get_color_keys() -> IMP::kernel::FloatKeys const &"""
1779 return _IMP_display.Colored_get_color_keys()
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):
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
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)
1796 if _newclass:decorate_particle = staticmethod(decorate_particle)
1797 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
1798 def particle_is_instance(*args):
1800 particle_is_instance(Particle p) -> bool
1801 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
1803 return _IMP_display.Colored_particle_is_instance(*args)
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):
1809 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1810 get_is_setup(_ParticleAdaptor p) -> bool
1812 return _IMP_display.Colored_get_is_setup(*args)
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):
1818 show(Colored self, _ostream out=std::cout)
1821 return _IMP_display.Colored_show(self, *args)
1823 def setup_particle(*args):
1825 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Color color) -> Colored
1826 setup_particle(_ParticleAdaptor decorator, Color color) -> Colored
1828 return _IMP_display.Colored_setup_particle(*args)
1830 if _newclass:setup_particle = staticmethod(setup_particle)
1831 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
1832 def add_attribute(self, *args):
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)
1841 return _IMP_display.Colored_add_attribute(self, *args)
1843 def get_value(self, *args):
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 *
1851 return _IMP_display.Colored_get_value(self, *args)
1853 def set_value(self, *args):
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)
1861 return _IMP_display.Colored_set_value(self, *args)
1863 def remove_attribute(self, *args):
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)
1871 return _IMP_display.Colored_remove_attribute(self, *args)
1873 def has_attribute(self, *args):
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
1881 return _IMP_display.Colored_has_attribute(self, *args)
1883 def get_derivative(self, *args):
1884 """get_derivative(Colored self, FloatKey a0) -> double"""
1885 return _IMP_display.Colored_get_derivative(self, *args)
1888 """get_name(Colored self) -> std::string"""
1889 return _IMP_display.Colored_get_name(self)
1891 def clear_caches(self):
1892 """clear_caches(Colored self)"""
1893 return _IMP_display.Colored_clear_caches(self)
1895 def set_name(self, *args):
1896 """set_name(Colored self, std::string a0)"""
1897 return _IMP_display.Colored_set_name(self, *args)
1900 """set_check_level(Colored self, IMP::base::CheckLevel a0)"""
1901 return _IMP_display.Colored_set_check_level(self, *args)
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)
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)
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)
1916 """get_check_level(Colored self) -> IMP::base::CheckLevel"""
1917 return _IMP_display.Colored_get_check_level(self)
1919 def __eq__(self, *args):
1921 __eq__(Colored self, Colored o) -> bool
1922 __eq__(Colored self, Particle d) -> bool
1924 return _IMP_display.Colored___eq__(self, *args)
1926 def __ne__(self, *args):
1928 __ne__(Colored self, Colored o) -> bool
1929 __ne__(Colored self, Particle d) -> bool
1931 return _IMP_display.Colored___ne__(self, *args)
1933 def __le__(self, *args):
1935 __le__(Colored self, Colored o) -> bool
1936 __le__(Colored self, Particle d) -> bool
1938 return _IMP_display.Colored___le__(self, *args)
1940 def __lt__(self, *args):
1942 __lt__(Colored self, Colored o) -> bool
1943 __lt__(Colored self, Particle d) -> bool
1945 return _IMP_display.Colored___lt__(self, *args)
1947 def __ge__(self, *args):
1949 __ge__(Colored self, Colored o) -> bool
1950 __ge__(Colored self, Particle d) -> bool
1952 return _IMP_display.Colored___ge__(self, *args)
1954 def __gt__(self, *args):
1956 __gt__(Colored self, Colored o) -> bool
1957 __gt__(Colored self, Particle d) -> bool
1959 return _IMP_display.Colored___gt__(self, *args)
1962 """__str__(Colored self) -> std::string"""
1963 return _IMP_display.Colored___str__(self)
1966 """__repr__(Colored self) -> std::string"""
1967 return _IMP_display.Colored___repr__(self)
1969 __swig_destroy__ = _IMP_display.delete_Colored
1970 __del__ =
lambda self :
None;
1971 Colored_swigregister = _IMP_display.Colored_swigregister
1972 Colored_swigregister(Colored)
1974 def Colored_get_color_keys():
1975 """Colored_get_color_keys() -> IMP::kernel::FloatKeys const &"""
1976 return _IMP_display.Colored_get_color_keys()
1978 def Colored_decorate_particle(*args):
1979 """Colored_decorate_particle(Particle p) -> Colored"""
1980 return _IMP_display.Colored_decorate_particle(*args)
1982 def Colored_particle_is_instance(*args):
1984 particle_is_instance(Particle p) -> bool
1985 Colored_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
1987 return _IMP_display.Colored_particle_is_instance(*args)
1989 def Colored_get_is_setup(*args):
1991 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1992 Colored_get_is_setup(_ParticleAdaptor p) -> bool
1994 return _IMP_display.Colored_get_is_setup(*args)
1996 def Colored_setup_particle(*args):
1998 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Color color) -> Colored
1999 Colored_setup_particle(_ParticleAdaptor decorator, Color color) -> Colored
2001 return _IMP_display.Colored_setup_particle(*args)
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):
2022 add_geometry(FilterGeometry self, Geometry g)
2023 add_geometry(FilterGeometry self, IMP::display::Geometries const & g)
2025 return _IMP_display.FilterGeometry_add_geometry(self, *args)
2027 def get_version_info(self):
2028 """get_version_info(FilterGeometry self) -> VersionInfo"""
2029 return _IMP_display.FilterGeometry_get_version_info(self)
2031 __swig_destroy__ = _IMP_display.delete_FilterGeometry
2032 __del__ =
lambda self :
None;
2034 """__str__(FilterGeometry self) -> std::string"""
2035 return _IMP_display.FilterGeometry___str__(self)
2038 """__repr__(FilterGeometry self) -> std::string"""
2039 return _IMP_display.FilterGeometry___repr__(self)
2042 return _object_cast_to_FilterGeometry(o)
2043 get_from = staticmethod(get_from)
2045 FilterGeometry_swigregister = _IMP_display.FilterGeometry_swigregister
2046 FilterGeometry_swigregister(FilterGeometry)
2049 """Proxy of C++ IMP::display::WriteOptimizerState class"""
2050 __swig_setmethods__ = {}
2052 __setattr__ =
lambda self, name, value: _swig_setattr(self, WriteOptimizerState, name, value)
2053 __swig_getmethods__ = {}
2055 __getattr__ =
lambda self, name: _swig_getattr(self, WriteOptimizerState, name)
2056 def __init__(self, *args):
2058 __init__(IMP::display::WriteOptimizerState self, WriterAdaptor w) -> WriteOptimizerState
2059 __init__(IMP::display::WriteOptimizerState self, Model m, WriterAdaptor w) -> WriteOptimizerState
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)
2068 def remove_geometry(self, *args):
2069 """remove_geometry(WriteOptimizerState self, Geometry d)"""
2070 return _IMP_display.WriteOptimizerState_remove_geometry(self, *args)
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)
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)
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)
2084 def add_geometry(self, *args):
2085 """add_geometry(WriteOptimizerState self, Geometry obj) -> unsigned int"""
2086 return _IMP_display.WriteOptimizerState_add_geometry(self, *args)
2089 """add_geometries(WriteOptimizerState self, IMP::display::Geometries const & objs)"""
2090 return _IMP_display.WriteOptimizerState_add_geometries(self, *args)
2092 def clear_geometries(self):
2093 """clear_geometries(WriteOptimizerState self)"""
2094 return _IMP_display.WriteOptimizerState_clear_geometries(self)
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)
2100 def get_has_geometries(self):
2101 """get_has_geometries(WriteOptimizerState self) -> bool"""
2102 return _IMP_display.WriteOptimizerState_get_has_geometries(self)
2104 def get_geometry(self, *args):
2105 """get_geometry(WriteOptimizerState self, unsigned int i) -> Geometry"""
2106 return _IMP_display.WriteOptimizerState_get_geometry(self, *args)
2108 def get_geometries(self):
2109 """get_geometries(WriteOptimizerState self) -> IMP::display::Geometries"""
2110 return _IMP_display.WriteOptimizerState_get_geometries(self)
2112 def reserve_geometries(self, *args):
2113 """reserve_geometries(WriteOptimizerState self, unsigned int sz)"""
2114 return _IMP_display.WriteOptimizerState_reserve_geometries(self, *args)
2116 def get_version_info(self):
2117 """get_version_info(WriteOptimizerState self) -> VersionInfo"""
2118 return _IMP_display.WriteOptimizerState_get_version_info(self)
2120 __swig_destroy__ = _IMP_display.delete_WriteOptimizerState
2121 __del__ =
lambda self :
None;
2123 """__str__(WriteOptimizerState self) -> std::string"""
2124 return _IMP_display.WriteOptimizerState___str__(self)
2127 """__repr__(WriteOptimizerState self) -> std::string"""
2128 return _IMP_display.WriteOptimizerState___repr__(self)
2131 return _object_cast_to_WriteOptimizerState(o)
2132 get_from = staticmethod(get_from)
2134 WriteOptimizerState_swigregister = _IMP_display.WriteOptimizerState_swigregister
2135 WriteOptimizerState_swigregister(WriteOptimizerState)
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)
2154 __swig_destroy__ = _IMP_display.delete_SingletonGeometry
2155 __del__ =
lambda self :
None;
2157 """__str__(SingletonGeometry self) -> std::string"""
2158 return _IMP_display.SingletonGeometry___str__(self)
2161 """__repr__(SingletonGeometry self) -> std::string"""
2162 return _IMP_display.SingletonGeometry___repr__(self)
2165 return _object_cast_to_SingletonGeometry(o)
2166 get_from = staticmethod(get_from)
2168 SingletonGeometry_swigregister = _IMP_display.SingletonGeometry_swigregister
2169 SingletonGeometry_swigregister(SingletonGeometry)
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):
2181 __init__(IMP::display::SingletonsGeometry self, SingletonContainer pc, Color c) -> SingletonsGeometry
2182 __init__(IMP::display::SingletonsGeometry self, SingletonContainer pc) -> SingletonsGeometry
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)
2191 __swig_destroy__ = _IMP_display.delete_SingletonsGeometry
2192 __del__ =
lambda self :
None;
2194 """__str__(SingletonsGeometry self) -> std::string"""
2195 return _IMP_display.SingletonsGeometry___str__(self)
2198 """__repr__(SingletonsGeometry self) -> std::string"""
2199 return _IMP_display.SingletonsGeometry___repr__(self)
2202 return _object_cast_to_SingletonsGeometry(o)
2203 get_from = staticmethod(get_from)
2205 SingletonsGeometry_swigregister = _IMP_display.SingletonsGeometry_swigregister
2206 SingletonsGeometry_swigregister(SingletonsGeometry)
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)
2225 __swig_destroy__ = _IMP_display.delete_PairGeometry
2226 __del__ =
lambda self :
None;
2228 """__str__(PairGeometry self) -> std::string"""
2229 return _IMP_display.PairGeometry___str__(self)
2232 """__repr__(PairGeometry self) -> std::string"""
2233 return _IMP_display.PairGeometry___repr__(self)
2236 return _object_cast_to_PairGeometry(o)
2237 get_from = staticmethod(get_from)
2239 PairGeometry_swigregister = _IMP_display.PairGeometry_swigregister
2240 PairGeometry_swigregister(PairGeometry)
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):
2252 __init__(IMP::display::PairsGeometry self, PairContainer pc, Color c) -> PairsGeometry
2253 __init__(IMP::display::PairsGeometry self, PairContainer pc) -> PairsGeometry
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)
2262 __swig_destroy__ = _IMP_display.delete_PairsGeometry
2263 __del__ =
lambda self :
None;
2265 """__str__(PairsGeometry self) -> std::string"""
2266 return _IMP_display.PairsGeometry___str__(self)
2269 """__repr__(PairsGeometry self) -> std::string"""
2270 return _IMP_display.PairsGeometry___repr__(self)
2273 return _object_cast_to_PairsGeometry(o)
2274 get_from = staticmethod(get_from)
2276 PairsGeometry_swigregister = _IMP_display.PairsGeometry_swigregister
2277 PairsGeometry_swigregister(PairsGeometry)
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):
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
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)
2300 __swig_destroy__ = _IMP_display.delete_PymolWriter
2301 __del__ =
lambda self :
None;
2303 """__str__(PymolWriter self) -> std::string"""
2304 return _IMP_display.PymolWriter___str__(self)
2307 """__repr__(PymolWriter self) -> std::string"""
2308 return _IMP_display.PymolWriter___repr__(self)
2311 return _object_cast_to_PymolWriter(o)
2312 get_from = staticmethod(get_from)
2314 PymolWriter_swigregister = _IMP_display.PymolWriter_swigregister
2315 PymolWriter_swigregister(PymolWriter)
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)
2334 def get_version_info(self):
2335 """get_version_info(RestraintGeometry self) -> VersionInfo"""
2336 return _IMP_display.RestraintGeometry_get_version_info(self)
2338 __swig_destroy__ = _IMP_display.delete_RestraintGeometry
2339 __del__ =
lambda self :
None;
2341 """__str__(RestraintGeometry self) -> std::string"""
2342 return _IMP_display.RestraintGeometry___str__(self)
2345 """__repr__(RestraintGeometry self) -> std::string"""
2346 return _IMP_display.RestraintGeometry___repr__(self)
2349 return _object_cast_to_RestraintGeometry(o)
2350 get_from = staticmethod(get_from)
2352 RestraintGeometry_swigregister = _IMP_display.RestraintGeometry_swigregister
2353 RestraintGeometry_swigregister(RestraintGeometry)
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)
2372 def get_version_info(self):
2373 """get_version_info(RestraintSetGeometry self) -> VersionInfo"""
2374 return _IMP_display.RestraintSetGeometry_get_version_info(self)
2376 __swig_destroy__ = _IMP_display.delete_RestraintSetGeometry
2377 __del__ =
lambda self :
None;
2379 """__str__(RestraintSetGeometry self) -> std::string"""
2380 return _IMP_display.RestraintSetGeometry___str__(self)
2383 """__repr__(RestraintSetGeometry self) -> std::string"""
2384 return _IMP_display.RestraintSetGeometry___repr__(self)
2387 return _object_cast_to_RestraintSetGeometry(o)
2388 get_from = staticmethod(get_from)
2390 RestraintSetGeometry_swigregister = _IMP_display.RestraintSetGeometry_swigregister
2391 RestraintSetGeometry_swigregister(RestraintSetGeometry)
2394 PivyWriter= _pivy.get_writer(Writer)
2395 _object_types.append(
'PivyWriter')
2398 def get_module_version():
2399 """get_module_version() -> std::string const"""
2400 return _IMP_display.get_module_version()
2402 def get_example_path(*args):
2403 """get_example_path(std::string fname) -> std::string"""
2404 return _IMP_display.get_example_path(*args)
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())
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.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
See IMP.base for more information.
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.
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.