-
Notifications
You must be signed in to change notification settings - Fork 2
/
TranScripter.h
52 lines (43 loc) · 1.56 KB
/
TranScripter.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef TRANSCRIPTER_H
#define TRANSCRIPTER_H
#include "RNA.h"
#include "DNA.h"
#include "Nucleotide.h"
#include "TxtFile.h"
#include "ColorEyeI.h"
enum TrigStatus{ TS_FinalPoint = 0, TS_Normal, TS_Find_Nits, TS_JND, TS_JNDX};
class TranScripter
{
#ifdef _DEBUG
std::vector<CString> m_dTxt;
CString m_desktopPath;
#endif // _DEBUG
const int m_nScrmH, m_nScrmV;
std::vector<Nucleotide>::iterator m_curDnaCellItor;
public:
TranScripter();
void Trans(DNA&, RNA&);
const int Cm2pixel(const double&) const;
private:
const ColorRef tranColor (const int&) const;
const CPoint tranPoint (const int&) const;
const CString tranDescrip(const int&) const;
const BackGroundStatus tranBkStatus(const int&) const;
void forCrsTlk(Cartridge2&);
void forNits (Cartridge2&);
//DNA to RNA
const CPoint get5nits9Point(const int& few) const;
const CPoint getCrossTalk (const int& few) const;// 6/26·s¼W
const CPoint getCenterPoint() const;
const CPoint getFE5Point(const int& few) const;
const CPoint getFE9Point(const int& few) const;
const CPoint getW49Point(const int& few) const;
const CPoint getD25Point(const int& few) const;//side ´X¤½¤À
const CPoint getD21Point(const int& few) const;
const CPoint getD13Point(const int& few) const;
// CPoint getJND() const;
void setSquence(Cartridge2&, const std::vector<Nucleotide>::size_type&, const int&) const;
void checkPointValue(const int& x, const int& y = 1) const;
void checkPointValue(const double& fe, const int& cm = 1) const;
};
#endif