diff --git a/src/OpenMesh/Tools/Subdivider/Uniform/LoopT.hh b/src/OpenMesh/Tools/Subdivider/Uniform/LoopT.hh index ef87efe9..baf3a042 100644 --- a/src/OpenMesh/Tools/Subdivider/Uniform/LoopT.hh +++ b/src/OpenMesh/Tools/Subdivider/Uniform/LoopT.hh @@ -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 diff --git a/src/OpenMesh/Tools/Subdivider/Uniform/ModifiedButterFlyT.hh b/src/OpenMesh/Tools/Subdivider/Uniform/ModifiedButterFlyT.hh index 29901f93..78ac7dd1 100644 --- a/src/OpenMesh/Tools/Subdivider/Uniform/ModifiedButterFlyT.hh +++ b/src/OpenMesh/Tools/Subdivider/Uniform/ModifiedButterFlyT.hh @@ -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 diff --git a/src/OpenMesh/Tools/Subdivider/Uniform/Sqrt3InterpolatingSubdividerLabsikGreinerT.hh b/src/OpenMesh/Tools/Subdivider/Uniform/Sqrt3InterpolatingSubdividerLabsikGreinerT.hh index 9dc56460..748726ab 100644 --- a/src/OpenMesh/Tools/Subdivider/Uniform/Sqrt3InterpolatingSubdividerLabsikGreinerT.hh +++ b/src/OpenMesh/Tools/Subdivider/Uniform/Sqrt3InterpolatingSubdividerLabsikGreinerT.hh @@ -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 diff --git a/src/OpenMesh/Tools/Subdivider/Uniform/Sqrt3T.hh b/src/OpenMesh/Tools/Subdivider/Uniform/Sqrt3T.hh index 61e9e819..c7315926 100644 --- a/src/OpenMesh/Tools/Subdivider/Uniform/Sqrt3T.hh +++ b/src/OpenMesh/Tools/Subdivider/Uniform/Sqrt3T.hh @@ -155,7 +155,7 @@ protected: 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 diff --git a/src/OpenMesh/Tools/Subdivider/Uniform/SubdividerT.hh b/src/OpenMesh/Tools/Subdivider/Uniform/SubdividerT.hh index 8658faf4..b066d99a 100644 --- a/src/OpenMesh/Tools/Subdivider/Uniform/SubdividerT.hh +++ b/src/OpenMesh/Tools/Subdivider/Uniform/SubdividerT.hh @@ -118,9 +118,9 @@ public: /// \name Interface 1 //@{ /// Subdivide the mesh \c _m \c _n times. /// \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. /// \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. @@ -169,7 +169,7 @@ protected: virtual bool prepare( MeshType& _m ) = 0; /// 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 virtual bool cleanup( MeshType& _m ) = 0;