 |
Geometrize
1.0
An application for geometrizing images into geometric primitives
|
Go to the documentation of this file.
22 void sleep(std::size_t ms);
36 std::map<std::string, std::string>
getScripts(
const std::string& folder);
std::vector< std::string > getEngineFunctionNames(const chaiscript::ChaiScript &engine)
getEngineFunctionNames Gets the names of the functions registered with the given engine.
Definition: scriptutil.cpp:48
std::map< std::string, std::string > getOnKeyUpEventScripts()
getOnKeyUpEventScripts Gets a map of scripts that are useful to call after receiving a key up event t...
Definition: scriptutil.cpp:128
std::map< std::string, std::string > getPointerAreaOfInterestShapeMutatorScripts()
getPointerAreaOfInterestScripts Gets a map of the scripts used for shape creation and mutation based ...
Definition: scriptutil.cpp:68
std::map< std::string, std::string > getAfterStepCallbackScripts()
getAfterStepCallbackScripts Gets a map of scripts that are useful to call after stepping an image tas...
Definition: scriptutil.cpp:78
std::map< std::string, std::string > getOnMouseDownEventScripts()
getOnMouseDownEventScripts Gets a map of scripts that are useful to call after receiving a mouse down...
Definition: scriptutil.cpp:133
void sleep(const std::size_t ms)
sleep Causes the calling thread to sleep for the given length of time.
Definition: scriptutil.cpp:43
std::map< std::string, std::string > getOnKeyDownEventScripts()
getOnKeyDownEventScripts Gets a map of scripts that are useful to call after receiving a key down eve...
Definition: scriptutil.cpp:123
std::map< std::string, std::string > getOnPenProximityExitCallbackScripts()
getOnPenProximityExitCallbackScripts Gets a map of scripts that are useful to call after receiving a ...
Definition: scriptutil.cpp:118
std::map< std::string, std::string > getOnMouseMoveEventScripts()
getOnMouseMoveEventScripts Gets a map of scripts that are useful to call after receiving a mouse move...
Definition: scriptutil.cpp:143
std::map< std::string, std::string > getDefaultShapeMutatorScripts()
getDefaultScripts Gets a map of the default scripts used for shape creation and mutation in image tas...
Definition: scriptutil.cpp:63
std::map< std::string, std::string > getBeforeAddShapeCallbackScripts()
getBeforeAddShapeCallbackScripts Gets a map of scripts that are useful to call before adding a shape ...
Definition: scriptutil.cpp:98
std::string readFileAsString(const std::string &filePath)
readFileAsString Reads a file, returning a string containing the contents.
Definition: util.cpp:155
std::map< std::string, std::string > getOnStopConditionMetScripts()
getOnStopConditionMetScripts Gets a map of scripts that are useful to call after the stop condition f...
Definition: scriptutil.cpp:88
std::map< std::string, std::string > getTaskQueueBatchProcessingScripts()
getTaskQueueBatchProcessingScripts Gets a map of scripts used for batch processing multiple images on...
Definition: scriptutil.cpp:158
std::map< std::string, std::string > getOnTimedUpdateEventScripts()
getOnTimedUpdateEventScripts Gets a map of scripts that are useful to regularly periodically call i....
Definition: scriptutil.cpp:153
Definition: commandlineedit.h:11
std::map< std::string, std::string > getScripts(const std::string &folder)
getDefaultScripts Gets a map of the scripts in the given folder.
Definition: scriptutil.cpp:58
std::map< std::string, std::string > getOnPenProximityEnterCallbackScripts()
getOnPenProximityEnterCallbackScripts Gets a map of scripts that are useful to call after receiving a...
Definition: scriptutil.cpp:113
std::map< std::string, std::string > getAfterAddShapeCallbackScripts()
getAfterAddShapeCallbackScripts Gets a map of scripts that are useful to call after adding a shape to...
Definition: scriptutil.cpp:103
std::map< std::string, std::string > getOnPenInputCallbackScripts()
getOnPenInputCallbackScripts Gets a map of scripts that are useful to call after receiving pen input ...
Definition: scriptutil.cpp:108
Definition: commandlineparser.cpp:73
std::map< std::string, std::string > getAddShapePreconditionScripts()
getAddShapePreconditionScripts Gets a map of scripts that are used to decide whether to add a shape t...
Definition: scriptutil.cpp:93
std::map< std::string, std::string > getStopConditionScripts()
getStopConditionScripts Gets a map of scripts that get to true/false, and can be used to check whethe...
Definition: scriptutil.cpp:83
std::map< std::string, std::string > getOnMouseUpEventScripts()
getOnMouseUpEventScripts Gets a map of scripts that are useful to call after receiving a mouse up eve...
Definition: scriptutil.cpp:138
std::map< std::string, std::string > getOnMouseWheelEventScripts()
getOnMouseWheelEventScripts Gets a map of scripts that are useful to call after receiving a mouse whe...
Definition: scriptutil.cpp:148
std::map< std::string, std::string > getBeforeStepCallbackScripts()
getBeforeStepCallbackScripts Gets a map of scripts that are useful to call prior to stepping an image...
Definition: scriptutil.cpp:73