Still cleaning samples
This commit is contained in:
parent
361250c867
commit
1acf0ce100
apps/sample
trimesh_cylinder_clipping
trimesh_disk_parametrization
trimesh_montecarlo_sampling
trimesh_montecarlosampling
|
@ -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
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
include(../common.pri)
|
||||||
|
TARGET = trimesh_montecarlo_sampling
|
||||||
|
SOURCES += trimesh_montecarlo_sampling.cpp
|
|
@ -1,3 +0,0 @@
|
||||||
include(../common.pri)
|
|
||||||
TARGET = trimesh_montecarlosampling
|
|
||||||
SOURCES += trimesh_montecarlosampling.cpp
|
|
Loading…
Reference in New Issue