Base class for a plugin that can generate a BaseWidget<T>
for configuring a tool path planning component (e.g., mesh modifier, tool path planner, tool path modifier).
#include <plugin_interface.h>
|
virtual BaseWidget * | create (const YAML::Node &config, std::shared_ptr< const WidgetFactory > factory, QWidget *parent=nullptr) const =0 |
| Returns a pointer to a configured BaseWidget<T> : a widget that can configure a tool path planning component (e.g., mesh modifier, tool path planner, tool path modifier).
|
|
◆ create()
virtual BaseWidget * noether::WidgetPlugin::create |
( |
const YAML::Node & |
config, |
|
|
std::shared_ptr< const WidgetFactory > |
factory, |
|
|
QWidget * |
parent = nullptr |
|
) |
| const |
|
pure virtual |
- Parameters
-
config | YAML configuration node used to set the initial values of the widget |
factory | Factory for loading nested tool path planning components |
parent | Parent widget |