TTK
Loading...
Searching...
No Matches
ttkMeshSubdivision.h
Go to the documentation of this file.
1
36#pragma once
37
38// VTK Module
39#include <ttkMeshSubdivisionModule.h>
40
41// ttk code includes
42#include <ttkAlgorithm.h>
43
44class TTKMESHSUBDIVISION_EXPORT ttkMeshSubdivision : public ttkAlgorithm {
45
46public:
49
50 vtkSetMacro(IterationNumber, int);
51 vtkGetMacro(IterationNumber, int);
52
53protected:
55
56 int FillInputPortInformation(int port, vtkInformation *info) override;
57 int FillOutputPortInformation(int port, vtkInformation *info) override;
58 int RequestData(vtkInformation *request,
59 vtkInformationVector **inputVector,
60 vtkInformationVector *outputVector) override;
61
62private:
63 int IterationNumber{1};
64};
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 for the computation of mesh subdivisions (without vertex displacement).
static ttkMeshSubdivision * New()