TTK
Loading...
Searching...
No Matches
ttkPointSetToCurve.h
Go to the documentation of this file.
1
18
19#pragma once
20
21// Module include
22#include <ttkPointSetToCurveModule.h>
23
24// VTK includes
25#include <ttkAlgorithm.h>
26
27class TTKPOINTSETTOCURVE_EXPORT ttkPointSetToCurve : public ttkAlgorithm {
28
29public:
32
33 vtkSetMacro(CloseCurve, bool);
34 vtkGetMacro(CloseCurve, bool);
35
36protected:
38 ~ttkPointSetToCurve() override = default;
39
40 int FillInputPortInformation(int port, vtkInformation *info) override;
41 int FillOutputPortInformation(int port, vtkInformation *info) override;
42
43 int RequestData(vtkInformation *request,
44 vtkInformationVector **inputVector,
45 vtkInformationVector *outputVector) override;
46 template <typename VTK_TT>
47 void dispatch(std::vector<std::pair<vtkIdType, double>> &storage,
48 const VTK_TT *const values,
49 const size_t nvalues);
50
51private:
52 bool CloseCurve{false};
53};
Baseclass of all VTK filters that wrap ttk modules.
Definition: ttkAlgorithm.h:34
virtual int RequestData(vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
Definition: ttkAlgorithm.h:390
int FillInputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
Definition: ttkAlgorithm.h:404
int FillOutputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
Definition: ttkAlgorithm.h:419
TTK VTK-filter that reads a Cinema Spec D Database.
static ttkPointSetToCurve * New()
~ttkPointSetToCurve() override=default