#include <Atom.h>
Public Methods | |
| void | init (int n, int theresid, const 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... | |
| short | 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 61 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 113 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 126 of file Atom.h. Referenced by contacts, measure_hbonds, PickModeAddBond::pick_molecule_end, and vmd_measure_contacts. |
|
||||||||||||||||
|
Definition at line 95 of file Atom.h. References altlocindex, atomicnumber, ATOMNORMAL, atomType, bonds, bondTo, insertionstr, MAXATOMBONDS, n, nameindex, resid, residueType, resnameindex, RESNOTHING, segnameindex, typeindex, and uniq_resid. Referenced by BaseMolecule::add_atoms. |
|
|
alternate location identifier index.
Definition at line 74 of file Atom.h. Referenced by BaseMolecule::add_atoms, GeometryMol::atom_formatted_name, init, VMDApp::molecule_from_selection_list, vmd_bond_search, and MolFilePlugin::write_structure. |
|
|
element atomic number.
Definition at line 73 of file Atom.h. Referenced by BaseMolecule::add_atoms, assign_atoms, GeometryMol::atom_formatted_name, QMData::create_unique_basis, AtomColor::find, init, QMData::init_electrons, VMDApp::molecule_from_selection_list, MolFilePlugin::read_optional_structure, write_ss_input_pdb, and MolFilePlugin::write_structure. |
|
|
is this atom part of the backbone?
Definition at line 86 of file Atom.h. Referenced by add_bond, BaseMolecule::analyze, atomsel_backbonetype, AtomColor::find, init, measure_hbonds, and vmd_bond_search. |
|
|
how many bonds this atom has.
Definition at line 72 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, measure_hbonds, VMDApp::molecule_from_selection_list, PickModeAddBond::pick_molecule_end, MolFilePlugin::read_optional_structure, setbonds, topo_del_bond, topo_get_bond, and MolFilePlugin::write_structure. |
|
|
list of atoms to which this atom is bonded.
Definition at line 71 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, measure_hbonds, VMDApp::molecule_from_selection_list, PickModeAddBond::pick_molecule_end, setbonds, topo_del_bond, topo_get_bond, and MolFilePlugin::write_structure. |
|
|
chain identifier.
Definition at line 79 of file Atom.h. Referenced by BaseMolecule::add_atoms, GeometryMol::atom_formatted_name, VMDApp::molecule_from_selection_list, print_atom_info, write_ss_input_pdb, and MolFilePlugin::write_structure. |
|
|
for insertion codes (padded to 2 chars).
Definition at line 75 of file Atom.h. Referenced by init, VMDApp::molecule_from_selection_list, and MolFilePlugin::write_structure. |
|
|
atom name string index.
Definition at line 68 of file Atom.h. Referenced by BaseMolecule::add_atoms, BaseMolecule::analyze, GeometryMol::atom_formatted_name, GeometryMol::atom_short_name, atomsel_name, colvarproxy_vmd::check_atom_id, BaseMolecule::find_atom_in_residue, init, VMDApp::molecule_from_selection_list, print_atom_info, vmd_bond_search, write_ss_input_pdb, and MolFilePlugin::write_structure. |
|
|
resid from original file.
Definition at line 81 of file Atom.h. Referenced by GeometryMol::atom_formatted_name, GeometryMol::atom_short_name, init, VMDApp::molecule_from_selection_list, 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 91 of file Atom.h. Referenced by BaseMolecule::analyze, atomsel_residuetype, init, and write_ss_input_pdb. |
|
|
atom residue name string index.
Definition at line 82 of file Atom.h. Referenced by BaseMolecule::add_atoms, GeometryMol::atom_formatted_name, GeometryMol::atom_short_name, AtomColor::find, init, VMDApp::molecule_from_selection_list, print_atom_info, write_ss_input_pdb, and MolFilePlugin::write_structure. |
|
|
atom segment name string index.
Definition at line 80 of file Atom.h. Referenced by BaseMolecule::add_atoms, GeometryMol::atom_formatted_name, colvarproxy_vmd::check_atom_id, init, VMDApp::molecule_from_selection_list, print_atom_info, and MolFilePlugin::write_structure. |
|
|
atom type string index.
Definition at line 69 of file Atom.h. Referenced by BaseMolecule::add_atoms, GeometryMol::atom_formatted_name, atomsel_type, init, VMDApp::molecule_from_selection_list, print_atom_info, and MolFilePlugin::write_structure. |
|
|
unique resid, since there can be dups.
Definition at line 70 of file Atom.h. Referenced by BaseMolecule::atom_fragment, BaseMolecule::atom_residue, AtomColor::find, init, measure_avpos_perresidue, measure_center_perresidue, measure_rmsd_perresidue, measure_sasa_perresidue, print_atom_info, and write_ss_input_pdb. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002