MeVisLab Toolbox Reference
SoGLClearError.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
21class SOUTILS_EXPORT SoGLClearError : public SoNode {
22
23 SO_NODE_HEADER(SoGLClearError);
24
25public:
29
30 // Constructor
32
34 static void initClass();
35
38
40 bool affectsState() const override { return false; }
41
42protected:
43 ~SoGLClearError() override;
44};
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
void GLRender(SoGLRenderAction *action) override
derived render method that renders the background
bool affectsState() const override
this node does not affect the state, so return false!
~SoGLClearError() override
static void initClass()
inventor runtime system
SoSFBool logErrors
Fields.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.