TTK
Loading...
Searching...
No Matches
ttkCinemaReader.h
Go to the documentation of this file.
1
57
58#pragma once
59
60// Module include
61#include <ttkCinemaReaderModule.h>
62
63// VTK includes
64#include <ttkAlgorithm.h>
65#include <vtkInformation.h>
66
67class TTKCINEMAREADER_EXPORT ttkCinemaReader : public ttkAlgorithm {
68
69public:
72
73 vtkSetMacro(DatabasePath, const std::string &);
74 vtkGetMacro(DatabasePath, std::string);
75 vtkSetMacro(FilePathColumnNames, const std::string &);
76 vtkGetMacro(FilePathColumnNames, std::string);
77
78protected:
80 ~ttkCinemaReader() override;
81
82 int validateDatabasePath();
83
84 int FillOutputPortInformation(int port, vtkInformation *info) override;
85 int RequestData(vtkInformation *request,
86 vtkInformationVector **inputVector,
87 vtkInformationVector *outputVector) override;
88
89private:
90 std::string DatabasePath{""};
91 std::string FilePathColumnNames{"FILE"};
92};
Baseclass of all VTK filters that wrap ttk modules.
virtual int RequestData(vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
int FillOutputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
TTK VTK-filter that reads a Cinema Spec D Database.
static ttkCinemaReader * New()
~ttkCinemaReader() override