Developer Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
stats.hh
1
#ifndef STATS_HH
2
#define STATS_HH
3
4
template
<
typename
Mesh>
5
void
mesh_stats(
Mesh
& _m,
const
std::string& prefix =
""
)
6
{
7
std::cout << prefix
8
<< _m.n_vertices() <<
" vertices, "
9
<< _m.n_edges() <<
" edges, "
10
<< _m.n_faces() <<
" faces\n"
;
11
}
12
13
template
<
typename
Mesh>
14
void
mesh_property_stats(
Mesh
& _m)
15
{
16
std::cout <<
"Current set of properties:\n"
;
17
_m.property_stats(std::cout);
18
}
19
20
#endif
OpenMesh::TriMesh_ArrayKernelT
Definition:
TriMesh_ArrayKernelT.hh:98
libs_required
OpenMesh
Doc
Tutorial
09-persistence
stats.hh
Generated on Wed Oct 12 2016 12:27:45 for Developer Documentation by
1.8.11