IMP logo

io.h File Reference

Classes to write entities in algebra to files. More...

Include dependency graph for algebra/io.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Namespaces

namespace  IMP
 The IMP kernel provides base classes and key shared functionality.
namespace  IMP::algebra
 This module contains general purpose algebraic and geometric methods.

Functions

Simple geometric IO
These functions write geometry to text files, one line per geometric primitive. Each line has the form “x y z” for points or “x y z r” for spheres. We can easily add general dimension support if requested.. Lines beginning with "#" are treated as comments.

std::vector< VectorD< 3 > > IMP::algebra::read_pts (TextInput in)
 Read a set of 3D vectors from a file.
std::vector< SphereD< 3 > > IMP::algebra::read_spheres (TextInput in)
 Read a set of 3d spheres from a file.
void IMP::algebra::write_pts (const std::vector< VectorD< 3 > > &vs, TextOutput out)
 Write a set of 3D vectors to a file.
void IMP::algebra::write_spheres (const std::vector< VectorD< 3 > > &vs, TextOutput out)
 Write a set of 3d spheres to a file.

Detailed Description

Classes to write entities in algebra to files.

Copyright 2007-2010 IMP Inventors. All rights reserved.


Generated on Mon Mar 8 23:05:45 2010 for IMP by doxygen 1.5.8