IMP logo
Public Member Functions | Static Public Member Functions | Protected Member Functions
IMP::display::BildWriter Class Reference

Detailed Description

Write a Bild file with the geometry.

The bild file format is a simple format for displaying geometry in Chimera. The bild writer supports points, spheres, cyliners, and segments.

You are probably better off using the IMP::display::ChimeraWriter unless you want a human-readable file. ChimeraWriter supports better interactivity and more types of geometry.

+ Inheritance diagram for IMP::display::BildWriter:

List of all members.

Public Member Functions

 BildWriter (base::TextOutput of)
 BildWriter (const char *name)
 BildWriter (std::string name)
- Public Member Functions inherited from IMP::display::TextWriter
 TextWriter (base::TextOutput fn)
 Create a writer opening the file with the passed sink.
 TextWriter (std::string name)
 Create a write for a file or files with the passed name or pattern.
virtual ~TextWriter ()
 Write the data and close the file.
std::string get_current_file_name () const
 get the name of the current file being writter
- 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::base::Object
std::size_t __hash__ () const
virtual std::string get_type_name () const =0
 Return a string identifying the type of the object.
virtual IMP::base::VersionInfo get_version_info () const =0
 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.
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
const std::string & get_name () const
void set_name (std::string name)

Static Public Member Functions

static BildWriterget_from (IMP::base::Object *o)

Protected Member Functions

void handle (Color color)
bool handle_cylinder (CylinderGeometry *g, Color color, std::string)
bool handle_point (PointGeometry *g, Color color, std::string)
bool handle_polygon (PolygonGeometry *g, Color color, std::string)
bool handle_segment (SegmentGeometry *g, Color color, std::string)
bool handle_sphere (SphereGeometry *g, Color color, std::string)
bool handle_triangle (TriangleGeometry *g, Color color, std::string)
- Protected Member Functions inherited from IMP::display::TextWriter
void do_set_frame ()
 in case you want to take action on a new frame
std::ostream & get_stream ()
 Get the stream for inhereting classes to write to.
void open ()
- 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.
- 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_ellipsoid (EllipsoidGeometry *, Color, std::string)
void handle_geometry (Geometry *g)
virtual bool handle_label (LabelGeometry *, Color, std::string)
virtual bool handle_surface_mesh (SurfaceMeshGeometry *, Color, std::string)
- Protected Member Functions inherited from IMP::base::Object
 Object (std::string name)

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

Generated on Tue May 22 2012 23:33:32 for IMP by doxygen 1.8.1