TTK
Loading...
Searching...
No Matches
ttkUncertainDataEstimator.h
Go to the documentation of this file.
1
27
28#pragma once
29
30// VTK Module
31#include <ttkAlgorithm.h>
32#include <ttkUncertainDataEstimatorModule.h>
33
34// ttk code includes
36
37class TTKUNCERTAINDATAESTIMATOR_EXPORT ttkUncertainDataEstimator
38 : public ttkAlgorithm,
40
41public:
43
45
46 vtkGetMacro(ComputeLowerBound, bool);
47 vtkSetMacro(ComputeLowerBound, bool);
48
49 vtkGetMacro(ComputeUpperBound, bool);
50 vtkSetMacro(ComputeUpperBound, bool);
51
52 vtkGetMacro(BinCount, int);
53 vtkSetMacro(BinCount, int);
54
55 void SetBoundToCompute(int value) {
56 if(value == 0) {
57 SetComputeLowerBound(true);
58 SetComputeUpperBound(true);
59 } else if(value == 1) {
60 SetComputeLowerBound(true);
61 SetComputeUpperBound(false);
62 } else if(value == 2) {
63 SetComputeLowerBound(false);
64 SetComputeUpperBound(true);
65 }
66 }
67
68protected:
70
71 int FillInputPortInformation(int port, vtkInformation *info) override;
72 int FillOutputPortInformation(int port, vtkInformation *info) override;
73
74 int RequestData(vtkInformation *request,
75 vtkInformationVector **inputVector,
76 vtkInformationVector *outputVector) override;
77};
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
TTK VTK-filter that takes an input ensemble data set (represented by a list of scalar fields) and whi...
static ttkUncertainDataEstimator * New()
TTK processing package that takes an input ensemble data set (represented by a list of scalar fields)...