TTK
Loading...
Searching...
No Matches
ttkQuadrangulationSubdivision.h
Go to the documentation of this file.
1
31
32#pragma once
33
34// VTK Module
35#include <ttkQuadrangulationSubdivisionModule.h>
36
37// ttk code includes
39#include <ttkAlgorithm.h>
40
41class TTKQUADRANGULATIONSUBDIVISION_EXPORT ttkQuadrangulationSubdivision
42 : public ttkAlgorithm,
44
45public:
48
49 vtkSetMacro(SubdivisionLevel, unsigned int);
50 vtkGetMacro(SubdivisionLevel, unsigned int);
51
52 vtkSetMacro(RelaxationIterations, unsigned int);
53 vtkGetMacro(RelaxationIterations, unsigned int);
54
55 vtkSetMacro(LockInputExtrema, bool);
56 vtkGetMacro(LockInputExtrema, bool);
57
58 vtkSetMacro(LockAllInputVertices, bool);
59 vtkGetMacro(LockAllInputVertices, bool);
60
61 vtkSetMacro(HausdorffLevel, float);
62 vtkGetMacro(HausdorffLevel, float);
63
64 vtkSetMacro(ShowResError, bool);
65 vtkGetMacro(ShowResError, bool);
66
67 vtkSetMacro(QuadStatistics, bool);
68 vtkGetMacro(QuadStatistics, bool);
69
70protected:
72
73 int FillInputPortInformation(int port, vtkInformation *info) override;
74 int FillOutputPortInformation(int port, vtkInformation *info) override;
75 int RequestData(vtkInformation *request,
76 vtkInformationVector **inputVector,
77 vtkInformationVector *outputVector) override;
78
79private:
80 // display quadrangle statistics
81 bool QuadStatistics{false};
82};
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 surface quadrangulation.
static ttkQuadrangulationSubdivision * New()
TTK processing package for the topological simplification of scalar data.