Public Types | Public Member Functions | Public Attributes
vcg::tri::Centroid< MESH_TYPE, LSCALAR_TYPE > Struct Template Reference

Allow to compute classical Loop subdivision surface with the same code than LS3. More...

#include <refine_loop.h>

List of all members.

Public Types

typedef MESH_TYPE::CoordType CoordType
typedef LSCALAR_TYPE LScalar
typedef vcg::Point3< LScalarLVector
typedef MESH_TYPE::ScalarType Scalar

Public Member Functions

void addVertex (const typename MESH_TYPE::VertexType &v, LScalar w)
 Centroid ()
void project (std::pair< CoordType, CoordType > &nv) const
void reset ()

Public Attributes

LVector sumP
LScalar sumW

Detailed Description

template<class MESH_TYPE, class LSCALAR_TYPE = typename MESH_TYPE::ScalarType>
struct vcg::tri::Centroid< MESH_TYPE, LSCALAR_TYPE >

Allow to compute classical Loop subdivision surface with the same code than LS3.

Definition at line 208 of file refine_loop.h.


Member Typedef Documentation

template<class MESH_TYPE, class LSCALAR_TYPE = typename MESH_TYPE::ScalarType>
typedef MESH_TYPE::CoordType vcg::tri::Centroid< MESH_TYPE, LSCALAR_TYPE >::CoordType

Definition at line 210 of file refine_loop.h.

template<class MESH_TYPE, class LSCALAR_TYPE = typename MESH_TYPE::ScalarType>
typedef LSCALAR_TYPE vcg::tri::Centroid< MESH_TYPE, LSCALAR_TYPE >::LScalar

Definition at line 211 of file refine_loop.h.

template<class MESH_TYPE, class LSCALAR_TYPE = typename MESH_TYPE::ScalarType>
typedef vcg::Point3<LScalar> vcg::tri::Centroid< MESH_TYPE, LSCALAR_TYPE >::LVector

Definition at line 212 of file refine_loop.h.

template<class MESH_TYPE, class LSCALAR_TYPE = typename MESH_TYPE::ScalarType>
typedef MESH_TYPE::ScalarType vcg::tri::Centroid< MESH_TYPE, LSCALAR_TYPE >::Scalar

Definition at line 209 of file refine_loop.h.


Constructor & Destructor Documentation

template<class MESH_TYPE, class LSCALAR_TYPE = typename MESH_TYPE::ScalarType>
vcg::tri::Centroid< MESH_TYPE, LSCALAR_TYPE >::Centroid ( ) [inline]

Definition at line 217 of file refine_loop.h.


Member Function Documentation

template<class MESH_TYPE, class LSCALAR_TYPE = typename MESH_TYPE::ScalarType>
void vcg::tri::Centroid< MESH_TYPE, LSCALAR_TYPE >::addVertex ( const typename MESH_TYPE::VertexType &  v,
LScalar  w 
) [inline]

Definition at line 222 of file refine_loop.h.

template<class MESH_TYPE, class LSCALAR_TYPE = typename MESH_TYPE::ScalarType>
void vcg::tri::Centroid< MESH_TYPE, LSCALAR_TYPE >::project ( std::pair< CoordType, CoordType > &  nv) const [inline]

Definition at line 227 of file refine_loop.h.

template<class MESH_TYPE, class LSCALAR_TYPE = typename MESH_TYPE::ScalarType>
void vcg::tri::Centroid< MESH_TYPE, LSCALAR_TYPE >::reset ( ) [inline]

Definition at line 218 of file refine_loop.h.


Member Data Documentation

template<class MESH_TYPE, class LSCALAR_TYPE = typename MESH_TYPE::ScalarType>
LVector vcg::tri::Centroid< MESH_TYPE, LSCALAR_TYPE >::sumP

Definition at line 214 of file refine_loop.h.

template<class MESH_TYPE, class LSCALAR_TYPE = typename MESH_TYPE::ScalarType>
LScalar vcg::tri::Centroid< MESH_TYPE, LSCALAR_TYPE >::sumW

Definition at line 215 of file refine_loop.h.


The documentation for this struct was generated from the following file:


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:42:01