TTK
Loading...
Searching...
No Matches
ttkCinemaDarkroomSSDoF.h
Go to the documentation of this file.
1
17
18#pragma once
19
20// VTK Module
21#include <ttkCinemaDarkroomModule.h>
23
24class TTKCINEMADARKROOM_EXPORT ttkCinemaDarkroomSSDoF
26private:
27 double Radius{0.05};
28 double MaxBlur{0.1};
29 double Aperture{1.0};
30 double FocalDepth{0.4};
31
32public:
33 vtkSetMacro(Radius, double);
34 vtkGetMacro(Radius, double);
35 vtkSetMacro(MaxBlur, double);
36 vtkGetMacro(MaxBlur, double);
37 vtkSetMacro(Aperture, double);
38 vtkGetMacro(Aperture, double);
39 vtkSetMacro(FocalDepth, double);
40 vtkGetMacro(FocalDepth, double);
41
44
45protected:
48
49 std::string GetFragmentShaderCode() override;
50
51 int RequestData(vtkInformation *request,
52 vtkInformationVector **inputVector,
53 vtkInformationVector *outputVector) override;
54};
virtual int RequestData(vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
Screen Space Depth of Field.
~ttkCinemaDarkroomSSDoF() override
static ttkCinemaDarkroomSSDoF * New()
Base Class for all CinemaDarkroom Shaders.
virtual std::string GetFragmentShaderCode()