![]() |
Mapper
0.9.0
API documentation
|
Provides methods to create evenly spaced point objects along a line. More...
#include <distribute_points_tool.h>
Classes | |
struct | Settings |
Required user input for applying the action. More... | |
Static Public Member Functions | |
static bool | showSettingsDialog (QWidget *parent, const PointSymbol *point, DistributePointsTool::Settings &settings) |
Shows a settings dialog for the tool. More... | |
static void | execute (const PathObject *path, PointSymbol *point, const DistributePointsTool::Settings &settings, std::vector< PointObject *> &out_objects) |
Executes the tool on the path, creating points according to settings. More... | |
Provides methods to create evenly spaced point objects along a line.
|
static |
Executes the tool on the path, creating points according to settings.
Appends the created objects to the out_objects vector, but does not add them to the map.
|
static |
Shows a settings dialog for the tool.
If the user presses Ok, returns true and saves the chosen values to settings, otherwise returns false.
The settings parameter is also used as initial values for the dialog. The point symbol is used to determine the enabled state of some options.