12 tfn =
"rmf_geometry.rmf"
15 f = RMF.create_rmf_file(tfn)
34 f = RMF.open_rmf_file_read_only(tfn)
40 print(gs[0].get_name())
41 print(
"Try running rmf_display on", tfn)
46 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.