MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::ViewerSettingsManager Class Reference

#include <MRViewerSettingsManager.h>

+ Inheritance diagram for MR::ViewerSettingsManager:

Public Types

enum class  ObjType {
  ObjType::Mesh = 0 , ObjType::Lines , ObjType::Points , ObjType::Voxels ,
  ObjType::DistanceMap , ObjType::Count
}
 

Public Member Functions

MRVIEWER_API ViewerSettingsManager ()
 
virtual MRVIEWER_API int loadInt (const std::string &name, int def) override
 
virtual MRVIEWER_API void saveInt (const std::string &name, int value) override
 
virtual MRVIEWER_API std::string loadString (const std::string &name, const std::string &def) override
 
virtual MRVIEWER_API void saveString (const std::string &name, const std::string &value) override
 
virtual MRVIEWER_API bool loadBool (const std::string &name, bool def) override
 
virtual MRVIEWER_API void saveBool (const std::string &name, bool value) override
 
virtual MRVIEWER_API void resetSettings (Viewer &) override
 
virtual MRVIEWER_API void loadSettings (Viewer &viewer) override
 
virtual MRVIEWER_API void saveSettings (const Viewer &viewer) override
 
MRVIEWER_API const std::string & getLastExtention (ObjType objType)
 
MRVIEWER_API void setLastExtention (ObjType objType, std::string ext)
 
- Public Member Functions inherited from MR::IViewerSettingsManager
virtual ~IViewerSettingsManager ()=default
 

The documentation for this class was generated from the following file: