Important: Please read the Qt Code of Conduct -

UML Class Diagram: Default values of function parameters, which are functions or constants of a third-party library

  • Greetings.

    I am creating several UML class diagrams. In some of them, there are member functions, whose parameters are data types defined in a third party library, namely, cv::Mat, cv::Point, among others, of the OpenCV library.

    Several of these function parameters have default values, which are also (in many cases) routines or constants of the OpenCV library (such as cv::getStructuringElement(cv::MORPH_RECT, cv::Size (3,3)), or cv::BORDER_CONSTANT).

    My doubts are:

    Should I specify such default values in my UML class diagrams? Is it convenient (especially for OpenCV routines)?

    If so, how do I do it?

    Thanks in advance for any help and/or suggestion.

Log in to reply