OpenMesh
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
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
Project
OpenMesh
, © Computer Graphics Group, RWTH Aachen. Documentation generated using
doxygen
.