[ Keywords | Classes | Data | Functions ]
int readPDBfile(istream& PDBstream, const | PDB::Selector& selector )); |
struct | key_comp ; |
typedef | leda::UGRAPH< int, float> SurfaceNet; |
typedef | TwoPointBase::MatchParams MatchParams; |
typedef | TwoPointBase::BaseParams BaseParams; |
FMolecule() ; | |
void | add(const ParticleT& p); |
Vector3 | operator()(unsigned int particle) const ; |
Vector3 | centroid() const; |
void | transform(const Matrix3& lt); |
void | translate(const Vector3& move); |
void | rigidTrans(const RigidTrans3& rt); |
void | concat(const FMolecule& m); |
FMolecule | splitOnIndex(const int i); |
FMolecule& | operator+=(const Vector3& v); |
FMolecule& | operator*=(const Matrix3& lt); |
FMolecule& | operator*=(const RigidTrans3& rt); |
FMolecule& | operator=(const FMolecule& m); |
template < class T> friend ostream& | operator<<(ostream& s, const FMolecule& m); |
FMolecule() ;
#include "FMolecule.h"
Default constructor - empty molecule.
FMolecule() ;
Function is currently defined inline.
int readPDBfile(istream& PDBstream, const PDB::Selector& selector ));
#include "FMolecule.h"
readPDBfile accepts an input stream (file or cin) and an atom selector. The default atom selector defined under PDB - PDB::Selector selects all atoms by default. To write different selection functions one has to define descendants to PDB::Selector() and redefine the operato()(const char* PDBrec) const function to operate as desired.
int readPDBfile(istream& PDBstream, const PDB::Selector& selector = PDB::Selector());
void add(const ParticleT& p);
#include "FMolecule.h"
Shorthand for vector push_back. Adds a new Particle at the end of the Particle array.
void add(const ParticleT& p);
Vector3 operator()(unsigned int particle) const ;
#include "FMolecule.h"
The () operator returns a Particle's position according to index. The virtual operator() is declared in MoleculeBase a virtual class that serves as a base for Molecule. The operator() is used by functions recieving Molecule objects of unknown types. See for example Match.h.
Vector3 operator()(unsigned int particle) const ;
Function is currently defined inline.
Vector3 centroid() const;
#include "FMolecule.h"
Returns centroid of all particle positions.
Vector3 centroid() const;
void transform(const Matrix3& lt);
#include "FMolecule.h"
Transforms molecule using a linear transformation of type Matrix3.
void transform(const Matrix3& lt);
void translate(const Vector3& move);
#include "FMolecule.h"
Moves all atom coordinates by given vector3 move.
inline void translate(const Vector3& move);
Function is currently defined inline.
void rigidTrans(const RigidTrans3& rt);
#include "FMolecule.h"
Applies a rigid transformation on all molecule's Particles.
void rigidTrans(const RigidTrans3& rt);
void concat(const FMolecule& m);
#include "FMolecule.h"
Concating two molecules together molecule m is added at the end of *this molecule
void concat(const FMolecule& m);
FMolecule splitOnIndex(const int i);
#include "FMolecule.h"
Splitting a molecule on index i all the particles from 0-i (included) will stay in this molecule the other particles : i+1-end-of-molecule are returned as a different molecule
FMolecule splitOnIndex(const int i);
FMolecule& operator+=(const Vector3& v);
#include "FMolecule.h"
Moves all atom coordinates by given vector3 move.
FMolecule& operator+=(const Vector3& v);
FMolecule& operator*=(const Matrix3& lt);
#include "FMolecule.h"
Applies a linear transformation on all protein coordinates.
FMolecule& operator*=(const Matrix3& lt);
FMolecule& operator*=(const RigidTrans3& rt);
#include "FMolecule.h"
Applies a rigid transformation on all atom coordinates.
FMolecule& operator*=(const RigidTrans3& rt);
FMolecule& operator=(const FMolecule& m);
#include "FMolecule.h"
Equality operator.
FMolecule& operator=(const FMolecule& m);
template < class T> friend ostream& operator<<(ostream& s, const FMolecule& m);
#include "FMolecule.h"
Output operator assuming the ParticleT class has its own overload of the output operator.
template < class T> friend ostream& operator<<(ostream& s, const FMolecule& m);
struct key_comp ;
#include "Net.h"
struct key_comp { bool operator()(const Key3& key1, const Key3& key2) const { if(key1[0] != key2[0]) return (key1[0] < key2[0]) ? true : false; if(key1[1] != key2[1]) return (key1[1] < key2[1]) ? true : false; if(key1[2] != key2[2]) return (key1[2] < key2[2]) ? true : false; return false; } };
typedef leda::UGRAPH< int, float> SurfaceNet;
#include "Net.h"
typedef leda::UGRAPH< int, float> SurfaceNet;
typedef TwoPointBase::MatchParams MatchParams;
#include "TwoPointBase.h"
typedef TwoPointBase::MatchParams MatchParams;
typedef TwoPointBase::BaseParams BaseParams;
#include "TwoPointBase.h"
typedef TwoPointBase::BaseParams BaseParams;
Report problems to jkotula@unimax.com