IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
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-2022 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
13IMPDISPLAY_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*/
23class 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
34IMPDISPLAY_END_NAMESPACE
35
36#endif /* IMPDISPLAY_PYTHON_ONLY_H */
Writer(std::string name)
Create a writer opening the file with the passed name.