27#include <ttkRipsPersistenceGeneratorsModule.h>
30#include <vtkUnstructuredGrid.h>
45TTKRIPSPERSISTENCEGENERATORS_EXPORT
void
47 vtkPoints *inputPoints,
48 const std::vector<ttk::rpd::Generator1> &generators1,
49 bool parametrize =
true);
58 bool KeepAllDataArrays{
true};
59 bool SelectFieldsWithRegexp{
false};
60 std::string RegexpString{
".*"};
61 std::vector<std::string> ScalarFields{};
68 ScalarFields.push_back(s);
85 vtkSetMacro(KeepAllDataArrays,
bool);
86 vtkGetMacro(KeepAllDataArrays,
bool);
88 vtkSetMacro(SelectFieldsWithRegexp,
bool);
89 vtkGetMacro(SelectFieldsWithRegexp,
bool);
91 vtkSetMacro(RegexpString,
const std::string &);
92 vtkGetMacro(RegexpString, std::string);
109 vtkInformationVector **inputVector,
110 vtkInformationVector *outputVector)
override;
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
~ttkRipsPersistenceGenerators() override=default
void SetScalarFields(const std::string &s)
std::string GetSimplexMaximumDiameter()
static ttkRipsPersistenceGenerators * New()
ttkRipsPersistenceGenerators()
void SetSimplexMaximumDiameter(const std::string &data)
TTK base class that computes 1-dimensional persistence generators in a Rips filtration.
double SimplexMaximumDiameter
bool InputIsDistanceMatrix
TTKRIPSPERSISTENCEGENERATORS_EXPORT void GeneratorsToVTU(vtkUnstructuredGrid *vtu, vtkPoints *inputPoints, const std::vector< ttk::rpd::Generator1 > &generators1, bool parametrize=true)
Converts a vector of 1-dimensional persistent generators in the ttk::rpd::Generator format to the VTK...