Geometrize  1.0
An application for geometrizing images into geometric primitives
Namespaces | Classes | Functions
geometrize::script Namespace Reference

Namespaces

 bindings
 

Classes

class  Command
 The Command class provides a convenient way for a script to tell an object about something For example, this can be used to give scripts a way to control the Geometrize user interface. More...
 
class  CommandHandler
 The CommandHandler class provides an interface that all objects that can handle/process script commands implement. This is used do things like provide a way for scripts to send commands to the Geometrize user interface. More...
 
class  GeometrizerEngine
 The GeometrizerEngine class encapsulates script-based setup and mutation methods for geometrizing shapes. More...
 

Functions

std::unique_ptr< chaiscript::ChaiScript > createDefaultEngine ()
 createDefaultEngine Creates a default Chaiscript engine object, with the default bindings (Geometrize-specific utility functions etc). More...
 
std::unique_ptr< chaiscript::ChaiScript > createLaunchWindowEngine ()
 createLaunchWindowEngine Creates a Chaiscript engine object for the launch window script console. More...
 
std::unique_ptr< chaiscript::ChaiScript > createImageTaskEngine ()
 createImageTaskEngine Creates a Chaiscript engine for an image task window script console. More...
 
std::unique_ptr< chaiscript::ChaiScript > createBatchImageTaskEngine ()
 createBatchImageTaskEngine Creates a Chaiscript engine for creating and processing multiple image tasks. More...
 
std::unique_ptr< chaiscript::ChaiScript > createShapeMutatorEngine ()
 createShapeMutatorEngine Creates a Chaiscript engine object for mutating shapes. More...
 
std::unique_ptr< chaiscript::ChaiScript > createFunctionalTestRunnerEngine ()
 createFunctionalTestRunnerEngine Creates a Chaiscript engine object for running functional tests. More...
 
void runScript (const std::string &code, chaiscript::ChaiScript &runner)
 runScript Evaluates the provided script code. More...
 
void runScript (const std::string &code)
 runScript Evaluates the provided script code, creating a fresh engine to evaluate the script. More...
 
void sleep (std::size_t ms)
 sleep Causes the calling thread to sleep for the given length of time. More...
 
std::vector< std::string > getEngineFunctionNames (const chaiscript::ChaiScript &engine)
 getEngineFunctionNames Gets the names of the functions registered with the given engine. More...
 
std::map< std::string, std::string > getScripts (const std::string &folder)
 getDefaultScripts Gets a map of the scripts in the given folder. More...
 
std::map< std::string, std::string > getDefaultShapeMutatorScripts ()
 getDefaultScripts Gets a map of the default scripts used for shape creation and mutation in image tasks. More...
 
std::map< std::string, std::string > getPointerAreaOfInterestShapeMutatorScripts ()
 getPointerAreaOfInterestScripts Gets a map of the scripts used for shape creation and mutation based around user input/pointer interaction. More...
 
std::map< std::string, std::string > getBeforeStepCallbackScripts ()
 getBeforeStepCallbackScripts Gets a map of scripts that are useful to call prior to stepping an image task (i.e. before starting work to find a shape to add). More...
 
std::map< std::string, std::string > getAfterStepCallbackScripts ()
 getAfterStepCallbackScripts Gets a map of scripts that are useful to call after stepping an image task (i.e. after completing work to find a shape to add). More...
 
std::map< std::string, std::string > getStopConditionScripts ()
 getStopConditionScripts Gets a map of scripts that get to true/false, and can be used to check whether to stop an image task (usually after stepping). More...
 
std::map< std::string, std::string > getOnStopConditionMetScripts ()
 getOnStopConditionMetScripts Gets a map of scripts that are useful to call after the stop condition for an image task is met. More...
 
std::map< std::string, std::string > getAddShapePreconditionScripts ()
 getAddShapePreconditionScripts Gets a map of scripts that are used to decide whether to add a shape to an image or not More...
 
std::map< std::string, std::string > getBeforeAddShapeCallbackScripts ()
 getBeforeAddShapeCallbackScripts Gets a map of scripts that are useful to call before adding a shape to the image task views. More...
 
std::map< std::string, std::string > getAfterAddShapeCallbackScripts ()
 getAfterAddShapeCallbackScripts Gets a map of scripts that are useful to call after adding a shape to the image task views. More...
 
std::map< std::string, std::string > getOnPenInputCallbackScripts ()
 getOnPenInputCallbackScripts Gets a map of scripts that are useful to call after receiving pen input to the image task views. More...
 
std::map< std::string, std::string > getOnPenProximityEnterCallbackScripts ()
 getOnPenProximityEnterCallbackScripts Gets a map of scripts that are useful to call after receiving a pen proximity enter event. This is application global, not bound to a particular view. More...
 
std::map< std::string, std::string > getOnPenProximityExitCallbackScripts ()
 getOnPenProximityExitCallbackScripts Gets a map of scripts that are useful to call after receiving a pen proximity exit event. This is application global, not bound to a particular view. More...
 
std::map< std::string, std::string > getOnKeyDownEventScripts ()
 getOnKeyDownEventScripts Gets a map of scripts that are useful to call after receiving a key down event to the image task views. More...
 
std::map< std::string, std::string > getOnKeyUpEventScripts ()
 getOnKeyUpEventScripts Gets a map of scripts that are useful to call after receiving a key up event to the image task views. More...
 
std::map< std::string, std::string > getOnMouseDownEventScripts ()
 getOnMouseDownEventScripts Gets a map of scripts that are useful to call after receiving a mouse down event to the image task views. More...
 
std::map< std::string, std::string > getOnMouseUpEventScripts ()
 getOnMouseUpEventScripts Gets a map of scripts that are useful to call after receiving a mouse up event to the image task views. More...
 
std::map< std::string, std::string > getOnMouseMoveEventScripts ()
 getOnMouseMoveEventScripts Gets a map of scripts that are useful to call after receiving a mouse move event to the image task views. More...
 
std::map< std::string, std::string > getOnMouseWheelEventScripts ()
 getOnMouseWheelEventScripts Gets a map of scripts that are useful to call after receiving a mouse wheel event to the image task views. More...
 
std::map< std::string, std::string > getOnTimedUpdateEventScripts ()
 getOnTimedUpdateEventScripts Gets a map of scripts that are useful to regularly periodically call i.e. on update More...
 
std::map< std::string, std::string > getTaskQueueBatchProcessingScripts ()
 getTaskQueueBatchProcessingScripts Gets a map of scripts used for batch processing multiple images on the task queue More...
 

Function Documentation

◆ createBatchImageTaskEngine()

std::unique_ptr< chaiscript::ChaiScript > geometrize::script::createBatchImageTaskEngine ( )

createBatchImageTaskEngine Creates a Chaiscript engine for creating and processing multiple image tasks.

Returns
The Chaiscript engine object.
71 {
72  std::unique_ptr<chaiscript::ChaiScript> chai = std::make_unique<chaiscript::ChaiScript>();
73 
76 
77  chai->add(bindings::createImageBindings());
82 
83  addPrintRedirect(chai);
84 
85  return chai;
86 }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createDefaultEngine()

std::unique_ptr< chaiscript::ChaiScript > geometrize::script::createDefaultEngine ( )

createDefaultEngine Creates a default Chaiscript engine object, with the default bindings (Geometrize-specific utility functions etc).

Returns
The Chaiscript engine object.
27 {
28  std::unique_ptr<chaiscript::ChaiScript> chai = std::make_unique<chaiscript::ChaiScript>();
29 
31 
32  addPrintRedirect(chai);
33 
34  return chai;
35 }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createFunctionalTestRunnerEngine()

std::unique_ptr< chaiscript::ChaiScript > geometrize::script::createFunctionalTestRunnerEngine ( )

createFunctionalTestRunnerEngine Creates a Chaiscript engine object for running functional tests.

Returns
The Chaiscript engine object.
103 {
104  std::unique_ptr<chaiscript::ChaiScript> chai = std::make_unique<chaiscript::ChaiScript>();
105 
106  chai->add(bindings::createDefaultBindings());
107  chai->add(bindings::createQWidgetBindings());
113 
114  return chai;
115 }
Here is the call graph for this function:

◆ createImageTaskEngine()

std::unique_ptr< chaiscript::ChaiScript > geometrize::script::createImageTaskEngine ( )

createImageTaskEngine Creates a Chaiscript engine for an image task window script console.

Returns
The Chaiscript engine object.
53 {
54  std::unique_ptr<chaiscript::ChaiScript> chai = std::make_unique<chaiscript::ChaiScript>();
55 
58 
59  chai->add(bindings::createImageBindings());
64 
65  addPrintRedirect(chai);
66 
67  return chai;
68 }
Here is the call graph for this function:

◆ createLaunchWindowEngine()

std::unique_ptr< chaiscript::ChaiScript > geometrize::script::createLaunchWindowEngine ( )

createLaunchWindowEngine Creates a Chaiscript engine object for the launch window script console.

Returns
The Chaiscript engine object.
38 {
39  std::unique_ptr<chaiscript::ChaiScript> chai = std::make_unique<chaiscript::ChaiScript>();
40 
46 
47  addPrintRedirect(chai);
48 
49  return chai;
50 }
Here is the call graph for this function:

◆ createShapeMutatorEngine()

std::unique_ptr< chaiscript::ChaiScript > geometrize::script::createShapeMutatorEngine ( )

createShapeMutatorEngine Creates a Chaiscript engine object for mutating shapes.

Returns
The Chaiscript engine object.
89 {
90  std::unique_ptr<chaiscript::ChaiScript> chai = std::make_unique<chaiscript::ChaiScript>();
91 
94  chai->add(bindings::createMathBindings());
98 
99  return chai;
100 }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAddShapePreconditionScripts()

std::map< std::string, std::string > geometrize::script::getAddShapePreconditionScripts ( )

getAddShapePreconditionScripts Gets a map of scripts that are used to decide whether to add a shape to an image or not

Returns
A map of Chaiscript script function names to function bodies.
94 {
95  return getScriptsFromFolder(":/scripts/scripts/add_shape_precondition_callbacks/");
96 }
Here is the caller graph for this function:

◆ getAfterAddShapeCallbackScripts()

std::map< std::string, std::string > geometrize::script::getAfterAddShapeCallbackScripts ( )

getAfterAddShapeCallbackScripts Gets a map of scripts that are useful to call after adding a shape to the image task views.

Returns
A map of Chaiscript script function names to function bodies.
104 {
105  return getScriptsFromFolder(":/scripts/scripts/after_add_shape_callbacks/");
106 }
Here is the caller graph for this function:

◆ getAfterStepCallbackScripts()

std::map< std::string, std::string > geometrize::script::getAfterStepCallbackScripts ( )

getAfterStepCallbackScripts Gets a map of scripts that are useful to call after stepping an image task (i.e. after completing work to find a shape to add).

Returns
A map of Chaiscript script function names to function bodies.
79 {
80  return getScriptsFromFolder(":/scripts/scripts/after_step_callbacks/");
81 }
Here is the caller graph for this function:

◆ getBeforeAddShapeCallbackScripts()

std::map< std::string, std::string > geometrize::script::getBeforeAddShapeCallbackScripts ( )

getBeforeAddShapeCallbackScripts Gets a map of scripts that are useful to call before adding a shape to the image task views.

Returns
A map of Chaiscript script function names to function bodies.
99 {
100  return getScriptsFromFolder(":/scripts/scripts/before_add_shape_callbacks/");
101 }
Here is the caller graph for this function:

◆ getBeforeStepCallbackScripts()

std::map< std::string, std::string > geometrize::script::getBeforeStepCallbackScripts ( )

getBeforeStepCallbackScripts Gets a map of scripts that are useful to call prior to stepping an image task (i.e. before starting work to find a shape to add).

Returns
A map of Chaiscript script function names to function bodies.
74 {
75  return getScriptsFromFolder(":/scripts/scripts/before_step_callbacks/");
76 }
Here is the caller graph for this function:

◆ getDefaultShapeMutatorScripts()

std::map< std::string, std::string > geometrize::script::getDefaultShapeMutatorScripts ( )

getDefaultScripts Gets a map of the default scripts used for shape creation and mutation in image tasks.

Returns
A map of Chaiscript script function names to function bodies.
64 {
65  return getScriptsFromFolder(":/scripts/scripts/default_shape_mutators/");
66 }
Here is the caller graph for this function:

◆ getEngineFunctionNames()

std::vector< std::string > geometrize::script::getEngineFunctionNames ( const chaiscript::ChaiScript &  engine)

getEngineFunctionNames Gets the names of the functions registered with the given engine.

Parameters
engineThe engine whose function names will be fetched.
Returns
The names registered with the given engine.
49 {
50  std::vector<std::string> functions;
51  const auto funcs{engine.get_state().engine_state.m_functions};
52  for(auto it = funcs.begin(); it != funcs.end(); ++it) {
53  functions.push_back(it->first);
54  }
55  return functions;
56 }
Here is the caller graph for this function:

◆ getOnKeyDownEventScripts()

std::map< std::string, std::string > geometrize::script::getOnKeyDownEventScripts ( )

getOnKeyDownEventScripts Gets a map of scripts that are useful to call after receiving a key down event to the image task views.

Returns
A map of Chaiscript script function names to function bodies.
124 {
125  return getScriptsFromFolder(":/scripts/scripts/on_key_down_callbacks/");
126 }
Here is the caller graph for this function:

◆ getOnKeyUpEventScripts()

std::map< std::string, std::string > geometrize::script::getOnKeyUpEventScripts ( )

getOnKeyUpEventScripts Gets a map of scripts that are useful to call after receiving a key up event to the image task views.

Returns
A map of Chaiscript script function names to function bodies.
129 {
130  return getScriptsFromFolder(":/scripts/scripts/on_key_up_callbacks/");
131 }
Here is the caller graph for this function:

◆ getOnMouseDownEventScripts()

std::map< std::string, std::string > geometrize::script::getOnMouseDownEventScripts ( )

getOnMouseDownEventScripts Gets a map of scripts that are useful to call after receiving a mouse down event to the image task views.

Returns
A map of Chaiscript script function names to function bodies.
134 {
135  return getScriptsFromFolder(":/scripts/scripts/on_mouse_down_callbacks/");
136 }
Here is the caller graph for this function:

◆ getOnMouseMoveEventScripts()

std::map< std::string, std::string > geometrize::script::getOnMouseMoveEventScripts ( )

getOnMouseMoveEventScripts Gets a map of scripts that are useful to call after receiving a mouse move event to the image task views.

Returns
A map of Chaiscript script function names to function bodies.
144 {
145  return getScriptsFromFolder(":/scripts/scripts/on_mouse_move_callbacks/");
146 }
Here is the caller graph for this function:

◆ getOnMouseUpEventScripts()

std::map< std::string, std::string > geometrize::script::getOnMouseUpEventScripts ( )

getOnMouseUpEventScripts Gets a map of scripts that are useful to call after receiving a mouse up event to the image task views.

Returns
A map of Chaiscript script function names to function bodies.
139 {
140  return getScriptsFromFolder(":/scripts/scripts/on_mouse_up_callbacks/");
141 }
Here is the caller graph for this function:

◆ getOnMouseWheelEventScripts()

std::map< std::string, std::string > geometrize::script::getOnMouseWheelEventScripts ( )

getOnMouseWheelEventScripts Gets a map of scripts that are useful to call after receiving a mouse wheel event to the image task views.

Returns
A map of Chaiscript script function names to function bodies.
149 {
150  return getScriptsFromFolder(":/scripts/scripts/on_mouse_wheel_callbacks/");
151 }
Here is the caller graph for this function:

◆ getOnPenInputCallbackScripts()

std::map< std::string, std::string > geometrize::script::getOnPenInputCallbackScripts ( )

getOnPenInputCallbackScripts Gets a map of scripts that are useful to call after receiving pen input to the image task views.

Returns
A map of Chaiscript script function names to function bodies.
109 {
110  return getScriptsFromFolder(":/scripts/scripts/on_pen_input_callbacks/");
111 }
Here is the caller graph for this function:

◆ getOnPenProximityEnterCallbackScripts()

std::map< std::string, std::string > geometrize::script::getOnPenProximityEnterCallbackScripts ( )

getOnPenProximityEnterCallbackScripts Gets a map of scripts that are useful to call after receiving a pen proximity enter event. This is application global, not bound to a particular view.

Returns
A map of Chaiscript script function names to function bodies.
114 {
115  return getScriptsFromFolder(":/scripts/scripts/on_pen_proximity_enter_callbacks/");
116 }
Here is the caller graph for this function:

◆ getOnPenProximityExitCallbackScripts()

std::map< std::string, std::string > geometrize::script::getOnPenProximityExitCallbackScripts ( )

getOnPenProximityExitCallbackScripts Gets a map of scripts that are useful to call after receiving a pen proximity exit event. This is application global, not bound to a particular view.

Returns
A map of Chaiscript script function names to function bodies.
119 {
120  return getScriptsFromFolder(":/scripts/scripts/on_pen_proximity_exit_callbacks/");
121 }
Here is the caller graph for this function:

◆ getOnStopConditionMetScripts()

std::map< std::string, std::string > geometrize::script::getOnStopConditionMetScripts ( )

getOnStopConditionMetScripts Gets a map of scripts that are useful to call after the stop condition for an image task is met.

Returns
A map of Chaiscript script function names to function bodies.
89 {
90  return getScriptsFromFolder(":/scripts/scripts/on_stop_condition_met_callbacks/");
91 }
Here is the caller graph for this function:

◆ getOnTimedUpdateEventScripts()

std::map< std::string, std::string > geometrize::script::getOnTimedUpdateEventScripts ( )

getOnTimedUpdateEventScripts Gets a map of scripts that are useful to regularly periodically call i.e. on update

Returns
A map of Chaiscript script function names to function bodies.
154 {
155  return getScriptsFromFolder(":/scripts/scripts/on_update_callbacks/");
156 }
Here is the caller graph for this function:

◆ getPointerAreaOfInterestShapeMutatorScripts()

std::map< std::string, std::string > geometrize::script::getPointerAreaOfInterestShapeMutatorScripts ( )

getPointerAreaOfInterestScripts Gets a map of the scripts used for shape creation and mutation based around user input/pointer interaction.

Returns
A map of Chaiscript script function names to function bodies.
69 {
70  return getScriptsFromFolder(":/scripts/scripts/pointer_area_of_interest_mutators/");
71 }
Here is the caller graph for this function:

◆ getScripts()

std::map< std::string, std::string > geometrize::script::getScripts ( const std::string &  folder)

getDefaultScripts Gets a map of the scripts in the given folder.

Parameters
folderPath to the folder containing the ChaiScript scripts to retrieve. The files must have the ".chai" file extension.
Returns
A map of Chaiscript script function names to function bodies.
59 {
60  return getScriptsFromFolder(QString::fromStdString(folder));
61 }
Here is the caller graph for this function:

◆ getStopConditionScripts()

std::map< std::string, std::string > geometrize::script::getStopConditionScripts ( )

getStopConditionScripts Gets a map of scripts that get to true/false, and can be used to check whether to stop an image task (usually after stepping).

Returns
A map of Chaiscript script function names to function bodies.
84 {
85  return getScriptsFromFolder(":/scripts/scripts/stop_condition_callbacks/");
86 }
Here is the caller graph for this function:

◆ getTaskQueueBatchProcessingScripts()

std::map< std::string, std::string > geometrize::script::getTaskQueueBatchProcessingScripts ( )

getTaskQueueBatchProcessingScripts Gets a map of scripts used for batch processing multiple images on the task queue

Returns
A map of Chaiscript script function names to function bodies.
159 {
160  return getScriptsFromFolder(":/scripts/task_queue_scripts/");
161 }
Here is the caller graph for this function:

◆ runScript() [1/2]

void geometrize::script::runScript ( const std::string &  code)

runScript Evaluates the provided script code, creating a fresh engine to evaluate the script.

Parameters
codeThe script code to evaluate.
34 {
35  auto engine{createDefaultEngine()};
36  runScript(script, *engine);
37 }
Here is the call graph for this function:

◆ runScript() [2/2]

void geometrize::script::runScript ( const std::string &  code,
chaiscript::ChaiScript &  runner 
)

runScript Evaluates the provided script code.

Parameters
codeThe script code to evaluate.
runnerThe engine that will evaluate the script.
17 {
18  const QString errorTitle{QCoreApplication::translate("Script evaluation error dialog title", "Script evaluation failure", "Title of an error message dialog shown when the app fails to run a script")};
19  const QString errorPreamble{QCoreApplication::translate("Script evaluation error message", "Could not evaluate script: %1", "Error message text shown when the app fails to run a script")};
20  const QString unknownError{QCoreApplication::translate("Script evaluation unknown error", "Unknown script evaluation error", "Error message shown when the app fails to run a script, and has no additional information about the error")};
21 
22  try {
23  runner.eval(code);
24  } catch (const std::string& s) {
25  QMessageBox::warning(nullptr, errorTitle, errorPreamble.arg(QString::fromStdString(s)));
26  } catch (const std::exception& e) {
27  QMessageBox::warning(nullptr, errorTitle, errorPreamble.arg(QString::fromStdString(e.what())));
28  } catch (...) {
29  QMessageBox::warning(nullptr, errorTitle, errorPreamble.arg(unknownError));
30  }
31 }
Here is the caller graph for this function:

◆ sleep()

void geometrize::script::sleep ( std::size_t  ms)

sleep Causes the calling thread to sleep for the given length of time.

Parameters
msThe number of milliseconds to sleep for.
44 {
45  std::this_thread::sleep_for(std::chrono::milliseconds(ms));
46 }
Here is the caller graph for this function:
geometrize::script::bindings::createImageTaskWindowBindings
std::shared_ptr< chaiscript::Module > createImageTaskWindowBindings()
createImageTaskWindowBindings Creates the Chaiscript to C++ binding for the Geometrize image task win...
Definition: bindingscreator.cpp:251
geometrize::script::bindings::createQWidgetBindings
std::shared_ptr< chaiscript::Module > createQWidgetBindings()
createQWidgetBindings Creates the Chaiscript to C++ bindings for the Qt QWidget class.
Definition: bindingscreator.cpp:193
geometrize::script::bindings::createDefaultBindings
std::shared_ptr< chaiscript::Module > createDefaultBindings()
createDefaultBindings Creates the default Chaiscript to C++ bindings.
Definition: bindingscreator.cpp:82
geometrize::script::bindings::createImageBindings
std::shared_ptr< chaiscript::Module > createImageBindings()
createImageBindings Creates the Chaiscript to C++ bindings for image manipulation.
Definition: bindingscreator.cpp:288
geometrize::script::bindings::createUserInterfacePuppeteerBindings
std::shared_ptr< chaiscript::Module > createUserInterfacePuppeteerBindings()
createUserInterfacePuppeteerBindings Creates ChaiScript to C++ bindings for driving the user interfac...
Definition: bindingscreator.cpp:649
geometrize::script::createDefaultEngine
std::unique_ptr< chaiscript::ChaiScript > createDefaultEngine()
createDefaultEngine Creates a default Chaiscript engine object, with the default bindings (Geometrize...
Definition: chaiscriptcreator.cpp:26
geometrize::script::bindings::createFunctionalTestHelperBindings
std::shared_ptr< chaiscript::Module > createFunctionalTestHelperBindings()
createFunctionalTestHelperBindings Creates ChaiScript to C++ bindings for helper functions needed for...
Definition: bindingscreator.cpp:660
geometrize::script::bindings::createTabletEventBindings
std::shared_ptr< chaiscript::Module > createTabletEventBindings()
createTabletEventBindings Creates the Chaiscript to C++ bindings for tablet events (e....
Definition: bindingscreator.cpp:600
geometrize::script::bindings::createLaunchWindowBindings
std::shared_ptr< chaiscript::Module > createLaunchWindowBindings()
createLaunchWindowBindings Creates the Chaiscript to C++ bindings for the Geometrize launch window.
Definition: bindingscreator.cpp:220
geometrize::script::bindings::createImageTaskBindings
std::shared_ptr< chaiscript::Module > createImageTaskBindings()
createImageTaskBindings Creates the Chaiscript to C++ bindings for Geometrize image tasks.
Definition: bindingscreator.cpp:343
geometrize::script::runScript
void runScript(const std::string &script)
runScript Evaluates the provided script code, creating a fresh engine to evaluate the script.
Definition: scriptrunner.cpp:33
geometrize::script::bindings::createAnimatedGifExportBindings
std::shared_ptr< chaiscript::Module > createAnimatedGifExportBindings()
createGifExportBindings Creates the ChaiScript to C++ bindings for saving animated GIFs.
Definition: bindingscreator.cpp:415
geometrize::script::bindings::createMathBindings
std::shared_ptr< chaiscript::Module > createMathBindings()
createMathBindings Creates the Chaiscript to C++ bindings for common math functions.
Definition: bindingscreator.cpp:644
geometrize::script::bindings::createGeometrizeLibraryBindings
std::shared_ptr< chaiscript::Module > createGeometrizeLibraryBindings()
createGeometrizeLibraryBindings Creates the Chaiscript to C++ bindings for all of the functionality i...
Definition: bindingscreator.cpp:426
geometrize::script::bindings::createSynchronousImageTaskBindings
std::shared_ptr< chaiscript::Module > createSynchronousImageTaskBindings()
createSynchronousImageTaskBindings Creates the Chaiscript to C++ bindings for synchronous Geometrize ...
Definition: bindingscreator.cpp:320
geometrize::script::bindings::createImageExportBindings
std::shared_ptr< chaiscript::Module > createImageExportBindings()
createImageExportBindings Creates the Chaiscript to C++ bindings for saving images.
Definition: bindingscreator.cpp:402