MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
SoMLLUT.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_MLLUT_H
14
#define SO_MLLUT_H
15
16
18
19
#include "
SoUtilsSystem.h
"
20
#include "mlLUTFunction.h"
21
#include "
SoSFMLBase.h
"
22
#ifndef _SO_SF_BOOL_
23
#include "SoSFBool.h"
24
#endif
25
26
//----------------------------------------------------------------------------------
28
//----------------------------------------------------------------------------------
29
class
SOUTILS_EXPORT
SoMLLUT
:
public
SoNode
30
{
31
33
SO_NODE_HEADER(
SoMLLUT
);
34
35
public
:
37
static
void
initClass
();
38
40
SoMLLUT
();
41
43
ml::LUTFunction*
getLut
();
44
46
SoSFMLBase
inLUT
;
47
48
SoSFBool
acceptExtensions
;
49
50
protected
:
52
~SoMLLUT
()
override
;
53
56
void
GLRender
(SoGLRenderAction* action)
override
;
57
void
callback
(SoCallbackAction* action)
override
;
58
void
handleEvent
(SoHandleEventAction* action)
override
;
59
void
rayPick
(SoRayPickAction* action)
override
;
60
void
doAction
(SoAction* action)
override
;
62
63
void
changeLUT
(SoAction* action);
64
65
private
:
66
ml::LUTFunction* outLUT;
67
};
68
69
#endif
SoSFMLBase.h
SoUtilsSystem.h
SOUTILS_EXPORT
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
Definition
SoUtilsSystem.h:30
SoMLLUT::~SoMLLUT
~SoMLLUT() override
Destructor.
SoMLLUT::callback
void callback(SoCallbackAction *action) override
SoMLLUT::doAction
void doAction(SoAction *action) override
SoMLLUT::getLut
ml::LUTFunction * getLut()
returns the LUT function that is given to this node
SoMLLUT::acceptExtensions
SoSFBool acceptExtensions
Definition
SoMLLUT.h:48
SoMLLUT::changeLUT
void changeLUT(SoAction *action)
SoMLLUT::rayPick
void rayPick(SoRayPickAction *action) override
SoMLLUT::inLUT
SoSFMLBase inLUT
The input ML base object (must be derived from ML_UTILS_NAMESPACE::LUTFunction).
Definition
SoMLLUT.h:46
SoMLLUT::initClass
static void initClass()
Initializes this class.
SoMLLUT::GLRender
void GLRender(SoGLRenderAction *action) override
SoMLLUT::SoMLLUT
SoMLLUT()
Constructor.
SoMLLUT::handleEvent
void handleEvent(SoHandleEventAction *action) override
SoSFMLBase
Definition
SoSFMLBase.h:46
MeVisLab
Standard
Sources
Inventor
SoUtils
SoMLLUT.h
Generated by
1.18.0