5 from __future__
import print_function
13 tfn =
"rmf_geometry.rmf"
16 f = RMF.create_rmf_file(tfn)
35 f = RMF.open_rmf_file_read_only(tfn)
41 print(gs[0].get_name())
42 print(
"Try running rmf_display on", tfn)
47 print(IMP.display.BoundingBoxGeometry.get_from(gs[0]).get_geometry())
display::Geometries create_geometries(RMF::FileConstHandle parent)
Create geometry objects for the geometry nodes found in the file.
RMF::FrameID save_frame(RMF::FileHandle file, std::string name="")
Save the current state of the linked objects as a new RMF frame.
Strings setup_from_argv(const Strings &argv, std::string description, std::string positional_description, int num_positional)
void load_frame(RMF::FileConstHandle file, RMF::FrameID frame)
Load the given RMF frame into the state of the linked objects.
void add_geometry(RMF::FileHandle file, display::Geometry *r)
Add a single geometry to the file.
Output IMP model data in various file formats.
Support for the RMF file format for storing hierarchical molecular data and markup.