TTK
Loading...
Searching...
No Matches
core
vtk
ttkCinemaDarkroom
ttkCinemaDarkroomIBS.h
Go to the documentation of this file.
1
18
19
#pragma once
20
21
// VTK Module
22
#include <ttkCinemaDarkroomModule.h>
23
#include <
ttkCinemaDarkroomShader.h
>
24
25
class
TTKCINEMADARKROOM_EXPORT
ttkCinemaDarkroomIBS
26
:
public
ttkCinemaDarkroomShader
{
27
private
:
28
double
Strength{1.0};
29
double
Luminance{1.0};
30
double
Ambient{0.2};
31
32
public
:
33
vtkSetMacro(Strength,
double
);
34
vtkGetMacro(Strength,
double
);
35
vtkSetMacro(Luminance,
double
);
36
vtkGetMacro(Luminance,
double
);
37
vtkSetMacro(Ambient,
double
);
38
vtkGetMacro(Ambient,
double
);
39
40
static
ttkCinemaDarkroomIBS
*
New
();
41
vtkTypeMacro(
ttkCinemaDarkroomIBS
,
ttkCinemaDarkroomShader
);
42
43
protected
:
44
ttkCinemaDarkroomIBS
();
45
~ttkCinemaDarkroomIBS
()
override
;
46
47
std::string
GetFragmentShaderCode
()
override
;
48
49
int
RequestData
(vtkInformation *request,
50
vtkInformationVector **inputVector,
51
vtkInformationVector *outputVector)
override
;
52
};
ttkAlgorithm::RequestData
virtual int RequestData(vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
Definition
ttkAlgorithm.h:423
ttkCinemaDarkroomIBS
Image Based Shading.
Definition
ttkCinemaDarkroomIBS.h:26
ttkCinemaDarkroomIBS::~ttkCinemaDarkroomIBS
~ttkCinemaDarkroomIBS() override
ttkCinemaDarkroomIBS::New
static ttkCinemaDarkroomIBS * New()
ttkCinemaDarkroomShader
Base Class for all CinemaDarkroom Shaders.
Definition
ttkCinemaDarkroomShader.h:53
ttkCinemaDarkroomShader::GetFragmentShaderCode
virtual std::string GetFragmentShaderCode()
Definition
ttkCinemaDarkroomShader.cpp:79
ttkCinemaDarkroomShader.h
Generated on Thu Sep 26 2024 06:50:19 for TTK by
1.9.8