TTK
Loading...
Searching...
No Matches
ttkProjectionFromTable.h
Go to the documentation of this file.
1
32
33#pragma once
34
35// VTK Module
36#include <ttkProjectionFromTableModule.h>
37
38// VTK Includes
39#include <ttkAlgorithm.h>
40#include <vtkPolyData.h>
41#include <vtkTable.h>
42
43// TTK Base Includes
44#include <ProjectionFromTable.h>
45
46class TTKPROJECTIONFROMTABLE_EXPORT ttkProjectionFromTable
47 : public ttkAlgorithm // we inherit from the generic ttkAlgorithm class
48 ,
49 protected ttk::ProjectionFromTable // and we inherit from
50 // the base class
51{
52private:
58public:
70
71protected:
77 ~ttkProjectionFromTable() override = default;
78
83 int FillInputPortInformation(int port, vtkInformation *info) override;
84
89 int FillOutputPortInformation(int port, vtkInformation *info) override;
90
95 int RequestData(vtkInformation *request,
96 vtkInformationVector **inputVector,
97 vtkInformationVector *outputVector) override;
98 template <typename VTK_T1, typename VTK_T2>
99 void dispatch(std::vector<std::tuple<int, double, double>> &storage,
100 const VTK_T1 *const values,
101 const VTK_T2 *const values2,
102 const size_t nvalues);
103};
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 wraps the ttk::ProjectionFromTable module.
static ttkProjectionFromTable * New()
~ttkProjectionFromTable() override=default