MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
SoMLTexture2.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_MLTEXTURE2_H
14
#define SO_MLTEXTURE2_H
15
16
#include "
SoUtilsSystem.h
"
17
#include <Inventor/nodes/SoTexture2.h>
18
#include <Inventor/fields/SoSFUInt32.h>
19
#include <
SoSFMLImage.h
>
20
21
class
SOUTILS_EXPORT
SoMLTexture2
:
public
SoTexture2
22
{
23
typedef
SoTexture2 inherited;
24
25
SO_NODE_HEADER(
SoMLTexture2
);
26
27
public
:
29
SoSFMLImage
mlImage
;
30
32
SoSFUInt32
startZ
;
33
35
SoSFUInt32
startT
;
36
38
SoSFUInt32
startU
;
39
41
SoMLTexture2
();
42
43
SoINTERNAL public :
44
46
static
void
initClass
();
47
48
protected
:
50
~SoMLTexture2
()
override
;
51
52
private
:
53
void
mlImageChangedCB(SoField* field);
54
};
55
56
#endif
// _SO_ML_TEXTURE_2_
SoSFMLImage.h
SoUtilsSystem.h
SOUTILS_EXPORT
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
Definition
SoUtilsSystem.h:30
SoMLTexture2::SoMLTexture2
SoMLTexture2()
Constructor.
SoMLTexture2::mlImage
SoSFMLImage mlImage
ML image connector.
Definition
SoMLTexture2.h:29
SoMLTexture2::startT
SoSFUInt32 startT
Origin of the 2d slice in T dimension. Default is 0.
Definition
SoMLTexture2.h:35
SoMLTexture2::initClass
static void initClass()
Initialize class with runtime type system.
SoMLTexture2::startZ
SoSFUInt32 startZ
Origin of the 2d slice in Z dimension. Default is 0.
Definition
SoMLTexture2.h:32
SoMLTexture2::startU
SoSFUInt32 startU
Origin of the 2d slice in U dimension. Default is 0.
Definition
SoMLTexture2.h:38
SoMLTexture2::~SoMLTexture2
~SoMLTexture2() override
Destructor.
SoSFMLImage
Definition
SoSFMLImage.h:84
MeVisLab
Standard
Sources
Inventor
SoUtils
SoMLTexture2.h
Generated by
1.18.0