ChemAtom

This is a class that addes additional atrributes to Atom

[ DockingLib | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

KEYWORD
AUTHORS
GOALS
CHANGES LOG
USAGE

Class Summary

class ChemAtom
: public Atom, public EnergyAtom
{
public:
// Constructors
ChemAtom();
ChemAtom(const Vector3& p, const char ch, const unsigned short aid, const unsigned short resid, const char* const t, const char resTp, const int chem_type , const float rad , const float charge );
// modifiers
void setChemType(const int chem_type) ;
void setRadius(const float r) ;
void setEpsilon(const float e) ;
void setCharge(const float c) ;
void setHBData(const HB_TYPE hbType, const Vector3& hbDirection);
void setSteadyProb(const float p) ;
void setASA(const float ASA) ;
void setPosition(const Vector3& v) ;
// Inspectors
int getChemType() const ;
float getRadius() const ;
float getEpsilon() const ;
bool isHydrogen() const ;
float getCharge() const ;
bool isDonor() const ;
bool isAcceptor() const ;
const Vector3& getHBDirection() const ;
float getSteadyProb() const ;
float getASA() const ;
bool isNonPolar() const ;
static const float maxRadius;
protected:
}; // ChemAtom

Back to the top of ChemAtom


KEYWORD

ChemAtom, radius, charge, type, ASA, solvation

Back to the top of ChemAtom


AUTHORS

Dina Schneidman (duhovka@tau.ac.il)

copyright: GAMBA Group , Tel-Aviv Univ. Israel, 2004.

Back to the top of ChemAtom


GOALS

ChemAtom extends Atom and has 4 additional attributes: chemical type, radius, charge and probability of the atom of being steady.

Back to the top of ChemAtom


CHANGES LOG

Back to the top of ChemAtom


USAGE

Back to the top of ChemAtom


ChemAtom();

empty atom

  ChemAtom();

Back to the top of ChemAtom


ChemAtom(const Vector3& p, const char ch, const unsigned short aid, const unsigned short resid, const char* const t, const char resTp, const int chem_type , const float rad , const float charge );

construction with atom data

  ChemAtom(const Vector3& p, const char ch, const unsigned short aid,
	   const unsigned short resid, const char* const t, const char resTp,
	   const int chem_type=0, const float rad=1.5, const float charge=0);

Back to the top of ChemAtom


void setChemType(const int chem_type) ;

set chemical type

  void setChemType(const int chem_type)                                                                                                                                                               
;

Function is currently defined inline.


Back to the top of ChemAtom


void setRadius(const float r) ;

set radius

  void setRadius(const float r)                 
;

Function is currently defined inline.


Back to the top of ChemAtom


void setEpsilon(const float e) ;

set epsilon

  void setEpsilon(const float e)                  
;

Function is currently defined inline.


Back to the top of ChemAtom


void setCharge(const float c) ;

set charge

  void setCharge(const float c)                 
;

Function is currently defined inline.


Back to the top of ChemAtom


void setHBData(const HB_TYPE hbType, const Vector3& hbDirection);

set HB data

  void setHBData(const HB_TYPE hbType, const Vector3& hbDirection);

Back to the top of ChemAtom


void setSteadyProb(const float p) ;

set probability of being steady

  void setSteadyProb(const float p)                     
;

Function is currently defined inline.


Back to the top of ChemAtom


void setASA(const float ASA) ;

set ASA

  void setASA(const float ASA)                
;

Function is currently defined inline.


Back to the top of ChemAtom


void setPosition(const Vector3& v) ;

set atom position

  void setPosition(const Vector3& v)               
;

Function is currently defined inline.


Back to the top of ChemAtom


int getChemType() const ;

get atom chemical type for ACE computation

  int getChemType() const                                                                               
;

Function is currently defined inline.


Back to the top of ChemAtom


float getRadius() const ;

get atom radius

  float getRadius() const                    
;

Function is currently defined inline.


Back to the top of ChemAtom


float getEpsilon() const ;

get epsilon value

  float getEpsilon() const                     
;

Function is currently defined inline.


Back to the top of ChemAtom


bool isHydrogen() const ;

  bool isHydrogen() const                  
;

Function is currently defined inline.


Back to the top of ChemAtom


float getCharge() const ;

get atom charge

  float getCharge() const                    
;

Function is currently defined inline.


Back to the top of ChemAtom


bool isDonor() const ;

  bool isDonor() const                                                     
;

Function is currently defined inline.


Back to the top of ChemAtom


bool isAcceptor() const ;

  bool isAcceptor() const                                                        
;

Function is currently defined inline.


Back to the top of ChemAtom


const Vector3& getHBDirection() const ;

returns direction of h-donor/acceptor, in case of undefined direction zero vector is returned

  const Vector3& getHBDirection() const                         
;

Function is currently defined inline.


Back to the top of ChemAtom


float getSteadyProb() const ;

get probability of being steady

  float getSteadyProb() const                        
;

Function is currently defined inline.


Back to the top of ChemAtom


float getASA() const ;

get ASA

  float getASA() const                 
;

Function is currently defined inline.


Back to the top of ChemAtom


bool isNonPolar() const ;

  bool isNonPolar() const                        
;

Function is currently defined inline.


Back to the top of ChemAtom


const float maxRadius;

maximal atom radius

  static const float maxRadius;

Back to the top of ChemAtom


All Members

public:
// Constructors
explicit Atom(const char* const PDBrec);
// Inspectors
char chainId() const;
char altLocIndicator() const;
unsigned short atomIndex() const;
short residueIndex() const;
char residueICode() const;
const char *const type() const;
char residueType() const;
const char *const residueName() const;
AtomEntryType getAtomEntryType() const;
float getOccupancy() const;
float getTempFactor() const;
void setTempFactor(float ftemp);
bool isBackbone() const;
bool isCA() const;
bool isCB() const;
bool isN() const;
bool isC() const;
bool isO() const;
bool isH() const;
bool isWater() const;
bool isP() const;
bool isRNABackbone() const;
bool isSugarAtom() const;
// Adaptors
void setChainId(const char newChainId);
void setAtomId(unsigned short newAtomId);
Atom& operator*=(const RigidTrans3& rt) ;
operator RESIDUE_INDEX()const ;
void setSSE(const pair< char,short>& isseInfo) ;
pair< char,short> getSSE()const ;
static string parseAtomName(const char* const atomName_);
friend ostream& operator<<(ostream& s, const Atom& at);
float getRadius() const; // pure virtual
float getEpsilon() const; // pure virtual
bool isHydrogen() const; // pure virtual
float getCharge() const; // pure virtual
bool isDonor() const; // pure virtual
bool isAcceptor() const; // pure virtual
const Vector3& getHBDirection() const; // pure virtual
Vector3 position() const; // pure virtual
// modifiers
void setChemType(const int chem_type) ;
void setRadius(const float r) ;
void setEpsilon(const float e) ;
void setCharge(const float c) ;
void setHBData(const HB_TYPE hbType, const Vector3& hbDirection);
void setSteadyProb(const float p) ;
void setASA(const float ASA) ;
void setPosition(const Vector3& v) ;
// Inspectors
int getChemType() const ;
float getRadius() const ;
float getEpsilon() const ;
bool isHydrogen() const ;
float getCharge() const ;
bool isDonor() const ;
bool isAcceptor() const ;
const Vector3& getHBDirection() const ;
float getSteadyProb() const ;
float getASA() const ;
bool isNonPolar() const ;
static const float maxRadius;
protected:

Back to the top of ChemAtom


Ancestors

Inheritance chain for ChemAtom:

Back to the top of ChemAtom


Descendants

Class is not inherited by any others.

Back to the top of ChemAtom


Generated from source by the Cocoon utilities on Mon Dec 21 12:00:23 2009 .

Report problems to jkotula@unimax.com