Minor rename
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@520 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -143,7 +143,7 @@ protected:
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool subdivide( mesh_t& _m, size_t _n, const bool _update_positions = true)
|
bool subdivide( mesh_t& _m, size_t _n, const bool _update_points = true)
|
||||||
{
|
{
|
||||||
|
|
||||||
///TODO:Implement fixed positions
|
///TODO:Implement fixed positions
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ protected:
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool subdivide( MeshType& _m, size_t _n , const bool _update_positions = true)
|
bool subdivide( MeshType& _m, size_t _n , const bool _update_points = true)
|
||||||
{
|
{
|
||||||
|
|
||||||
///TODO:Implement fixed positions
|
///TODO:Implement fixed positions
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ protected:
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool subdivide( MeshType& _m, size_t _n , const bool _update_positions = true)
|
bool subdivide( MeshType& _m, size_t _n , const bool _update_points = true)
|
||||||
{
|
{
|
||||||
|
|
||||||
///TODO:Implement fixed positions
|
///TODO:Implement fixed positions
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ protected:
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool subdivide( MeshType& _m, size_t _n , const bool _update_positions = true)
|
bool subdivide( MeshType& _m, size_t _n , const bool _update_points = true)
|
||||||
{
|
{
|
||||||
|
|
||||||
///TODO:Implement fixed positions
|
///TODO:Implement fixed positions
|
||||||
|
|||||||
@@ -118,9 +118,9 @@ public: /// \name Interface 1
|
|||||||
//@{
|
//@{
|
||||||
/// Subdivide the mesh \c _m \c _n times.
|
/// Subdivide the mesh \c _m \c _n times.
|
||||||
/// \see SubdividerT(MeshType&)
|
/// \see SubdividerT(MeshType&)
|
||||||
bool operator () ( MeshType& _m, size_t _n , const bool _update_positions = true)
|
bool operator () ( MeshType& _m, size_t _n , const bool _update_points = true)
|
||||||
{
|
{
|
||||||
return prepare(_m) && subdivide( _m, _n , _update_positions ) && cleanup( _m );
|
return prepare(_m) && subdivide( _m, _n , _update_points ) && cleanup( _m );
|
||||||
}
|
}
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
@@ -144,9 +144,9 @@ public: /// \name Interface 2
|
|||||||
|
|
||||||
/// Subdivide the attached \c _n times.
|
/// Subdivide the attached \c _n times.
|
||||||
/// \see SubdividerT(), attach(), detach()
|
/// \see SubdividerT(), attach(), detach()
|
||||||
bool operator()( size_t _n , const bool _update_positions = true)
|
bool operator()( size_t _n , const bool _update_points = true)
|
||||||
{
|
{
|
||||||
return attached_ ? subdivide( *attached_, _n , _update_positions) : false;
|
return attached_ ? subdivide( *attached_, _n , _update_points) : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Detach an eventually attached mesh.
|
/// Detach an eventually attached mesh.
|
||||||
@@ -169,7 +169,7 @@ protected:
|
|||||||
virtual bool prepare( MeshType& _m ) = 0;
|
virtual bool prepare( MeshType& _m ) = 0;
|
||||||
|
|
||||||
/// Subdivide mesh \c _m \c _n times
|
/// Subdivide mesh \c _m \c _n times
|
||||||
virtual bool subdivide( MeshType& _m, size_t _n, const bool _update_positions = true) = 0;
|
virtual bool subdivide( MeshType& _m, size_t _n, const bool _update_points = true) = 0;
|
||||||
|
|
||||||
/// Cleanup mesh after usage, e.g. remove added properties
|
/// Cleanup mesh after usage, e.g. remove added properties
|
||||||
virtual bool cleanup( MeshType& _m ) = 0;
|
virtual bool cleanup( MeshType& _m ) = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user