MeshLib C++ Docs
Loading...
Searching...
No Matches
MRSceneReorder.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRViewerFwd.h"
4#include <vector>
5
6namespace MR
7{
10
11
13{
15 std::vector<Object*> who;
16
18 Object* to{ nullptr };
19
22 bool before{ false };
23
25 std::string historyName{ "Reorder Scene" };
26};
27
30MRVIEWER_API bool sceneReorderWithUndo( const SceneReorder & task );
31
34MRVIEWER_API bool moveAllChildrenWithUndo( Object& oldParent, Object& newParent, const std::string& historyName = "Move Children" );
35
36}
named object in the data model
Definition MRObject.h:62
MRVIEWER_API bool moveAllChildrenWithUndo(Object &oldParent, Object &newParent, const std::string &historyName="Move Children")
std::string historyName
the name of added undo history scope
Definition MRSceneReorder.h:25
bool before
Definition MRSceneReorder.h:22
Object * to
target object
Definition MRSceneReorder.h:18
std::vector< Object * > who
objects that will be moved
Definition MRSceneReorder.h:15
MRVIEWER_API bool sceneReorderWithUndo(const SceneReorder &task)
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRSceneReorder.h:13