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

#include <MRViewerTitle.h>

Public Member Functions

 ViewerTitle ()=default
 
virtual ~ViewerTitle ()=default
 
MRVIEWER_API void setAppName (std::string appName)
 Name of the application.
 
MRVIEWER_API void setVersion (std::string version)
 Version of application.
 
MRVIEWER_API void setSceneName (std::string sceneName)
 Name of current scene.
 
virtual MRVIEWER_API std::string compose () const
 

Protected Member Functions

MRVIEWER_API void update_ ()
 

Protected Attributes

std::string appName_
 
std::string version_
 
std::string sceneName_
 

Detailed Description

class to compose viewer title from several parts appName (version) sceneName

Constructor & Destructor Documentation

◆ ViewerTitle()

MR::ViewerTitle::ViewerTitle ( )
default

◆ ~ViewerTitle()

virtual MR::ViewerTitle::~ViewerTitle ( )
virtualdefault

Member Function Documentation

◆ compose()

virtual MRVIEWER_API std::string MR::ViewerTitle::compose ( ) const
virtual

◆ setAppName()

MRVIEWER_API void MR::ViewerTitle::setAppName ( std::string appName)

Name of the application.

◆ setSceneName()

MRVIEWER_API void MR::ViewerTitle::setSceneName ( std::string sceneName)

Name of current scene.

◆ setVersion()

MRVIEWER_API void MR::ViewerTitle::setVersion ( std::string version)

Version of application.

◆ update_()

MRVIEWER_API void MR::ViewerTitle::update_ ( )
protected

Member Data Documentation

◆ appName_

std::string MR::ViewerTitle::appName_
protected

◆ sceneName_

std::string MR::ViewerTitle::sceneName_
protected

◆ version_

std::string MR::ViewerTitle::version_
protected

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