mirror of
https://github.com/NGSolve/netgen.git
synced 2025-03-03 16:35:39 +05:00
viewport saved as a static variable
This commit is contained in:
parent
6988af4222
commit
8e2759e25a
@ -56,6 +56,7 @@ namespace netgen
|
|||||||
|
|
||||||
int VisualScene :: selecttimestamp;
|
int VisualScene :: selecttimestamp;
|
||||||
|
|
||||||
|
int VisualScene :: viewport[4];
|
||||||
|
|
||||||
VisualizationParameters :: VisualizationParameters()
|
VisualizationParameters :: VisualizationParameters()
|
||||||
{
|
{
|
||||||
|
@ -26,6 +26,7 @@ namespace netgen
|
|||||||
static float transmat[16];
|
static float transmat[16];
|
||||||
static float rotmat[16];
|
static float rotmat[16];
|
||||||
static float centermat[16];
|
static float centermat[16];
|
||||||
|
|
||||||
static DLL_HEADER float transformationmat[16];
|
static DLL_HEADER float transformationmat[16];
|
||||||
|
|
||||||
GLdouble clipplane[4];
|
GLdouble clipplane[4];
|
||||||
@ -43,7 +44,7 @@ namespace netgen
|
|||||||
static int selecttimestamp;
|
static int selecttimestamp;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
static int viewport[4];
|
||||||
// static GLubyte * colortexture;
|
// static GLubyte * colortexture;
|
||||||
static GLuint coltexname;
|
static GLuint coltexname;
|
||||||
static int ntexcols;
|
static int ntexcols;
|
||||||
@ -83,7 +84,7 @@ namespace netgen
|
|||||||
DLL_HEADER void DrawCoordinateCross ();
|
DLL_HEADER void DrawCoordinateCross ();
|
||||||
DLL_HEADER void DrawNetgenLogo ();
|
DLL_HEADER void DrawNetgenLogo ();
|
||||||
DLL_HEADER void SetOpenGlColor(double val, double valmin, double valmax, int logscale = 0);
|
DLL_HEADER void SetOpenGlColor(double val, double valmin, double valmax, int logscale = 0);
|
||||||
|
|
||||||
|
|
||||||
#ifdef PARALLELGL
|
#ifdef PARALLELGL
|
||||||
DLL_HEADER void InitParallelGL ();
|
DLL_HEADER void InitParallelGL ();
|
||||||
@ -92,7 +93,7 @@ namespace netgen
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
extern void MyOpenGLText (const char * text);
|
DLL_HEADER extern void MyOpenGLText (const char * text);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user