TTK
Loading...
Searching...
No Matches
ttkCinemaDarkroomIBS.h
Go to the documentation of this file.
1
18
19#pragma once
20
21// VTK Module
22#include <ttkCinemaDarkroomModule.h>
24
25class TTKCINEMADARKROOM_EXPORT ttkCinemaDarkroomIBS
27private:
28 double Strength{1.0};
29 double Luminance{1.0};
30 double Ambient{0.2};
31
32public:
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
42
43protected:
46
47 std::string GetFragmentShaderCode() override;
48
49 int RequestData(vtkInformation *request,
50 vtkInformationVector **inputVector,
51 vtkInformationVector *outputVector) override;
52};
virtual int RequestData(vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
Definition: ttkAlgorithm.h:390
Image Based Shading.
~ttkCinemaDarkroomIBS() override
static ttkCinemaDarkroomIBS * New()
Base Class for all CinemaDarkroom Shaders.
virtual std::string GetFragmentShaderCode()