#include <Atom.h>
Definition at line 30 of file Atom.h.
Public Types | |
typedef PDB_index< Atom > | Index |
enum | Type |
Public Member Functions | |
Atom () | |
Index | index () const |
void | set_index (Index i) |
const Point & | cartesian_coords () const |
void | set_cartesian_coords (const Point &pt) |
bool | operator< (const Atom &o) const |
bool | operator== (const Atom &al) const |
bool | operator!= (const Atom &al) const |
float | occupancy () const |
void | set_occupancy (float o) |
float | temperature_factor () const |
void | set_temperature_factor (float f) |
const char * | segment_id () const |
void | set_segment_id (const char *c) |
const char * | element () const |
void | set_element (const char *c) |
const char * | charge () const |
void | set_charge (const char *c) |
Type | type () const |
void | set_type (Type t) |
Protected Attributes | |
Index | index_ |
Type | type_ |
Point | coordinates_ |
float | occupancy_ |
float | temp_factor_ |
std::string | segID_ |
std::string | element_ |
std::string | charge_ |
Friends | |
class | Residue |
|
The type to represent the atoms index in the PDB file.
|
|
The type (element) of an atom. The currently supported types are C,N,H,O,S, INVALID.
|
|
Construct and invalid atom.
|
|
Cartesian coordinates (x,y,z) for the atom.
Definition at line 102 of file Atom.h. References coordinates_. |
|
The PDB charge field.
Definition at line 157 of file Atom.h. References charge_. |
|
The PDB element field.
Definition at line 149 of file Atom.h. References element_. |
|
The int index of the atom (atom number in a PDB -1).
Definition at line 88 of file Atom.h. References index_. Referenced by dsrpdb::Protein::Bonds_iterator::cur_bond(). |
|
The PDB occupancy field.
Definition at line 125 of file Atom.h. References occupancy_. |
|
The PDB segment ID char.
Definition at line 141 of file Atom.h. References segID_. |
|
Set the cartesian coordinates.
Definition at line 106 of file Atom.h. References coordinates_. |
|
Set the PDB charge field value.
Definition at line 161 of file Atom.h. References charge_. |
|
Set the element.
Definition at line 153 of file Atom.h. References element_. |
|
Set the index.
Definition at line 93 of file Atom.h. References index_. |
|
Set the PDB occupancy field.
Definition at line 129 of file Atom.h. References occupancy_. |
|
Set the PDB segment ID char.
Definition at line 145 of file Atom.h. References segID_. |
|
Set the PDB temperature factor field.
Definition at line 137 of file Atom.h. References temp_factor_. |
|
Set the element.
Definition at line 100 of file Atom.h. References type_. |
|
The PDB temperature factor field.
Definition at line 133 of file Atom.h. References temp_factor_. |
|
The type of the atoms (basically what element).
Definition at line 98 of file Atom.h. References type_. |