MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
SoMLLUTExtensionElement.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_ELEMENT_H
14
#define SO_MLLUTEXTENSION_ELEMENT_H
15
16
19
20
//--------- disable VC++ warnings---------
21
#ifdef WIN32
22
#pragma warning(disable : 4355)
23
#pragma warning(disable : 4275)
24
#pragma warning(disable : 4251)
25
#pragma warning(disable : 4138)
26
#pragma warning(disable : 4800)
27
#endif
28
29
#include "
SoUtilsSystem.h
"
30
31
#include <Inventor/elements/SoReplacedElement.h>
32
#include <Inventor/SoLists.h>
33
34
class
SoMLLUTExtension
;
35
36
//=============================================================
41
42
//=============================================================
43
SoEXTENDER
class
SOUTILS_EXPORT
SoMLLUTExtensionElement
:
public
SoReplacedElement
44
{
45
46
SO_ELEMENT_HEADER(
SoMLLUTExtensionElement
);
47
48
public
:
49
void
init
(SoState* state)
override
;
50
51
void
pop
(SoState* state,
const
SoElement* prevTopElement)
override
;
52
void
push
(SoState* aState)
override
;
53
void
clearList
();
54
56
static
void
set
(SoState* state, SoNode* node,
SoMLLUTExtension
* newPrimitive);
57
59
static
const
SoNodeList*
get
(SoState* state);
60
62
static
const
SoMLLUTExtensionElement
*
getInstance
(SoState* state);
63
64
SbBool
matches
(
const
SoElement* elt)
const override
;
65
66
SoElement*
copyMatchInfo
()
const override
;
67
68
void
print
(FILE* fp)
const override
;
69
70
SoINTERNAL public :
72
static
void
initClass
();
73
74
protected
:
75
~SoMLLUTExtensionElement
()
override
76
{}
77
78
SoNodeList
_data
;
79
};
80
81
#endif
SoUtilsSystem.h
SOUTILS_EXPORT
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
Definition
SoUtilsSystem.h:30
SoMLLUTExtensionElement
Definition
SoMLLUTExtensionElement.h:44
SoMLLUTExtensionElement::set
static void set(SoState *state, SoNode *node, SoMLLUTExtension *newPrimitive)
Set element state.
SoMLLUTExtensionElement::push
void push(SoState *aState) override
SoMLLUTExtensionElement::initClass
static void initClass()
Initializes the SoMLLUTExtensionElement class.
SoMLLUTExtensionElement::_data
SoNodeList _data
Definition
SoMLLUTExtensionElement.h:78
SoMLLUTExtensionElement::~SoMLLUTExtensionElement
~SoMLLUTExtensionElement() override
Definition
SoMLLUTExtensionElement.h:75
SoMLLUTExtensionElement::getInstance
static const SoMLLUTExtensionElement * getInstance(SoState *state)
Returns the top (current) instance of the element in the state.
SoMLLUTExtensionElement::init
void init(SoState *state) override
SoMLLUTExtensionElement::get
static const SoNodeList * get(SoState *state)
Get list of SoGVRExtensions from current state.
SoMLLUTExtensionElement::copyMatchInfo
SoElement * copyMatchInfo() const override
SoMLLUTExtensionElement::clearList
void clearList()
SoMLLUTExtensionElement::pop
void pop(SoState *state, const SoElement *prevTopElement) override
SoMLLUTExtensionElement::print
void print(FILE *fp) const override
SoMLLUTExtensionElement::matches
SbBool matches(const SoElement *elt) const override
SoMLLUTExtension
SoMLLUTExtension is a base class to extends the SoMLLut with functionality.
Definition
SoMLLUTExtension.h:33
MeVisLab
Standard
Sources
Inventor
SoUtils
SoMLLUTExtensionElement.h
Generated by
1.18.0