66namespace MR
77{
88
9- // Undo action for ObjectMesh face selection
9+ // / \addtogroup HistoryGroup
10+ // / \{
11+
12+ // / Undo action for ObjectMesh face selection
1013class ChangeMeshFaceSelectionAction : public HistoryAction
1114{
1215public:
1316 using Obj = ObjectMesh;
1417
15- // use this constructor to remember object's face selection before making any changes in it
18+ // / use this constructor to remember object's face selection before making any changes in it
1619 ChangeMeshFaceSelectionAction ( const std::string& name, const std::shared_ptr<ObjectMesh>& objMesh ):
1720 name_{name},
1821 objMesh_{objMesh}
@@ -35,7 +38,7 @@ class ChangeMeshFaceSelectionAction : public HistoryAction
3538
3639 const FaceBitSet & selection () const { return selection_; }
3740
38- // empty because set dirty is inside selectFaces
41+ // / empty because set dirty is inside selectFaces
3942 static void setObjectDirty ( const std::shared_ptr<ObjectMesh>& ) {}
4043
4144 [[nodiscard]] virtual size_t heapBytes () const override
@@ -49,13 +52,13 @@ class ChangeMeshFaceSelectionAction : public HistoryAction
4952 FaceBitSet selection_;
5053};
5154
52- // Undo action for ObjectMesh edge selection
55+ // / Undo action for ObjectMesh edge selection
5356class ChangeMeshEdgeSelectionAction : public HistoryAction
5457{
5558public:
5659 using Obj = ObjectMesh;
5760
58- // use this constructor to remember object's edge selection before making any changes in it
61+ // / use this constructor to remember object's edge selection before making any changes in it
5962 ChangeMeshEdgeSelectionAction ( const std::string& name, const std::shared_ptr<ObjectMesh>& objMesh ) :
6063 name_{ name },
6164 objMesh_{ objMesh }
@@ -78,7 +81,7 @@ class ChangeMeshEdgeSelectionAction : public HistoryAction
7881
7982 const UndirectedEdgeBitSet & selection () const { return selection_; }
8083
81- // empty because set dirty is inside selectEdges
84+ // / empty because set dirty is inside selectEdges
8285 static void setObjectDirty ( const std::shared_ptr<ObjectMesh>& ) {}
8386
8487 [[nodiscard]] virtual size_t heapBytes () const override
@@ -92,13 +95,13 @@ class ChangeMeshEdgeSelectionAction : public HistoryAction
9295 UndirectedEdgeBitSet selection_;
9396};
9497
95- // Undo action for ObjectMesh creases
98+ // / Undo action for ObjectMesh creases
9699class ChangeMeshCreasesAction : public HistoryAction
97100{
98101public:
99102 using Obj = ObjectMesh;
100103
101- // use this constructor to remember object's creases before making any changes in it
104+ // / use this constructor to remember object's creases before making any changes in it
102105 ChangeMeshCreasesAction ( const std::string& name, const std::shared_ptr<ObjectMesh>& objMesh ) :
103106 name_{ name },
104107 objMesh_{ objMesh }
@@ -121,7 +124,7 @@ class ChangeMeshCreasesAction : public HistoryAction
121124
122125 const UndirectedEdgeBitSet & creases () const { return creases_; }
123126
124- // empty because set dirty is inside setCreases
127+ // / empty because set dirty is inside setCreases
125128 static void setObjectDirty ( const std::shared_ptr<ObjectMesh>& ) {}
126129
127130 [[nodiscard]] virtual size_t heapBytes () const override
@@ -135,13 +138,13 @@ class ChangeMeshCreasesAction : public HistoryAction
135138 UndirectedEdgeBitSet creases_;
136139};
137140
138- // Undo action for ObjectPoints point selection
141+ // / Undo action for ObjectPoints point selection
139142class ChangePointPointSelectionAction : public HistoryAction
140143{
141144public:
142145 using Obj = ObjectPoints;
143146
144- // use this constructor to remember object's vertex selection before making any changes in it
147+ // / use this constructor to remember object's vertex selection before making any changes in it
145148 ChangePointPointSelectionAction ( const std::string& name, const std::shared_ptr<ObjectPoints>& objPoints ) :
146149 name_{ name },
147150 objPoints_{ objPoints }
@@ -164,7 +167,7 @@ class ChangePointPointSelectionAction : public HistoryAction
164167
165168 const VertBitSet& selection () const { return selection_; }
166169
167- // empty because set dirty is inside selectPoints
170+ // / empty because set dirty is inside selectPoints
168171 static void setObjectDirty ( const std::shared_ptr<ObjectPoints>& )
169172 {}
170173
@@ -178,4 +181,7 @@ class ChangePointPointSelectionAction : public HistoryAction
178181 std::shared_ptr<ObjectPoints> objPoints_;
179182 VertBitSet selection_;
180183};
181- }
184+
185+ // / \}
186+
187+ }
0 commit comments