src/biu/OffLatticeProtein.hh
Go to the documentation of this file.00001 #ifndef OFFLATTICEPROTEIN_H_ 00002 #define OFFLATTICEPROTEIN_H_ 00003 00004 00005 #include "LatticeProtein.hh" 00006 00007 namespace biu 00008 { 00017 class OffLatticeProtein : public BackboneStructure3D 00018 { 00019 protected: 00020 00021 DPointVec* pData; 00022 const Alphabet* alphabet; 00023 Sequence* sequence; 00026 public: 00033 OffLatticeProtein( const std::string& coordinatesFileName, 00034 const Alphabet* const _alphabet); 00035 00042 OffLatticeProtein( const DPointVec& data3D, 00043 const Alphabet* const _alphabet, 00044 const std::string& seqStr); 00045 00046 OffLatticeProtein(const OffLatticeProtein& offLatPro); 00047 virtual ~OffLatticeProtein(); 00048 00049 00050 OffLatticeProtein& operator= (const OffLatticeProtein& offLatPro2); 00051 00053 void writePDB(const std::string& pdbFileName); 00054 00065 LatticeProtein* approximateToLattice( 00066 const LatticeModel* const lattice, 00067 const DistanceEnergyFunction* const energy) const; 00068 00069 // abstract functions (BackboneStructure3D) 00070 00073 virtual DPointVec get3Ddata() const; 00074 00078 virtual double getDRMSD(const BackboneStructure3D& other) const; 00079 }; 00080 00081 } // namespace biu 00082 00083 #endif /*OFFLATTICEPROTEIN_H_*/