MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
SoClearBuffers.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/SoSFBool.h>
18
#include <Inventor/fields/SoSFColor.h>
19
#include <Inventor/fields/SoSFDouble.h>
20
21
class
SOUTILS_EXPORT
SoClearBuffers
:
public
SoNode
22
{
23
24
SO_NODE_HEADER(
SoClearBuffers
);
25
26
public
:
28
SoSFBool
clearColor
;
29
SoSFColor
color
;
30
SoSFFloat
alpha
;
31
SoSFDouble
depth
;
32
SoSFBool
clearDepth
;
33
SoSFBool
clearStencil
;
35
36
// Constructor
37
SoClearBuffers
();
38
40
static
void
initClass
();
41
43
void
GLRender
(SoGLRenderAction* action)
override
;
44
46
bool
affectsState
()
const override
47
{
48
return
false
;
49
}
50
51
protected
:
52
~SoClearBuffers
()
override
;
53
};
SoUtilsSystem.h
SOUTILS_EXPORT
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
Definition
SoUtilsSystem.h:30
SoClearBuffers::clearDepth
SoSFBool clearDepth
Definition
SoClearBuffers.h:32
SoClearBuffers::alpha
SoSFFloat alpha
Definition
SoClearBuffers.h:30
SoClearBuffers::affectsState
bool affectsState() const override
this node does not affect the state, so return false!
Definition
SoClearBuffers.h:46
SoClearBuffers::initClass
static void initClass()
inventor runtime system
SoClearBuffers::clearStencil
SoSFBool clearStencil
Definition
SoClearBuffers.h:33
SoClearBuffers::~SoClearBuffers
~SoClearBuffers() override
SoClearBuffers::GLRender
void GLRender(SoGLRenderAction *action) override
derived render method that renders the background
SoClearBuffers::clearColor
SoSFBool clearColor
Fields.
Definition
SoClearBuffers.h:28
SoClearBuffers::SoClearBuffers
SoClearBuffers()
SoClearBuffers::color
SoSFColor color
Definition
SoClearBuffers.h:29
SoClearBuffers::depth
SoSFDouble depth
Definition
SoClearBuffers.h:31
MeVisLab
Standard
Sources
Inventor
SoUtils
SoClearBuffers.h
Generated by
1.18.0