9 from sys
import version_info
10 if version_info >= (2,6,0):
11 def swig_import_helper():
12 from os.path
import dirname
16 fp, pathname, description = imp.find_module(
'_IMP_display', [dirname(__file__)])
22 _mod = imp.load_module(
'_IMP_display', fp, pathname, description)
26 _IMP_display = swig_import_helper()
27 del swig_import_helper
32 _swig_property = property
35 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
36 if (name ==
"thisown"):
return self.this.own(value)
38 if type(value).__name__ ==
'SwigPyObject':
39 self.__dict__[name] = value
41 method = class_type.__swig_setmethods__.get(name,
None)
42 if method:
return method(self,value)
44 self.__dict__[name] = value
46 raise AttributeError(
"You cannot add attributes to %s" % self)
48 def _swig_setattr(self,class_type,name,value):
49 return _swig_setattr_nondynamic(self,class_type,name,value,0)
51 def _swig_getattr(self,class_type,name):
52 if (name ==
"thisown"):
return self.this.own()
53 method = class_type.__swig_getmethods__.get(name,
None)
54 if method:
return method(self)
55 raise AttributeError(name)
58 try: strthis =
"proxy of " + self.this.__repr__()
60 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
65 except AttributeError:
72 weakref_proxy = weakref.proxy
74 weakref_proxy =
lambda x: x
77 class IMP_DISPLAY_SwigPyIterator(_object):
78 """Proxy of C++ swig::IMP_DISPLAY_SwigPyIterator class"""
79 __swig_setmethods__ = {}
80 __setattr__ =
lambda self, name, value: _swig_setattr(self, IMP_DISPLAY_SwigPyIterator, name, value)
81 __swig_getmethods__ = {}
82 __getattr__ =
lambda self, name: _swig_getattr(self, IMP_DISPLAY_SwigPyIterator, name)
83 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
85 __swig_destroy__ = _IMP_display.delete_IMP_DISPLAY_SwigPyIterator
86 __del__ =
lambda self :
None;
88 """value(IMP_DISPLAY_SwigPyIterator self) -> PyObject *"""
89 return _IMP_display.IMP_DISPLAY_SwigPyIterator_value(self)
93 incr(IMP_DISPLAY_SwigPyIterator self, size_t n=1) -> IMP_DISPLAY_SwigPyIterator
94 incr(IMP_DISPLAY_SwigPyIterator self) -> IMP_DISPLAY_SwigPyIterator
96 return _IMP_display.IMP_DISPLAY_SwigPyIterator_incr(self, n)
100 decr(IMP_DISPLAY_SwigPyIterator self, size_t n=1) -> IMP_DISPLAY_SwigPyIterator
101 decr(IMP_DISPLAY_SwigPyIterator self) -> IMP_DISPLAY_SwigPyIterator
103 return _IMP_display.IMP_DISPLAY_SwigPyIterator_decr(self, n)
105 def distance(self, *args):
106 """distance(IMP_DISPLAY_SwigPyIterator self, IMP_DISPLAY_SwigPyIterator x) -> ptrdiff_t"""
107 return _IMP_display.IMP_DISPLAY_SwigPyIterator_distance(self, *args)
109 def equal(self, *args):
110 """equal(IMP_DISPLAY_SwigPyIterator self, IMP_DISPLAY_SwigPyIterator x) -> bool"""
111 return _IMP_display.IMP_DISPLAY_SwigPyIterator_equal(self, *args)
114 """copy(IMP_DISPLAY_SwigPyIterator self) -> IMP_DISPLAY_SwigPyIterator"""
115 return _IMP_display.IMP_DISPLAY_SwigPyIterator_copy(self)
118 """next(IMP_DISPLAY_SwigPyIterator self) -> PyObject *"""
119 return _IMP_display.IMP_DISPLAY_SwigPyIterator_next(self)
122 """__next__(IMP_DISPLAY_SwigPyIterator self) -> PyObject *"""
123 return _IMP_display.IMP_DISPLAY_SwigPyIterator___next__(self)
126 """previous(IMP_DISPLAY_SwigPyIterator self) -> PyObject *"""
127 return _IMP_display.IMP_DISPLAY_SwigPyIterator_previous(self)
129 def advance(self, *args):
130 """advance(IMP_DISPLAY_SwigPyIterator self, ptrdiff_t n) -> IMP_DISPLAY_SwigPyIterator"""
131 return _IMP_display.IMP_DISPLAY_SwigPyIterator_advance(self, *args)
133 def __eq__(self, *args):
134 """__eq__(IMP_DISPLAY_SwigPyIterator self, IMP_DISPLAY_SwigPyIterator x) -> bool"""
135 return _IMP_display.IMP_DISPLAY_SwigPyIterator___eq__(self, *args)
137 def __ne__(self, *args):
138 """__ne__(IMP_DISPLAY_SwigPyIterator self, IMP_DISPLAY_SwigPyIterator x) -> bool"""
139 return _IMP_display.IMP_DISPLAY_SwigPyIterator___ne__(self, *args)
141 def __iadd__(self, *args):
142 """__iadd__(IMP_DISPLAY_SwigPyIterator self, ptrdiff_t n) -> IMP_DISPLAY_SwigPyIterator"""
143 return _IMP_display.IMP_DISPLAY_SwigPyIterator___iadd__(self, *args)
145 def __isub__(self, *args):
146 """__isub__(IMP_DISPLAY_SwigPyIterator self, ptrdiff_t n) -> IMP_DISPLAY_SwigPyIterator"""
147 return _IMP_display.IMP_DISPLAY_SwigPyIterator___isub__(self, *args)
149 def __add__(self, *args):
150 """__add__(IMP_DISPLAY_SwigPyIterator self, ptrdiff_t n) -> IMP_DISPLAY_SwigPyIterator"""
151 return _IMP_display.IMP_DISPLAY_SwigPyIterator___add__(self, *args)
153 def __sub__(self, *args):
155 __sub__(IMP_DISPLAY_SwigPyIterator self, ptrdiff_t n) -> IMP_DISPLAY_SwigPyIterator
156 __sub__(IMP_DISPLAY_SwigPyIterator self, IMP_DISPLAY_SwigPyIterator x) -> ptrdiff_t
158 return _IMP_display.IMP_DISPLAY_SwigPyIterator___sub__(self, *args)
160 def __iter__(self):
return self
161 IMP_DISPLAY_SwigPyIterator_swigregister = _IMP_display.IMP_DISPLAY_SwigPyIterator_swigregister
162 IMP_DISPLAY_SwigPyIterator_swigregister(IMP_DISPLAY_SwigPyIterator)
169 IMP_HAS_DEPRECATED = _IMP_display.IMP_HAS_DEPRECATED
170 IMP_DEBUG = _IMP_display.IMP_DEBUG
171 IMP_RELEASE = _IMP_display.IMP_RELEASE
172 IMP_SILENT = _IMP_display.IMP_SILENT
173 IMP_PROGRESS = _IMP_display.IMP_PROGRESS
174 IMP_TERSE = _IMP_display.IMP_TERSE
175 IMP_VERBOSE = _IMP_display.IMP_VERBOSE
176 IMP_NONE = _IMP_display.IMP_NONE
177 IMP_USAGE = _IMP_display.IMP_USAGE
178 IMP_INTERNAL = _IMP_display.IMP_INTERNAL
179 IMP_COMPILER_HAS_AUTO = _IMP_display.IMP_COMPILER_HAS_AUTO
180 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_display.IMP_COMPILER_HAS_DEBUG_VECTOR
181 IMP_COMPILER_HAS_NULLPTR = _IMP_display.IMP_COMPILER_HAS_NULLPTR
182 IMP_BASE_HAS_BOOST_RANDOM = _IMP_display.IMP_BASE_HAS_BOOST_RANDOM
183 IMP_BASE_HAS_GPERFTOOLS = _IMP_display.IMP_BASE_HAS_GPERFTOOLS
184 IMP_BASE_HAS_LOG4CXX = _IMP_display.IMP_BASE_HAS_LOG4CXX
185 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_display.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
186 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_display.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 class _DirectorObjects(object):
189 """@internal Simple class to keep references to director objects
190 to prevent premature deletion."""
193 def register(self, obj):
194 """Take a reference to a director object; will only work for
195 refcounted C++ classes"""
196 if hasattr(obj,
'get_ref_count'):
197 self._objects.append(obj)
199 """Only drop our reference and allow cleanup by Python if no other
200 Python references exist (we hold 3 references: one in self._objects,
201 one in x, and one in the argument list for getrefcount) *and* no
202 other C++ references exist (the Python object always holds one)"""
203 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
204 or x.get_ref_count() > 1]
208 def get_object_count(self):
209 """Get number of director objects (useful for testing only)"""
210 return len(self._objects)
211 _director_objects = _DirectorObjects()
213 DEFAULT_CHECK = _IMP_display.DEFAULT_CHECK
214 NONE = _IMP_display.NONE
215 USAGE = _IMP_display.USAGE
216 USAGE_AND_INTERNAL = _IMP_display.USAGE_AND_INTERNAL
219 """set_check_level(IMP::base::CheckLevel tf)"""
220 return _IMP_display.set_check_level(*args)
223 """get_check_level() -> IMP::base::CheckLevel"""
224 return _IMP_display.get_check_level()
225 class _ostream(_object):
226 """Proxy of C++ std::ostream class"""
227 __swig_setmethods__ = {}
228 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ostream, name, value)
229 __swig_getmethods__ = {}
230 __getattr__ =
lambda self, name: _swig_getattr(self, _ostream, name)
231 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
232 __repr__ = _swig_repr
233 def write(self, *args):
234 """write(_ostream self, char const * osa_buf)"""
235 return _IMP_display._ostream_write(self, *args)
237 _ostream_swigregister = _IMP_display._ostream_swigregister
238 _ostream_swigregister(_ostream)
240 IMP_COMPILER_HAS_OVERRIDE = _IMP_display.IMP_COMPILER_HAS_OVERRIDE
241 IMP_COMPILER_HAS_FINAL = _IMP_display.IMP_COMPILER_HAS_FINAL
243 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_display.IMP_CGAL_HAS_BOOST_FILESYSTEM
244 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_display.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
245 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_display.IMP_CGAL_HAS_BOOST_RANDOM
246 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_display.IMP_CGAL_HAS_BOOST_SYSTEM
248 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_display.IMP_ALGEBRA_HAS_IMP_CGAL
249 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_display.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
250 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_display.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
251 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_display.IMP_ALGEBRA_HAS_BOOST_RANDOM
252 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_display.IMP_ALGEBRA_HAS_BOOST_SYSTEM
253 IMP_ALGEBRA_HAS_CGAL = _IMP_display.IMP_ALGEBRA_HAS_CGAL
254 IMP_ALGEBRA_HAS_ANN = _IMP_display.IMP_ALGEBRA_HAS_ANN
256 IMP_KERNEL_HAS_IMP_CGAL = _IMP_display.IMP_KERNEL_HAS_IMP_CGAL
257 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_display.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
258 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_display.IMP_KERNEL_HAS_BOOST_RANDOM
259 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_display.IMP_KERNEL_HAS_BOOST_SYSTEM
260 IMP_KERNEL_HAS_CGAL = _IMP_display.IMP_KERNEL_HAS_CGAL
262 IMP_DISPLAY_HAS_IMP_BASE = _IMP_display.IMP_DISPLAY_HAS_IMP_BASE
263 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_display.IMP_DISPLAY_HAS_IMP_CGAL
264 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_display.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
265 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_display.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
266 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_display.IMP_DISPLAY_HAS_BOOST_RANDOM
267 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_display.IMP_DISPLAY_HAS_BOOST_SYSTEM
268 IMP_DISPLAY_HAS_CGAL = _IMP_display.IMP_DISPLAY_HAS_CGAL
269 _object_types.append(
"Writer")
272 def _object_cast_to_Writer(*args):
273 """_object_cast_to_Writer(Object o) -> Writer"""
274 return _IMP_display._object_cast_to_Writer(*args)
275 _object_types.append(
"TextWriter")
278 def _object_cast_to_TextWriter(*args):
279 """_object_cast_to_TextWriter(Object o) -> TextWriter"""
280 return _IMP_display._object_cast_to_TextWriter(*args)
281 _object_types.append(
"Geometry")
284 def _object_cast_to_Geometry(*args):
285 """_object_cast_to_Geometry(Object o) -> Geometry"""
286 return _IMP_display._object_cast_to_Geometry(*args)
287 _object_types.append(
"SingletonGeometry")
290 def _object_cast_to_SingletonGeometry(*args):
291 """_object_cast_to_SingletonGeometry(Object o) -> SingletonGeometry"""
292 return _IMP_display._object_cast_to_SingletonGeometry(*args)
293 _object_types.append(
"PairGeometry")
296 def _object_cast_to_PairGeometry(*args):
297 """_object_cast_to_PairGeometry(Object o) -> PairGeometry"""
298 return _IMP_display._object_cast_to_PairGeometry(*args)
299 _object_types.append(
"SingletonsGeometry")
302 def _object_cast_to_SingletonsGeometry(*args):
303 """_object_cast_to_SingletonsGeometry(Object o) -> SingletonsGeometry"""
304 return _IMP_display._object_cast_to_SingletonsGeometry(*args)
305 _object_types.append(
"PairsGeometry")
308 def _object_cast_to_PairsGeometry(*args):
309 """_object_cast_to_PairsGeometry(Object o) -> PairsGeometry"""
310 return _IMP_display._object_cast_to_PairsGeometry(*args)
311 _object_types.append(
"CMMWriter")
314 def _object_cast_to_CMMWriter(*args):
315 """_object_cast_to_CMMWriter(Object o) -> CMMWriter"""
316 return _IMP_display._object_cast_to_CMMWriter(*args)
317 _object_types.append(
"ChimeraWriter")
320 def _object_cast_to_ChimeraWriter(*args):
321 """_object_cast_to_ChimeraWriter(Object o) -> ChimeraWriter"""
322 return _IMP_display._object_cast_to_ChimeraWriter(*args)
323 _object_types.append(
"BildWriter")
326 def _object_cast_to_BildWriter(*args):
327 """_object_cast_to_BildWriter(Object o) -> BildWriter"""
328 return _IMP_display._object_cast_to_BildWriter(*args)
329 _object_types.append(
"PymolWriter")
332 def _object_cast_to_PymolWriter(*args):
333 """_object_cast_to_PymolWriter(Object o) -> PymolWriter"""
334 return _IMP_display._object_cast_to_PymolWriter(*args)
335 _object_types.append(
"SphereGeometry")
338 def _object_cast_to_SphereGeometry(*args):
339 """_object_cast_to_SphereGeometry(Object o) -> SphereGeometry"""
340 return _IMP_display._object_cast_to_SphereGeometry(*args)
341 _object_types.append(
"CylinderGeometry")
344 def _object_cast_to_CylinderGeometry(*args):
345 """_object_cast_to_CylinderGeometry(Object o) -> CylinderGeometry"""
346 return _IMP_display._object_cast_to_CylinderGeometry(*args)
347 _object_types.append(
"EllipsoidGeometry")
350 def _object_cast_to_EllipsoidGeometry(*args):
351 """_object_cast_to_EllipsoidGeometry(Object o) -> EllipsoidGeometry"""
352 return _IMP_display._object_cast_to_EllipsoidGeometry(*args)
353 _object_types.append(
"PointGeometry")
356 def _object_cast_to_PointGeometry(*args):
357 """_object_cast_to_PointGeometry(Object o) -> PointGeometry"""
358 return _IMP_display._object_cast_to_PointGeometry(*args)
359 _object_types.append(
"SegmentGeometry")
362 def _object_cast_to_SegmentGeometry(*args):
363 """_object_cast_to_SegmentGeometry(Object o) -> SegmentGeometry"""
364 return _IMP_display._object_cast_to_SegmentGeometry(*args)
365 _object_types.append(
"PolygonGeometry")
368 def _object_cast_to_PolygonGeometry(*args):
369 """_object_cast_to_PolygonGeometry(Object o) -> PolygonGeometry"""
370 return _IMP_display._object_cast_to_PolygonGeometry(*args)
371 _object_types.append(
"ReferenceFrameGeometry")
374 def _object_cast_to_ReferenceFrameGeometry(*args):
375 """_object_cast_to_ReferenceFrameGeometry(Object o) -> ReferenceFrameGeometry"""
376 return _IMP_display._object_cast_to_ReferenceFrameGeometry(*args)
377 _object_types.append(
"BoundingBoxGeometry")
380 def _object_cast_to_BoundingBoxGeometry(*args):
381 """_object_cast_to_BoundingBoxGeometry(Object o) -> BoundingBoxGeometry"""
382 return _IMP_display._object_cast_to_BoundingBoxGeometry(*args)
383 _object_types.append(
"LabelGeometry")
386 def _object_cast_to_LabelGeometry(*args):
387 """_object_cast_to_LabelGeometry(Object o) -> LabelGeometry"""
388 return _IMP_display._object_cast_to_LabelGeometry(*args)
389 _object_types.append(
"RestraintGeometry")
392 def _object_cast_to_RestraintGeometry(*args):
393 """_object_cast_to_RestraintGeometry(Object o) -> RestraintGeometry"""
394 return _IMP_display._object_cast_to_RestraintGeometry(*args)
395 _object_types.append(
"RestraintSetGeometry")
398 def _object_cast_to_RestraintSetGeometry(*args):
399 """_object_cast_to_RestraintSetGeometry(Object o) -> RestraintSetGeometry"""
400 return _IMP_display._object_cast_to_RestraintSetGeometry(*args)
401 _object_types.append(
"GeometrySet")
404 def _object_cast_to_GeometrySet(*args):
405 """_object_cast_to_GeometrySet(Object o) -> GeometrySet"""
406 return _IMP_display._object_cast_to_GeometrySet(*args)
408 return [Colored(x)
for x
in l]
409 _plural_types.append(
"Coloreds")
411 _value_types.append(
"Colored")
414 _plural_types.append(
"Colors")
415 _value_types.append(
"Color")
418 _plural_types.append(
"WriterAdaptors")
419 _value_types.append(
"WriterAdaptor")
421 _object_types.append(
"FilterGeometry")
424 def _object_cast_to_FilterGeometry(*args):
425 """_object_cast_to_FilterGeometry(Object o) -> FilterGeometry"""
426 return _IMP_display._object_cast_to_FilterGeometry(*args)
427 _object_types.append(
"WriteOptimizerState")
430 def _object_cast_to_WriteOptimizerState(*args):
431 """_object_cast_to_WriteOptimizerState(Object o) -> WriteOptimizerState"""
432 return _IMP_display._object_cast_to_WriteOptimizerState(*args)
433 _object_types.append(
"TriangleGeometry")
436 def _object_cast_to_TriangleGeometry(*args):
437 """_object_cast_to_TriangleGeometry(Object o) -> TriangleGeometry"""
438 return _IMP_display._object_cast_to_TriangleGeometry(*args)
439 _object_types.append(
"SurfaceMeshGeometry")
442 def _object_cast_to_SurfaceMeshGeometry(*args):
443 """_object_cast_to_SurfaceMeshGeometry(Object o) -> SurfaceMeshGeometry"""
444 return _IMP_display._object_cast_to_SurfaceMeshGeometry(*args)
445 _object_types.append(
"PlaneGeometry")
448 def _object_cast_to_PlaneGeometry(*args):
449 """_object_cast_to_PlaneGeometry(Object o) -> PlaneGeometry"""
450 return _IMP_display._object_cast_to_PlaneGeometry(*args)
451 _object_types.append(
"IsosurfaceGeometry")
454 def _object_cast_to_IsosurfaceGeometry(*args):
455 """_object_cast_to_IsosurfaceGeometry(Object o) -> IsosurfaceGeometry"""
456 return _IMP_display._object_cast_to_IsosurfaceGeometry(*args)
457 _object_types.append(
"SkinSurfaceGeometry")
460 def _object_cast_to_SkinSurfaceGeometry(*args):
461 """_object_cast_to_SkinSurfaceGeometry(Object o) -> SkinSurfaceGeometry"""
462 return _IMP_display._object_cast_to_SkinSurfaceGeometry(*args)
463 class Color(IMP.base._Value):
464 """Proxy of C++ IMP::display::Color class"""
465 __swig_setmethods__ = {}
466 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
467 __setattr__ =
lambda self, name, value: _swig_setattr(self, Color, name, value)
468 __swig_getmethods__ = {}
469 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
470 __getattr__ =
lambda self, name: _swig_getattr(self, Color, name)
471 def __init__(self, *args):
473 __init__(IMP::display::Color self) -> Color
474 __init__(IMP::display::Color self, double r, double g, double b) -> Color
476 this = _IMP_display.new_Color(*args)
477 try: self.this.append(this)
478 except: self.this = this
479 __swig_destroy__ = _IMP_display.delete_Color
480 __del__ =
lambda self :
None;
482 """get_red(Color self) -> double"""
483 return _IMP_display.Color_get_red(self)
486 """get_green(Color self) -> double"""
487 return _IMP_display.Color_get_green(self)
490 """get_blue(Color self) -> double"""
491 return _IMP_display.Color_get_blue(self)
493 def show(self, *args):
495 show(Color self, _ostream out, std::string delim)
496 show(Color self, _ostream out=std::cout)
499 return _IMP_display.Color_show(self, *args)
501 def __eq__(self, *args):
502 """__eq__(Color self, Color o) -> bool"""
503 return _IMP_display.Color___eq__(self, *args)
505 def __ne__(self, *args):
506 """__ne__(Color self, Color o) -> bool"""
507 return _IMP_display.Color___ne__(self, *args)
509 def __lt__(self, *args):
510 """__lt__(Color self, Color o) -> bool"""
511 return _IMP_display.Color___lt__(self, *args)
513 def __gt__(self, *args):
514 """__gt__(Color self, Color o) -> bool"""
515 return _IMP_display.Color___gt__(self, *args)
517 def __ge__(self, *args):
518 """__ge__(Color self, Color o) -> bool"""
519 return _IMP_display.Color___ge__(self, *args)
521 def __le__(self, *args):
522 """__le__(Color self, Color o) -> bool"""
523 return _IMP_display.Color___le__(self, *args)
526 """__str__(Color self) -> std::string"""
527 return _IMP_display.Color___str__(self)
530 """__repr__(Color self) -> std::string"""
531 return _IMP_display.Color___repr__(self)
533 Color_swigregister = _IMP_display.Color_swigregister
534 Color_swigregister(Color)
538 """get_display_color(unsigned int i) -> Color"""
539 return _IMP_display.get_display_color(*args)
542 """get_interpolated_rgb(Color a, Color b, double f) -> Color"""
543 return _IMP_display.get_interpolated_rgb(*args)
546 """get_linear_color_map_value(double min, double max, double value) -> double"""
547 return _IMP_display.get_linear_color_map_value(*args)
550 """get_jet_color(double f) -> Color"""
551 return _IMP_display.get_jet_color(*args)
554 """get_hot_color(double f) -> Color"""
555 return _IMP_display.get_hot_color(*args)
558 """get_rgb_color(double f) -> Color"""
559 return _IMP_display.get_rgb_color(*args)
562 """get_grey_color(double f) -> Color"""
563 return _IMP_display.get_grey_color(*args)
566 """get_gnuplot_color(double f) -> Color"""
567 return _IMP_display.get_gnuplot_color(*args)
569 """Proxy of C++ IMP::display::Geometry class"""
570 __swig_setmethods__ = {}
571 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
572 __setattr__ =
lambda self, name, value: _swig_setattr(self, Geometry, name, value)
573 __swig_getmethods__ = {}
574 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
575 __getattr__ =
lambda self, name: _swig_getattr(self, Geometry, name)
576 def __init__(self, *args):
578 __init__(IMP::display::Geometry self, std::string name) -> Geometry
579 __init__(IMP::display::Geometry self, Color c, std::string name) -> Geometry
581 if self.__class__ == Geometry:
585 this = _IMP_display.new_Geometry(_self, *args)
586 try: self.this.append(this)
587 except: self.this = this
588 if self.__class__ != Geometry:
590 IMP.base._director_objects.register(self)
595 """get_color(Geometry self) -> Color"""
596 return _IMP_display.Geometry_get_color(self)
598 def get_has_color(self):
599 """get_has_color(Geometry self) -> bool"""
600 return _IMP_display.Geometry_get_has_color(self)
602 def set_has_color(self, *args):
603 """set_has_color(Geometry self, bool tf)"""
604 return _IMP_display.Geometry_set_has_color(self, *args)
606 def set_color(self, *args):
607 """set_color(Geometry self, Color c)"""
608 return _IMP_display.Geometry_set_color(self, *args)
610 def get_components(self):
611 """get_components(Geometry self) -> IMP::display::Geometries"""
612 return _IMP_display.Geometry_get_components(self)
614 __swig_destroy__ = _IMP_display.delete_Geometry
615 __del__ =
lambda self :
None;
617 """__str__(Geometry self) -> std::string"""
618 return _IMP_display.Geometry___str__(self)
621 """__repr__(Geometry self) -> std::string"""
622 return _IMP_display.Geometry___repr__(self)
625 return _object_cast_to_Geometry(o)
626 get_from = staticmethod(get_from)
628 def get_type_name(self):
629 return self.__class__.__name__
630 def do_show(self, out):
632 def get_version_info(self):
633 if"IMP::display" ==
"IMP":
634 return VersionInfo(
"python",
"0")
636 return IMP.VersionInfo(
"python",
"0")
638 return _object_cast_to_Geometry(o)
639 get_from = staticmethod(get_from)
641 def __disown__(self):
643 _IMP_display.disown_Geometry(self)
644 return weakref_proxy(self)
645 Geometry_swigregister = _IMP_display.Geometry_swigregister
646 Geometry_swigregister(Geometry)
648 class GeometrySet(Geometry):
649 """Proxy of C++ IMP::display::GeometrySet class"""
650 __swig_setmethods__ = {}
651 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
652 __setattr__ =
lambda self, name, value: _swig_setattr(self, GeometrySet, name, value)
653 __swig_getmethods__ = {}
654 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
655 __getattr__ =
lambda self, name: _swig_getattr(self, GeometrySet, name)
656 def __init__(self, *args):
658 __init__(IMP::display::GeometrySet self, IMP::display::Geometries const & v) -> GeometrySet
659 __init__(IMP::display::GeometrySet self, IMP::display::Geometries const & v, Color c) -> GeometrySet
660 __init__(IMP::display::GeometrySet self, IMP::display::Geometries const & v, std::string const n) -> GeometrySet
661 __init__(IMP::display::GeometrySet self, IMP::display::Geometries const & v, Color c, std::string n) -> GeometrySet
663 this = _IMP_display.new_GeometrySet(*args)
664 try: self.this.append(this)
665 except: self.this = this
666 def get_geometry(self):
667 """get_geometry(GeometrySet self) -> IMP::display::Geometries"""
668 return _IMP_display.GeometrySet_get_geometry(self)
670 def get_version_info(self):
671 """get_version_info(GeometrySet self) -> VersionInfo"""
672 return _IMP_display.GeometrySet_get_version_info(self)
674 def do_show(self, *args):
675 """do_show(GeometrySet self, _ostream out)"""
676 return _IMP_display.GeometrySet_do_show(self, *args)
678 __swig_destroy__ = _IMP_display.delete_GeometrySet
679 __del__ =
lambda self :
None;
681 """__str__(GeometrySet self) -> std::string"""
682 return _IMP_display.GeometrySet___str__(self)
685 """__repr__(GeometrySet self) -> std::string"""
686 return _IMP_display.GeometrySet___repr__(self)
689 return _object_cast_to_GeometrySet(o)
690 get_from = staticmethod(get_from)
692 GeometrySet_swigregister = _IMP_display.GeometrySet_swigregister
693 GeometrySet_swigregister(GeometrySet)
695 class SphereGeometry(Geometry):
696 """Proxy of C++ IMP::display::SphereGeometry class"""
697 __swig_setmethods__ = {}
698 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
699 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphereGeometry, name, value)
700 __swig_getmethods__ = {}
701 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
702 __getattr__ =
lambda self, name: _swig_getattr(self, SphereGeometry, name)
703 def __init__(self, *args):
705 __init__(IMP::display::SphereGeometry self, Sphere3D v) -> SphereGeometry
706 __init__(IMP::display::SphereGeometry self, Sphere3D v, Color c) -> SphereGeometry
707 __init__(IMP::display::SphereGeometry self, Sphere3D v, std::string const n) -> SphereGeometry
708 __init__(IMP::display::SphereGeometry self, Sphere3D v, Color c, std::string n) -> SphereGeometry
710 this = _IMP_display.new_SphereGeometry(*args)
711 try: self.this.append(this)
712 except: self.this = this
713 def get_geometry(self):
714 """get_geometry(SphereGeometry self) -> Sphere3D"""
715 return _IMP_display.SphereGeometry_get_geometry(self)
717 def set_geometry(self, *args):
718 """set_geometry(SphereGeometry self, Sphere3D v)"""
719 return _IMP_display.SphereGeometry_set_geometry(self, *args)
721 def get_version_info(self):
722 """get_version_info(SphereGeometry self) -> VersionInfo"""
723 return _IMP_display.SphereGeometry_get_version_info(self)
725 def do_show(self, *args):
726 """do_show(SphereGeometry self, _ostream out)"""
727 return _IMP_display.SphereGeometry_do_show(self, *args)
729 __swig_destroy__ = _IMP_display.delete_SphereGeometry
730 __del__ =
lambda self :
None;
732 """__str__(SphereGeometry self) -> std::string"""
733 return _IMP_display.SphereGeometry___str__(self)
736 """__repr__(SphereGeometry self) -> std::string"""
737 return _IMP_display.SphereGeometry___repr__(self)
740 return _object_cast_to_SphereGeometry(o)
741 get_from = staticmethod(get_from)
743 SphereGeometry_swigregister = _IMP_display.SphereGeometry_swigregister
744 SphereGeometry_swigregister(SphereGeometry)
746 class CylinderGeometry(Geometry):
747 """Proxy of C++ IMP::display::CylinderGeometry class"""
748 __swig_setmethods__ = {}
749 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
750 __setattr__ =
lambda self, name, value: _swig_setattr(self, CylinderGeometry, name, value)
751 __swig_getmethods__ = {}
752 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
753 __getattr__ =
lambda self, name: _swig_getattr(self, CylinderGeometry, name)
754 def __init__(self, *args):
756 __init__(IMP::display::CylinderGeometry self, Cylinder3D v) -> CylinderGeometry
757 __init__(IMP::display::CylinderGeometry self, Cylinder3D v, Color c) -> CylinderGeometry
758 __init__(IMP::display::CylinderGeometry self, Cylinder3D v, std::string const n) -> CylinderGeometry
759 __init__(IMP::display::CylinderGeometry self, Cylinder3D v, Color c, std::string n) -> CylinderGeometry
761 this = _IMP_display.new_CylinderGeometry(*args)
762 try: self.this.append(this)
763 except: self.this = this
764 def get_geometry(self):
765 """get_geometry(CylinderGeometry self) -> Cylinder3D"""
766 return _IMP_display.CylinderGeometry_get_geometry(self)
768 def set_geometry(self, *args):
769 """set_geometry(CylinderGeometry self, Cylinder3D v)"""
770 return _IMP_display.CylinderGeometry_set_geometry(self, *args)
772 def get_version_info(self):
773 """get_version_info(CylinderGeometry self) -> VersionInfo"""
774 return _IMP_display.CylinderGeometry_get_version_info(self)
776 def do_show(self, *args):
777 """do_show(CylinderGeometry self, _ostream out)"""
778 return _IMP_display.CylinderGeometry_do_show(self, *args)
780 __swig_destroy__ = _IMP_display.delete_CylinderGeometry
781 __del__ =
lambda self :
None;
783 """__str__(CylinderGeometry self) -> std::string"""
784 return _IMP_display.CylinderGeometry___str__(self)
787 """__repr__(CylinderGeometry self) -> std::string"""
788 return _IMP_display.CylinderGeometry___repr__(self)
791 return _object_cast_to_CylinderGeometry(o)
792 get_from = staticmethod(get_from)
794 CylinderGeometry_swigregister = _IMP_display.CylinderGeometry_swigregister
795 CylinderGeometry_swigregister(CylinderGeometry)
797 class EllipsoidGeometry(Geometry):
798 """Proxy of C++ IMP::display::EllipsoidGeometry class"""
799 __swig_setmethods__ = {}
800 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
801 __setattr__ =
lambda self, name, value: _swig_setattr(self, EllipsoidGeometry, name, value)
802 __swig_getmethods__ = {}
803 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
804 __getattr__ =
lambda self, name: _swig_getattr(self, EllipsoidGeometry, name)
805 def __init__(self, *args):
807 __init__(IMP::display::EllipsoidGeometry self, Ellipsoid3D v) -> EllipsoidGeometry
808 __init__(IMP::display::EllipsoidGeometry self, Ellipsoid3D v, Color c) -> EllipsoidGeometry
809 __init__(IMP::display::EllipsoidGeometry self, Ellipsoid3D v, std::string const n) -> EllipsoidGeometry
810 __init__(IMP::display::EllipsoidGeometry self, Ellipsoid3D v, Color c, std::string n) -> EllipsoidGeometry
812 this = _IMP_display.new_EllipsoidGeometry(*args)
813 try: self.this.append(this)
814 except: self.this = this
815 def get_geometry(self):
816 """get_geometry(EllipsoidGeometry self) -> Ellipsoid3D"""
817 return _IMP_display.EllipsoidGeometry_get_geometry(self)
819 def set_geometry(self, *args):
820 """set_geometry(EllipsoidGeometry self, Ellipsoid3D v)"""
821 return _IMP_display.EllipsoidGeometry_set_geometry(self, *args)
823 def get_version_info(self):
824 """get_version_info(EllipsoidGeometry self) -> VersionInfo"""
825 return _IMP_display.EllipsoidGeometry_get_version_info(self)
827 def do_show(self, *args):
828 """do_show(EllipsoidGeometry self, _ostream out)"""
829 return _IMP_display.EllipsoidGeometry_do_show(self, *args)
831 __swig_destroy__ = _IMP_display.delete_EllipsoidGeometry
832 __del__ =
lambda self :
None;
834 """__str__(EllipsoidGeometry self) -> std::string"""
835 return _IMP_display.EllipsoidGeometry___str__(self)
838 """__repr__(EllipsoidGeometry self) -> std::string"""
839 return _IMP_display.EllipsoidGeometry___repr__(self)
842 return _object_cast_to_EllipsoidGeometry(o)
843 get_from = staticmethod(get_from)
845 EllipsoidGeometry_swigregister = _IMP_display.EllipsoidGeometry_swigregister
846 EllipsoidGeometry_swigregister(EllipsoidGeometry)
848 class PointGeometry(Geometry):
849 """Proxy of C++ IMP::display::PointGeometry class"""
850 __swig_setmethods__ = {}
851 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
852 __setattr__ =
lambda self, name, value: _swig_setattr(self, PointGeometry, name, value)
853 __swig_getmethods__ = {}
854 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
855 __getattr__ =
lambda self, name: _swig_getattr(self, PointGeometry, name)
856 def __init__(self, *args):
858 __init__(IMP::display::PointGeometry self, Vector3D v) -> PointGeometry
859 __init__(IMP::display::PointGeometry self, Vector3D v, Color c) -> PointGeometry
860 __init__(IMP::display::PointGeometry self, Vector3D v, std::string const n) -> PointGeometry
861 __init__(IMP::display::PointGeometry self, Vector3D v, Color c, std::string n) -> PointGeometry
863 this = _IMP_display.new_PointGeometry(*args)
864 try: self.this.append(this)
865 except: self.this = this
866 def get_geometry(self):
867 """get_geometry(PointGeometry self) -> Vector3D"""
868 return _IMP_display.PointGeometry_get_geometry(self)
870 def set_geometry(self, *args):
871 """set_geometry(PointGeometry self, Vector3D v)"""
872 return _IMP_display.PointGeometry_set_geometry(self, *args)
874 def get_version_info(self):
875 """get_version_info(PointGeometry self) -> VersionInfo"""
876 return _IMP_display.PointGeometry_get_version_info(self)
878 def do_show(self, *args):
879 """do_show(PointGeometry self, _ostream out)"""
880 return _IMP_display.PointGeometry_do_show(self, *args)
882 __swig_destroy__ = _IMP_display.delete_PointGeometry
883 __del__ =
lambda self :
None;
885 """__str__(PointGeometry self) -> std::string"""
886 return _IMP_display.PointGeometry___str__(self)
889 """__repr__(PointGeometry self) -> std::string"""
890 return _IMP_display.PointGeometry___repr__(self)
893 return _object_cast_to_PointGeometry(o)
894 get_from = staticmethod(get_from)
896 PointGeometry_swigregister = _IMP_display.PointGeometry_swigregister
897 PointGeometry_swigregister(PointGeometry)
899 class SegmentGeometry(Geometry):
900 """Proxy of C++ IMP::display::SegmentGeometry class"""
901 __swig_setmethods__ = {}
902 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
903 __setattr__ =
lambda self, name, value: _swig_setattr(self, SegmentGeometry, name, value)
904 __swig_getmethods__ = {}
905 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
906 __getattr__ =
lambda self, name: _swig_getattr(self, SegmentGeometry, name)
907 def __init__(self, *args):
909 __init__(IMP::display::SegmentGeometry self, Segment3D v) -> SegmentGeometry
910 __init__(IMP::display::SegmentGeometry self, Segment3D v, Color c) -> SegmentGeometry
911 __init__(IMP::display::SegmentGeometry self, Segment3D v, std::string const n) -> SegmentGeometry
912 __init__(IMP::display::SegmentGeometry self, Segment3D v, Color c, std::string n) -> SegmentGeometry
914 this = _IMP_display.new_SegmentGeometry(*args)
915 try: self.this.append(this)
916 except: self.this = this
917 def get_geometry(self):
918 """get_geometry(SegmentGeometry self) -> Segment3D"""
919 return _IMP_display.SegmentGeometry_get_geometry(self)
921 def set_geometry(self, *args):
922 """set_geometry(SegmentGeometry self, Segment3D v)"""
923 return _IMP_display.SegmentGeometry_set_geometry(self, *args)
925 def get_version_info(self):
926 """get_version_info(SegmentGeometry self) -> VersionInfo"""
927 return _IMP_display.SegmentGeometry_get_version_info(self)
929 def do_show(self, *args):
930 """do_show(SegmentGeometry self, _ostream out)"""
931 return _IMP_display.SegmentGeometry_do_show(self, *args)
933 __swig_destroy__ = _IMP_display.delete_SegmentGeometry
934 __del__ =
lambda self :
None;
936 """__str__(SegmentGeometry self) -> std::string"""
937 return _IMP_display.SegmentGeometry___str__(self)
940 """__repr__(SegmentGeometry self) -> std::string"""
941 return _IMP_display.SegmentGeometry___repr__(self)
944 return _object_cast_to_SegmentGeometry(o)
945 get_from = staticmethod(get_from)
947 SegmentGeometry_swigregister = _IMP_display.SegmentGeometry_swigregister
948 SegmentGeometry_swigregister(SegmentGeometry)
950 class PolygonGeometry(Geometry):
951 """Proxy of C++ IMP::display::PolygonGeometry class"""
952 __swig_setmethods__ = {}
953 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
954 __setattr__ =
lambda self, name, value: _swig_setattr(self, PolygonGeometry, name, value)
955 __swig_getmethods__ = {}
956 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
957 __getattr__ =
lambda self, name: _swig_getattr(self, PolygonGeometry, name)
958 def __init__(self, *args):
960 __init__(IMP::display::PolygonGeometry self, IMP::algebra::Vector3Ds const & v) -> PolygonGeometry
961 __init__(IMP::display::PolygonGeometry self, IMP::algebra::Vector3Ds const & v, Color c) -> PolygonGeometry
962 __init__(IMP::display::PolygonGeometry self, IMP::algebra::Vector3Ds const & v, std::string const n) -> PolygonGeometry
963 __init__(IMP::display::PolygonGeometry self, IMP::algebra::Vector3Ds const & v, Color c, std::string n) -> PolygonGeometry
965 this = _IMP_display.new_PolygonGeometry(*args)
966 try: self.this.append(this)
967 except: self.this = this
968 def get_geometry(self):
969 """get_geometry(PolygonGeometry self) -> IMP::algebra::Vector3Ds const &"""
970 return _IMP_display.PolygonGeometry_get_geometry(self)
972 def set_geometry(self, *args):
973 """set_geometry(PolygonGeometry self, IMP::algebra::Vector3Ds const & v)"""
974 return _IMP_display.PolygonGeometry_set_geometry(self, *args)
976 def get_version_info(self):
977 """get_version_info(PolygonGeometry self) -> VersionInfo"""
978 return _IMP_display.PolygonGeometry_get_version_info(self)
980 def do_show(self, *args):
981 """do_show(PolygonGeometry self, _ostream out)"""
982 return _IMP_display.PolygonGeometry_do_show(self, *args)
984 __swig_destroy__ = _IMP_display.delete_PolygonGeometry
985 __del__ =
lambda self :
None;
987 """__str__(PolygonGeometry self) -> std::string"""
988 return _IMP_display.PolygonGeometry___str__(self)
991 """__repr__(PolygonGeometry self) -> std::string"""
992 return _IMP_display.PolygonGeometry___repr__(self)
995 return _object_cast_to_PolygonGeometry(o)
996 get_from = staticmethod(get_from)
998 PolygonGeometry_swigregister = _IMP_display.PolygonGeometry_swigregister
999 PolygonGeometry_swigregister(PolygonGeometry)
1001 class TriangleGeometry(Geometry):
1002 """Proxy of C++ IMP::display::TriangleGeometry class"""
1003 __swig_setmethods__ = {}
1004 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1005 __setattr__ =
lambda self, name, value: _swig_setattr(self, TriangleGeometry, name, value)
1006 __swig_getmethods__ = {}
1007 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1008 __getattr__ =
lambda self, name: _swig_getattr(self, TriangleGeometry, name)
1009 def __init__(self, *args):
1011 __init__(IMP::display::TriangleGeometry self, Triangle3D v) -> TriangleGeometry
1012 __init__(IMP::display::TriangleGeometry self, Triangle3D v, Color c) -> TriangleGeometry
1013 __init__(IMP::display::TriangleGeometry self, Triangle3D v, std::string const n) -> TriangleGeometry
1014 __init__(IMP::display::TriangleGeometry self, Triangle3D v, Color c, std::string n) -> TriangleGeometry
1016 this = _IMP_display.new_TriangleGeometry(*args)
1017 try: self.this.append(this)
1018 except: self.this = this
1019 def get_geometry(self):
1020 """get_geometry(TriangleGeometry self) -> Triangle3D"""
1021 return _IMP_display.TriangleGeometry_get_geometry(self)
1023 def set_geometry(self, *args):
1024 """set_geometry(TriangleGeometry self, Triangle3D v)"""
1025 return _IMP_display.TriangleGeometry_set_geometry(self, *args)
1027 def get_version_info(self):
1028 """get_version_info(TriangleGeometry self) -> VersionInfo"""
1029 return _IMP_display.TriangleGeometry_get_version_info(self)
1031 def do_show(self, *args):
1032 """do_show(TriangleGeometry self, _ostream out)"""
1033 return _IMP_display.TriangleGeometry_do_show(self, *args)
1035 __swig_destroy__ = _IMP_display.delete_TriangleGeometry
1036 __del__ =
lambda self :
None;
1038 """__str__(TriangleGeometry self) -> std::string"""
1039 return _IMP_display.TriangleGeometry___str__(self)
1042 """__repr__(TriangleGeometry self) -> std::string"""
1043 return _IMP_display.TriangleGeometry___repr__(self)
1046 return _object_cast_to_TriangleGeometry(o)
1047 get_from = staticmethod(get_from)
1049 TriangleGeometry_swigregister = _IMP_display.TriangleGeometry_swigregister
1050 TriangleGeometry_swigregister(TriangleGeometry)
1052 class BoundingBoxGeometry(Geometry):
1053 """Proxy of C++ IMP::display::BoundingBoxGeometry class"""
1054 __swig_setmethods__ = {}
1055 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1056 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBoxGeometry, name, value)
1057 __swig_getmethods__ = {}
1058 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1059 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBoxGeometry, name)
1060 def __init__(self, *args):
1062 __init__(IMP::display::BoundingBoxGeometry self, BoundingBox3D v) -> BoundingBoxGeometry
1063 __init__(IMP::display::BoundingBoxGeometry self, BoundingBox3D v, Color c) -> BoundingBoxGeometry
1064 __init__(IMP::display::BoundingBoxGeometry self, BoundingBox3D v, std::string const n) -> BoundingBoxGeometry
1065 __init__(IMP::display::BoundingBoxGeometry self, BoundingBox3D v, Color c, std::string n) -> BoundingBoxGeometry
1067 this = _IMP_display.new_BoundingBoxGeometry(*args)
1068 try: self.this.append(this)
1069 except: self.this = this
1070 def get_geometry(self):
1071 """get_geometry(BoundingBoxGeometry self) -> BoundingBox3D"""
1072 return _IMP_display.BoundingBoxGeometry_get_geometry(self)
1074 def set_geometry(self, *args):
1075 """set_geometry(BoundingBoxGeometry self, BoundingBox3D v)"""
1076 return _IMP_display.BoundingBoxGeometry_set_geometry(self, *args)
1078 def get_version_info(self):
1079 """get_version_info(BoundingBoxGeometry self) -> VersionInfo"""
1080 return _IMP_display.BoundingBoxGeometry_get_version_info(self)
1082 def do_show(self, *args):
1083 """do_show(BoundingBoxGeometry self, _ostream out)"""
1084 return _IMP_display.BoundingBoxGeometry_do_show(self, *args)
1086 __swig_destroy__ = _IMP_display.delete_BoundingBoxGeometry
1087 __del__ =
lambda self :
None;
1089 """__str__(BoundingBoxGeometry self) -> std::string"""
1090 return _IMP_display.BoundingBoxGeometry___str__(self)
1093 """__repr__(BoundingBoxGeometry self) -> std::string"""
1094 return _IMP_display.BoundingBoxGeometry___repr__(self)
1097 return _object_cast_to_BoundingBoxGeometry(o)
1098 get_from = staticmethod(get_from)
1100 BoundingBoxGeometry_swigregister = _IMP_display.BoundingBoxGeometry_swigregister
1101 BoundingBoxGeometry_swigregister(BoundingBoxGeometry)
1103 class ReferenceFrameGeometry(Geometry):
1104 """Proxy of C++ IMP::display::ReferenceFrameGeometry class"""
1105 __swig_setmethods__ = {}
1106 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1107 __setattr__ =
lambda self, name, value: _swig_setattr(self, ReferenceFrameGeometry, name, value)
1108 __swig_getmethods__ = {}
1109 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1110 __getattr__ =
lambda self, name: _swig_getattr(self, ReferenceFrameGeometry, name)
1111 def __init__(self, *args):
1113 __init__(IMP::display::ReferenceFrameGeometry self, ReferenceFrame3D v) -> ReferenceFrameGeometry
1114 __init__(IMP::display::ReferenceFrameGeometry self, ReferenceFrame3D v, Color c) -> ReferenceFrameGeometry
1115 __init__(IMP::display::ReferenceFrameGeometry self, ReferenceFrame3D v, std::string const n) -> ReferenceFrameGeometry
1116 __init__(IMP::display::ReferenceFrameGeometry self, ReferenceFrame3D v, Color c, std::string n) -> ReferenceFrameGeometry
1118 this = _IMP_display.new_ReferenceFrameGeometry(*args)
1119 try: self.this.append(this)
1120 except: self.this = this
1121 def get_geometry(self):
1122 """get_geometry(ReferenceFrameGeometry self) -> ReferenceFrame3D"""
1123 return _IMP_display.ReferenceFrameGeometry_get_geometry(self)
1125 def set_geometry(self, *args):
1126 """set_geometry(ReferenceFrameGeometry self, ReferenceFrame3D v)"""
1127 return _IMP_display.ReferenceFrameGeometry_set_geometry(self, *args)
1129 def get_version_info(self):
1130 """get_version_info(ReferenceFrameGeometry self) -> VersionInfo"""
1131 return _IMP_display.ReferenceFrameGeometry_get_version_info(self)
1133 def do_show(self, *args):
1134 """do_show(ReferenceFrameGeometry self, _ostream out)"""
1135 return _IMP_display.ReferenceFrameGeometry_do_show(self, *args)
1137 __swig_destroy__ = _IMP_display.delete_ReferenceFrameGeometry
1138 __del__ =
lambda self :
None;
1140 """__str__(ReferenceFrameGeometry self) -> std::string"""
1141 return _IMP_display.ReferenceFrameGeometry___str__(self)
1144 """__repr__(ReferenceFrameGeometry self) -> std::string"""
1145 return _IMP_display.ReferenceFrameGeometry___repr__(self)
1148 return _object_cast_to_ReferenceFrameGeometry(o)
1149 get_from = staticmethod(get_from)
1151 ReferenceFrameGeometry_swigregister = _IMP_display.ReferenceFrameGeometry_swigregister
1152 ReferenceFrameGeometry_swigregister(ReferenceFrameGeometry)
1157 create_geometry(Sphere3D t, std::string name="algebra::Sphere3D+%1%") -> SphereGeometry
1158 create_geometry(Sphere3D t) -> SphereGeometry
1159 create_geometry(Cylinder3D t, std::string name="algebra::Cylinder3D+%1%") -> CylinderGeometry
1160 create_geometry(Cylinder3D t) -> CylinderGeometry
1161 create_geometry(Ellipsoid3D t, std::string name="algebra::Ellipsoid3D+%1%") -> EllipsoidGeometry
1162 create_geometry(Ellipsoid3D t) -> EllipsoidGeometry
1163 create_geometry(Vector3D t, std::string name="algebra::Vector3D+%1%") -> PointGeometry
1164 create_geometry(Vector3D t) -> PointGeometry
1165 create_geometry(Segment3D t, std::string name="algebra::Segment3D+%1%") -> SegmentGeometry
1166 create_geometry(Segment3D t) -> SegmentGeometry
1167 create_geometry(IMP::algebra::Vector3Ds const & t, std::string name="algebra::Vector3Ds+%1%") -> PolygonGeometry
1168 create_geometry(IMP::algebra::Vector3Ds const & t) -> PolygonGeometry
1169 create_geometry(Triangle3D t, std::string name="algebra::Triangle3D+%1%") -> TriangleGeometry
1170 create_geometry(Triangle3D t) -> TriangleGeometry
1171 create_geometry(BoundingBox3D t, std::string name="algebra::BoundingBoxD<3>+%1%") -> BoundingBoxGeometry
1172 create_geometry(BoundingBox3D t) -> BoundingBoxGeometry
1173 create_geometry(ReferenceFrame3D t, std::string name="algebra::ReferenceFrame3D+%1%") -> ReferenceFrameGeometry
1174 create_geometry(ReferenceFrame3D t) -> ReferenceFrameGeometry
1176 return _IMP_display.create_geometry(*args)
1177 class LabelGeometry(Geometry):
1178 """Proxy of C++ IMP::display::LabelGeometry class"""
1179 __swig_setmethods__ = {}
1180 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1181 __setattr__ =
lambda self, name, value: _swig_setattr(self, LabelGeometry, name, value)
1182 __swig_getmethods__ = {}
1183 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1184 __getattr__ =
lambda self, name: _swig_getattr(self, LabelGeometry, name)
1185 def __init__(self, *args):
1187 __init__(IMP::display::LabelGeometry self, Sphere3D loc, std::string text) -> LabelGeometry
1188 __init__(IMP::display::LabelGeometry self, Vector3D loc, std::string text) -> LabelGeometry
1190 this = _IMP_display.new_LabelGeometry(*args)
1191 try: self.this.append(this)
1192 except: self.this = this
1194 """get_text(LabelGeometry self) -> std::string"""
1195 return _IMP_display.LabelGeometry_get_text(self)
1197 def get_location(self):
1198 """get_location(LabelGeometry self) -> Sphere3D"""
1199 return _IMP_display.LabelGeometry_get_location(self)
1201 def get_version_info(self):
1202 """get_version_info(LabelGeometry self) -> VersionInfo"""
1203 return _IMP_display.LabelGeometry_get_version_info(self)
1205 def do_show(self, *args):
1206 """do_show(LabelGeometry self, _ostream out)"""
1207 return _IMP_display.LabelGeometry_do_show(self, *args)
1209 __swig_destroy__ = _IMP_display.delete_LabelGeometry
1210 __del__ =
lambda self :
None;
1212 """__str__(LabelGeometry self) -> std::string"""
1213 return _IMP_display.LabelGeometry___str__(self)
1216 """__repr__(LabelGeometry self) -> std::string"""
1217 return _IMP_display.LabelGeometry___repr__(self)
1220 return _object_cast_to_LabelGeometry(o)
1221 get_from = staticmethod(get_from)
1223 LabelGeometry_swigregister = _IMP_display.LabelGeometry_swigregister
1224 LabelGeometry_swigregister(LabelGeometry)
1226 class SurfaceMeshGeometry(Geometry):
1227 """Proxy of C++ IMP::display::SurfaceMeshGeometry class"""
1228 __swig_setmethods__ = {}
1229 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1230 __setattr__ =
lambda self, name, value: _swig_setattr(self, SurfaceMeshGeometry, name, value)
1231 __swig_getmethods__ = {}
1232 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1233 __getattr__ =
lambda self, name: _swig_getattr(self, SurfaceMeshGeometry, name)
1234 def __init__(self, *args):
1235 """__init__(IMP::display::SurfaceMeshGeometry self, IMP::algebra::Vector3Ds const & vertices, IMP::Ints const & faces) -> SurfaceMeshGeometry"""
1236 this = _IMP_display.new_SurfaceMeshGeometry(*args)
1237 try: self.this.append(this)
1238 except: self.this = this
1239 def get_vertexes(self):
1240 """get_vertexes(SurfaceMeshGeometry self) -> IMP::algebra::Vector3Ds const &"""
1241 return _IMP_display.SurfaceMeshGeometry_get_vertexes(self)
1243 def get_faces(self):
1244 """get_faces(SurfaceMeshGeometry self) -> IMP::Ints const &"""
1245 return _IMP_display.SurfaceMeshGeometry_get_faces(self)
1247 def get_version_info(self):
1248 """get_version_info(SurfaceMeshGeometry self) -> VersionInfo"""
1249 return _IMP_display.SurfaceMeshGeometry_get_version_info(self)
1251 def do_show(self, *args):
1252 """do_show(SurfaceMeshGeometry self, _ostream out)"""
1253 return _IMP_display.SurfaceMeshGeometry_do_show(self, *args)
1255 __swig_destroy__ = _IMP_display.delete_SurfaceMeshGeometry
1256 __del__ =
lambda self :
None;
1258 """__str__(SurfaceMeshGeometry self) -> std::string"""
1259 return _IMP_display.SurfaceMeshGeometry___str__(self)
1262 """__repr__(SurfaceMeshGeometry self) -> std::string"""
1263 return _IMP_display.SurfaceMeshGeometry___repr__(self)
1266 return _object_cast_to_SurfaceMeshGeometry(o)
1267 get_from = staticmethod(get_from)
1269 SurfaceMeshGeometry_swigregister = _IMP_display.SurfaceMeshGeometry_swigregister
1270 SurfaceMeshGeometry_swigregister(SurfaceMeshGeometry)
1272 class PlaneGeometry(Geometry):
1273 """Proxy of C++ IMP::display::PlaneGeometry class"""
1274 __swig_setmethods__ = {}
1275 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1276 __setattr__ =
lambda self, name, value: _swig_setattr(self, PlaneGeometry, name, value)
1277 __swig_getmethods__ = {}
1278 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1279 __getattr__ =
lambda self, name: _swig_getattr(self, PlaneGeometry, name)
1280 def __init__(self, *args):
1281 """__init__(IMP::display::PlaneGeometry self, Plane3D loc, BoundingBox3D box) -> PlaneGeometry"""
1282 this = _IMP_display.new_PlaneGeometry(*args)
1283 try: self.this.append(this)
1284 except: self.this = this
1285 def get_version_info(self):
1286 """get_version_info(PlaneGeometry self) -> VersionInfo"""
1287 return _IMP_display.PlaneGeometry_get_version_info(self)
1289 def do_show(self, *args):
1290 """do_show(PlaneGeometry self, _ostream out)"""
1291 return _IMP_display.PlaneGeometry_do_show(self, *args)
1293 __swig_destroy__ = _IMP_display.delete_PlaneGeometry
1294 __del__ =
lambda self :
None;
1296 """__str__(PlaneGeometry self) -> std::string"""
1297 return _IMP_display.PlaneGeometry___str__(self)
1300 """__repr__(PlaneGeometry self) -> std::string"""
1301 return _IMP_display.PlaneGeometry___repr__(self)
1304 return _object_cast_to_PlaneGeometry(o)
1305 get_from = staticmethod(get_from)
1307 PlaneGeometry_swigregister = _IMP_display.PlaneGeometry_swigregister
1308 PlaneGeometry_swigregister(PlaneGeometry)
1310 class IsosurfaceGeometry(SurfaceMeshGeometry):
1311 """Proxy of C++ IMP::display::IsosurfaceGeometry class"""
1312 __swig_setmethods__ = {}
1313 for _s
in [SurfaceMeshGeometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1314 __setattr__ =
lambda self, name, value: _swig_setattr(self, IsosurfaceGeometry, name, value)
1315 __swig_getmethods__ = {}
1316 for _s
in [SurfaceMeshGeometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1317 __getattr__ =
lambda self, name: _swig_getattr(self, IsosurfaceGeometry, name)
1318 def __init__(self, *args):
1320 __init__(IMP::display::IsosurfaceGeometry self, DenseDoubleGrid3D grid, double iso) -> IsosurfaceGeometry
1321 __init__(IMP::display::IsosurfaceGeometry self, DenseFloatGrid3D grid, double iso) -> IsosurfaceGeometry
1323 this = _IMP_display.new_IsosurfaceGeometry(*args)
1324 try: self.this.append(this)
1325 except: self.this = this
1327 """__str__(IsosurfaceGeometry self) -> std::string"""
1328 return _IMP_display.IsosurfaceGeometry___str__(self)
1331 """__repr__(IsosurfaceGeometry self) -> std::string"""
1332 return _IMP_display.IsosurfaceGeometry___repr__(self)
1335 return _object_cast_to_IsosurfaceGeometry(o)
1336 get_from = staticmethod(get_from)
1338 __swig_destroy__ = _IMP_display.delete_IsosurfaceGeometry
1339 __del__ =
lambda self :
None;
1340 IsosurfaceGeometry_swigregister = _IMP_display.IsosurfaceGeometry_swigregister
1341 IsosurfaceGeometry_swigregister(IsosurfaceGeometry)
1343 class SkinSurfaceGeometry(SurfaceMeshGeometry):
1344 """Proxy of C++ IMP::display::SkinSurfaceGeometry class"""
1345 __swig_setmethods__ = {}
1346 for _s
in [SurfaceMeshGeometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1347 __setattr__ =
lambda self, name, value: _swig_setattr(self, SkinSurfaceGeometry, name, value)
1348 __swig_getmethods__ = {}
1349 for _s
in [SurfaceMeshGeometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1350 __getattr__ =
lambda self, name: _swig_getattr(self, SkinSurfaceGeometry, name)
1351 def __init__(self, *args):
1352 """__init__(IMP::display::SkinSurfaceGeometry self, IMP::algebra::Sphere3Ds const & balls) -> SkinSurfaceGeometry"""
1353 this = _IMP_display.new_SkinSurfaceGeometry(*args)
1354 try: self.this.append(this)
1355 except: self.this = this
1357 """__str__(SkinSurfaceGeometry self) -> std::string"""
1358 return _IMP_display.SkinSurfaceGeometry___str__(self)
1361 """__repr__(SkinSurfaceGeometry self) -> std::string"""
1362 return _IMP_display.SkinSurfaceGeometry___repr__(self)
1365 return _object_cast_to_SkinSurfaceGeometry(o)
1366 get_from = staticmethod(get_from)
1368 __swig_destroy__ = _IMP_display.delete_SkinSurfaceGeometry
1369 __del__ =
lambda self :
None;
1370 SkinSurfaceGeometry_swigregister = _IMP_display.SkinSurfaceGeometry_swigregister
1371 SkinSurfaceGeometry_swigregister(SkinSurfaceGeometry)
1373 class GeometryProcessor(_object):
1374 """Proxy of C++ IMP::display::GeometryProcessor class"""
1375 __swig_setmethods__ = {}
1376 __setattr__ =
lambda self, name, value: _swig_setattr(self, GeometryProcessor, name, value)
1377 __swig_getmethods__ = {}
1378 __getattr__ =
lambda self, name: _swig_getattr(self, GeometryProcessor, name)
1379 __repr__ = _swig_repr
1381 """__init__(IMP::display::GeometryProcessor self) -> GeometryProcessor"""
1382 this = _IMP_display.new_GeometryProcessor()
1383 try: self.this.append(this)
1384 except: self.this = this
1385 GeometryProcessor_swigregister = _IMP_display.GeometryProcessor_swigregister
1386 GeometryProcessor_swigregister(GeometryProcessor)
1389 """Proxy of C++ IMP::display::Writer class"""
1390 __swig_setmethods__ = {}
1391 for _s
in [GeometryProcessor,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1392 __setattr__ =
lambda self, name, value: _swig_setattr(self, Writer, name, value)
1393 __swig_getmethods__ = {}
1394 for _s
in [GeometryProcessor,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1395 __getattr__ =
lambda self, name: _swig_getattr(self, Writer, name)
1396 def __init__(self, *args):
1397 """__init__(IMP::display::Writer self, std::string name) -> Writer"""
1398 if self.__class__ == Writer:
1402 this = _IMP_display.new_Writer(_self, *args)
1403 try: self.this.append(this)
1404 except: self.this = this
1405 if self.__class__ != Writer:
1407 IMP.base._director_objects.register(self)
1411 __swig_destroy__ = _IMP_display.delete_Writer
1412 __del__ =
lambda self :
None;
1413 def set_frame(self, *args):
1414 """set_frame(Writer self, unsigned int i)"""
1415 return _IMP_display.Writer_set_frame(self, *args)
1417 def get_frame(self):
1418 """get_frame(Writer self) -> int"""
1419 return _IMP_display.Writer_get_frame(self)
1421 def add_geometry(self, *args):
1423 add_geometry(Writer self, Geometry g)
1424 add_geometry(Writer self, IMP::display::Geometries const & g)
1426 return _IMP_display.Writer_add_geometry(self, *args)
1429 """do_close(Writer self)"""
1430 return _IMP_display.Writer_do_close(self)
1433 """do_open(Writer self)"""
1434 return _IMP_display.Writer_do_open(self)
1436 def do_set_frame(self):
1437 """do_set_frame(Writer self)"""
1438 return _IMP_display.Writer_do_set_frame(self)
1441 """__str__(Writer self) -> std::string"""
1442 return _IMP_display.Writer___str__(self)
1445 """__repr__(Writer self) -> std::string"""
1446 return _IMP_display.Writer___repr__(self)
1449 return _object_cast_to_Writer(o)
1450 get_from = staticmethod(get_from)
1452 def get_type_name(self):
1453 return self.__class__.__name__
1454 def do_show(self, out):
1456 def get_version_info(self):
1457 if"IMP::display" ==
"IMP":
1458 return VersionInfo(
"python",
"0")
1460 return IMP.VersionInfo(
"python",
"0")
1462 return _object_cast_to_Writer(o)
1463 get_from = staticmethod(get_from)
1465 def __disown__(self):
1467 _IMP_display.disown_Writer(self)
1468 return weakref_proxy(self)
1469 def handle_sphere(self, *args):
1470 """handle_sphere(Writer self, SphereGeometry arg0, Color arg1, std::string arg2) -> bool"""
1471 return _IMP_display.Writer_handle_sphere(self, *args)
1473 def handle_cylinder(self, *args):
1474 """handle_cylinder(Writer self, CylinderGeometry arg0, Color arg1, std::string arg2) -> bool"""
1475 return _IMP_display.Writer_handle_cylinder(self, *args)
1477 def handle_point(self, *args):
1478 """handle_point(Writer self, PointGeometry arg0, Color arg1, std::string arg2) -> bool"""
1479 return _IMP_display.Writer_handle_point(self, *args)
1481 def handle_segment(self, *args):
1482 """handle_segment(Writer self, SegmentGeometry arg0, Color arg1, std::string arg2) -> bool"""
1483 return _IMP_display.Writer_handle_segment(self, *args)
1485 def handle_polygon(self, *args):
1486 """handle_polygon(Writer self, PolygonGeometry arg0, Color arg1, std::string arg2) -> bool"""
1487 return _IMP_display.Writer_handle_polygon(self, *args)
1489 def handle_triangle(self, *args):
1490 """handle_triangle(Writer self, TriangleGeometry arg0, Color arg1, std::string arg2) -> bool"""
1491 return _IMP_display.Writer_handle_triangle(self, *args)
1493 def handle_surface_mesh(self, *args):
1494 """handle_surface_mesh(Writer self, SurfaceMeshGeometry arg0, Color arg1, std::string arg2) -> bool"""
1495 return _IMP_display.Writer_handle_surface_mesh(self, *args)
1497 def handle_label(self, *args):
1498 """handle_label(Writer self, LabelGeometry arg0, Color arg1, std::string arg2) -> bool"""
1499 return _IMP_display.Writer_handle_label(self, *args)
1501 def handle_ellipsoid(self, *args):
1502 """handle_ellipsoid(Writer self, EllipsoidGeometry arg0, Color arg1, std::string arg2) -> bool"""
1503 return _IMP_display.Writer_handle_ellipsoid(self, *args)
1505 def handle_bounding_box(self, *args):
1506 """handle_bounding_box(Writer self, BoundingBoxGeometry arg0, Color arg1, std::string arg2) -> bool"""
1507 return _IMP_display.Writer_handle_bounding_box(self, *args)
1509 def handle_anything(self, *args):
1510 """handle_anything(Writer self, Geometry arg0, Color arg1, std::string arg2) -> bool"""
1511 return _IMP_display.Writer_handle_anything(self, *args)
1513 Writer_swigregister = _IMP_display.Writer_swigregister
1514 Writer_swigregister(Writer)
1516 class TextWriter(Writer):
1517 """Proxy of C++ IMP::display::TextWriter class"""
1518 __swig_setmethods__ = {}
1519 for _s
in [Writer]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1520 __setattr__ =
lambda self, name, value: _swig_setattr(self, TextWriter, name, value)
1521 __swig_getmethods__ = {}
1522 for _s
in [Writer]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1523 __getattr__ =
lambda self, name: _swig_getattr(self, TextWriter, name)
1525 """open(TextWriter self)"""
1526 return _IMP_display.TextWriter_open(self)
1528 def get_stream(self):
1529 """get_stream(TextWriter self) -> _ostream"""
1530 return _IMP_display.TextWriter_get_stream(self)
1532 def do_set_frame(self):
1533 """do_set_frame(TextWriter self)"""
1534 return _IMP_display.TextWriter_do_set_frame(self)
1536 def __init__(self, *args):
1538 __init__(IMP::display::TextWriter self, TextOutput fn) -> TextWriter
1539 __init__(IMP::display::TextWriter self, std::string name) -> TextWriter
1541 if self.__class__ == TextWriter:
1545 this = _IMP_display.new_TextWriter(_self, *args)
1546 try: self.this.append(this)
1547 except: self.this = this
1548 if self.__class__ != TextWriter:
1550 IMP.base._director_objects.register(self)
1554 def get_current_file_name(self):
1555 """get_current_file_name(TextWriter self) -> std::string"""
1556 return _IMP_display.TextWriter_get_current_file_name(self)
1558 __swig_destroy__ = _IMP_display.delete_TextWriter
1559 __del__ =
lambda self :
None;
1561 """__str__(TextWriter self) -> std::string"""
1562 return _IMP_display.TextWriter___str__(self)
1565 """__repr__(TextWriter self) -> std::string"""
1566 return _IMP_display.TextWriter___repr__(self)
1569 return _object_cast_to_TextWriter(o)
1570 get_from = staticmethod(get_from)
1572 def get_type_name(self):
1573 return self.__class__.__name__
1574 def do_show(self, out):
1576 def get_version_info(self):
1577 if"IMP::display" ==
"IMP":
1578 return VersionInfo(
"python",
"0")
1580 return IMP.VersionInfo(
"python",
"0")
1582 return _object_cast_to_TextWriter(o)
1583 get_from = staticmethod(get_from)
1585 def __disown__(self):
1587 _IMP_display.disown_TextWriter(self)
1588 return weakref_proxy(self)
1589 def handle_sphere(self, *args):
1590 """handle_sphere(TextWriter self, SphereGeometry arg0, Color arg1, std::string arg2) -> bool"""
1591 return _IMP_display.TextWriter_handle_sphere(self, *args)
1593 def handle_cylinder(self, *args):
1594 """handle_cylinder(TextWriter self, CylinderGeometry arg0, Color arg1, std::string arg2) -> bool"""
1595 return _IMP_display.TextWriter_handle_cylinder(self, *args)
1597 def handle_point(self, *args):
1598 """handle_point(TextWriter self, PointGeometry arg0, Color arg1, std::string arg2) -> bool"""
1599 return _IMP_display.TextWriter_handle_point(self, *args)
1601 def handle_segment(self, *args):
1602 """handle_segment(TextWriter self, SegmentGeometry arg0, Color arg1, std::string arg2) -> bool"""
1603 return _IMP_display.TextWriter_handle_segment(self, *args)
1605 def handle_polygon(self, *args):
1606 """handle_polygon(TextWriter self, PolygonGeometry arg0, Color arg1, std::string arg2) -> bool"""
1607 return _IMP_display.TextWriter_handle_polygon(self, *args)
1609 def handle_triangle(self, *args):
1610 """handle_triangle(TextWriter self, TriangleGeometry arg0, Color arg1, std::string arg2) -> bool"""
1611 return _IMP_display.TextWriter_handle_triangle(self, *args)
1613 def handle_surface_mesh(self, *args):
1614 """handle_surface_mesh(TextWriter self, SurfaceMeshGeometry arg0, Color arg1, std::string arg2) -> bool"""
1615 return _IMP_display.TextWriter_handle_surface_mesh(self, *args)
1617 def handle_label(self, *args):
1618 """handle_label(TextWriter self, LabelGeometry arg0, Color arg1, std::string arg2) -> bool"""
1619 return _IMP_display.TextWriter_handle_label(self, *args)
1621 def handle_ellipsoid(self, *args):
1622 """handle_ellipsoid(TextWriter self, EllipsoidGeometry arg0, Color arg1, std::string arg2) -> bool"""
1623 return _IMP_display.TextWriter_handle_ellipsoid(self, *args)
1625 def handle_bounding_box(self, *args):
1626 """handle_bounding_box(TextWriter self, BoundingBoxGeometry arg0, Color arg1, std::string arg2) -> bool"""
1627 return _IMP_display.TextWriter_handle_bounding_box(self, *args)
1629 def handle_anything(self, *args):
1630 """handle_anything(TextWriter self, Geometry arg0, Color arg1, std::string arg2) -> bool"""
1631 return _IMP_display.TextWriter_handle_anything(self, *args)
1634 """do_close(TextWriter self)"""
1635 return _IMP_display.TextWriter_do_close(self)
1638 """do_open(TextWriter self)"""
1639 return _IMP_display.TextWriter_do_open(self)
1641 TextWriter_swigregister = _IMP_display.TextWriter_swigregister
1642 TextWriter_swigregister(TextWriter)
1646 """create_writer(std::string filename) -> Writer"""
1647 return _IMP_display.create_writer(*args)
1648 class WriterAdaptor(IMP.base._InputAdaptor):
1649 """Proxy of C++ IMP::display::WriterAdaptor class"""
1650 __swig_setmethods__ = {}
1651 for _s
in [IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1652 __setattr__ =
lambda self, name, value: _swig_setattr(self, WriterAdaptor, name, value)
1653 __swig_getmethods__ = {}
1654 for _s
in [IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1655 __getattr__ =
lambda self, name: _swig_getattr(self, WriterAdaptor, name)
1656 def __init__(self, *args):
1658 __init__(IMP::display::WriterAdaptor self, std::string name) -> WriterAdaptor
1659 __init__(IMP::display::WriterAdaptor self, Writer w) -> WriterAdaptor
1661 this = _IMP_display.new_WriterAdaptor(*args)
1662 try: self.this.append(this)
1663 except: self.this = this
1664 def get_writer(self):
1665 """get_writer(WriterAdaptor self) -> Writer"""
1666 return _IMP_display.WriterAdaptor_get_writer(self)
1668 def show(self, *args):
1670 show(WriterAdaptor self, _ostream out=std::cout)
1671 show(WriterAdaptor self)
1673 return _IMP_display.WriterAdaptor_show(self, *args)
1675 __swig_destroy__ = _IMP_display.delete_WriterAdaptor
1676 __del__ =
lambda self :
None;
1678 """__str__(WriterAdaptor self) -> std::string"""
1679 return _IMP_display.WriterAdaptor___str__(self)
1682 """__repr__(WriterAdaptor self) -> std::string"""
1683 return _IMP_display.WriterAdaptor___repr__(self)
1685 WriterAdaptor_swigregister = _IMP_display.WriterAdaptor_swigregister
1686 WriterAdaptor_swigregister(WriterAdaptor)
1688 class BildWriter(TextWriter):
1689 """Proxy of C++ IMP::display::BildWriter class"""
1690 __swig_setmethods__ = {}
1691 for _s
in [TextWriter]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1692 __setattr__ =
lambda self, name, value: _swig_setattr(self, BildWriter, name, value)
1693 __swig_getmethods__ = {}
1694 for _s
in [TextWriter]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1695 __getattr__ =
lambda self, name: _swig_getattr(self, BildWriter, name)
1696 def __init__(self, *args):
1698 __init__(IMP::display::BildWriter self, TextOutput of) -> BildWriter
1699 __init__(IMP::display::BildWriter self, std::string name) -> BildWriter
1700 __init__(IMP::display::BildWriter self, char const * name) -> BildWriter
1702 this = _IMP_display.new_BildWriter(*args)
1703 try: self.this.append(this)
1704 except: self.this = this
1705 def get_version_info(self):
1706 """get_version_info(BildWriter self) -> VersionInfo"""
1707 return _IMP_display.BildWriter_get_version_info(self)
1709 __swig_destroy__ = _IMP_display.delete_BildWriter
1710 __del__ =
lambda self :
None;
1712 """__str__(BildWriter self) -> std::string"""
1713 return _IMP_display.BildWriter___str__(self)
1716 """__repr__(BildWriter self) -> std::string"""
1717 return _IMP_display.BildWriter___repr__(self)
1720 return _object_cast_to_BildWriter(o)
1721 get_from = staticmethod(get_from)
1723 BildWriter_swigregister = _IMP_display.BildWriter_swigregister
1724 BildWriter_swigregister(BildWriter)
1726 class ChimeraWriter(TextWriter):
1727 """Proxy of C++ IMP::display::ChimeraWriter class"""
1728 __swig_setmethods__ = {}
1729 for _s
in [TextWriter]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1730 __setattr__ =
lambda self, name, value: _swig_setattr(self, ChimeraWriter, name, value)
1731 __swig_getmethods__ = {}
1732 for _s
in [TextWriter]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1733 __getattr__ =
lambda self, name: _swig_getattr(self, ChimeraWriter, name)
1734 def __init__(self, *args):
1736 __init__(IMP::display::ChimeraWriter self, TextOutput of) -> ChimeraWriter
1737 __init__(IMP::display::ChimeraWriter self, std::string name) -> ChimeraWriter
1738 __init__(IMP::display::ChimeraWriter self, char const * name) -> ChimeraWriter
1740 this = _IMP_display.new_ChimeraWriter(*args)
1741 try: self.this.append(this)
1742 except: self.this = this
1743 def get_version_info(self):
1744 """get_version_info(ChimeraWriter self) -> VersionInfo"""
1745 return _IMP_display.ChimeraWriter_get_version_info(self)
1747 __swig_destroy__ = _IMP_display.delete_ChimeraWriter
1748 __del__ =
lambda self :
None;
1750 """__str__(ChimeraWriter self) -> std::string"""
1751 return _IMP_display.ChimeraWriter___str__(self)
1754 """__repr__(ChimeraWriter self) -> std::string"""
1755 return _IMP_display.ChimeraWriter___repr__(self)
1758 return _object_cast_to_ChimeraWriter(o)
1759 get_from = staticmethod(get_from)
1761 ChimeraWriter_swigregister = _IMP_display.ChimeraWriter_swigregister
1762 ChimeraWriter_swigregister(ChimeraWriter)
1764 class CMMWriter(TextWriter):
1765 """Proxy of C++ IMP::display::CMMWriter class"""
1766 __swig_setmethods__ = {}
1767 for _s
in [TextWriter]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1768 __setattr__ =
lambda self, name, value: _swig_setattr(self, CMMWriter, name, value)
1769 __swig_getmethods__ = {}
1770 for _s
in [TextWriter]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1771 __getattr__ =
lambda self, name: _swig_getattr(self, CMMWriter, name)
1772 def __init__(self, *args):
1774 __init__(IMP::display::CMMWriter self, TextOutput of) -> CMMWriter
1775 __init__(IMP::display::CMMWriter self, std::string name) -> CMMWriter
1776 __init__(IMP::display::CMMWriter self, char const * name) -> CMMWriter
1778 this = _IMP_display.new_CMMWriter(*args)
1779 try: self.this.append(this)
1780 except: self.this = this
1781 def get_version_info(self):
1782 """get_version_info(CMMWriter self) -> VersionInfo"""
1783 return _IMP_display.CMMWriter_get_version_info(self)
1785 __swig_destroy__ = _IMP_display.delete_CMMWriter
1786 __del__ =
lambda self :
None;
1787 def get_current_index(self):
1788 """get_current_index(CMMWriter self) -> unsigned int"""
1789 return _IMP_display.CMMWriter_get_current_index(self)
1792 """__str__(CMMWriter self) -> std::string"""
1793 return _IMP_display.CMMWriter___str__(self)
1796 """__repr__(CMMWriter self) -> std::string"""
1797 return _IMP_display.CMMWriter___repr__(self)
1800 return _object_cast_to_CMMWriter(o)
1801 get_from = staticmethod(get_from)
1803 CMMWriter_swigregister = _IMP_display.CMMWriter_swigregister
1804 CMMWriter_swigregister(CMMWriter)
1807 """Proxy of C++ IMP::display::Colored class"""
1808 __swig_setmethods__ = {}
1809 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1810 __setattr__ =
lambda self, name, value: _swig_setattr(self, Colored, name, value)
1811 __swig_getmethods__ = {}
1812 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1813 __getattr__ =
lambda self, name: _swig_getattr(self, Colored, name)
1814 def setup_particle(*args):
1815 """setup_particle(Particle p, Color c) -> Colored"""
1816 return _IMP_display.Colored_setup_particle(*args)
1818 if _newclass:setup_particle = staticmethod(setup_particle)
1819 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
1820 def set_color(self, *args):
1821 """set_color(Colored self, Color c)"""
1822 return _IMP_display.Colored_set_color(self, *args)
1824 def get_color(self):
1825 """get_color(Colored self) -> Color"""
1826 return _IMP_display.Colored_get_color(self)
1828 def particle_is_instance(*args):
1829 """particle_is_instance(Particle p) -> bool"""
1830 return _IMP_display.Colored_particle_is_instance(*args)
1832 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
1833 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
1834 def get_color_keys():
1835 """get_color_keys() -> IMP::kernel::FloatKeys const &"""
1836 return _IMP_display.Colored_get_color_keys()
1838 if _newclass:get_color_keys = staticmethod(get_color_keys)
1839 __swig_getmethods__[
"get_color_keys"] =
lambda x: get_color_keys
1840 def __init__(self, *args):
1842 __init__(IMP::display::Colored self) -> Colored
1843 __init__(IMP::display::Colored self, Model m, IMP::kernel::ParticleIndex id) -> Colored
1844 __init__(IMP::display::Colored self, Particle p) -> Colored
1846 this = _IMP_display.new_Colored(*args)
1847 try: self.this.append(this)
1848 except: self.this = this
1849 def decorate_particle(*args):
1850 """decorate_particle(Particle p) -> Colored"""
1851 return _IMP_display.Colored_decorate_particle(*args)
1853 if _newclass:decorate_particle = staticmethod(decorate_particle)
1854 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
1855 def show(self, *args):
1857 show(Colored self, _ostream out=std::cout)
1860 return _IMP_display.Colored_show(self, *args)
1862 def add_attribute(self, *args):
1864 add_attribute(Colored self, FloatKey k, IMP::Float v, bool opt)
1865 add_attribute(Colored self, FloatKey a0, IMP::Float a1)
1866 add_attribute(Colored self, IntKey a0, IMP::Int a1)
1867 add_attribute(Colored self, StringKey a0, IMP::String a1)
1868 add_attribute(Colored self, ParticleIndexKey a0, Particle a1)
1869 add_attribute(Colored self, ObjectKey a0, IMP::Object * a1)
1871 return _IMP_display.Colored_add_attribute(self, *args)
1873 def get_value(self, *args):
1875 get_value(Colored self, FloatKey a0) -> IMP::Float
1876 get_value(Colored self, IntKey a0) -> IMP::Int
1877 get_value(Colored self, StringKey a0) -> IMP::String
1878 get_value(Colored self, ParticleIndexKey a0) -> Particle
1879 get_value(Colored self, ObjectKey a0) -> IMP::Object *
1881 return _IMP_display.Colored_get_value(self, *args)
1883 def set_value(self, *args):
1885 set_value(Colored self, FloatKey a0, IMP::Float a1)
1886 set_value(Colored self, IntKey a0, IMP::Int a1)
1887 set_value(Colored self, StringKey a0, IMP::String a1)
1888 set_value(Colored self, ParticleIndexKey a0, Particle a1)
1889 set_value(Colored self, ObjectKey a0, IMP::Object * a1)
1891 return _IMP_display.Colored_set_value(self, *args)
1893 def remove_attribute(self, *args):
1895 remove_attribute(Colored self, FloatKey a0)
1896 remove_attribute(Colored self, IntKey a0)
1897 remove_attribute(Colored self, StringKey a0)
1898 remove_attribute(Colored self, ParticleIndexKey a0)
1899 remove_attribute(Colored self, ObjectKey a0)
1901 return _IMP_display.Colored_remove_attribute(self, *args)
1903 def has_attribute(self, *args):
1905 has_attribute(Colored self, FloatKey a0) -> bool
1906 has_attribute(Colored self, IntKey a0) -> bool
1907 has_attribute(Colored self, StringKey a0) -> bool
1908 has_attribute(Colored self, ParticleIndexKey a0) -> bool
1909 has_attribute(Colored self, ObjectKey a0) -> bool
1911 return _IMP_display.Colored_has_attribute(self, *args)
1913 def get_derivative(self, *args):
1914 """get_derivative(Colored self, FloatKey a0) -> double"""
1915 return _IMP_display.Colored_get_derivative(self, *args)
1918 """get_name(Colored self) -> std::string"""
1919 return _IMP_display.Colored_get_name(self)
1921 def clear_caches(self):
1922 """clear_caches(Colored self)"""
1923 return _IMP_display.Colored_clear_caches(self)
1925 def set_name(self, *args):
1926 """set_name(Colored self, std::string a0)"""
1927 return _IMP_display.Colored_set_name(self, *args)
1930 """set_check_level(Colored self, IMP::base::CheckLevel a0)"""
1931 return _IMP_display.Colored_set_check_level(self, *args)
1933 def add_to_derivative(self, *args):
1934 """add_to_derivative(Colored self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1935 return _IMP_display.Colored_add_to_derivative(self, *args)
1937 def set_is_optimized(self, *args):
1938 """set_is_optimized(Colored self, FloatKey a0, bool a1)"""
1939 return _IMP_display.Colored_set_is_optimized(self, *args)
1941 def get_is_optimized(self, *args):
1942 """get_is_optimized(Colored self, FloatKey a0) -> bool"""
1943 return _IMP_display.Colored_get_is_optimized(self, *args)
1946 """get_check_level(Colored self) -> IMP::base::CheckLevel"""
1947 return _IMP_display.Colored_get_check_level(self)
1949 def __eq__(self, *args):
1951 __eq__(Colored self, Colored o) -> bool
1952 __eq__(Colored self, Particle d) -> bool
1954 return _IMP_display.Colored___eq__(self, *args)
1956 def __ne__(self, *args):
1958 __ne__(Colored self, Colored o) -> bool
1959 __ne__(Colored self, Particle d) -> bool
1961 return _IMP_display.Colored___ne__(self, *args)
1963 def __le__(self, *args):
1965 __le__(Colored self, Colored o) -> bool
1966 __le__(Colored self, Particle d) -> bool
1968 return _IMP_display.Colored___le__(self, *args)
1970 def __lt__(self, *args):
1972 __lt__(Colored self, Colored o) -> bool
1973 __lt__(Colored self, Particle d) -> bool
1975 return _IMP_display.Colored___lt__(self, *args)
1977 def __ge__(self, *args):
1979 __ge__(Colored self, Colored o) -> bool
1980 __ge__(Colored self, Particle d) -> bool
1982 return _IMP_display.Colored___ge__(self, *args)
1984 def __gt__(self, *args):
1986 __gt__(Colored self, Colored o) -> bool
1987 __gt__(Colored self, Particle d) -> bool
1989 return _IMP_display.Colored___gt__(self, *args)
1992 """__str__(Colored self) -> std::string"""
1993 return _IMP_display.Colored___str__(self)
1996 """__repr__(Colored self) -> std::string"""
1997 return _IMP_display.Colored___repr__(self)
1999 __swig_destroy__ = _IMP_display.delete_Colored
2000 __del__ =
lambda self :
None;
2001 Colored_swigregister = _IMP_display.Colored_swigregister
2002 Colored_swigregister(Colored)
2004 def Colored_setup_particle(*args):
2005 """Colored_setup_particle(Particle p, Color c) -> Colored"""
2006 return _IMP_display.Colored_setup_particle(*args)
2008 def Colored_particle_is_instance(*args):
2009 """Colored_particle_is_instance(Particle p) -> bool"""
2010 return _IMP_display.Colored_particle_is_instance(*args)
2012 def Colored_get_color_keys():
2013 """Colored_get_color_keys() -> IMP::kernel::FloatKeys const &"""
2014 return _IMP_display.Colored_get_color_keys()
2016 def Colored_decorate_particle(*args):
2017 """Colored_decorate_particle(Particle p) -> Colored"""
2018 return _IMP_display.Colored_decorate_particle(*args)
2021 def __lshift__(*args):
2022 """__lshift__(_ostream out, Colored n) -> _ostream"""
2023 return _IMP_display.__lshift__(*args)
2024 class FilterGeometry(GeometryProcessor,Geometry):
2025 """Proxy of C++ IMP::display::FilterGeometry class"""
2026 __swig_setmethods__ = {}
2027 for _s
in [GeometryProcessor,Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2028 __setattr__ =
lambda self, name, value: _swig_setattr(self, FilterGeometry, name, value)
2029 __swig_getmethods__ = {}
2030 for _s
in [GeometryProcessor,Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2031 __getattr__ =
lambda self, name: _swig_getattr(self, FilterGeometry, name)
2032 def __init__(self, *args):
2033 """__init__(IMP::display::FilterGeometry self, Plane3D p) -> FilterGeometry"""
2034 this = _IMP_display.new_FilterGeometry(*args)
2035 try: self.this.append(this)
2036 except: self.this = this
2037 def add_geometry(self, *args):
2039 add_geometry(FilterGeometry self, Geometry g)
2040 add_geometry(FilterGeometry self, IMP::display::Geometries const & g)
2042 return _IMP_display.FilterGeometry_add_geometry(self, *args)
2044 def get_version_info(self):
2045 """get_version_info(FilterGeometry self) -> VersionInfo"""
2046 return _IMP_display.FilterGeometry_get_version_info(self)
2048 def do_show(self, *args):
2049 """do_show(FilterGeometry self, _ostream out)"""
2050 return _IMP_display.FilterGeometry_do_show(self, *args)
2052 __swig_destroy__ = _IMP_display.delete_FilterGeometry
2053 __del__ =
lambda self :
None;
2055 """__str__(FilterGeometry self) -> std::string"""
2056 return _IMP_display.FilterGeometry___str__(self)
2059 """__repr__(FilterGeometry self) -> std::string"""
2060 return _IMP_display.FilterGeometry___repr__(self)
2063 return _object_cast_to_FilterGeometry(o)
2064 get_from = staticmethod(get_from)
2066 FilterGeometry_swigregister = _IMP_display.FilterGeometry_swigregister
2067 FilterGeometry_swigregister(FilterGeometry)
2070 """Proxy of C++ IMP::display::WriteOptimizerState class"""
2071 __swig_setmethods__ = {}
2073 __setattr__ =
lambda self, name, value: _swig_setattr(self, WriteOptimizerState, name, value)
2074 __swig_getmethods__ = {}
2076 __getattr__ =
lambda self, name: _swig_getattr(self, WriteOptimizerState, name)
2077 def __init__(self, *args):
2078 """__init__(IMP::display::WriteOptimizerState self, WriterAdaptor w) -> WriteOptimizerState"""
2079 this = _IMP_display.new_WriteOptimizerState(*args)
2080 try: self.this.append(this)
2081 except: self.this = this
2082 def set_period(self, *args):
2083 """set_period(WriteOptimizerState self, unsigned int p)"""
2084 return _IMP_display.WriteOptimizerState_set_period(self, *args)
2086 def remove_geometry(self, *args):
2087 """remove_geometry(WriteOptimizerState self, Geometry d)"""
2088 return _IMP_display.WriteOptimizerState_remove_geometry(self, *args)
2090 def remove_geometries(self, *args):
2091 """remove_geometries(WriteOptimizerState self, IMP::display::Geometries const & d)"""
2092 return _IMP_display.WriteOptimizerState_remove_geometries(self, *args)
2094 def set_geometries(self, *args):
2095 """set_geometries(WriteOptimizerState self, IMP::display::Geometries const & ps)"""
2096 return _IMP_display.WriteOptimizerState_set_geometries(self, *args)
2098 def set_geometries_order(self, *args):
2099 """set_geometries_order(WriteOptimizerState self, IMP::display::Geometries const & objs)"""
2100 return _IMP_display.WriteOptimizerState_set_geometries_order(self, *args)
2102 def add_geometry(self, *args):
2103 """add_geometry(WriteOptimizerState self, Geometry obj) -> unsigned int"""
2104 return _IMP_display.WriteOptimizerState_add_geometry(self, *args)
2107 """add_geometries(WriteOptimizerState self, IMP::display::Geometries const & objs)"""
2108 return _IMP_display.WriteOptimizerState_add_geometries(self, *args)
2110 def clear_geometries(self):
2111 """clear_geometries(WriteOptimizerState self)"""
2112 return _IMP_display.WriteOptimizerState_clear_geometries(self)
2114 def get_number_of_geometries(self):
2115 """get_number_of_geometries(WriteOptimizerState self) -> unsigned int"""
2116 return _IMP_display.WriteOptimizerState_get_number_of_geometries(self)
2118 def get_has_geometries(self):
2119 """get_has_geometries(WriteOptimizerState self) -> bool"""
2120 return _IMP_display.WriteOptimizerState_get_has_geometries(self)
2122 def get_geometry(self, *args):
2123 """get_geometry(WriteOptimizerState self, unsigned int i) -> Geometry"""
2124 return _IMP_display.WriteOptimizerState_get_geometry(self, *args)
2126 def get_geometries(self):
2127 """get_geometries(WriteOptimizerState self) -> IMP::display::Geometries"""
2128 return _IMP_display.WriteOptimizerState_get_geometries(self)
2130 def reserve_geometries(self, *args):
2131 """reserve_geometries(WriteOptimizerState self, unsigned int sz)"""
2132 return _IMP_display.WriteOptimizerState_reserve_geometries(self, *args)
2134 def write(self, *args):
2135 """write(WriteOptimizerState self, WriterAdaptor w)"""
2136 return _IMP_display.WriteOptimizerState_write(self, *args)
2138 def get_version_info(self):
2139 """get_version_info(WriteOptimizerState self) -> VersionInfo"""
2140 return _IMP_display.WriteOptimizerState_get_version_info(self)
2142 __swig_destroy__ = _IMP_display.delete_WriteOptimizerState
2143 __del__ =
lambda self :
None;
2145 """__str__(WriteOptimizerState self) -> std::string"""
2146 return _IMP_display.WriteOptimizerState___str__(self)
2149 """__repr__(WriteOptimizerState self) -> std::string"""
2150 return _IMP_display.WriteOptimizerState___repr__(self)
2153 return _object_cast_to_WriteOptimizerState(o)
2154 get_from = staticmethod(get_from)
2156 WriteOptimizerState_swigregister = _IMP_display.WriteOptimizerState_swigregister
2157 WriteOptimizerState_swigregister(WriteOptimizerState)
2159 class SingletonGeometry(Geometry):
2160 """Proxy of C++ IMP::display::SingletonGeometry class"""
2161 __swig_setmethods__ = {}
2162 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2163 __setattr__ =
lambda self, name, value: _swig_setattr(self, SingletonGeometry, name, value)
2164 __swig_getmethods__ = {}
2165 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2166 __getattr__ =
lambda self, name: _swig_getattr(self, SingletonGeometry, name)
2167 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
2168 def get_particle(self):
2169 """get_particle(SingletonGeometry self) -> Particle"""
2170 return _IMP_display.SingletonGeometry_get_particle(self)
2172 __swig_destroy__ = _IMP_display.delete_SingletonGeometry
2173 __del__ =
lambda self :
None;
2175 """__str__(SingletonGeometry self) -> std::string"""
2176 return _IMP_display.SingletonGeometry___str__(self)
2179 """__repr__(SingletonGeometry self) -> std::string"""
2180 return _IMP_display.SingletonGeometry___repr__(self)
2183 return _object_cast_to_SingletonGeometry(o)
2184 get_from = staticmethod(get_from)
2186 SingletonGeometry_swigregister = _IMP_display.SingletonGeometry_swigregister
2187 SingletonGeometry_swigregister(SingletonGeometry)
2189 class SingletonsGeometry(Geometry):
2190 """Proxy of C++ IMP::display::SingletonsGeometry class"""
2191 __swig_setmethods__ = {}
2192 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2193 __setattr__ =
lambda self, name, value: _swig_setattr(self, SingletonsGeometry, name, value)
2194 __swig_getmethods__ = {}
2195 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2196 __getattr__ =
lambda self, name: _swig_getattr(self, SingletonsGeometry, name)
2197 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
2198 def get_container(self):
2199 """get_container(SingletonsGeometry self) -> SingletonContainer"""
2200 return _IMP_display.SingletonsGeometry_get_container(self)
2202 __swig_destroy__ = _IMP_display.delete_SingletonsGeometry
2203 __del__ =
lambda self :
None;
2205 """__str__(SingletonsGeometry self) -> std::string"""
2206 return _IMP_display.SingletonsGeometry___str__(self)
2209 """__repr__(SingletonsGeometry self) -> std::string"""
2210 return _IMP_display.SingletonsGeometry___repr__(self)
2213 return _object_cast_to_SingletonsGeometry(o)
2214 get_from = staticmethod(get_from)
2216 SingletonsGeometry_swigregister = _IMP_display.SingletonsGeometry_swigregister
2217 SingletonsGeometry_swigregister(SingletonsGeometry)
2219 class PairGeometry(Geometry):
2220 """Proxy of C++ IMP::display::PairGeometry class"""
2221 __swig_setmethods__ = {}
2222 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2223 __setattr__ =
lambda self, name, value: _swig_setattr(self, PairGeometry, name, value)
2224 __swig_getmethods__ = {}
2225 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2226 __getattr__ =
lambda self, name: _swig_getattr(self, PairGeometry, name)
2227 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
2228 def get_particle_pair(self):
2229 """get_particle_pair(PairGeometry self) -> IMP::kernel::ParticlePair"""
2230 return _IMP_display.PairGeometry_get_particle_pair(self)
2232 __swig_destroy__ = _IMP_display.delete_PairGeometry
2233 __del__ =
lambda self :
None;
2235 """__str__(PairGeometry self) -> std::string"""
2236 return _IMP_display.PairGeometry___str__(self)
2239 """__repr__(PairGeometry self) -> std::string"""
2240 return _IMP_display.PairGeometry___repr__(self)
2243 return _object_cast_to_PairGeometry(o)
2244 get_from = staticmethod(get_from)
2246 PairGeometry_swigregister = _IMP_display.PairGeometry_swigregister
2247 PairGeometry_swigregister(PairGeometry)
2249 class PairsGeometry(Geometry):
2250 """Proxy of C++ IMP::display::PairsGeometry class"""
2251 __swig_setmethods__ = {}
2252 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2253 __setattr__ =
lambda self, name, value: _swig_setattr(self, PairsGeometry, name, value)
2254 __swig_getmethods__ = {}
2255 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2256 __getattr__ =
lambda self, name: _swig_getattr(self, PairsGeometry, name)
2257 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
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 def do_show(self, *args):
2339 """do_show(RestraintGeometry self, _ostream out)"""
2340 return _IMP_display.RestraintGeometry_do_show(self, *args)
2342 __swig_destroy__ = _IMP_display.delete_RestraintGeometry
2343 __del__ =
lambda self :
None;
2345 """__str__(RestraintGeometry self) -> std::string"""
2346 return _IMP_display.RestraintGeometry___str__(self)
2349 """__repr__(RestraintGeometry self) -> std::string"""
2350 return _IMP_display.RestraintGeometry___repr__(self)
2353 return _object_cast_to_RestraintGeometry(o)
2354 get_from = staticmethod(get_from)
2356 RestraintGeometry_swigregister = _IMP_display.RestraintGeometry_swigregister
2357 RestraintGeometry_swigregister(RestraintGeometry)
2359 class RestraintSetGeometry(Geometry):
2360 """Proxy of C++ IMP::display::RestraintSetGeometry class"""
2361 __swig_setmethods__ = {}
2362 for _s
in [Geometry]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2363 __setattr__ =
lambda self, name, value: _swig_setattr(self, RestraintSetGeometry, name, value)
2364 __swig_getmethods__ = {}
2365 for _s
in [Geometry]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2366 __getattr__ =
lambda self, name: _swig_getattr(self, RestraintSetGeometry, name)
2367 def __init__(self, *args):
2368 """__init__(IMP::display::RestraintSetGeometry self, RestraintSet p) -> RestraintSetGeometry"""
2369 this = _IMP_display.new_RestraintSetGeometry(*args)
2370 try: self.this.append(this)
2371 except: self.this = this
2372 def get_restraint_set(self):
2373 """get_restraint_set(RestraintSetGeometry self) -> RestraintSet"""
2374 return _IMP_display.RestraintSetGeometry_get_restraint_set(self)
2376 def get_version_info(self):
2377 """get_version_info(RestraintSetGeometry self) -> VersionInfo"""
2378 return _IMP_display.RestraintSetGeometry_get_version_info(self)
2380 def do_show(self, *args):
2381 """do_show(RestraintSetGeometry self, _ostream out)"""
2382 return _IMP_display.RestraintSetGeometry_do_show(self, *args)
2384 __swig_destroy__ = _IMP_display.delete_RestraintSetGeometry
2385 __del__ =
lambda self :
None;
2387 """__str__(RestraintSetGeometry self) -> std::string"""
2388 return _IMP_display.RestraintSetGeometry___str__(self)
2391 """__repr__(RestraintSetGeometry self) -> std::string"""
2392 return _IMP_display.RestraintSetGeometry___repr__(self)
2395 return _object_cast_to_RestraintSetGeometry(o)
2396 get_from = staticmethod(get_from)
2398 RestraintSetGeometry_swigregister = _IMP_display.RestraintSetGeometry_swigregister
2399 RestraintSetGeometry_swigregister(RestraintSetGeometry)
2402 PivyWriter= _pivy.get_writer(Writer)
2403 _object_types.append(
'PivyWriter')
2406 def get_module_version():
2407 """get_module_version() -> std::string const"""
2408 return _IMP_display.get_module_version()
2410 def get_example_path(*args):
2411 """get_example_path(std::string fname) -> std::string"""
2412 return _IMP_display.get_example_path(*args)
2414 def get_data_path(*args):
2415 """get_data_path(std::string fname) -> std::string"""
2416 return _IMP_display.get_data_path(*args)
2417 import _version_check
2418 _version_check.check_version(get_module_version())