source: branches/profile/RNA3D/RNA3D_Renderer.hxx

Last change on this file was 12311, checked in by westram, 10 years ago
  • do not redefine macros provided by gmacros.h (glib)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1#define CHARACTERS 0
2#define SHAPES     1
3
4// the following macro is already defined in gmacros.h:
5// #define MIN(a, b) ((a)<(b) ? (a) : (b))
6
7class Texture2D;
8class Structure3D;
9class OpenGLGraphics;
10
11struct GLRenderer : virtual Noncopyable {
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();
30    virtual ~GLRenderer();
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();
37    void DisplayHelices();
38    void DisplayHelixBackBone();
39    void DisplayHelixNumbers();
40    void DisplayBasePositions();
41    void DisplayMappedSpBasePositions();
42    void DisplayMappedSpInsertions();
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.