MeVisLab Toolbox Reference
Loading...
Searching...
No Matches
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
25{
26 typedef SoGroup inherited;
27
28 SO_NODE_ABSTRACT_HEADER(SoShaderParameter);
29
30public:
33
35
37 void callback(SoCallbackAction*) override
38 {}
39 void GLRender(SoGLRenderAction*) override
40 {}
44 {}
46 {}
47 void pick(SoPickAction*) override
48 {}
49
51
53 static void initClass();
54
55protected:
58};
59
60#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
Target mlrange_cast(Source arg)
Generic version of checked ML casts.