MeshLib C++ Docs
Loading...
Searching...
No Matches
MRSceneSelectionChange.h
Go to the documentation of this file.
1#pragma once
2#include "exports.h"
3#include "MRMesh/MRMeshFwd.h"
4#include <memory>
5#include <vector>
6
7namespace MR
8{
11
12
15{
16public:
17 virtual ~ISceneSelectionChange() = default;
20 virtual void updateSelection( const std::vector<std::shared_ptr<const Object>>& ) {}
21};
22
24class MRVIEWER_CLASS SceneSelectionChangeClose : virtual public ISceneSelectionChange
25{
26public:
27 MRVIEWER_API virtual void updateSelection( const std::vector<std::shared_ptr<const Object>>& ) override;
28};
29
31class MRVIEWER_CLASS SceneSelectionChangeRestart : virtual public ISceneSelectionChange
32{
33public:
34 MRVIEWER_API virtual void updateSelection( const std::vector<std::shared_ptr<const Object>>& ) override;
35};
36
37}
Interface for processing scene state change in RibbonItems.
Definition MRSceneSelectionChange.h:15
close on state change
Definition MRSceneSelectionChange.h:25
restart on state change
Definition MRSceneSelectionChange.h:32
virtual void updateSelection(const std::vector< std::shared_ptr< const Object > > &)
Definition MRSceneSelectionChange.h:20
virtual ~ISceneSelectionChange()=default
virtual MRVIEWER_API void updateSelection(const std::vector< std::shared_ptr< const Object > > &) override
virtual MRVIEWER_API void updateSelection(const std::vector< std::shared_ptr< const Object > > &) override
only for bindings generation
Definition MRCameraOrientationPlugin.h:8