UserDefFeature


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

Quick Index

KEYWORD
AUTHORS
CHANGES LOG
GOALS
USAGE

Class Summary

class UserDefFeature
: public Feature
{
public:
// Constructors
UserDefFeature(const unsigned int id, const Mol2Atom& atom) ;
// Inspectors
USER_FEATURE_TYPE getUserFeatureType() const ;
// Misc.
bool canBeMatched(const RigidTrans3& transformation, const Feature* otherFeature) const;
void getAtoms(vector< const Mol2Atom*>& atoms) const ;
static bool isUserDefFeature(const Feature* feature) ;
bool operator==(const Feature& otherFeature) const;
// Output
void dump(ostream& output) const ;
void outputMol2(ostream& output) const ;
void outputMol2(const RigidTrans3& transformation, ostream& output) const ;
friend ostream& operator<<(ostream& s, const UserDefFeature& userDefFeature) ;
// Destructors
~UserDefFeature();
protected:
float getScoreVirtual(const Feature* otherFeature) const;
const Mol2Atom& userDefAtom_;
USER_FEATURE_TYPE userFeatureType_;
void outputMol2(ostream& output, const Vector3& center) const;
}; // UserDefFeature

Back to the top of UserDefFeature


KEYWORD

Back to the top of UserDefFeature


AUTHORS

Oranit Dror (mailto: oranit@post.tau.ac.il)

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

Back to the top of UserDefFeature


CHANGES LOG

Back to the top of UserDefFeature


GOALS

Back to the top of UserDefFeature

		

USAGE

		

Back to the top of UserDefFeature


UserDefFeature(const unsigned int id, const Mol2Atom& atom) ;

  UserDefFeature(const unsigned int id, const Mol2Atom& atom) ;

Function is currently defined inline.


Back to the top of UserDefFeature


USER_FEATURE_TYPE getUserFeatureType() const ;

  USER_FEATURE_TYPE getUserFeatureType() const                                   
;

Function is currently defined inline.


Back to the top of UserDefFeature


bool canBeMatched(const RigidTrans3& transformation, const Feature* otherFeature) const;

  bool canBeMatched(const RigidTrans3& transformation, const Feature* otherFeature) const;

Back to the top of UserDefFeature


void getAtoms(vector< const Mol2Atom*>& atoms) const ;

Return the UserDefFeatured atom

  void getAtoms(vector< const Mol2Atom*>& atoms) const                                          
;

Function is currently defined inline.


Back to the top of UserDefFeature


bool isUserDefFeature(const Feature* feature) ;

  static bool isUserDefFeature(const Feature* feature)                                                       
;

Function is currently defined inline.


Back to the top of UserDefFeature


bool operator==(const Feature& otherFeature) const;

Return true if the the given feature is a UserDefFeature and the centers coinside

  bool operator==(const Feature& otherFeature) const;

Back to the top of UserDefFeature


void dump(ostream& output) const ;

  void dump(ostream& output) const                                                                                                
;

Function is currently defined inline.


Back to the top of UserDefFeature


void outputMol2(ostream& output) const ;

  void outputMol2(ostream& output) const                                           
;

Function is currently defined inline.


Back to the top of UserDefFeature


void outputMol2(const RigidTrans3& transformation, ostream& output) const ;

output transformed feature center

  void outputMol2(const RigidTrans3& transformation, ostream& output) const                                                          
;

Function is currently defined inline.


Back to the top of UserDefFeature


friend ostream& operator<<(ostream& s, const UserDefFeature& userDefFeature) ;

  friend ostream& operator<<(ostream& s, const UserDefFeature& userDefFeature)                                                                                        
;

Function is currently defined inline.


Back to the top of UserDefFeature


~UserDefFeature();

  ~UserDefFeature();

Back to the top of UserDefFeature


float getScoreVirtual(const Feature* otherFeature) const;

  virtual float getScoreVirtual(const Feature* otherFeature) const;

Back to the top of UserDefFeature


const Mol2Atom& userDefAtom_;

  const Mol2Atom& userDefAtom_;

Back to the top of UserDefFeature


USER_FEATURE_TYPE userFeatureType_;

  USER_FEATURE_TYPE userFeatureType_;

Back to the top of UserDefFeature


void outputMol2(ostream& output, const Vector3& center) const;

  void outputMol2(ostream& output, const Vector3& center) const;

Back to the top of UserDefFeature


All Members

public:
// Inspectors
FEATURE_TYPE featureType() const ;
char* getFeatureTypeString() const ;
unsigned int getID() const ;
unsigned int getRigidGroupID() const ;
const vector< unsigned int>& getAllRigidGroups() const ;
const Vector3& getCenter() const ;
float getScore(const Feature* otherFeature) const ;
bool isValid() ;
float weight() const ;
void getAtoms(vector< const Mol2Atom*>& atoms) const; // pure virtual
float getRadiusForCenterFit() const ;
float getRadiusForCenterFit(const Feature* otherFeature) const ;
bool canBeMatched(const RigidTrans3& transformation, const Feature* otherFeature) const; // pure virtual
bool operator==(const Feature& otherFeature) const; // pure virtual
// Setters
void setCenter(const Vector3& center) ;
void addRigidGroup(unsigned int groupID) ;
void setValidity(bool valid) ;
void setWeight(float w) ;
void setRadiusForCenterFit(float r) ;
// Misc.
void resetValidityAndWeight() ;
// Output
void dump(ostream& output) const; // pure virtual
void outputMol2(ostream& output) const; // pure virtual
void outputMol2(const RigidTrans3& transformation, ostream& output) const; // pure virtual
friend ostream& operator<<(ostream& s, const Feature& feature) ;
// Inspectors
USER_FEATURE_TYPE getUserFeatureType() const ;
// Misc.
void getAtoms(vector< const Mol2Atom*>& atoms) const ;
static bool isUserDefFeature(const Feature* feature) ;
// Output
void dump(ostream& output) const ;
void outputMol2(ostream& output) const ;
void outputMol2(const RigidTrans3& transformation, ostream& output) const ;
friend ostream& operator<<(ostream& s, const UserDefFeature& userDefFeature) ;
protected:
float getScoreVirtual(const Feature* otherFeature) const; // pure virtual
unsigned int id;
vector< unsigned int> rigidGroups;
Vector3 center_;
bool isValidFeature_;
FEATURE_TYPE type_;
float weight_;
float radiusForCenterFit_;
const Mol2Atom& userDefAtom_;
USER_FEATURE_TYPE userFeatureType_;
void outputMol2(ostream& output, const Vector3& center) const;

Back to the top of UserDefFeature


Ancestors

Inheritance chain for UserDefFeature:

Back to the top of UserDefFeature


Descendants

Back to the top of UserDefFeature


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

Report problems to jkotula@unimax.com