MeVisLab Toolbox Reference
SoShaderParameterMatrix.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_MATRIX_H
14
#define SO_SHADER_PARAMETER_MATRIX_H
15
16
18
19
#include "SoShaderSystem.h"
20
#include "
Inventor/nodes/SoUniformShaderParameter.h
"
21
#include <Inventor/fields/SoSFMatrix.h>
22
#include <Inventor/fields/SoSFBool.h>
23
25
class
INVENTOR_SHADER_API
SoShaderParameterMatrix
:
public
SoUniformShaderParameter
26
{
27
typedef
SoUniformShaderParameter
inherited;
28
29
SO_NODE_HEADER(
SoShaderParameterMatrix
);
30
31
public
:
32
34
SoSFMatrix
value
;
35
38
SoSFBool
transposed
;
39
41
SoShaderParameterMatrix
();
42
43
SoINTERNAL
public
:
44
46
static
void
initClass
();
47
49
void
updateParameter
(
SoUniformParameterBase
*uniformBase, SoState *state)
override
;
50
};
51
52
#endif
// _SO_SHADER_PARAMETER_MATRIX_
SoUniformShaderParameter.h
SoShaderParameterMatrix::transposed
SoSFBool transposed
Definition
SoShaderParameterMatrix.h:38
SoShaderParameterMatrix::initClass
static void initClass()
Initialize class with runtime type system.
SoShaderParameterMatrix::value
SoSFMatrix value
The parameter's value.
Definition
SoShaderParameterMatrix.h:34
SoShaderParameterMatrix::SoShaderParameterMatrix
SoShaderParameterMatrix()
Constructor.
SoShaderParameterMatrix::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
SoShaderParameterMatrix.h
Generated by
1.15.0