19 #ifndef OST_CHAIN_HANDLE_HS
20 #define OST_CHAIN_HANDLE_HS
37 namespace ost {
namespace mol {
93 const String& atom_name)
const;
Three dimensional vector class, using Real precision.
base class for ChainHandle and ChainView
EntityView Select(const Query &q, QueryFlags flags=0) const
return view based on a query object
void SetInSequence(const int index)
checks whether res breaks the in sequence property and updates it accordingly
ResidueHandle GetNext(const ResidueHandle &rh)
AtomHandle FindAtom(const ResNum &num, const String &atom_name) const
bool operator==(const ChainHandle &ref) const
ChainHandle GetHandle() const
get this handle
Real GetMass() const
Get entity's mass.
void Apply(EntityVisitor &visitor)
Apply visitor.
EntityHandle GetEntity() const
Get parent entity.
geom::AlignedCuboid GetBounds() const
ResidueHandle GetPrev(const ResidueHandle &rh)
Get residue before the given residue.
int GetAtomCount() const
Get number of atoms of this chain.
bool InSequence() const
whether the residues form an ordered sequence with respect to their reside numbers.
geom::Vec3 GetCenterOfMass() const
Get entity's center of mass (mass weighted)
void AssignSecondaryStructure(SecStructure ss, const ResNum &start, const ResNum &end)
assign secondary structure to the inclusive residue range start, end
unsigned long GetHashCode() const
ResidueHandle GetResidueByIndex(int index) const
Get residue by index.
ResidueHandleList GetResidueList() const
Get residues of this chain as a list.
int GetBondCount() const
Get number of all inclusive bonds of this chain.
int GetResidueCount() const
Get number of residues of this chain.
AtomHandleList GetAtomList() const
Retrieve atoms of this chain as a list.
geom::Vec3 GetCenterOfAtoms() const
Get entity's center of atoms (not mass weighted)
bool operator!=(const ChainHandle &ref) const
EntityView Select(const String &query_string, QueryFlags flags=0) const
return view based on query String.
ChainHandle(const impl::ChainImplPtr &impl)
#define DLLEXPORT_OST_MOL
boost::shared_ptr< ChainImpl > ChainImplPtr
pointer_it< T > end(const std::vector< T > &values)
std::vector< AtomHandle > AtomHandleList
std::vector< ResidueHandle > ResidueHandleList
Secondary structure types as defined by DSSP. For convenience, the enum values match the characters u...