MeVisLab Toolbox Reference
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"
22 
23 
25 class INVENTOR_SHADER_API SoShaderParameterMLImageProps : public SoUniformShaderParameter
26 {
27  typedef SoUniformShaderParameter inherited;
28 
29  SO_NODE_HEADER(SoShaderParameterMLImageProps);
30 
31  public:
32 
35 
36  SoINTERNAL public:
37 
39  static void initClass();
40 
42  void updateParameter(SoUniformParameterBase *uniformBase, SoState *state) override;
43 
44  protected:
45 
47 
48  SbString _sizeUniformName;
52 
53  private:
54 
55  void nameChangedCB(SoField* field);
56 };
57 
58 #endif // _SO_SHADER_PARAMETER_ML_IMAGE_PROPS_
Open Inventor uniform shader parameter node that defines integer and float parameters to represent th...
static void initClass()
Initialize class with runtime type system.
~SoShaderParameterMLImageProps() override
SoShaderParameterMLImageProps()
Constructor.
void updateParameter(SoUniformParameterBase *uniformBase, SoState *state) override
Assigns or updates the parameter's value.
Base class for uniform shader parameters.
Abstract Open Inventor base class for uniform shader parameter nodes.