OpenLexocad
27.0
CmdRemoveTexture.h
Go to the documentation of this file.
1
// //
3
// LEXOCAD API //
4
// //
5
// ©2005-2016 Cadwork Informatik. All rights reserved. //
6
// //
7
// ONLY INCLUDE OTHER INTERFACES! //
8
// Lexocad provides API Classes for public use and //
9
// Implementation Classes for private use. //
10
// //
11
// - Do ONLY include and use the LEXOCAD API in this header. //
12
// - Do not change existing interfaces. //
13
// - Document your code! //
14
// //
15
// - All types from Base, Core, Geom, Topo are allowed here. //
16
// - In the Gui modules the use of Qt types is allowed. //
17
// //
19
20
#pragma once
21
#include <
Core/Command.h
>
22
#include <
OpenLxApp/Element.h
>
23
24
25
namespace
OpenLxCmd
26
{
33
class
LX_OPENLXCMD_EXPORT
CmdRemoveTexture
:
public
Core::Command
34
{
35
public
:
36
explicit
CmdRemoveTexture
(
const
std::vector<std::shared_ptr<OpenLxApp::Element>>& elements);
37
~
CmdRemoveTexture
();
38
39
bool
redo()
override
;
40
bool
undo()
override
;
41
42
private
:
43
Command* _cmd =
nullptr
;
44
};
45
}
// namespace OpenLxCmd
Element.h
OpenLxCmd::CmdRemoveTexture
Removes the Texture (if any) from the given Elements.
Definition:
CmdRemoveTexture.h:33
OpenLxCmd
Definition:
CmdAddCentroid.h:8
Command.h
Core::Command
Definition:
Command.h:35
lexocad
OpenLxCmd
include
OpenLxCmd
CmdRemoveTexture.h
Generated by
1.8.15