![]() |
Geometrize
1.0
An application for geometrizing images into geometric primitives
|
Classes | |
class | ImageTask |
The ImageTask class transforms a source image into a collection of shapes approximating the source image. More... | |
class | ImageTaskWorker |
The ImageTaskWorker class transforms a source image into a collection of shapes. It is made to be run on its own thread to avoid blocking the UI. More... | |
class | ShapeCollection |
The ShapeCollection class is a wrapper for the vector of shapes that have been added to the image task so far. More... | |
class | SynchronousImageTask |
The SynchronousImageTask class transforms a source image into a collection of shapes approximating the source image. A wrapper around the asynchronous ImageTask class, this blocks when stepping the model. This is a convenience class for use in scripts and console programs where we would rather block/wait when geometrizing something. More... | |
Functions | |
ImageTask * | createImageTaskAndWindow (const std::string &displayName, const std::string &taskUrl, const std::optional< geometrize::preferences::ImageTaskPreferences > &prefs) |
createImageTaskAndWindow Creates an image task, and immediately creates a graphical window for manipulating the task. More... | |
ImageTask * | createImageTaskAndWindow (const std::string &displayName, const QImage &image, const std::optional< geometrize::preferences::ImageTaskPreferences > &prefs) |
createImageTaskAndWindow Creates an image task, and immediately creates a graphical window for manipulating the task. More... | |
ImageTask * geometrize::task::createImageTaskAndWindow | ( | const std::string & | displayName, |
const QImage & | image, | ||
const std::optional< geometrize::preferences::ImageTaskPreferences > & | prefs | ||
) |
createImageTaskAndWindow Creates an image task, and immediately creates a graphical window for manipulating the task.
displayName | The display name of the image task. |
image | The image that the task will work on. |
prefs | Initial image task preferences to (optionally) set for the task. |
ImageTask * geometrize::task::createImageTaskAndWindow | ( | const std::string & | displayName, |
const std::string & | taskUrl, | ||
const std::optional< geometrize::preferences::ImageTaskPreferences > & | prefs | ||
) |
createImageTaskAndWindow Creates an image task, and immediately creates a graphical window for manipulating the task.
displayName | The display name of the image task. |
taskUrl | The URL of the task data source. |
prefs | Initial image task preferences to (optionally) set for the task. |