removed deprecated functions
This commit is contained in:
@@ -65,13 +65,6 @@ private:
|
||||
/// \brief Creates and returns a random color
|
||||
[[nodiscard]] auto random_color() const noexcept;
|
||||
|
||||
/// \brief Generates random square coordinates
|
||||
[[deprecated]] [[nodiscard]] auto get_square_values() const noexcept;
|
||||
|
||||
/// \brief Generates controlled random square coordinates
|
||||
[[deprecated]] [[nodiscard]] auto get_controlled_square_values() const
|
||||
noexcept;
|
||||
|
||||
/// \brief Generates a candidate for image generation improvement
|
||||
[[nodiscard]] auto create_candidate(bool const t_controlled_size);
|
||||
|
||||
@@ -84,11 +77,6 @@ private:
|
||||
/// \brief Threaded helper for \ref get_color_set
|
||||
void threaded_get_color(int const t_h);
|
||||
|
||||
/// \brief Draw a square on an image
|
||||
[[deprecated]] void draw_square(cv::Mat &t_img, cv::Point const &t_top_left,
|
||||
int const t_size,
|
||||
cv::Scalar const &t_color) const;
|
||||
|
||||
void draw_shape(cv::Mat &t_img, cv::Scalar &&t_color);
|
||||
void create_shape() noexcept;
|
||||
void create_controlled_shape() noexcept;
|
||||
|
||||
@@ -33,7 +33,7 @@ public:
|
||||
|
||||
/// \brief Generates a shape's points
|
||||
void update(cv::Point &&t_max_pos, int const t_max_size,
|
||||
int const t_min_size = 0) noexcept;
|
||||
int const t_min_size = 1) noexcept;
|
||||
|
||||
[[nodiscard]] auto get_points() const noexcept
|
||||
-> std::array<cv::Point, Shape::MAX_POINTS> const &
|
||||
|
||||
Reference in New Issue
Block a user