MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
SoShaderParameterMLImageProps.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_SHADER_PARAMETER_MLIMAGE_PROPS_H
14
#define SO_SHADER_PARAMETER_MLIMAGE_PROPS_H
15
16
19
20
#include "
SoShaderSystem.h
"
21
#include "
Inventor/nodes/SoUniformShaderParameter.h
"
22
23
26
class
INVENTOR_SHADER_API
SoShaderParameterMLImageProps
:
public
SoUniformShaderParameter
27
{
28
typedef
SoUniformShaderParameter
inherited;
29
30
SO_NODE_HEADER(
SoShaderParameterMLImageProps
);
31
32
public
:
34
SoShaderParameterMLImageProps
();
35
36
SoINTERNAL public :
37
39
static
void
initClass
();
40
42
void
updateParameter
(
SoUniformParameterBase
* uniformBase, SoState* state)
override
;
43
44
protected
:
45
~SoShaderParameterMLImageProps
()
override
;
46
47
SbString
_sizeUniformName
;
48
SbString
_voxelSizeUniformName
;
49
SbString
_rangeUniformName
;
50
SbString
_worldToVoxelUniformName
;
51
52
private
:
53
void
nameChangedCB(SoField* field);
54
};
55
56
#endif
// _SO_SHADER_PARAMETER_ML_IMAGE_PROPS_
SoShaderSystem.h
INVENTOR_SHADER_API
#define INVENTOR_SHADER_API
Define class export specifier.
Definition
SoShaderSystem.h:20
SoUniformShaderParameter.h
SoShaderParameterMLImageProps::initClass
static void initClass()
Initialize class with runtime type system.
SoShaderParameterMLImageProps::_sizeUniformName
SbString _sizeUniformName
Definition
SoShaderParameterMLImageProps.h:47
SoShaderParameterMLImageProps::_voxelSizeUniformName
SbString _voxelSizeUniformName
Definition
SoShaderParameterMLImageProps.h:48
SoShaderParameterMLImageProps::_rangeUniformName
SbString _rangeUniformName
Definition
SoShaderParameterMLImageProps.h:49
SoShaderParameterMLImageProps::~SoShaderParameterMLImageProps
~SoShaderParameterMLImageProps() override
SoShaderParameterMLImageProps::SoShaderParameterMLImageProps
SoShaderParameterMLImageProps()
Constructor.
SoShaderParameterMLImageProps::_worldToVoxelUniformName
SbString _worldToVoxelUniformName
Definition
SoShaderParameterMLImageProps.h:50
SoShaderParameterMLImageProps::updateParameter
void updateParameter(SoUniformParameterBase *uniformBase, SoState *state) override
Assigns or updates the parameter's value.
SoUniformParameterBase
Base class for uniform shader parameters.
Definition
SoUniformParameterBase.h:30
SoUniformShaderParameter::SoUniformShaderParameter
SoUniformShaderParameter()
Constructor.
MeVisLab
Standard
Sources
Inventor
SoShader
Inventor
nodes
SoShaderParameterMLImageProps.h
Generated by
1.18.0