载入中...
搜索中...
未找到
eve::editor::VolumeBrushTool类 参考final

Generic 3D stroke tool composed from a volume kernel and paint operation. 更多...

#include <VolumeBrushTool.h>

类 eve::editor::VolumeBrushTool 继承关系图:
eve::editor::IEditorTool

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()

void eve::editor::VolumeBrushTool::cancel ( EditorContext &  context)
overridevirtual

Cancel.

重载 eve::editor::IEditorTool .

在文件 VolumeBrushTool.cpp 第 110 行定义.

引用了 context.

◆ descriptor()

const ToolDescriptor & eve::editor::VolumeBrushTool::descriptor ( ) const
inlineoverridevirtual

Descriptor.

实现了 eve::editor::IEditorTool.

在文件 VolumeBrushTool.h 第 83 行定义.

◆ inspect()

void eve::editor::VolumeBrushTool::inspect ( EditorContext &  context,
IEditorInspector &  inspector 
)
overridevirtual

◆ pointerEvent()

ToolResponse eve::editor::VolumeBrushTool::pointerEvent ( EditorContext &  context,
const EditorPointerEvent &  event 
)
overridevirtual

◆ radius()

float eve::editor::VolumeBrushTool::radius ( ) const
inline

Return radius in target voxel coordinates.

在文件 VolumeBrushTool.h 第 91 行定义.

◆ setKernel()

void eve::editor::VolumeBrushTool::setKernel ( const IVolumeBrushKernel *  kernel)
inline

Replace the volume kernel used by later stamps.

在文件 VolumeBrushTool.h 第 85 行定义.

◆ setOperation()

void eve::editor::VolumeBrushTool::setOperation ( const PaintIntVolumeOperation *  operation)
inline

Replace the integer operation used by later stamps.

在文件 VolumeBrushTool.h 第 87 行定义.

引用了 operation.

◆ setRadius()

void eve::editor::VolumeBrushTool::setRadius ( float  radius)

Set radius in target voxel coordinates.

在文件 VolumeBrushTool.cpp 第 79 行定义.

引用了 radius.


该类的文档由以下文件生成: