Developer Documentation
OpenMesh::Smoother::JacobiLaplaceSmootherT< Mesh > Class Template Reference

#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Tools/Smoother/JacobiLaplaceSmootherT.hh>

Inheritance diagram for OpenMesh::Smoother::JacobiLaplaceSmootherT< Mesh >:
OpenMesh::Smoother::LaplaceSmootherT< Mesh > OpenMesh::Smoother::SmootherT< Mesh > OpenMesh::Utils::Noncopyable

Public Member Functions

 JacobiLaplaceSmootherT (Mesh &_mesh)
 
void smooth (unsigned int _n)
 Do _n smoothing iterations. More...
 
- Public Member Functions inherited from OpenMesh::Smoother::LaplaceSmootherT< Mesh >
 LaplaceSmootherT (Mesh &_mesh)
 
void initialize (Component _comp, Continuity _cont)
 
- Public Member Functions inherited from OpenMesh::Smoother::SmootherT< Mesh >
 SmootherT (Mesh &_mesh)
 constructor & destructor More...
 
void initialize (Component _comp, Continuity _cont)
 
void set_relative_local_error (Scalar _err)
 Set local error relative to bounding box. More...
 
void set_absolute_local_error (Scalar _err)
 Set local error as an absolute value. More...
 
void disable_local_error_check ()
 Disable error control of the smoother. More...
 
void skip_features (bool _state)
 enable or disable feature handling More...
 

Protected Member Functions

virtual void compute_new_positions_C0 ()
 
virtual void compute_new_positions_C1 ()
 
- Protected Member Functions inherited from OpenMesh::Smoother::LaplaceSmootherT< Mesh >
Scalar weight (VertexHandle _vh) const
 
Scalar weight (EdgeHandle _eh) const
 
- Protected Member Functions inherited from OpenMesh::Smoother::SmootherT< Mesh >
virtual void compute_new_positions_C0 ()=0
 
virtual void compute_new_positions_C1 ()=0
 
const Point & orig_position (VertexHandle _vh) const
 
const NormalType & orig_normal (VertexHandle _vh) const
 
const Point & new_position (VertexHandle _vh) const
 
void set_new_position (VertexHandle _vh, const Point &_p)
 
bool is_active (VertexHandle _vh) const
 
Component component () const
 
Continuity continuity () const
 

Private Types

typedef LaplaceSmootherT< MeshBase
 

Private Attributes

OpenMesh::VPropHandleT< typename Mesh::Normalumbrellas_
 
OpenMesh::VPropHandleT< typename Mesh::Normalsquared_umbrellas_
 

Additional Inherited Members

- Public Types inherited from OpenMesh::Smoother::LaplaceSmootherT< Mesh >
typedef SmootherT< Mesh >::Component Component
 
typedef SmootherT< Mesh >::Continuity Continuity
 
typedef SmootherT< Mesh >::Scalar Scalar
 
typedef SmootherT< Mesh >::VertexHandle VertexHandle
 
typedef SmootherT< Mesh >::EdgeHandle EdgeHandle
 
- Public Types inherited from OpenMesh::Smoother::SmootherT< Mesh >
enum  Component { Tangential , Normal , Tangential_and_Normal }
 
enum  Continuity { C0 , C1 , C2 }
 
typedef Mesh::Scalar Scalar
 
typedef Mesh::Point Point
 
typedef Mesh::Normal NormalType
 
typedef Mesh::VertexHandle VertexHandle
 
typedef Mesh::EdgeHandle EdgeHandle
 
- Protected Attributes inherited from OpenMesh::Smoother::SmootherT< Mesh >
Meshmesh_
 
bool skip_features_
 

Detailed Description

template<class Mesh>
class OpenMesh::Smoother::JacobiLaplaceSmootherT< Mesh >

Laplacian Smoothing.

Definition at line 75 of file JacobiLaplaceSmootherT.hh.

Member Typedef Documentation

◆ Base

template<class Mesh >
typedef LaplaceSmootherT<Mesh> OpenMesh::Smoother::JacobiLaplaceSmootherT< Mesh >::Base
private

Definition at line 78 of file JacobiLaplaceSmootherT.hh.

Constructor & Destructor Documentation

◆ JacobiLaplaceSmootherT()

template<class Mesh >
OpenMesh::Smoother::JacobiLaplaceSmootherT< Mesh >::JacobiLaplaceSmootherT ( Mesh _mesh)
inlineexplicit

Definition at line 82 of file JacobiLaplaceSmootherT.hh.

Member Function Documentation

◆ compute_new_positions_C0()

template<class Mesh >
void OpenMesh::Smoother::JacobiLaplaceSmootherT< Mesh >::compute_new_positions_C0
protectedvirtual

◆ compute_new_positions_C1()

template<class Mesh >
void OpenMesh::Smoother::JacobiLaplaceSmootherT< Mesh >::compute_new_positions_C1
protectedvirtual

◆ smooth()

template<class Mesh >
void OpenMesh::Smoother::JacobiLaplaceSmootherT< Mesh >::smooth ( unsigned int  _n)
virtual

Do _n smoothing iterations.

Reimplemented from OpenMesh::Smoother::SmootherT< Mesh >.

Definition at line 73 of file JacobiLaplaceSmootherT_impl.hh.

Member Data Documentation

◆ squared_umbrellas_

template<class Mesh >
OpenMesh::VPropHandleT<typename Mesh::Normal> OpenMesh::Smoother::JacobiLaplaceSmootherT< Mesh >::squared_umbrellas_
private

Definition at line 97 of file JacobiLaplaceSmootherT.hh.

◆ umbrellas_

template<class Mesh >
OpenMesh::VPropHandleT<typename Mesh::Normal> OpenMesh::Smoother::JacobiLaplaceSmootherT< Mesh >::umbrellas_
private

Definition at line 96 of file JacobiLaplaceSmootherT.hh.


The documentation for this class was generated from the following files: