From e757c4a3bec8b0e8d198531a28327332af00a9ba Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 12 Dec 2018 12:50:58 +1100 Subject: Cleanup: use colon separator after parameter Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere. --- .../freestyle/intern/image/GaussianFilter.h | 8 ++-- source/blender/freestyle/intern/image/Image.h | 48 +++++++++++----------- .../blender/freestyle/intern/image/ImagePyramid.h | 6 +-- 3 files changed, 31 insertions(+), 31 deletions(-) (limited to 'source/blender/freestyle/intern/image') diff --git a/source/blender/freestyle/intern/image/GaussianFilter.h b/source/blender/freestyle/intern/image/GaussianFilter.h index f460d56e5a5..56baa3c3d46 100644 --- a/source/blender/freestyle/intern/image/GaussianFilter.h +++ b/source/blender/freestyle/intern/image/GaussianFilter.h @@ -65,16 +65,16 @@ public: /*! Returns the value for pixel x,y of image "map" after a gaussian blur, made using the sigma value. * The sigma value determines the mask size (~ 2 x sigma). - * \param map + * \param map: * The image we wish to work on. The Map template must implement the following methods: * - float pixel(unsigned int x,unsigned int y) const; * - unsigned width() const; * - unsigned height() const; - * \param x + * \param x: * The abscissa of the pixel where we want to evaluate the gaussian blur. - * \param y + * \param y: * The ordinate of the pixel where we want to evaluate the gaussian blur. - * \param sigma + * \param sigma: * The sigma value of the gaussian function. */ template diff --git a/source/blender/freestyle/intern/image/Image.h b/source/blender/freestyle/intern/image/Image.h index 2e78e784214..c262da475d6 100644 --- a/source/blender/freestyle/intern/image/Image.h +++ b/source/blender/freestyle/intern/image/Image.h @@ -84,17 +84,17 @@ public: } /*! Builds a partial-storing image. - * \param w + * \param w: * The width of the complete image - * \param h + * \param h: * The height of the complete image - * \param sw + * \param sw: * The width of the rectangle that will actually be stored. - * \param sh + * \param sh: * The height of the rectangle that will actually be stored. - * \param ox + * \param ox: * The x-abscissa of the origin of the rectangle that will actually be stored. - * \param oy + * \param oy: * The x-abscissa of the origin of the rectangle that will actually be stored. */ FrsImage(unsigned w, unsigned h, unsigned sw, unsigned sh, unsigned ox, unsigned oy) @@ -138,22 +138,22 @@ public: virtual float pixel(unsigned x, unsigned y) const = 0; /*! Sets the array. - * \param array + * \param array: * The array containing the values we wish to store. * Its size is sw*sh. - * \param width + * \param width: * The width of the complete image - * \param height + * \param height: * The height of the complete image - * \param sw + * \param sw: * The width of the rectangle that will actually be stored. - * \param sh + * \param sh: * The height of the rectangle that will actually be stored. - * \param ox + * \param ox: * The x-abscissa of the origin of the rectangle that will actually be stored. - * \param oy + * \param oy: * The x-abscissa of the origin of the rectangle that will actually be stored. - * \param copy + * \param copy: * If true, the array is copied, otherwise the pointer is copied */ virtual void setArray(float *array, unsigned width, unsigned height, unsigned sw, unsigned sh, @@ -208,16 +208,16 @@ public: } /*! Builds an RGB partial image from the useful part buffer. - * \param rgb + * \param rgb: * The array of size 3*sw*sh containing the RGB values of the sw*sh pixels we need to stored. * These sw*sh pixels constitute a rectangular part of a bigger RGB image containing w*h pixels. - * \param w + * \param w: * The width of the complete image - * \param h + * \param h: * The height of the complete image - * \param sw + * \param sw: * The width of the part of the image we want to store and work on - * \param sh + * \param sh: * The height of the part of the image we want to store and work on */ RGBImage(float *rgb, unsigned w, unsigned h, unsigned sw, unsigned sh, unsigned ox, unsigned oy) @@ -341,16 +341,16 @@ public: } /*! Builds a partial image from the useful part buffer. - * \param lvl + * \param lvl: * The array of size sw*sh containing the gray values of the sw*sh pixels we need to stored. * These sw*sh pixels constitute a rectangular part of a bigger gray image containing w*h pixels. - * \param w + * \param w: * The width of the complete image - * \param h + * \param h: * The height of the complete image - * \param sw + * \param sw: * The width of the part of the image we want to store and work on - * \param sh + * \param sh: * The height of the part of the image we want to store and work on */ GrayImage(float *lvl, unsigned w, unsigned h, unsigned sw, unsigned sh, unsigned ox, unsigned oy) diff --git a/source/blender/freestyle/intern/image/ImagePyramid.h b/source/blender/freestyle/intern/image/ImagePyramid.h index 9a24ac6e1c8..fa55081646a 100644 --- a/source/blender/freestyle/intern/image/ImagePyramid.h +++ b/source/blender/freestyle/intern/image/ImagePyramid.h @@ -62,11 +62,11 @@ public: virtual GrayImage *getLevel(int l); /*! Returns the pixel x,y using bilinear interpolation. - * \param x + * \param x: * the abscissa specified in the finest level coordinate system - * \param y + * \param y: * the ordinate specified in the finest level coordinate system - * \param level + * \param level: * the level from which we want the pixel to be evaluated */ virtual float pixel(int x, int y, int level=0); -- cgit v1.2.3