fast::DrawCircle class

Draw circles on an input Image.

Inputs:

Outputs

Base classes

class ProcessObject
Abstract base class for all process objects.

Public functions

auto create(std::vector<Vector2f> centroids, std::vector<float> radii, float value, Color color, bool fill, bool inPixels) private -> std::shared_ptr<DrawCircle>
Create instance.
void execute() override

Public variables

std::vector<float> m_centroids
std::vector<float> m_radii
float m_value
Color m_color
bool m_inPixelSpace
bool m_fill

Function documentation

std::shared_ptr<DrawCircle> fast::DrawCircle::create(std::vector<Vector2f> centroids, std::vector<float> radii, float value, Color color, bool fill, bool inPixels) private

Create instance.

Parameters
centroids List of centroid coordinates.
radii Radius for each circle/centroid. If only one radius is given, it will be used for all circles.
value Value to use to draw circles
color Color to use to draw circles
fill Whether to fill the circle or not
inPixels Whether the centroids and radii are given in pixels or in millimeters
Returns instance