InMemCoordSource Class Reference

in-memory coordinate source More...

#include <in_mem_coord_source.hh>

Inherits ost::mol::CoordSource.

Public Member Functions

 InMemCoordSource (const AtomHandleList &atoms)
virtual uint GetFrameCount () const
virtual CoordFramePtr GetFrame (uint frame_id) const
void AddFrame (const CoordFramePtr &frame)
virtual void AddFrame (const std::vector< geom::Vec3 > &coords)
virtual void AddFrame (const std::vector< geom::Vec3 > &coords, const geom::Vec3 &cell_size, const geom::Vec3 &cell_angles)
virtual void InsertFrame (int pos, const std::vector< geom::Vec3 > &coords)

Detailed Description

in-memory coordinate source

Definition at line 37 of file in_mem_coord_source.hh.


Constructor & Destructor Documentation

InMemCoordSource ( const AtomHandleList atoms  ) 

Member Function Documentation

virtual void AddFrame ( const std::vector< geom::Vec3 > &  coords,
const geom::Vec3 cell_size,
const geom::Vec3 cell_angles 
) [virtual]

Implements CoordSource.

virtual void AddFrame ( const std::vector< geom::Vec3 > &  coords  )  [virtual]

Implements CoordSource.

void AddFrame ( const CoordFramePtr frame  ) 
virtual CoordFramePtr GetFrame ( uint  frame_id  )  const [virtual]

Implements CoordSource.

virtual uint GetFrameCount (  )  const [virtual]

Implements CoordSource.

virtual void InsertFrame ( int  pos,
const std::vector< geom::Vec3 > &  coords 
) [virtual]

Implements CoordSource.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 1 Mar 2018 for OpenStructure by  doxygen 1.6.1