Namespace F3DUtils
Functions
Function ParseToDouble
VTKEXT_EXPORT double F3DUtils::ParseToDouble(const std::string &str, double def, const std::string &nameError)
Parameters:
- const std::string & str
- double def
- const std::string & nameError
Return type: VTKEXT_EXPORT double
Function ParseToInt
VTKEXT_EXPORT int F3DUtils::ParseToInt(const std::string &str, int def, const std::string &nameError)
Parameters:
- const std::string & str
- int def
- const std::string & nameError
Return type: VTKEXT_EXPORT int
Function CopyToClipboard
VTKEXT_EXPORT bool F3DUtils::CopyToClipboard(const std::string &text)
Copy the text to clipboard. Returns true if the text was successfully copied, false otherwise. Does nothing if F3D_MODULE_CLIP is not enabled.
Parameters:
- const std::string & text
Return type: VTKEXT_EXPORT bool
Function GetFromClipboard
VTKEXT_EXPORT bool F3DUtils::GetFromClipboard(std::string &text)
Get the text from the clipboard. Returns false if F3D_MODULE_CLIP is not enabled, true otherwise. The text parameter will contain the clipboard content if available.
Parameters:
- std::string & text
Return type: VTKEXT_EXPORT bool