MeVisLab Toolbox Reference
SoView2DShaderOperation.h
Go to the documentation of this file.
1
/*************************************************************************************
2
**
3
** Copyright 2015, 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
#pragma once
14
15
#include <ShaderPipeline/ShaderPipelineOperation.h>
16
#include <ShaderPipeline/ShaderPipelineCustomFunction.h>
17
18
#include "
SoView2DShaderDefinition.h
"
19
21
class
SoView2DShaderOperation
22
{
23
public
:
24
SoView2DShaderOperation
()
25
{
26
}
27
29
SoView2DShaderDefinition::FragmentPosition
position
;
30
33
ShaderPipelineOperation
programOperation
;
34
35
};
36
38
class
SoView2DShaderCustomOperation
:
public
SoView2DShaderOperation
,
public
ShaderPipelineCustomFunction
39
{
40
public
:
41
SoView2DShaderCustomOperation
()
42
{
43
programOperation
.function =
this
;
44
}
45
};
SoView2DShaderDefinition.h
SoView2DShaderCustomOperation::SoView2DShaderCustomOperation
SoView2DShaderCustomOperation()
Definition
SoView2DShaderOperation.h:41
SoView2DShaderOperation::position
SoView2DShaderDefinition::FragmentPosition position
Determines which position of the fragment position to modify.
Definition
SoView2DShaderOperation.h:29
SoView2DShaderOperation::SoView2DShaderOperation
SoView2DShaderOperation()
Definition
SoView2DShaderOperation.h:24
SoView2DShaderOperation::programOperation
ShaderPipelineOperation programOperation
Definition
SoView2DShaderOperation.h:33
SoView2DShaderDefinition::FragmentPosition
FragmentPosition
A position in the fragment pipeline.
Definition
SoView2DShaderDefinition.h:21
MeVisLab
Standard
Sources
Inventor
SoView2D
shaderpipeline
SoView2DShaderOperation.h
Generated by
1.15.0