TTK
Loading...
Searching...
No Matches
ttkCinemaQuery.h
Go to the documentation of this file.
1
34
35#pragma once
36
37// VTK Module
38#include <ttkCinemaQueryModule.h>
39
40// VTK includes
41#include <ttkAlgorithm.h>
42
43// TTK includes
44#include <CinemaQuery.h>
45
46class TTKCINEMAQUERY_EXPORT ttkCinemaQuery : public ttkAlgorithm,
47 protected ttk::CinemaQuery {
48public:
51
52 vtkSetMacro(SQLStatement, const std::string &);
53 vtkGetMacro(SQLStatement, std::string);
54
55 vtkSetMacro(ExcludeColumnsWithRegexp, bool);
56 vtkGetMacro(ExcludeColumnsWithRegexp, bool);
57
58 vtkSetMacro(RegexpString, const std::string &);
59 vtkGetMacro(RegexpString, std::string);
60
61protected:
63 ~ttkCinemaQuery() override;
64
65 int FillInputPortInformation(int port, vtkInformation *info) override;
66 int FillOutputPortInformation(int port, vtkInformation *info) override;
67
68 int RequestData(vtkInformation *request,
69 vtkInformationVector **inputVector,
70 vtkInformationVector *outputVector) override;
71
72private:
73 std::string SQLStatement{"SELECT * FROM InputTable0"};
74 bool ExcludeColumnsWithRegexp{false};
75 std::string RegexpString{".*"};
76};
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 uses a SQL statement to select a subset of a vtkTable.
static ttkCinemaQuery * New()
~ttkCinemaQuery() override
TTK cinemaQuery processing package.
Definition CinemaQuery.h:32