Still cleaning samples

This commit is contained in:
Paolo Cignoni 2017-03-24 15:23:43 +01:00
parent 361250c867
commit 1acf0ce100
6 changed files with 8 additions and 28 deletions

View File

@ -1,5 +1,2 @@
include(../common.pri) include(../common.pri)
SOURCES += trimesh_cylclip.cpp ../../../wrap/ply/plylib.cpp SOURCES += trimesh_cylinder_clipping.cpp ../../../wrap/ply/plylib.cpp
HEADERS += \
cylinder_clip.h

View File

@ -21,13 +21,6 @@
* * * *
****************************************************************************/ ****************************************************************************/
#include<vcg/simplex/vertex/base.h>
#include<vcg/simplex/vertex/component.h>
#include <vcg/complex/used_types.h>
#include<vcg/simplex/face/base.h>
#include<vcg/simplex/face/component.h>
#include<vcg/complex/complex.h> #include<vcg/complex/complex.h>
#include<vcg/complex/algorithms/create/platonic.h> #include<vcg/complex/algorithms/create/platonic.h>
#include<vcg/complex/algorithms/parametrization/poisson_solver.h> #include<vcg/complex/algorithms/parametrization/poisson_solver.h>

View File

@ -1,13 +1,3 @@
#DEFINES += VCG_USE_EIGEN include(../common.pri)
TARGET = trimesh_disk_parametrization
TARGET = trimesh_diskparam SOURCES += trimesh_disk_parametrization.cpp ../../../wrap/ply/plylib.cpp
DEPENDPATH += . ../../..
INCLUDEPATH += . ../../..
CONFIG += console stl
TEMPLATE = app
SOURCES += trimesh_diskparam.cpp ../../../wrap/ply/plylib.cpp
# Mac specific Config required to avoid to make application bundles
CONFIG -= app_bundle

View File

@ -71,7 +71,7 @@ int main( int argc, char **argv )
tri::SurfaceSampling<MyMesh,tri::TrivialSampler<MyMesh> >::Montecarlo(m,mps,10000000); tri::SurfaceSampling<MyMesh,tri::TrivialSampler<MyMesh> >::Montecarlo(m,mps,10000000);
int t1=clock(); int t1=clock();
printf("Computed a montecarlo distribution of %i vertices radius is %6.3f\n",sampleVec.size(),float(t1-t0)/float(CLOCKS_PER_SEC)); printf("Computed a montecarlo distribution of %lu vertices radius is %6.3f\n",sampleVec.size(),float(t1-t0)/float(CLOCKS_PER_SEC));
return 0; return 0;
} }

View File

@ -0,0 +1,3 @@
include(../common.pri)
TARGET = trimesh_montecarlo_sampling
SOURCES += trimesh_montecarlo_sampling.cpp

View File

@ -1,3 +0,0 @@
include(../common.pri)
TARGET = trimesh_montecarlosampling
SOURCES += trimesh_montecarlosampling.cpp