Wm4::MeshSmoother< Real > Class Template Reference

#include <Wm4MeshSmoother.h>

List of all members.

Public Member Functions

void Create (int iVQuantity, Vector3< Real > *akVertex, int iTQuantity, const int *aiIndex)
void Destroy ()
const int * GetIndices () const
const Vector3< Real > * GetMeans () const
const Vector3< Real > * GetNormals () const
int GetTQuantity () const
const Vector3< Real > * GetVertices () const
int GetVQuantity () const
 MeshSmoother ()
 MeshSmoother (int iVQuantity, Vector3< Real > *akVertex, int iTQuantity, const int *aiIndex)
void Update (Real fTime=(Real) 0.0)
virtual ~MeshSmoother ()

Protected Member Functions

virtual Real GetNormalWeight (int i, Real fTime)
virtual Real GetTangentWeight (int i, Real fTime)
virtual bool VertexInfluenced (int i, Real fTime)

Protected Attributes

const int * m_aiIndex
int * m_aiNeighborCount
Vector3< Real > * m_akMean
Vector3< Real > * m_akNormal
Vector3< Real > * m_akVertex
int m_iTQuantity
int m_iVQuantity

Detailed Description

template<class Real>
class Wm4::MeshSmoother< Real >

Definition at line 27 of file Wm4MeshSmoother.h.


Constructor & Destructor Documentation

template<class Real >
Wm4::MeshSmoother< Real >::MeshSmoother ( int  iVQuantity,
Vector3< Real > *  akVertex,
int  iTQuantity,
const int *  aiIndex 
) [inline]
template<class Real >
Wm4::MeshSmoother< Real >::~MeshSmoother (  )  [inline, virtual]

Definition at line 49 of file Wm4MeshSmoother.cpp.

References Wm4::MeshSmoother< Real >::Destroy().

template<class Real >
Wm4::MeshSmoother< Real >::MeshSmoother (  )  [inline]

Member Function Documentation

template<class Real >
void Wm4::MeshSmoother< Real >::Create ( int  iVQuantity,
Vector3< Real > *  akVertex,
int  iTQuantity,
const int *  aiIndex 
) [inline]
template<class Real >
void Wm4::MeshSmoother< Real >::Destroy (  )  [inline]
template<class Real >
const int * Wm4::MeshSmoother< Real >::GetIndices ( void   )  const [inline]

Definition at line 179 of file Wm4MeshSmoother.cpp.

References Wm4::MeshSmoother< Real >::m_aiIndex.

template<class Real >
const Vector3< Real > * Wm4::MeshSmoother< Real >::GetMeans (  )  const [inline]

Definition at line 191 of file Wm4MeshSmoother.cpp.

References Wm4::MeshSmoother< Real >::m_akMean.

template<class Real >
const Vector3< Real > * Wm4::MeshSmoother< Real >::GetNormals (  )  const [inline]

Definition at line 185 of file Wm4MeshSmoother.cpp.

References Wm4::MeshSmoother< Real >::m_akNormal.

template<class Real >
Real Wm4::MeshSmoother< Real >::GetNormalWeight ( int  i,
Real  fTime 
) [inline, protected, virtual]

Definition at line 155 of file Wm4MeshSmoother.cpp.

Referenced by Wm4::MeshSmoother< Real >::Update().

template<class Real >
Real Wm4::MeshSmoother< Real >::GetTangentWeight ( int  i,
Real  fTime 
) [inline, protected, virtual]

Definition at line 149 of file Wm4MeshSmoother.cpp.

Referenced by Wm4::MeshSmoother< Real >::Update().

template<class Real >
int Wm4::MeshSmoother< Real >::GetTQuantity (  )  const [inline]

Definition at line 173 of file Wm4MeshSmoother.cpp.

References Wm4::MeshSmoother< Real >::m_iTQuantity.

template<class Real >
const Vector3< Real > * Wm4::MeshSmoother< Real >::GetVertices (  )  const [inline]

Definition at line 167 of file Wm4MeshSmoother.cpp.

References Wm4::MeshSmoother< Real >::m_akVertex.

template<class Real >
int Wm4::MeshSmoother< Real >::GetVQuantity (  )  const [inline]

Definition at line 161 of file Wm4MeshSmoother.cpp.

References Wm4::MeshSmoother< Real >::m_iVQuantity.

template<class Real >
void Wm4::MeshSmoother< Real >::Update ( Real  fTime = (Real)0.0  )  [inline]
template<class Real >
bool Wm4::MeshSmoother< Real >::VertexInfluenced ( int  i,
Real  fTime 
) [inline, protected, virtual]

Definition at line 143 of file Wm4MeshSmoother.cpp.

Referenced by Wm4::MeshSmoother< Real >::Update().


Member Data Documentation

template<class Real >
const int* Wm4::MeshSmoother< Real >::m_aiIndex [protected]
template<class Real >
int* Wm4::MeshSmoother< Real >::m_aiNeighborCount [protected]
template<class Real >
Vector3<Real>* Wm4::MeshSmoother< Real >::m_akMean [protected]
template<class Real >
Vector3<Real>* Wm4::MeshSmoother< Real >::m_akNormal [protected]
template<class Real >
Vector3<Real>* Wm4::MeshSmoother< Real >::m_akVertex [protected]
template<class Real >
int Wm4::MeshSmoother< Real >::m_iTQuantity [protected]
template<class Real >
int Wm4::MeshSmoother< Real >::m_iVQuantity [protected]

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

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