.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "gallery/gui/03-gui3d.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code .. rst-class:: sphx-glr-example-title .. _sphx_glr_gallery_gui_03-gui3d.py: GUI 3d demo ================= Load a file and add some masks. You can run the follow commands: 1. open a 3d gui panel ``python -c "import cigvis; cigvis.gui.gui3d()"`` 2. open a 3d gui panel with special dimensions (128, 128, 128) ``python -c "import cigvis; cigvis.gui.gui3d(128, 128, 128)"`` 3. open a 3d gui panel with special dimensions (128, 128, 128), and keep the dimensions when click the clear button. ``python -c "import cigvis; cigvis.gui.gui3d(128, 128, 128, False)"`` .. image:: ../../_static/cigvis/gui/03.gif :alt: image :align: center .. GENERATED FROM PYTHON SOURCE LINES 27-33 .. code-block:: default # sphinx_gallery_thumbnail_path = '_static/cigvis/gui/03.png' import cigvis cigvis.gui.gui2d(128, 128, 128, False) .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.000 seconds) .. _sphx_glr_download_gallery_gui_03-gui3d.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: 03-gui3d.py <03-gui3d.py>` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: 03-gui3d.ipynb <03-gui3d.ipynb>` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_