MeVisLab Toolbox Reference
SoShaderParameter2f.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_PARAMETER2F_H
14
#define SO_SHADER_PARAMETER2F_H
15
16
18
19
#include "SoShaderSystem.h"
20
#include "
Inventor/nodes/SoUniformShaderParameter.h
"
21
#include <Inventor/fields/SoSFVec2f.h>
22
24
class
INVENTOR_SHADER_API
SoShaderParameter2f
:
public
SoUniformShaderParameter
25
{
26
typedef
SoUniformShaderParameter
inherited
;
27
28
SO_NODE_HEADER(
SoShaderParameter2f
);
29
30
public
:
31
33
SoSFVec2f
value
;
34
36
SoShaderParameter2f
();
37
38
SoINTERNAL
public
:
39
41
static
void
initClass
();
42
44
void
updateParameter
(
SoUniformParameterBase
*uniformBase, SoState *state)
override
;
45
};
46
47
#endif
// _SO_SHADER_PARAMETER_2F_
SoUniformShaderParameter.h
SoShaderParameter2f
Open Inventor uniform shader parameter node that defines two float parameters.
Definition
SoShaderParameter2f.h:25
SoShaderParameter2f::initClass
static void initClass()
Initialize class with runtime type system.
SoShaderParameter2f::updateParameter
void updateParameter(SoUniformParameterBase *uniformBase, SoState *state) override
Assigns or updates the parameter's value.
SoShaderParameter2f::SoShaderParameter2f
SoShaderParameter2f()
Constructor.
SoShaderParameter2f::value
SoSFVec2f value
The parameter's value.
Definition
SoShaderParameter2f.h:33
SoUniformParameterBase
Base class for uniform shader parameters.
Definition
SoUniformParameterBase.h:30
SoUniformShaderParameter
Abstract Open Inventor base class for uniform shader parameter nodes.
Definition
SoUniformShaderParameter.h:29
MeVisLab
Standard
Sources
Inventor
SoShader
Inventor
nodes
SoShaderParameter2f.h
Generated by
1.9.8