TTK
Loading...
Searching...
No Matches
ttkProjectionFromTable.h
Go to the documentation of this file.
1
35
36#pragma once
37
38// VTK Module
39#include <ttkProjectionFromTableModule.h>
40
41// VTK Includes
42#include <ttkAlgorithm.h>
43#include <vtkPolyData.h>
44#include <vtkTable.h>
45
46// TTK Base Includes
47#include <ProjectionFromTable.h>
48
49class TTKPROJECTIONFROMTABLE_EXPORT ttkProjectionFromTable
50 : public ttkAlgorithm // we inherit from the generic ttkAlgorithm class
51 ,
52 protected ttk::ProjectionFromTable // and we inherit from
53 // the base class
54{
55private:
60
61public:
66
73
74protected:
80 ~ttkProjectionFromTable() override = default;
81
86 int FillInputPortInformation(int port, vtkInformation *info) override;
87
92 int FillOutputPortInformation(int port, vtkInformation *info) override;
93
98 int RequestData(vtkInformation *request,
99 vtkInformationVector **inputVector,
100 vtkInformationVector *outputVector) override;
101 template <typename VTK_T1, typename VTK_T2>
102 void dispatch(std::vector<std::tuple<int, double, double>> &storage,
103 const VTK_T1 *const values,
104 const VTK_T2 *const values2,
105 const size_t nvalues);
106};
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
static ttkProjectionFromTable * New()
void dispatch(std::vector< std::tuple< int, double, double > > &storage, const VTK_T1 *const values, const VTK_T2 *const values2, const size_t nvalues)
~ttkProjectionFromTable() override=default