#include <Atom.h>
Public Methods | |
| void | init (int n, int theresid, char *insertion) |
| int | add_bond (int a, int type) |
| add a bond into the atom. Note that each bond will be stored twice, so make sure when using bonds to define whether the 'official' bond is from low # atom -> high #, or vice versa. More... | |
| int | bonded (int a) |
| return TRUE if this atom is bonded to the specified atom. Returns FALSE otherwise. More... | |
Public Attributes | |
| short | nameindex |
| atom name string index. More... | |
| short | typeindex |
| atom type string index. More... | |
| int | uniq_resid |
| unique resid, since there can be dups. More... | |
| int | bondTo [MAXATOMBONDS] |
| list of atoms to which this atom is bonded. More... | |
| signed char | bonds |
| how many bonds this atom has. More... | |
| signed char | atomicnumber |
| element atomic number. More... | |
| signed char | altlocindex |
| alternate location identifier index. More... | |
| char | insertionstr [2] |
| for insertion codes (padded to 2 chars). More... | |
| signed char | chainindex |
| chain identifier. More... | |
| short | segnameindex |
| atom segment name string index. More... | |
| int | resid |
| resid from original file. More... | |
| short | resnameindex |
| atom residue name string index. More... | |
| signed char | atomType |
| is this atom part of the backbone? More... | |
| signed char | residueType |
| is this part of a larger component? for instance, is this CG atom in an amino acid of some sort? More... | |
Definition at line 45 of file Atom.h.
|
||||||||||||
|
add a bond into the atom. Note that each bond will be stored twice, so make sure when using bonds to define whether the 'official' bond is from low # atom -> high #, or vice versa.
Definition at line 98 of file Atom.h. References ATOMNUCLEICBACK, ATOMPROTEINBACK, atomType, bonds, bondTo, and MAXATOMBONDS. Referenced by BaseMolecule::add_bond. |
|
|
return TRUE if this atom is bonded to the specified atom. Returns FALSE otherwise.
Definition at line 111 of file Atom.h. Referenced by contacts, PickModeAddBond::pick_molecule_end, vmd_measure_contacts, and vmd_measure_hbonds. |
|
||||||||||||||||
|
Definition at line 78 of file Atom.h. References altlocindex, atomicnumber, ATOMNORMAL, atomType, bonds, bondTo, insertionstr, MAXATOMBONDS, nameindex, resid, residueType, resnameindex, RESNOTHING, segnameindex, typeindex, and uniq_resid. Referenced by BaseMolecule::add_atom. |
|
|
alternate location identifier index.
Definition at line 57 of file Atom.h. Referenced by BaseMolecule::add_atom, GeometryMol::atom_formatted_name, init, vmd_bond_search, and MolFilePlugin::write_structure. |
|
|
element atomic number.
Definition at line 56 of file Atom.h. Referenced by BaseMolecule::add_atom, assign_atoms, GeometryMol::atom_formatted_name, QMData::create_unique_basis, AtomColor::find, init, QMData::init_electrons, MolFilePlugin::read_optional_structure, and MolFilePlugin::write_structure. |
|
|
is this atom part of the backbone?
Definition at line 69 of file Atom.h. Referenced by add_bond, BaseMolecule::analyze, atomsel_backbonetype, AtomColor::find, init, vmd_bond_search, and vmd_measure_hbonds. |
|
|
how many bonds this atom has.
Definition at line 55 of file Atom.h. Referenced by access_tcl_atomsel, BaseMolecule::add_bond, add_bond, BaseMolecule::add_bond_dupcheck, assign_atoms, bonded, BaseMolecule::clear_bonds, BaseMolecule::count_bonds, AtomColor::find, getbonds, init, PickModeAddBond::pick_molecule_end, MolFilePlugin::read_optional_structure, setbonds, vmd_measure_hbonds, and MolFilePlugin::write_structure. |
|
|
list of atoms to which this atom is bonded.
Definition at line 54 of file Atom.h. Referenced by access_tcl_atomsel, add_bond, BaseMolecule::add_bond_dupcheck, assign_atoms, bonded, BaseMolecule::count_bonds, AtomColor::find, getbonds, init, PickModeAddBond::pick_molecule_end, setbonds, vmd_measure_hbonds, and MolFilePlugin::write_structure. |
|
|
chain identifier.
Definition at line 62 of file Atom.h. Referenced by BaseMolecule::add_atom, GeometryMol::atom_formatted_name, print_atom_info, and MolFilePlugin::write_structure. |
|
|
for insertion codes (padded to 2 chars).
Definition at line 58 of file Atom.h. Referenced by init, and MolFilePlugin::write_structure. |
|
|
atom name string index.
Definition at line 51 of file Atom.h. Referenced by BaseMolecule::add_atom, BaseMolecule::analyze, GeometryMol::atom_formatted_name, GeometryMol::atom_short_name, atomsel_name, BaseMolecule::find_atom_in_residue, init, print_atom_info, vmd_bond_search, write_stride_record, and MolFilePlugin::write_structure. |
|
|
resid from original file.
Definition at line 64 of file Atom.h. Referenced by GeometryMol::atom_formatted_name, GeometryMol::atom_short_name, init, print_atom_info, and MolFilePlugin::write_structure. |
|
|
is this part of a larger component? for instance, is this CG atom in an amino acid of some sort?
Definition at line 74 of file Atom.h. Referenced by BaseMolecule::analyze, atomsel_residuetype, init, and write_stride_record. |
|
|
atom residue name string index.
Definition at line 65 of file Atom.h. Referenced by BaseMolecule::add_atom, GeometryMol::atom_formatted_name, GeometryMol::atom_short_name, AtomColor::find, init, print_atom_info, write_stride_record, and MolFilePlugin::write_structure. |
|
|
atom segment name string index.
Definition at line 63 of file Atom.h. Referenced by BaseMolecule::add_atom, GeometryMol::atom_formatted_name, init, print_atom_info, and MolFilePlugin::write_structure. |
|
|
atom type string index.
Definition at line 52 of file Atom.h. Referenced by BaseMolecule::add_atom, GeometryMol::atom_formatted_name, atomsel_type, init, print_atom_info, and MolFilePlugin::write_structure. |
|
|
unique resid, since there can be dups.
Definition at line 53 of file Atom.h. Referenced by BaseMolecule::atom_fragment, BaseMolecule::atom_residue, AtomColor::find, init, print_atom_info, and write_stride_record. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002