Classes | Functions | Variables
trimesh_indexing.cpp File Reference
#include <iostream>
#include <QTime>
#include <omp.h>
#include "nanoflann.hpp"
#include <vcg/complex/complex.h>
#include <wrap/io_trimesh/import.h>
#include <wrap/io_trimesh/export.h>
#include <vcg/space/index/kdtree/kdtree.h>
#include <vcg/space/index/grid_static_ptr.h>
#include <vcg/space/index/perfect_spatial_hashing.h>
#include <vcg/space/index/spatial_hashing.h>
#include <vcg/space/index/octree.h>
Include dependency graph for trimesh_indexing.cpp:

Go to the source code of this file.

Classes

class  CFace
class  CMesh
class  CUsedTypes
class  CVertex
 compositing wanted proprieties More...
struct  PointCloud< T >::Point
struct  PointCloud< T >

Functions

int main (int argc, char *argv[])
void testKDTree (CMesh &mesh, std::vector< unsigned int > &test_indeces, std::vector< vcg::Point3f > &randomSamples)
void testNanoFLANN (CMesh &mesh, std::vector< unsigned int > &test_indeces, std::vector< vcg::Point3f > randomSamples)
void testOctree (CMesh &mesh, std::vector< unsigned int > &test_indeces, std::vector< vcg::Point3f > &randomSamples)
void testPerfectSpatialHashing (CMesh &mesh, std::vector< unsigned int > &test_indeces)
void testSpatialHashing (CMesh &mesh, std::vector< unsigned int > &test_indeces, std::vector< vcg::Point3f > &randomSamples)
void testUniformGrid (CMesh &mesh, std::vector< unsigned int > &test_indeces, std::vector< vcg::Point3f > &randomSamples)

Variables

int kNearest = 256
int num_test = 1000
float queryDist = 0.0037
float ratio = 1000.0f

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 404 of file trimesh_indexing.cpp.

void testKDTree ( CMesh mesh,
std::vector< unsigned int > &  test_indeces,
std::vector< vcg::Point3f > &  randomSamples 
)

Definition at line 69 of file trimesh_indexing.cpp.

void testNanoFLANN ( CMesh mesh,
std::vector< unsigned int > &  test_indeces,
std::vector< vcg::Point3f randomSamples 
)

Definition at line 139 of file trimesh_indexing.cpp.

void testOctree ( CMesh mesh,
std::vector< unsigned int > &  test_indeces,
std::vector< vcg::Point3f > &  randomSamples 
)

Definition at line 348 of file trimesh_indexing.cpp.

void testPerfectSpatialHashing ( CMesh mesh,
std::vector< unsigned int > &  test_indeces 
)

Definition at line 319 of file trimesh_indexing.cpp.

void testSpatialHashing ( CMesh mesh,
std::vector< unsigned int > &  test_indeces,
std::vector< vcg::Point3f > &  randomSamples 
)

Definition at line 263 of file trimesh_indexing.cpp.

void testUniformGrid ( CMesh mesh,
std::vector< unsigned int > &  test_indeces,
std::vector< vcg::Point3f > &  randomSamples 
)

Definition at line 207 of file trimesh_indexing.cpp.


Variable Documentation

int kNearest = 256

Definition at line 20 of file trimesh_indexing.cpp.

int num_test = 1000

Definition at line 19 of file trimesh_indexing.cpp.

float queryDist = 0.0037

Definition at line 21 of file trimesh_indexing.cpp.

float ratio = 1000.0f

Definition at line 22 of file trimesh_indexing.cpp.



shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:38:55