TTK
Loading...
Searching...
No Matches
ttkCinemaDarkroomSSSAO.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 ttkCinemaDarkroomSSSAO
21private:
22 int Samples{32};
23 double Radius{6};
24 double DiffArea{0.5};
25
26public:
27 vtkSetMacro(Samples, int);
28 vtkGetMacro(Samples, int);
29 vtkSetMacro(Radius, double);
30 vtkGetMacro(Radius, double);
31 vtkSetMacro(DiffArea, double);
32 vtkGetMacro(DiffArea, double);
33
36
37protected:
40
41 std::string GetFragmentShaderCode() override;
42
43 int RequestData(vtkInformation *request,
44 vtkInformationVector **inputVector,
45 vtkInformationVector *outputVector) override;
46};
virtual int RequestData(vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
Scalable Screen Space Ambient Occlusion.
static ttkCinemaDarkroomSSSAO * New()
~ttkCinemaDarkroomSSSAO() override
Base Class for all CinemaDarkroom Shaders.
virtual std::string GetFragmentShaderCode()