VCG Library
Files
Code Examples

This module contains a number of small examples to explain the library features. More...

Files

file  trimesh_allocate.cpp
 the minimal example about creating and deleting elements
 
file  trimesh_attribute.cpp
 the minimal example of using the attributes
 
file  trimesh_base.cpp
 the minimal example of using the lib
 
file  trimesh_clustering.cpp
 a minimal example of a clustering based simplification
 
file  trimesh_color.cpp
 a brief overview of the various color oriented functionalities
 
file  trimesh_curvature.cpp
 an example showing the various techniques for computing curvatures
 
file  trimesh_fitting.cpp
 A small example about sampling and fitting.
 
file  trimesh_inertia.cpp
 An example of computing the inertia properties of meshes.
 
file  trimesh_inertia.cpp
 An example of computing the inertia properties of meshes.
 
file  trimesh_intersection_mesh.cpp
 An example of adaptively remeshing the intersection between a cube and a sphere.
 
file  trimesh_intersection_plane.cpp
 An example of computing the intersection of a mesh with a plane, saving this polyline as a well projected 2D SVG and splicing the mesh in the two components below and over the plane.
 
file  trimesh_kdtree.cpp
 An example about using a kdtree to spatially index the vertexes of a mesh.
 
file  trimesh_normal.cpp
 An example of all the methods for computing normals over a mesh.
 
file  trimesh_optional.cpp
 the minimal example of using the Optional Components.
 
file  trimesh_fitting.cpp
 A small example about sampling and fitting.
 
file  trimesh_normal.cpp
 An example of all the methods for computing normals over a mesh.
 
file  trimesh_select.cpp
 the minimal example of using the selection functionality
 
file  trimesh_normal.cpp
 An example of all the methods for computing normals over a mesh.
 
file  trimesh_smooth.cpp
 the minimal example of using the lib
 

Detailed Description

This module contains a number of small examples to explain the library features.

All the examples here listed are located in the folder vcglib/apps/sample. To compile each sample, please use the corresponding qmake *.pro project files.