MeVisLab Toolbox Reference
SoGLColorDepthInfo.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 
19 class SOUTILS_EXPORT SoGLColorDepthInfo : public SoNode {
20 
21  SO_NODE_HEADER(SoGLColorDepthInfo);
22 
23 public:
25  SoSFInt32 alphaBits;
26  SoSFInt32 redBits;
27  SoSFInt32 greenBits;
28  SoSFInt32 blueBits;
30 
31  // Constructor
33 
35  static void initClass();
36 
38  void GLRender(SoGLRenderAction *action) override;
39 
41  bool affectsState() const override { return false; }
42 
43 protected:
44  ~SoGLColorDepthInfo() override;
45 };
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
Definition: SoUtilsSystem.h:31
~SoGLColorDepthInfo() override
static void initClass()
inventor runtime system
SoSFInt32 alphaBits
Fields.
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!