Added smootherdocu. closes #2185
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1184 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
54
Doc/smoother.docu
Normal file
54
Doc/smoother.docu
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
/** \page smoother_docu Smoother Tools
|
||||||
|
|
||||||
|
\section OM_Smoother_Overview Overview
|
||||||
|
|
||||||
|
The %OpenMesh library provides tools for smoothing Triangle- and Polymeshes
|
||||||
|
|
||||||
|
-# Smoother:
|
||||||
|
-# OpenMesh::Smoother::SmootherT
|
||||||
|
-# OpenMesh::Smoother::LaplaceSmootherT
|
||||||
|
-# OpenMesh::Smoother::JacobiLaplaceSmootherT
|
||||||
|
|
||||||
|
\section OM_Smoother_Usage Usage
|
||||||
|
The smoothers directly work on an OpenMesh. The following example shows how to use them:
|
||||||
|
|
||||||
|
\code
|
||||||
|
#include <OpenMesh/Tools/Smoother/SmootherT.hh>
|
||||||
|
|
||||||
|
// Initialize smoother with input mesh
|
||||||
|
OpenMesh::Smoother::SmootherT<MyMesh> smoother(mesh);
|
||||||
|
|
||||||
|
smoother.initialize( C0, //Continuity
|
||||||
|
Tangential_and_Normal) //Smooth direction
|
||||||
|
|
||||||
|
// Execute 3 smooth steps
|
||||||
|
smoother.smooth(3);
|
||||||
|
\endcode
|
||||||
|
|
||||||
|
\section Options
|
||||||
|
|
||||||
|
\subsection Continuity
|
||||||
|
\li C0: shape is continuous, but not the tangent
|
||||||
|
\li C1: shape and tangent are continuous
|
||||||
|
\li C2: preserves curvature
|
||||||
|
|
||||||
|
\subsection Component
|
||||||
|
\li Tangential: Smooth in tangential direction
|
||||||
|
\li Normal: Smooth in normal direction
|
||||||
|
\li Tangential_and_Normal: Smooth in tangential and normal direction
|
||||||
|
|
||||||
|
\subsection localError Local Error
|
||||||
|
By default, this option is disabled.
|
||||||
|
You can set local max. local errors (absolute or relative) via following functions:
|
||||||
|
\code
|
||||||
|
void OpenMesh::Smoother::SmootherT<Mesh>::set_relative_local_error(Scalar _err);
|
||||||
|
void OpenMesh::Smoother::SmootherT<Mesh>::set_absolute_local_error(Scalar _err);
|
||||||
|
void OpenMesh::Smoother::SmootherT<Mesh>::disable_local_error_check();
|
||||||
|
\endcode
|
||||||
|
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
@@ -5,6 +5,7 @@
|
|||||||
\li \subpage decimater_docu
|
\li \subpage decimater_docu
|
||||||
\li \subpage subdivider_docu
|
\li \subpage subdivider_docu
|
||||||
\li \subpage vdpm_docu
|
\li \subpage vdpm_docu
|
||||||
|
\li \subpage smoother_docu
|
||||||
\li Miscellaneous
|
\li Miscellaneous
|
||||||
OpenMesh::StripifierT
|
OpenMesh::StripifierT
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user