5 #ifndef BALL_KERNEL_PDBATOM_H
6 #define BALL_KERNEL_PDBATOM_H
8 #ifndef BALL_KERNEL_ATOM_H
13 #define BALL_PDBATOM_DEFAULT_BRANCH_DESIGNATOR ' '
14 #define BALL_PDBATOM_DEFAULT_REMOTENESS_INDICATOR ' '
15 #define BALL_PDBATOM_DEFAULT_ALTERNATE_LOCATION_INDICATOR ' '
16 #define BALL_PDBATOM_DEFAULT_OCCUPANCY 1.0
17 #define BALL_PDBATOM_DEFAULT_TEMPERATURE_FACTOR 0.0
56 REMOTENESS_INDICATOR__ALPHA =
'A',
57 REMOTENESS_INDICATOR__alpha =
'a',
58 REMOTENESS_INDICATOR__BETA =
'B',
59 REMOTENESS_INDICATOR__beta =
'b',
60 REMOTENESS_INDICATOR__GAMMA =
'G',
61 REMOTENESS_INDICATOR__gamma =
'g',
62 REMOTENESS_INDICATOR__DELTA =
'D',
63 REMOTENESS_INDICATOR__delta =
'd',
64 REMOTENESS_INDICATOR__EPSILON =
'E',
65 REMOTENESS_INDICATOR__epsilon =
'e',
66 REMOTENESS_INDICATOR__ZETA =
'Z',
67 REMOTENESS_INDICATOR__zeta =
'z',
68 REMOTENESS_INDICATOR__ETA =
'H',
69 REMOTENESS_INDICATOR__eta =
'h',
71 NUMBER_OF_REMOTENESS_INDICATORS
121 virtual void destroy();
131 bool operator == (
const PDBAtom& pdb_atom)
const;
136 bool operator != (
const PDBAtom& pdb_atom)
const;
164 void set(
const PDBAtom& pdb_atom,
bool deep =
true);
170 void get(
PDBAtom& pdb_atom,
bool deep =
true)
const;
186 virtual void clear();
203 const Protein* getProtein()
const;
215 const Chain* getChain()
const;
227 const Residue* getResidue()
const;
232 void setBranchDesignator(
char branch_designator);
237 char getBranchDesignator()
const;
242 void setRemotenessIndicator(
char remoteness_indicator);
247 char getRemotenessIndicator()
const;
252 void setAlternateLocationIndicator(
char alternate_location_indicator);
257 char getAlternateLocationIndicator()
const;
262 void setOccupancy(
float occupancy);
267 float getOccupancy()
const;
272 void setTemperatureFactor(
float temperature_factor);
277 float getTemperatureFactor()
const;
290 virtual void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
321 #endif // BALL_KERNEL_PDBATOM_H