summaryrefslogtreecommitdiff
path: root/src/GudhUI/model
diff options
context:
space:
mode:
authorsalinasd <salinasd@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-01-27 15:09:04 +0000
committersalinasd <salinasd@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-01-27 15:09:04 +0000
commite8e889c52c96a3055a1237c389186cb08b0f6708 (patch)
treec7879f69d52a9cdde35f38ac2718ec9d8ce7815a /src/GudhUI/model
parentd7a3c90ef611b1c104b6a4ee900b56bf39d56cf5 (diff)
critical poitns
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@432 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 27e660f593f25a00cbd8b1794ed83bb76fd34eea
Diffstat (limited to 'src/GudhUI/model')
-rw-r--r--src/GudhUI/model/Model.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/GudhUI/model/Model.h b/src/GudhUI/model/Model.h
index ab92d0cf..39bbd9d8 100644
--- a/src/GudhUI/model/Model.h
+++ b/src/GudhUI/model/Model.h
@@ -19,6 +19,7 @@
#include "utils/Edge_collapsor.h"
#include "utils/Edge_contractor.h"
#include "utils/Persistence_compute.h"
+#include "utils/Critical_points.h"
#include "gudhi/Skeleton_blocker/Skeleton_blocker_simple_geometric_traits.h"
#include "gudhi/Skeleton_blocker_geometric_complex.h"
@@ -234,8 +235,8 @@ public:
void show_homology_group(){
-#ifndef _WIN32
- std::cout << "Works only on linux for the moment\n";
+#ifdef _WIN32
+ std::cout << "Works only on linux x64 for the moment\n";
#else
Clock clock;
run_chomp();
@@ -263,6 +264,10 @@ public:
Persistence_compute<Complex> persistence(complex_,std::cout,Persistence_params(p,threshold,max_dim,min_pers));
}
+ void show_critical_points(double max_distance){
+ Critical_points<Complex> critical_points(complex_,std::cout,max_distance);
+ }
+
private:
void run_chomp(){