MeVisLab Resolution Independence API
SoMLVolumeBox.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#ifndef SO_MLVOLUME_BOX_H
14#define SO_MLVOLUME_BOX_H
15
17
18#include "SoUtilsSystem.h"
19
20#include <Inventor/fields/SoSFBool.h>
21#include <Inventor/fields/SoSFColor.h>
22#include <SoSFMLImage.h>
23
24//=============================================================
27
28//=============================================================
29class SOUTILS_EXPORT SoMLVolumeBox : public SoNode {
30
31 SO_NODE_HEADER(SoMLVolumeBox);
32
33public:
35
36 SoSFBool on;
37
38 SoSFBool drawingOn;
39
40 SoSFColor color;
41
43
45
46 // Constructor
48
50 static void initClass();
51
53 void GLRender(SoGLRenderAction *action) override;
54
55 void getBoundingBox(SoGetBoundingBoxAction *action) override;
56protected:
57 ~SoMLVolumeBox() override;
58
59};
60
61#endif
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
SoMLVolumeBox renders a background bar.
SoSFBool drawingOn
SoSFBool on
Fields.
void getBoundingBox(SoGetBoundingBoxAction *action) override
~SoMLVolumeBox() override
void GLRender(SoGLRenderAction *action) override
derived render method that renders the background
SoSFColor color
static void initClass()
inventor runtime system
SoSFMLImage inImage
The SoSFMLImage field is the interface used by Inventor Nodes to access image data (in the current im...
Definition SoSFMLImage.h:70