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
//=============================================================
29
class
SOUTILS_EXPORT
SoMLVolumeBox
:
public
SoNode {
30
31
SO_NODE_HEADER(
SoMLVolumeBox
);
32
33
public
:
35
36
SoSFBool
on
;
37
38
SoSFBool
drawingOn
;
39
40
SoSFColor
color
;
41
42
SoSFMLImage
inImage
;
43
45
46
// Constructor
47
SoMLVolumeBox
();
48
50
static
void
initClass
();
51
53
void
GLRender
(SoGLRenderAction *action)
override
;
54
55
void
getBoundingBox
(SoGetBoundingBoxAction *action)
override
;
56
protected
:
57
~SoMLVolumeBox
()
override
;
58
59
};
60
61
#endif
SoSFMLImage.h
SoUtilsSystem.h
SOUTILS_EXPORT
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
Definition
SoUtilsSystem.h:31
SoMLVolumeBox::drawingOn
SoSFBool drawingOn
Definition
SoMLVolumeBox.h:38
SoMLVolumeBox::on
SoSFBool on
Fields.
Definition
SoMLVolumeBox.h:36
SoMLVolumeBox::getBoundingBox
void getBoundingBox(SoGetBoundingBoxAction *action) override
SoMLVolumeBox::SoMLVolumeBox
SoMLVolumeBox()
SoMLVolumeBox::~SoMLVolumeBox
~SoMLVolumeBox() override
SoMLVolumeBox::GLRender
void GLRender(SoGLRenderAction *action) override
derived render method that renders the background
SoMLVolumeBox::color
SoSFColor color
Definition
SoMLVolumeBox.h:40
SoMLVolumeBox::initClass
static void initClass()
inventor runtime system
SoMLVolumeBox::inImage
SoSFMLImage inImage
Definition
SoMLVolumeBox.h:42
SoSFMLImage
Definition
SoSFMLImage.h:70
MeVisLab
Standard
Sources
Inventor
SoUtils
SoMLVolumeBox.h
Generated by
1.15.0