载入中...
搜索中...
未找到
eve::editor::PaintIntVolumeOperation类 参考
Paints one integer value into targets exposing IIntVolumeTarget. 更多...
#include <VolumeBrushTool.h>
Public 成员函数 | |
| PaintIntVolumeOperation (int value=1) | |
| Create an operation that paints the supplied integer value. | |
| void | setValue (int value) |
| Set the value written by subsequent stamps. | |
| int | value () const |
| Return the value written by this operation. | |
| std::unique_ptr< IEditCommand > | createCommand (IEditableTarget *target, const std::vector< VolumeBrushPoint > &points) const |
| Build a reversible command for weighted cells. | |
详细描述
Paints one integer value into targets exposing IIntVolumeTarget.
在文件 VolumeBrushTool.h 第 61 行定义.
构造及析构函数说明
◆ PaintIntVolumeOperation()
|
explicit |
Create an operation that paints the supplied integer value.
在文件 VolumeBrushTool.cpp 第 62 行定义.
引用了 setValue() , 以及 value().
成员函数说明
◆ createCommand()
| std::unique_ptr< IEditCommand > eve::editor::PaintIntVolumeOperation::createCommand | ( | IEditableTarget * | target, |
| const std::vector< VolumeBrushPoint > & | points | ||
| ) | const |
Build a reversible command for weighted cells.
在文件 VolumeBrushTool.cpp 第 66 行定义.
◆ setValue()
| void eve::editor::PaintIntVolumeOperation::setValue | ( | int | value | ) |
Set the value written by subsequent stamps.
在文件 VolumeBrushTool.cpp 第 64 行定义.
引用了 value().
被这些函数引用 PaintIntVolumeOperation().
◆ value()
|
inline |
Return the value written by this operation.
在文件 VolumeBrushTool.h 第 68 行定义.
被这些函数引用 PaintIntVolumeOperation() , 以及 setValue().
该类的文档由以下文件生成:
- src/modules/editor/VolumeBrushTool.h
- src/modules/editor/VolumeBrushTool.cpp