TTK
Loading...
Searching...
No Matches
ttkImportEmbeddingFromTable.h
Go to the documentation of this file.
1
17#pragma once
18
19// VTK Module
20#include <ttkImportEmbeddingFromTableModule.h>
21
22// ttk code includes
23#include <ttkAlgorithm.h>
24
25class TTKIMPORTEMBEDDINGFROMTABLE_EXPORT ttkImportEmbeddingFromTable
26 : public ttkAlgorithm {
27
28public:
31
32 vtkSetMacro(XColumn, const std::string &);
33 vtkGetMacro(XColumn, std::string);
34
35 vtkSetMacro(YColumn, const std::string &);
36 vtkGetMacro(YColumn, std::string);
37
38 vtkSetMacro(ZColumn, const std::string &);
39 vtkGetMacro(ZColumn, std::string);
40
41 vtkSetMacro(Embedding2D, bool);
42 vtkGetMacro(Embedding2D, bool);
43
44protected:
46 this->setDebugMsgPrefix("ImportEmbeddingFromTable");
47 SetNumberOfInputPorts(2);
48 SetNumberOfOutputPorts(1);
49 }
50
51 ~ttkImportEmbeddingFromTable() override = default;
52 ;
53
54 int RequestData(vtkInformation *request,
55 vtkInformationVector **inputVector,
56 vtkInformationVector *outputVector) override;
57
58 int FillInputPortInformation(int port, vtkInformation *info) override;
59 int FillOutputPortInformation(int port, vtkInformation *info) override;
60
61private:
62 std::string XColumn;
63 std::string YColumn;
64 std::string ZColumn;
65 bool Embedding2D;
66};
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 FillOutputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
Definition: ttkAlgorithm.h:419
TTK VTK-filter that embeds a vtkPointSet with the data of a vtkTable.
static ttkImportEmbeddingFromTable * New()
~ttkImportEmbeddingFromTable() override=default
int FillInputPortInformation(int port, vtkInformation *info) override
void setDebugMsgPrefix(const std::string &prefix)
Definition: Debug.h:364