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);
83 void SetFramePositions(
uint frame,
const std::vector<geom::Vec3>& clist);
86 virtual void AddFrame(
const std::vector<geom::Vec3>& coords) = 0;
87 virtual void AddFrame(
const std::vector<geom::Vec3>& coords,
const geom::Vec3& cell_size,
const geom::Vec3& cell_angles) = 0;
88 virtual void InsertFrame(
int pos,
const std::vector<geom::Vec3>& coords) = 0;
93 void SetMutable(
bool flag);
98 std::map<long,uint> atom_dict_;
99 float delta_,start_time_;
float GetStartTime() const
ImageStateConstModOPAlgorithm< TransformFnc > Transform
boost::shared_ptr< CoordSource > CoordSourcePtr
T Extract(const info::InfoGroup &g, const String &n)
Convenience function to extract a value from an item.
float GetFrameDelta() const
boost::shared_ptr< CoordFrame > CoordFramePtr
void SetStartTime(float t)
Three dimensional vector class, using Real precision.
#define DLLEXPORT_OST_MOL
std::vector< AtomHandle > AtomHandleList
void SetFrameDelta(float d)