diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-24 08:57:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-24 08:59:34 +0300 |
commit | 1f778dbefcaf825dcad1f70a9cc45e503ad74ed5 (patch) | |
tree | d192550ac77a0f982fb43440d3c64d972cc2d011 /source/blender/freestyle/intern/winged_edge/WXEdge.h | |
parent | 4b9ff3cd42be427e478743648e9951bf8c189a04 (diff) |
Cleanup: use Blender's code style for doxygen commetns in freestyle
Diffstat (limited to 'source/blender/freestyle/intern/winged_edge/WXEdge.h')
-rw-r--r-- | source/blender/freestyle/intern/winged_edge/WXEdge.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/source/blender/freestyle/intern/winged_edge/WXEdge.h b/source/blender/freestyle/intern/winged_edge/WXEdge.h index 8fe99f9bb93..f95913c23f3 100644 --- a/source/blender/freestyle/intern/winged_edge/WXEdge.h +++ b/source/blender/freestyle/intern/winged_edge/WXEdge.h @@ -52,7 +52,7 @@ class WXVertex : public WVertex { _curvatures = NULL; } - /*! Copy constructor */ + /** Copy constructor */ WXVertex(WXVertex &iBrother) : WVertex(iBrother) { _curvatures = new CurvatureInfo(*iBrother._curvatures); @@ -135,7 +135,7 @@ class WXEdge : public WEdge { _order = 0; } - /*! Copy constructor */ + /** Copy constructor */ inline WXEdge(WXEdge &iBrother) : WEdge(iBrother) { _nature = iBrother.nature(); @@ -159,7 +159,7 @@ class WXEdge : public WEdge { _nature = _nature & ~Nature::SUGGESTIVE_CONTOUR; } - /*! accessors */ + /** accessors */ inline WXNature nature() { return _nature; @@ -175,7 +175,7 @@ class WXEdge : public WEdge { return _order; } - /*! modifiers */ + /** modifiers */ inline void setFront(bool iFront) { _front = iFront; @@ -209,7 +209,7 @@ class WXEdge : public WEdge { * * **********************************/ -/*! Class to store a smooth edge (i.e Hertzman & Zorin smooth silhouette edges) */ +/** Class to store a smooth edge (i.e Hertzman & Zorin smooth silhouette edges) */ class WXSmoothEdge { public: typedef unsigned short Configuration; @@ -278,7 +278,7 @@ class WXSmoothEdge { return _config; } - /*! modifiers */ + /** modifiers */ inline void setWOeA(WOEdge *iwoea) { _woea = iwoea; @@ -439,15 +439,15 @@ class WXFaceLayer { } } - /*! If one of the face layer vertex has a DotP equal to 0, this method returns the vertex where + /** If one of the face layer vertex has a DotP equal to 0, this method returns the vertex where * it happens */ unsigned int Get0VertexIndex() const; - /*! In case one of the edge of the triangle is a smooth edge, this method allows to retrieve the + /** In case one of the edge of the triangle is a smooth edge, this method allows to retrieve the * concerned edge */ unsigned int GetSmoothEdgeIndex() const; - /*! retrieves the edges of the triangle for which the signs are different (a null value is not + /** retrieves the edges of the triangle for which the signs are different (a null value is not * considered) for the dotp values at each edge extremity */ void RetrieveCuspEdgesIndices(vector<int> &oCuspEdges); @@ -512,7 +512,7 @@ class WXFace : public WFace { _front = false; } - /*! Copy constructor */ + /** Copy constructor */ WXFace(WXFace &iBrother) : WFace(iBrother) { _center = iBrother.center(); @@ -545,13 +545,13 @@ class WXFace : public WFace { } } - /*! designed to build a specialized WEdge for use in MakeEdge */ + /** designed to build a specialized WEdge for use in MakeEdge */ virtual WEdge *instanciateEdge() const { return new WXEdge; } - /*! accessors */ + /** accessors */ inline Vec3f ¢er() { return _center; @@ -590,7 +590,7 @@ class WXFace : public WFace { return _SmoothLayers; } - /*! retrieve the smooth edges that match the Nature given as argument */ + /** retrieve the smooth edges that match the Nature given as argument */ void retrieveSmoothEdges(WXNature iNature, vector<WXSmoothEdge *> &oSmoothEdges) { for (vector<WXFaceLayer *>::iterator wxf = _SmoothLayers.begin(), wxfend = _SmoothLayers.end(); @@ -624,7 +624,7 @@ class WXFace : public WFace { } } - /*! modifiers */ + /** modifiers */ inline void setCenter(const Vec3f &iCenter) { _center = iCenter; @@ -674,7 +674,7 @@ class WXFace : public WFace { _SmoothLayers = layersToKeep; } - /*! Clears everything */ + /** Clears everything */ inline void Clear() { for (vector<WXFaceLayer *>::iterator wxf = _SmoothLayers.begin(), wxfend = _SmoothLayers.end(); @@ -724,7 +724,7 @@ class WXShape : public WShape { _computeViewIndependent = true; } - /*! copy constructor */ + /** copy constructor */ inline WXShape(WXShape &iBrother) : WShape(iBrother) { _computeViewIndependent = iBrother._computeViewIndependent; @@ -750,13 +750,13 @@ class WXShape : public WShape { _computeViewIndependent = iFlag; } - /*! designed to build a specialized WFace for use in MakeFace */ + /** designed to build a specialized WFace for use in MakeFace */ virtual WFace *instanciateFace() const { return new WXFace; } - /*! + /** * Adds a new face to the shape returns the built face. * - iVertexList * List of face's vertices. @@ -768,7 +768,7 @@ class WXShape : public WShape { vector<bool> &iFaceEdgeMarksList, unsigned iMaterialIndex); - /*! + /** * Adds a new face to the shape. * The difference with the previous method is that this one is designed to build a WingedEdge * structure for which there are per vertex normals, opposed to per face normals. @@ -792,7 +792,7 @@ class WXShape : public WShape { vector<bool> &iFaceEdgeMarksList, unsigned iMaterialIndex); - /*! Reset all edges and vertices flags (which might have been set up on a previous pass) */ + /** Reset all edges and vertices flags (which might have been set up on a previous pass) */ virtual void Reset() { // Reset Edges @@ -807,7 +807,7 @@ class WXShape : public WShape { ((WXFace *)(*wf))->Reset(); } } - /*! accessors */ + /** accessors */ #ifdef WITH_CXX_GUARDEDALLOC MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:WXShape") |