Added catmull clark subdivider. Thanks to Leon Kos for the code.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@609 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
/** \page subdivider_docu Sudivision Tools
|
||||
|
||||
\section Overview
|
||||
|
||||
The %OpenMesh library provides a few tools for uniform and adaptive
|
||||
subdivision:
|
||||
|
||||
@@ -11,11 +13,27 @@ subdivision:
|
||||
-# OpenMesh::Subdivider::Uniform::ModifiedButterflyT
|
||||
-# OpenMesh::Subdivider::Uniform::InterpolatingSqrt3LGT
|
||||
-# OpenMesh::Subdivider::Uniform::CompositeT
|
||||
-# OpenMesh::Subdivider::Uniform::CatmullClarkT
|
||||
-# Adaptive subdivision
|
||||
-# OpenMesh::Subdivider::Adaptive::CompositeT
|
||||
-# Simple subdivision
|
||||
-# OpenMesh::Subdivider::Uniform::LongestEdgeT
|
||||
|
||||
\section 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
|
||||
|
||||
*/
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user