MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
SoMLLUTExtension.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_MLLUTEXTENSION_H
14
#define SO_MLLUTEXTENSION_H
15
17
18
#include "
SoUtilsSystem.h
"
19
#include <mlLUTFunction.h>
20
21
//--------- disable VC++ warnings---------
22
#ifdef WIN32
23
#pragma warning(disable : 4355)
24
#pragma warning(disable : 4275)
25
#pragma warning(disable : 4251)
26
#pragma warning(disable : 4138)
27
#pragma warning(disable : 4800)
28
#endif
29
30
32
class
SOUTILS_EXPORT
SoMLLUTExtension
:
public
SoNode
33
{
34
SO_NODE_ABSTRACT_HEADER(
SoMLLUTExtension
);
35
36
protected
:
38
SoMLLUTExtension
();
39
40
public
:
42
static
void
initClass
();
43
45
virtual
ml::LUTFunction*
changeLUT
(ml::LUTFunction*
/*lut*/
)
46
{
47
return
nullptr
;
48
}
49
50
52
void
GLRender
(SoGLRenderAction* action)
override
;
53
void
callback
(SoCallbackAction* action)
override
;
54
void
pick
(SoPickAction* action)
override
;
55
void
doAction
(SoAction* action)
override
;
57
};
58
59
#endif
SoUtilsSystem.h
SOUTILS_EXPORT
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
Definition
SoUtilsSystem.h:30
SoMLLUTExtension::initClass
static void initClass()
init class in inventor runtime
SoMLLUTExtension::changeLUT
virtual ml::LUTFunction * changeLUT(ml::LUTFunction *)
Change the lut.
Definition
SoMLLUTExtension.h:45
SoMLLUTExtension::SoMLLUTExtension
SoMLLUTExtension()
Hidden constructor.
SoMLLUTExtension::callback
void callback(SoCallbackAction *action) override
SoMLLUTExtension::doAction
void doAction(SoAction *action) override
SoMLLUTExtension::pick
void pick(SoPickAction *action) override
SoMLLUTExtension::GLRender
void GLRender(SoGLRenderAction *action) override
Inventor actions.
MeVisLab
Standard
Sources
Inventor
SoUtils
SoMLLUTExtension.h
Generated by
1.18.0