MeVisLab Resolution Independence API
SoGLGet.h
Go to the documentation of this file.
1
/*************************************************************************************
2
**
3
** Copyright 2007, MeVis Medical Solutions AG
4
**
5
** The user may use this file in accordance with the license agreement provided with
6
** the Software or, alternatively, in accordance with the terms contained in a
7
** written agreement between the user and MeVis Medical Solutions AG.
8
**
9
** For further information use the contact form at https://www.mevislab.de/contact
10
**
11
**************************************************************************************/
12
13
#pragma once
14
15
#include "
SoUtilsSystem.h
"
16
17
#include <Inventor/fields/SoSFInt32.h>
18
#include <Inventor/fields/SoSFDouble.h>
19
#include <Inventor/fields/SoSFVec4f.h>
20
21
class
SOUTILS_EXPORT
SoGLGet
:
public
SoNode {
22
23
SO_NODE_HEADER(
SoGLGet
);
24
25
public
:
27
28
SoSFEnum
variable
;
29
SoSFDouble
doubleResult
;
30
SoSFInt32
intResult
;
31
SoSFVec4f
vecResult
;
32
34
35
// Constructor
36
SoGLGet
();
37
39
static
void
initClass
();
40
42
void
GLRender
(SoGLRenderAction *action)
override
;
43
45
bool
affectsState
()
const override
{
return
false
; }
46
47
protected
:
48
void
getInt
(GLint var);
49
void
getInt4
(GLint var);
50
51
~SoGLGet
()
override
;
52
};
SoUtilsSystem.h
SOUTILS_EXPORT
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
Definition
SoUtilsSystem.h:31
SoGLGet
Definition
SoGLGet.h:21
SoGLGet::doubleResult
SoSFDouble doubleResult
Definition
SoGLGet.h:29
SoGLGet::getInt
void getInt(GLint var)
SoGLGet::initClass
static void initClass()
inventor runtime system
SoGLGet::vecResult
SoSFVec4f vecResult
Definition
SoGLGet.h:31
SoGLGet::getInt4
void getInt4(GLint var)
SoGLGet::intResult
SoSFInt32 intResult
Definition
SoGLGet.h:30
SoGLGet::GLRender
void GLRender(SoGLRenderAction *action) override
derived render method that renders the background
SoGLGet::SoGLGet
SoGLGet()
SoGLGet::variable
SoSFEnum variable
Fields.
Definition
SoGLGet.h:28
SoGLGet::~SoGLGet
~SoGLGet() override
SoGLGet::affectsState
bool affectsState() const override
this node does not affect the state, so return false!
Definition
SoGLGet.h:45
MeVisLab
Standard
Sources
Inventor
SoUtils
SoGLGet.h
Generated by
1.10.0