14 const unsigned dim = points[0].size();
15 if(points.size() <= dim) {
22 FRPD.computeDelaunayRips0And1Persistence(ph);
24#ifndef CGAL_LINKED_WITH_TBB
26 printWrn(
"TTK was not compiled with TBB:");
27 printWrn(
"sequential Delaunay triangulation only");
34 if(dim > TTK_DELAUNAY_MAX_COMPILED_DIMENSION)
35 printWrn(
"High dimension: " + std::to_string(dim) +
">"
36 + std::to_string(TTK_DELAUNAY_MAX_COMPILED_DIMENSION));
45 printErr(
"TTK was not compiled with CGAL:");
46 printErr(
"this filter is not available.");
54 std::vector<Generator1> &generators1,
55 std::vector<Generator2> &generators2)
const {
58 const unsigned dim = points[0].size();
60 printErr(
"Input dimension too large: " + std::to_string(dim) +
">3");
63 if(points.size() <= dim) {
70 FRPD.computeDelaunayRips0And1Persistence(ph);
71 FRPD.exportRips1Generators(generators1);
73#ifndef CGAL_LINKED_WITH_TBB
75 printWrn(
"TTK was not compiled with TBB:");
76 printWrn(
"sequential Delaunay triangulation only");
79 gph::runDelaunayRipsPersistenceDiagram3(
90 printErr(
"TTK was not compiled with CGAL:");
91 printErr(
"this filter is not available.");
#define TTK_FORCE_USE(x)
Force the compiler to use the function/method parameter.
int getThreadNumber() const
int printWrn(const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
void setDebugMsgPrefix(const std::string &prefix)
int printErr(const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
DelaunayRipsPersistenceDiagram()
int execute(const rpd::PointCloud &points, rpd::MultidimensionalDiagram &ph) const
Main entry point (without generators)
TTK base class that computes the persistence diagram of a Rips complex of a planar point cloud using ...
std::vector< std::vector< value_t > > PointCloud
std::vector< Diagram > MultidimensionalDiagram
std::pair< Simplex, value_t > FiltratedSimplex