Molmodel
|
One atom, which may have more than one location, in the case of static or dynamic disorder in an X-ray structure. More...
#include <Pdb.h>
Public Member Functions | |
PdbAtom (const SimTK::String &name, const Element &e) | |
PdbAtom (const class Compound &compound, const String &atomName, const Transform &transform=Transform()) | |
PdbAtom (const State &state, const class Compound &compound, const String &atomName, const Transform &transform=Transform()) | |
std::ostream & | write (std::ostream &os, int &nextAtomSerialNumber, const char residueName[4], PdbResidueId residueId, char chainId, const Transform &transform) const |
bool | hasLocation (char altLoc) const |
bool | hasLocation () const |
Vec3 | getLocation (char altLoc) const |
Vec3 | getLocation () const |
PdbAtom & | setLocation (const PdbAtomLocation &loc) |
const String & | getName () const |
const PdbAtomLocation & | getPdbAtomLocation () const |
const Vec3 & | getCoordinates () const |
char | getAlternateLocationIndicator () const |
SimTK::Real | getTemperatureFactor () const |
SimTK::Real | getOccupancy () const |
Protected Member Functions | |
void | parsePdbLine (const String &line) |
Static Protected Member Functions | |
static String | canonicalizeAtomName (const String &casualName) |
create upper-case four-character PDB-style atom name, given a more free-form atom name | |
static std::vector< SimTK::String > | generatePossibleAtomNames (SimTK::String name) |
Try to be smart about guessing correct atom name for names that are not 4 characters long. | |
Friends | |
class | PdbResidue |
One atom, which may have more than one location, in the case of static or dynamic disorder in an X-ray structure.
SimTK::PdbAtom::PdbAtom | ( | const SimTK::String & | name, |
const Element & | e | ||
) | [explicit] |
SimTK::PdbAtom::PdbAtom | ( | const class Compound & | compound, |
const String & | atomName, | ||
const Transform & | transform = Transform() |
||
) | [explicit] |
SimTK::PdbAtom::PdbAtom | ( | const State & | state, |
const class Compound & | compound, | ||
const String & | atomName, | ||
const Transform & | transform = Transform() |
||
) | [explicit] |
std::ostream& SimTK::PdbAtom::write | ( | std::ostream & | os, |
int & | nextAtomSerialNumber, | ||
const char | residueName[4], | ||
PdbResidueId | residueId, | ||
char | chainId, | ||
const Transform & | transform | ||
) | const |
bool SimTK::PdbAtom::hasLocation | ( | char | altLoc | ) | const |
bool SimTK::PdbAtom::hasLocation | ( | ) | const |
Vec3 SimTK::PdbAtom::getLocation | ( | char | altLoc | ) | const |
Vec3 SimTK::PdbAtom::getLocation | ( | ) | const |
PdbAtom& SimTK::PdbAtom::setLocation | ( | const PdbAtomLocation & | loc | ) | [inline] |
const String& SimTK::PdbAtom::getName | ( | ) | const [inline] |
const PdbAtomLocation& SimTK::PdbAtom::getPdbAtomLocation | ( | ) | const [inline] |
const Vec3& SimTK::PdbAtom::getCoordinates | ( | ) | const [inline] |
char SimTK::PdbAtom::getAlternateLocationIndicator | ( | ) | const [inline] |
SimTK::Real SimTK::PdbAtom::getTemperatureFactor | ( | ) | const [inline] |
SimTK::Real SimTK::PdbAtom::getOccupancy | ( | ) | const [inline] |
void SimTK::PdbAtom::parsePdbLine | ( | const String & | line | ) | [protected] |
create upper-case four-character PDB-style atom name, given a more free-form atom name
static std::vector<SimTK::String> SimTK::PdbAtom::generatePossibleAtomNames | ( | SimTK::String | name | ) | [static, protected] |
Try to be smart about guessing correct atom name for names that are not 4 characters long.
friend class PdbResidue [friend] |