2#include "MRPch/MRBindingMacros.h"
18[[deprecated(
"Use SystemPath::getExecutableDirectory() instead" )]]
23[[deprecated(
"Use SystemPath::getResourcesDirectory() instead" )]]
28[[deprecated(
"Use SystemPath::getFontsDirectory() instead" )]]
33[[deprecated(
"Use SystemPath::getPluginsDirectory() instead" )]]
38[[deprecated(
"Use SystemPath::getPythonModulesDirectory() instead" )]]
56[[nodiscard]] MRMESH_API
MR_BIND_IGNORE std::filesystem::path GetWindowsInstallDirectory();
63MRMESH_API
void OpenLink(
const std::string& url );
69[[nodiscard]] MRMESH_API std::string
GetCpuId();
103 size_t currVirtual = 0, maxVirtual = 0;
104 size_t currPhysical = 0, maxPhysical = 0;
106[[nodiscard]] MRMESH_API
MR_BIND_IGNORE ProccessMemoryInfo getProccessMemoryInfo();
MRMESH_API void setupLoggerByDefault(const std::function< void()> &customLogSinkAdder={})
_WIN32
MRMESH_API bool OpenDocument(const std::filesystem::path &path)
Opens given file (or directory) in associated application.
MRMESH_API std::filesystem::path GetHomeDirectory()
returns home directory
size_t physicalTotal
total amount of physical memory in the system, in bytes (0 if no info)
Definition MRSystem.h:90
MRMESH_API const char * GetMRVersionString()
_WIN32
MRMESH_API SystemMemory getSystemMemory()
return information about memory available in the system
MRMESH_API std::string getOSNoSpaces()
returns string identification of the OS
MRMESH_API MR_BIND_IGNORE std::filesystem::path GetEmbeddedPythonDirectory()
MRMESH_API std::filesystem::path GetTempDirectory()
returns temp directory
MRMESH_API MR_BIND_IGNORE std::filesystem::path GetLibsDirectory()
MRMESH_API MR_BIND_IGNORE std::filesystem::path GetFontsDirectory()
MRMESH_API std::string getCurrentStacktrace()
returns string representation of the current stacktrace
MRMESH_API void setNewHandlerIfNeeded()
sets new handler for operator new if needed for some platforms
size_t physicalAvailable
available amount of physical memory in the system, in bytes (0 if no info)
Definition MRSystem.h:93
MRMESH_API std::filesystem::path getUserConfigFilePath()
returns path of config file in APPDATA
MRMESH_API std::string GetCpuId()
returns string identification of the CPU
MRMESH_API std::string GetDetailedOSName()
returns string with OS name with details
MRMESH_API MR_BIND_IGNORE std::filesystem::path GetExeDirectory()
returns path of current exe directory
MRMESH_API void SetCurrentThreadName(const char *name)
sets debug name for the current thread
std::vector< std::filesystem::path > FileNamesStack
Definition MRIOFilesMenuItems.h:17
std::array< Vector3f, 3 > MR_BIND_IGNORE
Definition MRMeshBuilderTypes.h:13
MRMESH_API std::filesystem::path getUserConfigDir()
return path to the folder with user config file(s)
MRMESH_API MR_BIND_IGNORE std::filesystem::path GetResourcesDirectory()
MRMESH_API void OpenLink(const std::string &url)
Opens given link in default browser.
only for bindings generation
Definition MRCameraOrientationPlugin.h:8