Xmipp
v3.23.11-Nereus
|
#include <pdb.h>
Public Member Functions | |
void | addAtom (const Atom &atom) |
Add Atom. More... | |
const Atom & | getAtom (int i) const |
Get Atom at position i. More... | |
size_t | getNumberOfAtoms () const |
Get number of atoms. More... | |
void | read (const FileName &fnPDB) |
Read phantom from either a PDB of CIF file. More... | |
void | shift (double x, double y, double z) |
Apply a shift to all atoms. More... | |
void | produceSideInfo () |
Public Attributes | |
std::vector< Atom > | atomList |
List of atoms. More... | |
cif::datablock | dataBlock |
|
inline |
|
inline |
|
inline |
void PDBPhantom::produceSideInfo | ( | ) |
Produce side info. The side info produces the radial profiles of each atom and its projections.
void PDBPhantom::read | ( | const FileName & | fnPDB | ) |
Read phantom from either a PDB of CIF file.
This function reads the given PDB or CIF file and inserts the found atoms inside in class's atom list.
fnPDB | PDB/CIF file. |
Definition at line 503 of file pdb.cpp.
void PDBPhantom::shift | ( | double | x, |
double | y, | ||
double | z | ||
) |