MeVisLab Toolbox Reference
SoShaderParameter.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_H
14 #define SO_SHADER_PARAMETER_H
15 
16 
18 
19 #include "SoShaderSystem.h"
20 #include <Inventor/nodes/SoGroup.h>
21 #include <Inventor/fields/SoSFString.h>
22 
24 SoEXTENDER class INVENTOR_SHADER_API SoShaderParameter : public SoGroup
25 {
26  typedef SoGroup inherited;
27 
28  SO_NODE_ABSTRACT_HEADER(SoShaderParameter);
29 
30  public:
31 
33  SoSFString name;
34 
35  SoEXTENDER public:
36 
38  void callback(SoCallbackAction *) override {}
39  void GLRender(SoGLRenderAction *) override {}
40  void getBoundingBox(SoGetBoundingBoxAction *) override {}
41  void getMatrix(SoGetMatrixAction *) override {}
42  void handleEvent(SoHandleEventAction *) override {}
43  void pick(SoPickAction *) override {}
44 
45  SoINTERNAL public:
46 
48  static void initClass();
49 
50  protected:
51 
54 };
55 
56 #endif // _SO_SHADER_PARAMETER_
Abstract Open Inventor group base class for shader parameter nodes.
void callback(SoCallbackAction *) override
Shut down handling of these actions for children.
static void initClass()
Initialize class with runtime type system.
void GLRender(SoGLRenderAction *) override
void pick(SoPickAction *) override
void getBoundingBox(SoGetBoundingBoxAction *) override
void getMatrix(SoGetMatrixAction *) override
SoShaderParameter()
Constructor.
SoSFString name
Name given to parameter in high level languages.
void handleEvent(SoHandleEventAction *) override