19 #ifndef OST_MOL_COORD_SOURCE_HH
20 #define OST_MOL_COORD_SOURCE_HH
25 #include <boost/shared_ptr.hpp>
31 namespace ost {
namespace mol {
50 virtual uint GetFrameCount()=0;
54 int GetAtomCount()
const;
65 void CopyFrame(
uint frame);
66 bool IsMutable()
const;
69 void CaptureInto(
int pos);
72 virtual void AddFrame(
const std::vector<geom::Vec3>& coords) = 0;
73 virtual void AddFrame(
const std::vector<geom::Vec3>& coords,
const geom::Vec3& cell_size,
const geom::Vec3& cell_angles) = 0;
74 virtual void InsertFrame(
int pos,
const std::vector<geom::Vec3>& coords) = 0;
76 void SetMutable(
bool flag);
81 std::map<long,uint> atom_dict_;