RigidGroup


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

Quick Index

KEYWORD
AUTHORS
CHANGES LOG
GOALS
USAGE

Class Summary

class RigidGroup
{
public:
// Constructors
RigidGroup(LigandMolecule* mol, unsigned int groupId) ;
// Inspectors
const vector< unsigned int>& getAtoms() const ;
const vector< Vector3> getCoordinates() const;
const vector< unsigned int>& getDummyPoints() const ;
void getCriticalPoints(vector< Vector3>& criticalPoints) const;
const vector< RotatableBond>& getRotatableBonds() const ;
const RotatableBond& getRotatableBond(unsigned int rbondID) const;
unsigned int getID() const ;
unsigned int numberOfHeavyAtoms() const ;
bool isAtomInRigidGroup(unsigned int atomIndex) const;
// Modifiers
void addAtom(unsigned int atom) ;
void addHydrogen(unsigned int atom) ;
void addDummyPoint(unsigned int dummyPoint) ;
void addAtoms(const vector< unsigned int>& newAtoms) ;
void addRotatableBond(RotatableBond& rbond);
void rigidTrans(const RigidTrans3& trans, Molecule< Mol2Atom>& mol) const;
friend ostream& operator<<(ostream& s, const RigidGroup& group);
protected:
LigandMolecule* molecule;
vector< unsigned int> atoms;
vector< unsigned int> hydrogens_;
vector< unsigned int> dummyPoints_;
vector< RotatableBond> rotatableBonds_;
unsigned int id;
vector< bool> transformedAtoms_;
bool isTransformedAtomsUpdated_;
}; // RigidGroup

Back to the top of RigidGroup


KEYWORD

Back to the top of RigidGroup


AUTHORS

Dina, Oranit, Yuval

Copyright: SAMBA group, Tel-Aviv Univ. Israel, 2003.

Back to the top of RigidGroup


CHANGES LOG

Back to the top of RigidGroup


GOALS

Back to the top of RigidGroup

		

USAGE

		

Back to the top of RigidGroup


RigidGroup(LigandMolecule* mol, unsigned int groupId) ;

  RigidGroup(LigandMolecule* mol, unsigned int groupId) ;

Function is currently defined inline.


Back to the top of RigidGroup


const vector< unsigned int>& getAtoms() const ;

Return the indices (and not the Mol2 Atom IDs) of the atoms in the molecule

  const vector< unsigned int>& getAtoms() const                  
;

Function is currently defined inline.


Back to the top of RigidGroup


const vector< Vector3> getCoordinates() const;

Return the 3D coordinates of the rigid group's atoms

  const vector< Vector3> getCoordinates() const;

Back to the top of RigidGroup


const vector< unsigned int>& getDummyPoints() const ;

Returns a vector with the indices of the dummy points in the molecule

  const vector< unsigned int>& getDummyPoints() const                         
;

Function is currently defined inline.


Back to the top of RigidGroup


void getCriticalPoints(vector< Vector3>& criticalPoints) const;

atoms + dummy

  void getCriticalPoints(vector< Vector3>& criticalPoints) const;

Back to the top of RigidGroup


const vector< RotatableBond>& getRotatableBonds() const ;

  const vector< RotatableBond>& getRotatableBonds() const                            
;

Function is currently defined inline.


Back to the top of RigidGroup


const RotatableBond& getRotatableBond(unsigned int rbondID) const;

  const RotatableBond& getRotatableBond(unsigned int rbondID) const;

Back to the top of RigidGroup


unsigned int getID() const ;

  unsigned int getID() const               
;

Function is currently defined inline.


Back to the top of RigidGroup


unsigned int numberOfHeavyAtoms() const ;

  unsigned int numberOfHeavyAtoms() const                         
;

Function is currently defined inline.


Back to the top of RigidGroup


bool isAtomInRigidGroup(unsigned int atomIndex) const;

  bool isAtomInRigidGroup(unsigned int atomIndex) const;  

Back to the top of RigidGroup


void addAtom(unsigned int atom) ;

  void addAtom(unsigned int atom)                           
;

Function is currently defined inline.


Back to the top of RigidGroup


void addHydrogen(unsigned int atom) ;

  void addHydrogen(unsigned int atom)                                
;

Function is currently defined inline.


Back to the top of RigidGroup


void addDummyPoint(unsigned int dummyPoint) ;

@param dummyPoint is an index of a dummy point in the molecule

  void addDummyPoint(unsigned int dummyPoint)                                        
;

Function is currently defined inline.


Back to the top of RigidGroup


void addAtoms(const vector< unsigned int>& newAtoms) ;

  void addAtoms(const vector< unsigned int>& newAtoms)                                                                                
;

Function is currently defined inline.


Back to the top of RigidGroup


void addRotatableBond(RotatableBond& rbond);

  void addRotatableBond(RotatableBond& rbond);

Back to the top of RigidGroup


void rigidTrans(const RigidTrans3& trans, Molecule< Mol2Atom>& mol) const;

Gets a copy of the molecule and transform the atoms of the rigid group according to the given rigid transformation.

  void rigidTrans(const RigidTrans3& trans, Molecule< Mol2Atom>& mol) const;

Back to the top of RigidGroup


friend ostream& operator<<(ostream& s, const RigidGroup& group);

print for debug purposes

  friend ostream& operator<<(ostream& s, const RigidGroup& group);

Back to the top of RigidGroup


LigandMolecule* molecule;

  LigandMolecule* molecule;

Back to the top of RigidGroup


vector< unsigned int> atoms;

  vector< unsigned int> atoms; // Holds the indices (and not the Mol2 Atom IDs) of the atoms in the molecule 

Back to the top of RigidGroup


vector< unsigned int> hydrogens_;

  vector< unsigned int> hydrogens_;

Back to the top of RigidGroup


vector< unsigned int> dummyPoints_;

  vector< unsigned int> dummyPoints_; // Holds the indices of the dummy points in the molecule

Back to the top of RigidGroup


vector< RotatableBond> rotatableBonds_;

  vector< RotatableBond> rotatableBonds_;

Back to the top of RigidGroup


unsigned int id;

  unsigned int id;

Back to the top of RigidGroup


vector< bool> transformedAtoms_;

atoms that are transformed by transformation, which is all atoms, except hinge second atom

  vector< bool> transformedAtoms_;

Back to the top of RigidGroup


bool isTransformedAtomsUpdated_;

  bool isTransformedAtomsUpdated_;

Back to the top of RigidGroup


All Members

public:
// Inspectors
const vector< unsigned int>& getAtoms() const ;
const vector< Vector3> getCoordinates() const;
const vector< unsigned int>& getDummyPoints() const ;
void getCriticalPoints(vector< Vector3>& criticalPoints) const;
const vector< RotatableBond>& getRotatableBonds() const ;
const RotatableBond& getRotatableBond(unsigned int rbondID) const;
unsigned int getID() const ;
unsigned int numberOfHeavyAtoms() const ;
bool isAtomInRigidGroup(unsigned int atomIndex) const;
// Modifiers
void addAtom(unsigned int atom) ;
void addHydrogen(unsigned int atom) ;
void addDummyPoint(unsigned int dummyPoint) ;
void addAtoms(const vector< unsigned int>& newAtoms) ;
void addRotatableBond(RotatableBond& rbond);
void rigidTrans(const RigidTrans3& trans, Molecule< Mol2Atom>& mol) const;
friend ostream& operator<<(ostream& s, const RigidGroup& group);
protected:
LigandMolecule* molecule;
vector< unsigned int> atoms;
vector< unsigned int> hydrogens_;
vector< unsigned int> dummyPoints_;
vector< RotatableBond> rotatableBonds_;
unsigned int id;
vector< bool> transformedAtoms_;
bool isTransformedAtomsUpdated_;

Back to the top of RigidGroup


Ancestors

Class does not inherit from any other class.

Back to the top of RigidGroup


Descendants

Back to the top of RigidGroup


Generated from source by the Cocoon utilities on Mon Dec 21 11:44:47 2009 .

Report problems to jkotula@unimax.com