40 vtkUnstructuredGrid *vtu,
41 const std::vector<std::vector<ripser::pers_pair_t>> &diagram);
47 vtkSetMacro(SimplexMaximumDimension,
int);
48 vtkGetMacro(SimplexMaximumDimension,
int);
50 vtkSetMacro(SimplexMaximumDiameter,
double);
51 vtkGetMacro(SimplexMaximumDiameter,
double);
53 vtkSetMacro(InputIsDistanceMatrix,
int);
54 vtkGetMacro(InputIsDistanceMatrix,
int);
65 vtkInformationVector **inputVector,
66 vtkInformationVector *outputVector)
override;
int DiagramToVTU(vtkUnstructuredGrid *vtu, const ttk::DiagramType &diagram, vtkDataArray *const inputScalars, const ttk::Debug &dbg, const int dim, const bool embedInDomain)
Converts a Persistence Diagram in the ttk::DiagramType format to the VTK Unstructured Grid format (as...