2#include "MRPch/MRBindingMacros.h"
21[[deprecated(
"Use SystemPath::getExecutableDirectory() instead" )]]
26[[deprecated(
"Use SystemPath::getResourcesDirectory() instead" )]]
31[[deprecated(
"Use SystemPath::getFontsDirectory() instead" )]]
36[[deprecated(
"Use SystemPath::getPluginsDirectory() instead" )]]
41[[deprecated(
"Use SystemPath::getPythonModulesDirectory() instead" )]]
59[[nodiscard]]
MRMESH_API MR_BIND_IGNORE std::filesystem::path GetWindowsInstallDirectory();
111struct MR_BIND_IGNORE ProccessMemoryInfo
113 size_t currVirtual = 0, maxVirtual = 0;
114 size_t currPhysical = 0, maxPhysical = 0;
116[[nodiscard]]
MRMESH_API MR_BIND_IGNORE ProccessMemoryInfo getProccessMemoryInfo();
#define MRMESH_API
Definition MRMeshFwd.h:85
std::filesystem::path getUserConfigDir()
return path to the folder with user config file(s)
std::filesystem::path getUserConfigFilePath()
returns path of config file in APPDATA
void SetCurrentThreadName(const char *name)
sets debug name for the current thread
void OpenLink(const std::string &url)
Opens given link in default browser.
size_t physicalTotal
total amount of physical memory in the system, in bytes (0 if no info)
Definition MRSystem.h:100
const char * GetMRVersionString()
returns version of MR
void setupLoggerByDefault(const std::function< void()> &customLogSinkAdder={})
std::filesystem::path GetTempDirectory()
returns temp directory
std::filesystem::path GetExeDirectory()
returns path of current exe directory
size_t physicalAvailable
available amount of physical memory in the system, in bytes (0 if no info)
Definition MRSystem.h:103
SystemMemory getSystemMemory()
return information about memory available in the system
std::filesystem::path GetEmbeddedPythonDirectory()
std::filesystem::path GetLibsDirectory()
std::string getProductName()
The name of the current application.
std::string GetDetailedOSName()
returns string with OS name with details
std::string getCurrentStacktrace()
returns string representation of the current stacktrace
std::filesystem::path GetResourcesDirectory()
std::string GetCpuId()
returns string identification of the CPU
std::vector< std::filesystem::path > FileNamesStack
Definition MRIOFilesMenuItems.h:17
bool OpenDocument(const std::filesystem::path &path)
Opens given file (or directory) in associated application.
void setNewHandlerIfNeeded()
sets new handler for operator new if needed for some platforms
std::filesystem::path GetFontsDirectory()
void setStacktraceProvider(std::string(*provider)())
std::string getLocalTimeZone()
returns the current offset of the local time zone from UTC, e.g. "UTC+03:00", or an empty string if i...
std::filesystem::path GetHomeDirectory()
returns home directory
std::uint32_t getCurrentProcessId()
return the current process's id (or 0 for Wasm)
std::string getOSNoSpaces()
returns string identification of the OS and, on Arm (or any macOS), of the CPU architecture,...
Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
Definition MRCameraOrientationPlugin.h:8