TTK
Loading...
Searching...
No Matches
ttkCinemaDarkroomSSAO.h
Go to the documentation of this file.
1
12
13#pragma once
14
15// VTK Module
16#include <ttkCinemaDarkroomModule.h>
18
19class TTKCINEMADARKROOM_EXPORT ttkCinemaDarkroomSSAO
21private:
22 double Radius{6};
23 double DiffArea{0.5};
24
25public:
26 vtkSetMacro(Radius, double);
27 vtkGetMacro(Radius, double);
28 vtkSetMacro(DiffArea, double);
29 vtkGetMacro(DiffArea, double);
30
33
34protected:
37
38 std::string GetFragmentShaderCode() override;
39
40 int RequestData(vtkInformation *request,
41 vtkInformationVector **inputVector,
42 vtkInformationVector *outputVector) override;
43};
virtual int RequestData(vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
Screen Space Ambient Occlusion.
~ttkCinemaDarkroomSSAO() override
static ttkCinemaDarkroomSSAO * New()
Base Class for all CinemaDarkroom Shaders.
virtual std::string GetFragmentShaderCode()