MeVisLab Resolution Independence API
Loading...
Searching...
No Matches
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
32 SO_NODE_HEADER(SoMLVolumeBox);
33
34public:
36
37 SoSFBool on;
38
39 SoSFBool drawingOn;
40
41 SoSFColor color;
42
44
46
47 // Constructor
49
51 static void initClass();
52
54 void GLRender(SoGLRenderAction* action) override;
55
56 void getBoundingBox(SoGetBoundingBoxAction* action) override;
57
58protected:
59 ~SoMLVolumeBox() override;
60};
61
62#endif
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
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