COPASI API  4.16.103
RGTextureSpec.h
Go to the documentation of this file.
1 // Copyright (C) 2010 - 2013 by Pedro Mendes, Virginia Tech Intellectual
2 // Properties, Inc., University of Heidelberg, and The University
3 // of Manchester.
4 // All rights reserved.
5 
6 // Copyright (C) 2008 - 2009 by Pedro Mendes, Virginia Tech Intellectual
7 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
8 // and The University of Manchester.
9 // All rights reserved.
10 
11 // Copyright (C) 2007 by Pedro Mendes, Virginia Tech Intellectual
12 // Properties, Inc. and EML Research, gGmbH.
13 // All rights reserved.
14 
15 #ifndef RGTEXTURESPEC_H_
16 #define RGTEXTURESPEC_H_
17 
18 #include <QtOpenGL/QtOpenGL>
19 
20 #include "copasi.h"
21 
22 #ifdef COPASI_DEBUG
23 #include <string>
24 #endif // COPASI_DEBUG
25 
27 {
28 public:
29  double textWidth;
30  double textHeight;
31  double textureWidth;
32  double textureHeight;
33  double textYOffset;
34 
35  GLubyte* textureData;
36 
37 #ifdef COPASI_DEBUG
38  // save as BW TGA file
39  bool save(const std::string& filename);
40 #endif // COPASI_DEBUG
41 };
42 
43 #endif
double textureWidth
Definition: RGTextureSpec.h:31
double textHeight
Definition: RGTextureSpec.h:30
GLubyte * textureData
Definition: RGTextureSpec.h:35
double textWidth
Definition: RGTextureSpec.h:29
double textureHeight
Definition: RGTextureSpec.h:32
double textYOffset
Definition: RGTextureSpec.h:33