MeVisLab Resolution Independence API
SoShaderParameterMLImageSize.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_SIZE_H
14 #define SO_SHADER_PARAMETER_MLIMAGE_SIZE_H
15 
16 
18 
19 #include "SoShaderSystem.h"
21 
24 {
25  typedef SoUniformShaderParameter inherited;
26 
27  SO_NODE_HEADER(SoShaderParameterMLImageSize);
28 
29  public:
30 
33 
34  SoINTERNAL public:
35 
37  static void initClass();
38 
40  void updateParameter(SoUniformParameterBase *uniformBase, SoState *state) override;
41 };
42 
43 #endif // _SO_SHADER_PARAMETER_ML_IMAGE_SIZE_
#define INVENTOR_SHADER_API
Define class export specifier.
Open Inventor uniform shader parameter node that defines two integer parameters to represent the size...
static void initClass()
Initialize class with runtime type system.
void updateParameter(SoUniformParameterBase *uniformBase, SoState *state) override
Assigns or updates the parameter's value.
SoShaderParameterMLImageSize()
Constructor.
Base class for uniform shader parameters.
Abstract Open Inventor base class for uniform shader parameter nodes.