File: subdivider.docu

package info (click to toggle)
openmesh 11.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,080 kB
  • sloc: cpp: 56,379; ansic: 5,600; perl: 1,374; sh: 119; makefile: 18
file content (40 lines) | stat: -rw-r--r-- 1,237 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//-----------------------------------------------------------------------------

/** \page subdivider_docu Sudivision Tools

\section OM_Subdivider_Overview Overview

The %OpenMesh library provides a few tools for uniform and adaptive
subdivision:

-# Uniform subdivision
  -# OpenMesh::Subdivider::Uniform::LoopT
  -# OpenMesh::Subdivider::Uniform::Sqrt3T
  -# OpenMesh::Subdivider::Uniform::ModifiedButterflyT
  -# OpenMesh::Subdivider::Uniform::InterpolatingSqrt3LGT
  -# OpenMesh::Subdivider::Uniform::CompositeT
  -# OpenMesh::Subdivider::Uniform::CatmullClarkT
  -# OpenMesh::Subdivider::Uniform::MidpointT
-# Adaptive subdivision
  -# OpenMesh::Subdivider::Adaptive::CompositeT
-# Simple subdivision
  -# OpenMesh::Subdivider::Uniform::LongestEdgeT

\section OM_Subdivider_Usage Usage
The subdividers directly work on an OpenMesh. The following example shows how to use them:

\code
  #include <OpenMesh/Tools/Subdivider/Uniform/CatmullClarkT.hh>

  // Initialize subdivider
  OpenMesh::Subdivider::Uniform::CatmullClarkT<PolyMesh> catmull;

  // Execute 3 subdivision steps
  catmull.attach(mesh_);
  catmull( 3 );
  catmull.detach();
\endcode

*/

//-----------------------------------------------------------------------------