TTK
Loading...
Searching...
No Matches
ttkPointSetToCurve.h
Go to the documentation of this file.
1
21
22#pragma once
23
24// Module include
25#include <ttkPointSetToCurveModule.h>
26
27// VTK includes
28#include <ttkAlgorithm.h>
29
30class TTKPOINTSETTOCURVE_EXPORT ttkPointSetToCurve : public ttkAlgorithm {
31
32public:
35
36 vtkSetMacro(CloseCurve, bool);
37 vtkGetMacro(CloseCurve, bool);
38
39protected:
41 ~ttkPointSetToCurve() override = default;
42
43 int FillInputPortInformation(int port, vtkInformation *info) override;
44 int FillOutputPortInformation(int port, vtkInformation *info) override;
45
46 int RequestData(vtkInformation *request,
47 vtkInformationVector **inputVector,
48 vtkInformationVector *outputVector) override;
49 template <typename VTK_TT>
50 void dispatch(std::vector<std::pair<vtkIdType, double>> &storage,
51 const VTK_TT *const values,
52 const size_t nvalues);
53
54private:
55 bool CloseCurve{false};
56};
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 that reads a Cinema Spec D Database.
static ttkPointSetToCurve * New()
~ttkPointSetToCurve() override=default