载入中...
搜索中...
未找到
eve::editor::ScalarFieldEditCommand类 参考final
Reversible edits to any target exposing IScalarFieldTarget. 更多...
#include <EditCommand.h>
类 eve::editor::ScalarFieldEditCommand 继承关系图:
Public 成员函数 | |
| ScalarFieldEditCommand (std::string name, IEditableTarget *target) | |
| Scalar field edit command. | |
| const std::string & | name () const override |
| Name. | |
| bool | record (int x, int y, float after) |
| Record. | |
| int | changeCount () const |
| Change count. | |
| bool | apply () override |
| Applies . | |
| void | revert () override |
| Revert. | |
| std::unique_ptr< IEditCommand > | clone () const override |
| Deep copy. @ownership Caller deletes. | |
| bool | mergeWith (const IEditCommand &later) override |
| Merge with. | |
| EditRegion | dirtyRegion () const override |
| Dirty region. | |
Public 成员函数 继承自 eve::editor::IEditCommand | |
| virtual | ~IEditCommand ()=default |
| Releases IEditCommand resources. | |
详细描述
Reversible edits to any target exposing IScalarFieldTarget.
在文件 EditCommand.h 第 77 行定义.
构造及析构函数说明
◆ ScalarFieldEditCommand()
| eve::editor::ScalarFieldEditCommand::ScalarFieldEditCommand | ( | std::string | name, |
| IEditableTarget * | target | ||
| ) |
Scalar field edit command.
在文件 EditCommand.cpp 第 61 行定义.
成员函数说明
◆ apply()
|
overridevirtual |
◆ changeCount()
|
inline |
Change count.
在文件 EditCommand.h 第 86 行定义.
◆ clone()
|
overridevirtual |
◆ dirtyRegion()
|
inlineoverridevirtual |
◆ mergeWith()
|
overridevirtual |
Merge with.
重载 eve::editor::IEditCommand .
在文件 EditCommand.cpp 第 98 行定义.
引用了 current , 以及 eve::editing::EditRegion::include().
◆ name()
|
inlineoverridevirtual |
◆ record()
| bool eve::editor::ScalarFieldEditCommand::record | ( | int | x, |
| int | y, | ||
| float | after | ||
| ) |
Record.
在文件 EditCommand.cpp 第 63 行定义.
引用了 eve::editing::EditRegion::include(), eve::editing::IEditableTarget::query(), x , 以及 y.
◆ revert()
|
overridevirtual |
该类的文档由以下文件生成:
- src/modules/editor/EditCommand.h
- src/modules/editor/EditCommand.cpp
Public 成员函数 继承自