TTK
Loading...
Searching...
No Matches
ttkForEach.h
Go to the documentation of this file.
1
24
25#pragma once
26
27// VTK Module
28#include <ttkForEachModule.h>
29
30// TTK includes
31#include <ttkExtract.h>
32
33class TTKFOREACH_EXPORT ttkForEach : public ttkExtract {
34
35private:
36 vtkDataObject *LastInput{nullptr};
37 int IterationIdx{0};
38 int IterationNumber{0};
39
40public:
41 static ttkForEach *New();
42 vtkTypeMacro(ttkForEach, ttkExtract);
43
44 vtkGetMacro(IterationIdx, int);
45 vtkSetMacro(IterationIdx, int);
46 vtkGetMacro(IterationNumber, int);
47 vtkSetMacro(IterationNumber, int);
48
49protected:
50 ttkForEach();
51 ~ttkForEach() override;
52
53 int RequestData(vtkInformation *request,
54 vtkInformationVector **inputVector,
55 vtkInformationVector *outputVector) override;
56};
TTK VTK-filter that provides multiple methods to extract subsets of an input data object based on a l...
Definition ttkExtract.h:55
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
TTK VTK-filter that works in conjunction with the ttkEndFor filter to iterate over blocks,...
Definition ttkForEach.h:33
static ttkForEach * New()
~ttkForEach() override