IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::display::PivyWriter Class Reference

#include <IMP/display/python_only.h>

Inheritance diagram for IMP::display::PivyWriter:

Detailed Description

This writer displays things to a Pivy window.

At the moment it support SphereGeometry and CylinderGeometry.

This class is under development.

Definition at line 23 of file display/python_only.h.

Public Member Functions

void show ()
Public Member Functions inherited from IMP::display::Writer
 Writer (std::string name)
 Create a writer opening the file with the passed name.
virtual ~Writer ()
 Write the data and close the file.
void set_frame (unsigned int i)
int get_frame () const
void add_geometry (Geometry *g)
void add_geometry (const Geometries &g)
Public Member Functions inherited from IMP::Object
CheckLevel get_check_level () const
 get_derived_object (self)
 Return this object cast to the most derived subclass.
LogLevel get_log_level () const
virtual VersionInfo get_version_info () const
 Get information about the module and version of the object.
void set_check_level (CheckLevel l)
void set_log_level (LogLevel l)
 Set the logging level used in this object.
const std::string & get_name () const
 Get the (not necessarily unique) name of this object.
void set_name (std::string name)
virtual std::string get_type_name () const
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
virtual void clear_caches ()

Additional Inherited Members

Protected Member Functions inherited from IMP::display::Writer
virtual void do_close ()=0
 A hook for implementation classes to use to take actions on file close.
virtual void do_open ()=0
 A hook for implementation classes to use to take actions on file open.
virtual void do_set_frame ()
 in case you want to take action on a new frame
Protected Member Functions inherited from IMP::display::GeometryProcessor
virtual bool handle_anything (Geometry *, Color, std::string)
virtual bool handle_bounding_box (BoundingBoxGeometry *, Color, std::string)
virtual bool handle_cylinder (CylinderGeometry *, Color, std::string)
virtual bool handle_ellipsoid (EllipsoidGeometry *, Color, std::string)
void handle_geometry (Geometry *g)
virtual bool handle_label (LabelGeometry *, Color, std::string)
virtual bool handle_point (PointGeometry *, Color, std::string)
virtual bool handle_polygon (PolygonGeometry *, Color, std::string)
virtual bool handle_segment (SegmentGeometry *, Color, std::string)
virtual bool handle_sphere (SphereGeometry *, Color, std::string)
virtual bool handle_surface_mesh (SurfaceMeshGeometry *, Color, std::string)
virtual bool handle_triangle (TriangleGeometry *, Color, std::string)
Protected Member Functions inherited from IMP::Object
 Object (std::string name)
 Construct an object with the given name.
virtual void do_destroy ()

Member Function Documentation

◆ show()

void IMP::display::PivyWriter::show ( )

Show the window and start the interactive event loop. Normal Python execution will resume when the window is closed.


The documentation for this class was generated from the following file: