Host-owned conversion boundary between pointer coordinates and the ArchSpace viewport. 更多...
#include <EditorArchSpaceTools.h>
Public 成员函数 | |
| virtual | ~IArchSpaceViewportAdapter ()=default |
| Releases IArchSpaceViewportAdapter resources. | |
| virtual editing::Result< ArchSpaceViewportRay > | pointerRay (const EditorPointerEvent &event) const =0 |
| Build a world ray for one normalized pointer event. | |
| virtual editing::Result< OverlayPoint > | projectWorld (const std::array< double, 3 > &world) const =0 |
| Project a world position into the coordinate space accepted by IEditorOverlay. | |
详细描述
Host-owned conversion boundary between pointer coordinates and the ArchSpace viewport.
Tools invoke this interface synchronously on the editor thread and never retain returned values across callbacks. Implementations must not re-enter the tool.
在文件 EditorArchSpaceTools.h 第 30 行定义.
构造及析构函数说明
◆ ~IArchSpaceViewportAdapter()
|
virtualdefault |
Releases IArchSpaceViewportAdapter resources.
成员函数说明
◆ pointerRay()
|
pure virtual |
Build a world ray for one normalized pointer event.
◆ projectWorld()
|
pure virtual |
Project a world position into the coordinate space accepted by IEditorOverlay.
被这些函数引用 eve::editor::ArchSpaceWallDrawTool::drawOverlay(), eve::editor::ArchSpaceOpeningPlaceTool::drawOverlay() , 以及 eve::editor::ArchSpaceItemPlaceTool::drawOverlay().
该类的文档由以下文件生成:
- src/modules/archspace/editor/EditorArchSpaceTools.h