PBlockConnection Class Reference

#include <PBlockConnection.h>

List of all members.


Detailed Description

PBlockConnection is used to specify and create connections between blocks. A pair of blocks (such as backbone and sidechain) can form a simple residue, or they can be connected to additional blocks (e.g. to include oxygen atoms or hydrogen atoms).


Public Member Functions

 PBlockConnection (const string &definedBlock, const string &blockToDefine, const HASH_MAP_STRPAIR_EX(Vector3)&relativePositions, const vector< PBlockBondShell > &blockConnections)
void GenerateNewBlock (PBlock *blockDefined, PBlock *incompleteBlock)
void BondBlocksTogether (PBlock *blockDefined, PBlock *blockJustDefined)
StringPair getName () const


Constructor & Destructor Documentation

PBlockConnection::PBlockConnection ( const string &  definedBlock,
const string &  blockToDefine,
const HASH_MAP_STRPAIR_EX(Vector3)&  relativePositions,
const vector< PBlockBondShell > &  blockConnections 
)

Constructs a new PBlockConnection. Required are: the string ID of the defined block and block being defined; the map of relative positions, as defined in doc/FORMATS; and the vector of block connections specifying which atoms form inter-block bonds.


Member Function Documentation

void PBlockConnection::GenerateNewBlock ( PBlock blockDefined,
PBlock incompleteBlock 
)

NewBlock is generated by using the map of relative positions, as defined in doc/FORMATS; and the vector of block connections specifying which atoms form inter-block bonds.

void PBlockConnection::BondBlocksTogether ( PBlock blockDefined,
PBlock blockJustDefined 
)

Bonds the newly generated block with correct global positions.

StringPair PBlockConnection::getName (  )  const [inline]

Returns the StringPair of the defined block and todefine block.


The documentation for this class was generated from the following files:
Generated on Wed May 16 20:22:13 2007 for LoopTK: Protein Loop Kinematic Toolkit by  doxygen 1.5.1