用户定义的编辑器基类
更多...
#include <APICustomEditor.h>
void AnyCAD::API::CustomEditor::Exit |
( |
int |
exitCode | ) |
|
退出Editor.
- 参数
-
exitCode | the exiting code. |
Document AnyCAD::API::CustomEditor::GetDocument |
( |
| ) |
|
Renderer AnyCAD::API::CustomEditor::GetRenderer |
( |
| ) |
|
void AnyCAD::API::CustomEditor::NotifyMousePosition |
( |
const Vector3 & |
pos | ) |
|
Notify to change the mouse position.
- 参数
-
virtual void AnyCAD::API::CustomEditor::OnButtonDownEvent |
( |
const InputEvent & |
evt | ) |
|
|
virtual |
virtual void AnyCAD::API::CustomEditor::OnButtonUpEvent |
( |
const InputEvent & |
evt | ) |
|
|
virtual |
virtual void AnyCAD::API::CustomEditor::OnExitEvent |
( |
| ) |
|
|
virtual |
virtual void AnyCAD::API::CustomEditor::OnMouseMoveEvent |
( |
const InputEvent & |
evt | ) |
|
|
virtual |
virtual void AnyCAD::API::CustomEditor::OnStartEvent |
( |
| ) |
|
|
virtual |
void AnyCAD::API::CustomEditor::RemoveAllTempNodes |
( |
| ) |
|
Remove all the temporary nodes.
void AnyCAD::API::CustomEditor::RemoveTempNode |
( |
const ElementId & |
id | ) |
|
Remove the temporary node by id.
- 参数
-
id | the id of the temporary node. |
void AnyCAD::API::CustomEditor::ShowTempNode |
( |
const SceneNode & |
node | ) |
|
Show the node temporarily. The node will be removed after exiting the editor.
- 参数
-
Vector3 AnyCAD::API::CustomEditor::ToWorldPoint |
( |
const Vector2 & |
screenPt | ) |
|
Convert screen point to 3d point.
- 参数
-
screenPt | the screen point. |
- 返回
- the 3d point.
该类的文档由以下文件生成: