IMP logo
IMP Reference Guide  2.13.0
The Integrative Modeling Platform
display/python_only.h
Go to the documentation of this file.
1 /**
2  * \file IMP/display/python_only.h \brief Build dependency graphs on models.
3  *
4  * Copyright 2007-2020 IMP Inventors. All rights reserved.
5  *
6  */
7 
8 #ifndef IMPDISPLAY_PYTHON_ONLY_H
9 #define IMPDISPLAY_PYTHON_ONLY_H
10 
11 #include <IMP/display/display_config.h>
12 
13 IMPDISPLAY_BEGIN_NAMESPACE
14 
15 #ifdef IMP_DOXYGEN
16 /** This writer displays things to a
17  [Pivy](https://pypi.python.org/pypi/Pivy) window.
18 
19  At the moment it support SphereGeometry and CylinderGeometry.
20 
21  This class is under development.
22 */
23 class PivyWriter : public Writer {
24  public:
25  PivyWriter();
26  /** Show the window and start the interactive event loop.
27  Normal Python execution will resume when the window
28  is closed.
29  */
30  void show();
31 };
32 #endif
33 
34 IMPDISPLAY_END_NAMESPACE
35 
36 #endif /* IMPDISPLAY_PYTHON_ONLY_H */
Base class for writing geometry to a file.
Definition: Writer.h:28
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.