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
19
36
38class SoView2DShaderCustomOperation : public SoView2DShaderOperation , public ShaderPipelineCustomFunction
39{
40public:
42 {
43 programOperation.function = this;
44 }
45};
Container class to specify a change operation with a custom function for the shader pipeline.
Container class to specify a change operation for the shader pipeline shader.
SoView2DShaderDefinition::FragmentPosition position
Determines which position of the fragment position to modify.
ShaderPipelineOperation programOperation
Other modification details.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
FragmentPosition
A position in the fragment pipeline.