19 #ifndef OST_MOL_COORD_SOURCE_HH
20 #define OST_MOL_COORD_SOURCE_HH
25 #include <boost/shared_ptr.hpp>
35 namespace ost {
namespace mol {
52 virtual uint GetFrameCount()
const =0;
66 int GetAtomCount()
const;
77 void CopyFrame(
uint frame);
78 bool IsMutable()
const;
81 void CaptureInto(
int pos);
84 virtual void AddFrame(
const std::vector<geom::Vec3>& coords) = 0;
85 virtual void AddFrame(
const std::vector<geom::Vec3>& coords,
const geom::Vec3& cell_size,
const geom::Vec3& cell_angles) = 0;
86 virtual void InsertFrame(
int pos,
const std::vector<geom::Vec3>& coords) = 0;
91 void SetMutable(
bool flag);
96 std::map<long,uint> atom_dict_;
97 float delta_,start_time_;