MeshCore::AbstractSmoothing Class Reference

Base class for smoothing algorithms. More...

#include <Smoothing.h>

Inheritance diagram for MeshCore::AbstractSmoothing:
MeshCore::LaplaceSmoothing MeshCore::MeshSmoothing MeshCore::TaubinSmoothing

List of all members.

Public Types

enum  Component { Tangential, Normal, TangentialNormal }
enum  Continuity { C0, C1, C2 }

Public Member Functions

 AbstractSmoothing (MeshKernel &)
void initialize (Component comp, Continuity cont)
virtual void Smooth (unsigned int)=0
 Smooth the triangle mesh.
virtual ~AbstractSmoothing ()

Protected Attributes

Component component
Continuity continuity
MeshKernelkernel
float tolerance

Detailed Description

Base class for smoothing algorithms.

Definition at line 34 of file Smoothing.h.


Member Enumeration Documentation

Enumerator:
Tangential 

Smooth tangential direction.

Normal 

Smooth normal direction.

TangentialNormal 

Smooth tangential and normal direction.

Definition at line 37 of file Smoothing.h.

Enumerator:
C0 
C1 
C2 

Definition at line 43 of file Smoothing.h.


Constructor & Destructor Documentation

AbstractSmoothing::AbstractSmoothing ( MeshKernel m  ) 

Definition at line 39 of file Smoothing.cpp.

AbstractSmoothing::~AbstractSmoothing (  )  [virtual]

Definition at line 43 of file Smoothing.cpp.


Member Function Documentation

void AbstractSmoothing::initialize ( Component  comp,
Continuity  cont 
)

Definition at line 47 of file Smoothing.cpp.

References component, and continuity.

virtual void MeshCore::AbstractSmoothing::Smooth ( unsigned  int  )  [pure virtual]

Smooth the triangle mesh.

Implemented in MeshCore::MeshSmoothing, MeshCore::LaplaceSmoothing, and MeshCore::TaubinSmoothing.


Member Data Documentation

Definition at line 60 of file Smoothing.h.

Referenced by initialize().

Definition at line 61 of file Smoothing.h.

Referenced by initialize().

Definition at line 59 of file Smoothing.h.

Referenced by MeshCore::MeshSmoothing::Smooth().


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

Generated on Wed Nov 23 19:02:23 2011 for FreeCAD by  doxygen 1.6.1