载入中...
搜索中...
未找到
eve::editor::VolumeBrushTool类 参考final
Generic 3D stroke tool composed from a volume kernel and paint operation. 更多...
#include <VolumeBrushTool.h>
类 eve::editor::VolumeBrushTool 继承关系图:
Public 成员函数 | |
| VolumeBrushTool (std::string id, std::string label) | |
| Create a reusable volume brush identified by a stable tool id. | |
| const ToolDescriptor & | descriptor () const override |
| Descriptor. | |
| void | setKernel (const IVolumeBrushKernel *kernel) |
| Replace the volume kernel used by later stamps. | |
| void | setOperation (const PaintIntVolumeOperation *operation) |
| Replace the integer operation used by later stamps. | |
| void | setRadius (float radius) |
| Set radius in target voxel coordinates. | |
| float | radius () const |
| Return radius in target voxel coordinates. | |
| ToolResponse | pointerEvent (EditorContext &context, const EditorPointerEvent &event) override |
| Pointer event. | |
| void | cancel (EditorContext &context) override |
| Cancel. | |
| void | inspect (EditorContext &context, IEditorInspector &inspector) override |
| Inspect. | |
Public 成员函数 继承自 eve::editor::IEditorTool | |
| virtual | ~IEditorTool ()=default |
| Releases IEditorTool resources. | |
| virtual void | activate (EditorContext &context) |
| Called exactly once when this tool becomes active. | |
| virtual void | deactivate (EditorContext &context) |
| Called exactly once before this tool stops being active. | |
| virtual ToolResponse | keyEvent (EditorContext &context, const EditorKeyEvent &event) |
| Handle normalized keyboard input. | |
| virtual void | update (EditorContext &context, float dt) |
| Per-frame hook for an active tool. | |
| virtual void | drawOverlay (EditorContext &context, IEditorOverlay &overlay) |
| Emit renderer-independent feedback for the active viewport. | |
详细描述
Generic 3D stroke tool composed from a volume kernel and paint operation.
在文件 VolumeBrushTool.h 第 78 行定义.
构造及析构函数说明
◆ VolumeBrushTool()
| eve::editor::VolumeBrushTool::VolumeBrushTool | ( | std::string | id, |
| std::string | label | ||
| ) |
Create a reusable volume brush identified by a stable tool id.
在文件 VolumeBrushTool.cpp 第 76 行定义.
成员函数说明
◆ cancel()
|
overridevirtual |
◆ descriptor()
|
inlineoverridevirtual |
◆ inspect()
|
overridevirtual |
◆ pointerEvent()
|
overridevirtual |
Pointer event.
在文件 VolumeBrushTool.cpp 第 88 行定义.
引用了 context, eve::editor::EditorPointerEvent::phase, stamp, eve::editor::EditorPointerEvent::x, eve::editor::EditorPointerEvent::y , 以及 eve::editor::EditorPointerEvent::z.
◆ radius()
|
inline |
Return radius in target voxel coordinates.
在文件 VolumeBrushTool.h 第 91 行定义.
◆ setKernel()
|
inline |
Replace the volume kernel used by later stamps.
在文件 VolumeBrushTool.h 第 85 行定义.
◆ setOperation()
|
inline |
◆ setRadius()
| void eve::editor::VolumeBrushTool::setRadius | ( | float | radius | ) |
该类的文档由以下文件生成:
- src/modules/editor/VolumeBrushTool.h
- src/modules/editor/VolumeBrushTool.cpp
Public 成员函数 继承自