19 #ifndef OST_RESIDUE_HANDLE_HU
20 #define OST_RESIDUE_HANDLE_HU
30 namespace ost {
namespace mol {
139 bool HasAltAtomGroup(
const String& group)
const;
Three dimensional vector class, using Real precision.
base class for ResidueHandle and ResidueView
ResidueHandle GetPrev() const
Get previous residue in chain.
TorsionHandle FindTorsion(const String &torsion_name) const
Find torsion by name.
EntityView Select(const Query &q, QueryFlags flags=0) const
return view based on a query object
TorsionHandleList GetTorsionList() const
Get list of all torsion angles of this residue.
std::vector< String > GetAltAtomGroupNames() const
Get names of alternative atom groups.
ResidueHandle GetHandle() const
get this handle
geom::Vec3 GetAltAtomPos(const AtomHandle &atom, const String &group) const
Get alternative atom position for given atom.
bool SwitchAtomPos(const String &group)
switch atoms that have alternative positions to the position in the group. Atoms that do not have an ...
double GetMass() const
Get residue's mass.
bool operator!=(const ResidueHandle &ref) const
void Apply(EntityVisitor &visitor)
Apply entity visitor.
EntityHandle GetEntity() const
ResidueHandle(const impl::ResidueImplPtr &impl)
geom::AlignedCuboid GetBounds() const
get axis-aligned bounding box of residue
const String & GetCurrentAltGroupName() const
Name of active alternative atom group.
int GetAtomCount() const
Get number of atoms of this residue.
geom::Vec3 GetCenterOfMass() const
Get residue's center of mass (mass weighted)
unsigned long GetHashCode() const
int GetBondCount() const
Get number of bonds of this residue. This method might NOT work as expected (see warning below).
AtomHandleList GetAtomList() const
Get number of atoms of this residue.
bool operator==(const ResidueHandle &ref) const
geom::Vec3 GetCenterOfAtoms() const
Get residue's center of atoms (not mass weighted)
bool HasAltAtoms() const
Test if the residue has any alternative atom positions.
int GetIndex() const
Get position of residue in chain.
EntityView Select(const String &query_string, QueryFlags flags=0) const
return view based on query String.
ChainHandle GetChain() const
The chain this residue is attached to.
ResidueHandle GetNext() const
Get next residue in chain.
AtomHandle FindAtom(const String &aname) const
Find atom by name.
Named torsion (dihedral) angle.
#define DLLEXPORT_OST_MOL
boost::shared_ptr< ResidueImpl > ResidueImplPtr
std::vector< AtomHandle > AtomHandleList
bool DLLEXPORT_OST_MOL InSequence(const ResidueHandle &residue_one, const ResidueHandle &residue_two)
Test if two residues are in next in sequence.
std::vector< TorsionHandle > TorsionHandleList