| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
#ifndef _CCP4_MMUT_BASE_PAIRS_H_ |
| 21 |
#define _CCP4_MMUT_BASE_PAIRS_H_ |
| 22 |
#include <vector> |
| 23 |
#include <utility> |
| 24 |
#include <mman_manager.h> |
| 25 |
#include "atom_util.h" |
| 26 |
|
| 27 |
class CNABasePairs{ |
| 28 |
std::vector<std::pair<mmdb::PResidue,mmdb::PResidue> > base_pairs; |
| 29 |
std::vector<std::pair<double*,double*> > colours; |
| 30 |
public: |
| 31 |
CNABasePairs(){}; |
| 32 |
void Calculate(CMMANManager *molHnd, int selHnd, mmdb::PPAtom selAtoms, int nSelAtoms, AtomColourVector *atom_colour_vector); |
| 33 |
CNABasePairs(CMMANManager *molHnd, int selHnd, mmdb::PPAtom selAtoms, int nSelAtoms, AtomColourVector *atom_colour_vector); |
| 34 |
mmdb::PResidue GetPairedResidue(const mmdb::PResidue res_in) const ; |
| 35 |
int GetPairedResidueIndex(const int i) const ; |
| 36 |
std::vector<std::pair<mmdb::PResidue,mmdb::PResidue> > GetPairs() const {return base_pairs;}; |
| 37 |
std::vector<std::pair<double*,double*> > GetColours() const {return colours;}; |
| 38 |
}; |
| 39 |
#endif |