OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
InMemCoordSource Class Reference

#include <in_mem_coord_source.hh>

Inherits CoordSource.

Public Member Functions

 InMemCoordSource (const AtomHandleList &atoms)
virtual uint GetFrameCount ()
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)
- Public Member Functions inherited from CoordSource
 CoordSource (const AtomHandleList &atoms)
virtual ~CoordSource ()
CoordSourcePtr Extract (int start=0, int stop=-1, int step=1)
int GetAtomCount () const
EntityHandle GetEntity () const
const AtomHandleListGetAtomList () const
void SetAtomPos (uint frame, AtomHandle atom, const geom::Vec3 &pos)
geom::Vec3 GetAtomPos (uint frame, AtomHandle atom) const
void CopyFrame (uint frame)
bool IsMutable () const
void Capture ()
void CaptureInto (int pos)
void Capture (uint f)

Additional Inherited Members

- Protected Member Functions inherited from CoordSource
void SetMutable (bool flag)

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

void AddFrame ( const CoordFramePtr frame)
virtual void AddFrame ( const std::vector< geom::Vec3 > &  coords)
virtual

Implements CoordSource.

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

Implements CoordSource.

virtual CoordFramePtr GetFrame ( uint  frame_id) const
virtual

Implements CoordSource.

virtual uint GetFrameCount ( )
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: