TTK
Loading...
Searching...
No Matches
ttkPointMerger.h
Go to the documentation of this file.
1
20#pragma once
21
22// VTK Module
23#include <ttkPointMergerModule.h>
24
25// ttk code includes
26#include <ttkAlgorithm.h>
27
28class TTKPOINTMERGER_EXPORT ttkPointMerger : public ttkAlgorithm {
29public:
32
33 vtkSetMacro(BoundaryOnly, bool);
34 vtkGetMacro(BoundaryOnly, bool);
35
36 vtkSetMacro(DistanceThreshold, double);
37 vtkGetMacro(DistanceThreshold, double);
38
39protected:
41
42 int FillInputPortInformation(int port, vtkInformation *info) override;
43 int FillOutputPortInformation(int port, vtkInformation *info) override;
44 int RequestData(vtkInformation *request,
45 vtkInformationVector **inputVector,
46 vtkInformationVector *outputVector) override;
47
48private:
49 bool BoundaryOnly{true};
50 double DistanceThreshold{0.001};
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
TTK VTK-filter for point merging.
static ttkPointMerger * New()