source: tags/arb_5.5/RNA3D/RNA3D_Renderer.hxx

Last change on this file was 3958, checked in by yadhu, 18 years ago

Changes to RNA3D Module:

  1. Changed font rendering - Now uses X windows system fonts.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1#define CHARACTERS 0
2#define SHAPES     1
3
4#define MIN(a,b) ((a)<(b)?(a):(b))
5
6class Texture2D;
7class Structure3D;
8class OpenGLGraphics;
9
10class GLRenderer {
11public:
12    float ObjectSize;
13    int iDisplayBases, iBaseMode;
14    int iBaseHelix,  iBaseUnpairHelix,  iBaseNonHelix;
15    int iShapeHelix, iShapeUnpairHelix, iShapeNonHelix;
16    int iDisplayHelix, iHelixMidPoint, iHelixBackBone, iHelixNrs;
17    int iDispTerInt;
18    int iStartHelix, iEndHelix;
19    float fHelixSize;
20    float fSkeletonSize;
21    int iColorise, iBackBone;
22    int iDispPos;
23    int iMapSpecies, iMapSpeciesBase, iMapSpeciesPos;
24    int iMapSpeciesDels, iMapSpeciesMiss, iMapSpeciesIns, iMapSpeciesInsInfo;
25    int iDispCursorPos;
26
27    OpenGLGraphics *G;
28
29    GLRenderer(void);
30    virtual ~GLRenderer(void);
31
32    void DisplayMolecule(Structure3D *cStr);
33    void DisplayMoleculeName(int w, int h, Structure3D *cStr);
34    void DisplayMoleculeMask(int w, int h);
35
36    void DoHelixMapping(void);
37    void DisplayHelices();
38    void DisplayHelixBackBone(void);
39    void DisplayHelixNumbers(void);
40    void DisplayBasePositions(void);
41    void DisplayMappedSpBasePositions(void);
42    void DisplayMappedSpInsertions(void);
43    void DisplayHelixMidPoints(Texture2D *cImages);
44
45    void BeginTexturizer();
46    void EndTexturizer();
47    void TexturizeStructure(Texture2D *cImages, Structure3D *cStructure);
48};
Note: See TracBrowser for help on using the repository browser.