MeshLib Documentation
Loading...
Searching...
No Matches
MR::ViewerSetup Class Reference
module nullptr

#include <MRSetupViewer.h>

Public Member Functions

 ViewerSetup ()=default
 explicitly define ctors to avoid warning C5267: definition of implicit copy constructor is deprecated because it has a user-provided destructor
 
 ViewerSetup (const ViewerSetup &)=default
 
 ViewerSetup (ViewerSetup &&)=default
 
virtual ~ViewerSetup ()=default
 
virtual MRVIEWER_API void setupBasePlugins (Viewer *) const
 Setups Menu Save and Open plugins.
 
virtual void setupCommonModifiers (Viewer *) const
 Setups modifiers to Menu plugin if it is present in viewer.
 
virtual void setupCommonPlugins (Viewer *) const
 Setups custom plugins to viewer.
 
virtual MRVIEWER_API void setupSettingsManager (Viewer *viewer, const std::string &appName) const
 Sets custom viewer settings manager to viewer.
 
virtual MRVIEWER_API void setupConfiguration (Viewer *viewer) const
 
virtual MRVIEWER_API void setupExtendedLibraries () const
 
virtual MRVIEWER_API void unloadExtendedLibraries () const
 free all libraries loaded in setupExtendedLibraries()
 

Constructor & Destructor Documentation

◆ ViewerSetup() [1/3]

MR::ViewerSetup::ViewerSetup ( )
default

explicitly define ctors to avoid warning C5267: definition of implicit copy constructor is deprecated because it has a user-provided destructor

◆ ViewerSetup() [2/3]

MR::ViewerSetup::ViewerSetup ( const ViewerSetup & )
default

◆ ViewerSetup() [3/3]

MR::ViewerSetup::ViewerSetup ( ViewerSetup && )
default

◆ ~ViewerSetup()

virtual MR::ViewerSetup::~ViewerSetup ( )
virtualdefault

Member Function Documentation

◆ setupBasePlugins()

virtual MRVIEWER_API void MR::ViewerSetup::setupBasePlugins ( Viewer * ) const
virtual

Setups Menu Save and Open plugins.

◆ setupCommonModifiers()

virtual void MR::ViewerSetup::setupCommonModifiers ( Viewer * ) const
inlinevirtual

Setups modifiers to Menu plugin if it is present in viewer.

◆ setupCommonPlugins()

virtual void MR::ViewerSetup::setupCommonPlugins ( Viewer * ) const
inlinevirtual

Setups custom plugins to viewer.

◆ setupConfiguration()

virtual MRVIEWER_API void MR::ViewerSetup::setupConfiguration ( Viewer * viewer) const
virtual

Sets start configuration for viewer use to override default configuration of viewer

◆ setupExtendedLibraries()

virtual MRVIEWER_API void MR::ViewerSetup::setupExtendedLibraries ( ) const
virtual

use to load additional libraries with plugins. all libraries are taken from GetResourcesDirectory() *.ui.json files

◆ setupSettingsManager()

virtual MRVIEWER_API void MR::ViewerSetup::setupSettingsManager ( Viewer * viewer,
const std::string & appName ) const
virtual

Sets custom viewer settings manager to viewer.

◆ unloadExtendedLibraries()

virtual MRVIEWER_API void MR::ViewerSetup::unloadExtendedLibraries ( ) const
virtual

free all libraries loaded in setupExtendedLibraries()


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