TTK
Loading...
Searching...
No Matches
ttkRipsPersistenceGenerators.h File Reference
#include <ttkRipsPersistenceGeneratorsModule.h>
#include <vtkUnstructuredGrid.h>
#include <RipsPersistenceGenerators.h>
#include <ttkAlgorithm.h>

Go to the source code of this file.

Classes

class  ttkRipsPersistenceGenerators
 TTK VTK-filter that wraps the ttk::RipsPersistenceGenerators module. More...
 

Functions

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 Unstructured Grid format.
 

Function Documentation

◆ GeneratorsToVTU()

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 Unstructured Grid format.

Parameters
[out]vtuOutput VTK Unstructured Grid
[in]inputPointsvtkPoints used to embed the generators
[in]generators1Vector of ttk::rpd::Generator1 to be converted
[in]parametrizeWhether to parametrize the generators

Definition at line 39 of file ttkRipsPersistenceGenerators.cpp.