|
Victor
|
Implements a simple atom type. More...
Inheritance diagram for Atom:
Collaboration diagram for Atom:Public Member Functions | |
| Atom (unsigned int mI=1, unsigned int mO=4) | |
| Atom (const Atom &orig) | |
| virtual | ~Atom () |
| virtual void | bindIn (SimpleBond &c) |
| virtual void | bindOut (SimpleBond &c) |
| void | copy (const Atom &orig) |
| virtual void | copy (const SimpleBond &orig) |
| double | distance (Atom &other) |
| virtual const SimpleBond & | getInBond (unsigned int n) const |
| virtual SimpleBond & | getInBond (unsigned int n) |
| unsigned int | getMaxInBonds () const |
| unsigned int | getMaxOutBonds () const |
| virtual const SimpleBond & | getOutBond (unsigned int n) const |
| virtual SimpleBond & | getOutBond (unsigned int n) |
| virtual string | getType () const |
| bool | isBond (const SimpleBond &c) const |
| bool | isInBond (const SimpleBond &c) const |
| bool | isIndirectBond (const SimpleBond &c) const |
| bool | isIndirectInBond (const SimpleBond &c) const |
| bool | isIndirectOutBond (const SimpleBond &c) const |
| bool | isOutBond (const SimpleBond &c) const |
| bool | isTorsionBond (const SimpleBond &c) const |
| void | setCoords (double _x, double _y, double _z) |
| void | setCoords (vgVector3< double > c) |
| void | setMaxInBonds (unsigned int m) |
| void | setMaxOutBonds (unsigned int m) |
| void | setModified () |
| void | setType (string _name) |
| void | setUnModified () |
| unsigned int | sizeInBonds () const |
| unsigned int | sizeOutBonds () const |
| virtual void | sync () |
| virtual void | unbindIn (SimpleBond &c) |
| virtual void | unbindOut (SimpleBond &c) |
Protected Member Functions | |
| virtual void | pUnbindIn (SimpleBond &c) |
| virtual void | pUnbindOut (SimpleBond &c) |
Implements a simple atom type.
Includes methods that allow you to get and set type, bind, unbind, coordinates , code, etc. NB: Angles are in degrees.
| Atom | ( | unsigned int | mI = 1, |
| unsigned int | mO = 4 |
||
| ) |
Initialize the Atom object with the following attributes: type, coords, Bfac, trans, rot, modified, superior
| Number | of in Bonds (unsigned int), number of out Bonds (unsigned Int) |
|
virtual |
DESTRUCTOR
| none |
|
virtual |
Sets and in-bond from this to c.
Reimplemented from SimpleBond.
|
virtual |
Sets and out-bond from this to c
Reimplemented from SimpleBond.
|
virtualinherited |
Copy operator. Attention: copy() strips orig from its bonds and attaches them to the new bond.
| double distance | ( | Atom & | other | ) |
Calculate the Euclidean distance
| A | partner Atom |
|
virtualinherited |
|
virtualinherited |
|
inherited |
Get maximum of in-bonds.
|
inherited |
Get maximum of out-bonds.
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
Is c bonded to this ?
Reimplemented in SideChain.
|
inherited |
Is c bonded to this ?
|
inherited |
Is c in-bonded to this ?
|
inherited |
Checks if this is indirectly bonded to c. (ie. A to C if A bond B and B bond C)
|
inherited |
Checks if this is indirectly bonded to c. (ie. A to C if A bond B and B bond C)
|
inherited |
Checks if this is indirectly bonded to c. (ie. A to C if A bond B and B bond C)
|
inherited |
Is c out-bonded to this ?
|
inherited |
Checks if this is torsion bond to c. (ie. A to D if A indirect bond C and C bond D)
|
protectedvirtualinherited |
Private method to find the matching in-bond from c to this to remove.
|
protectedvirtualinherited |
Private method to find the matching out-bond from c to this to remove.
| void setCoords | ( | double | _x, |
| double | _y, | ||
| double | _z | ||
| ) |
Set the 3D coordinates of the Atom
| X,Y | and Z (double) |
| void setCoords | ( | vgVector3< double > | c | ) |
Set the 3D coordinates of the Atom
| Vector | with the X, Y, Z coordinates (vgVector3<double>) |
|
inherited |
Sets maximum of in-bonds.
|
inherited |
Sets maximum of out-bonds.
| void setModified | ( | ) |
Set the "Modified" flag. Sync() will syncronize only if "Modified" is true.
|
virtual |
Sets type (eg. C atom, GLY amino acid, etc.) of this.
Reimplemented from SimpleBond.
| void setUnModified | ( | ) |
Set the "Modified" flag to false. Sync() will syncronize only if "Modified" is true.
|
inherited |
How many in-bonds are there ?
|
inherited |
How many out-bonds are there ?
|
virtual |
Synchronize coords with structure
|
virtual |
Removes an in-bond from this to c.
Reimplemented from SimpleBond.
|
virtual |
Removes an out-bond from this to c.
Reimplemented from SimpleBond.