TTK
Loading...
Searching...
No Matches
ttkCinemaDarkroomCamera.h
Go to the documentation of this file.
1
15
16#pragma once
17
18// VTK Module
19#include <ttkAlgorithm.h>
20#include <ttkCinemaDarkroomModule.h>
21
22class TTKCINEMADARKROOM_EXPORT ttkCinemaDarkroomCamera : public ttkAlgorithm {
23
24 double Position[3]{0, 0, 0};
25 double Up[3]{0, 0, 1};
26 double FocalPoint[3]{0, 0, 0};
27
28public:
31
32 vtkSetVector3Macro(Position, double);
33 vtkGetVector3Macro(Position, double);
34 vtkSetVector3Macro(Up, double);
35 vtkGetVector3Macro(Up, double);
36 vtkSetVector3Macro(FocalPoint, double);
37 vtkGetVector3Macro(FocalPoint, double);
38
39 int SyncWithParaViewCamera();
40
41protected:
44
45 int FillInputPortInformation(int port, vtkInformation *info) override;
46 int FillOutputPortInformation(int port, vtkInformation *info) override;
47
48 int RequestData(vtkInformation *request,
49 vtkInformationVector **inputVector,
50 vtkInformationVector *outputVector) override;
51};
Baseclass of all VTK filters that wrap ttk modules.
virtual int RequestData(vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
int FillInputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
int FillOutputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
This source generates a Cinema Darkroom Camera.
static ttkCinemaDarkroomCamera * New()
~ttkCinemaDarkroomCamera() override