TTK
Loading...
Searching...
No Matches
ttkTriangulationReader.h
Go to the documentation of this file.
1
12
13#pragma once
14
15// Module include
16#include <ttkTriangulationReaderModule.h>
17
18// VTK includes
19#include <ttkAlgorithm.h>
20
21class TTKTRIANGULATIONREADER_EXPORT ttkTriangulationReader
22 : public ttkAlgorithm {
23
24public:
27
28 vtkSetMacro(TriangulationFilePath, const std::string &);
29 vtkGetMacro(TriangulationFilePath, std::string);
30
31protected:
33
34 int validateFilePath();
35
36 int FillInputPortInformation(int port, vtkInformation *info) override;
37 int FillOutputPortInformation(int port, vtkInformation *info) override;
38 int RequestData(vtkInformation *request,
39 vtkInformationVector **inputVector,
40 vtkInformationVector *outputVector) override;
41
42private:
43 std::string TriangulationFilePath{""};
44};
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 TTK Triangulation file.
static ttkTriangulationReader * New()