拾取辅助类.
更多...
#include <APIPickHelper.h>
TopoShape AnyCAD::API::PickHelper::GetGeometry |
( |
| ) |
const |
Vector3 AnyCAD::API::PickHelper::GetPointOnShape |
( |
| ) |
const |
Get the point position of the selected shape..
- 返回
- the global position.
Get shape query.
- 返回
- the shape query.
SceneNode AnyCAD::API::PickHelper::GetSceneNode |
( |
| ) |
const |
TopoShape AnyCAD::API::PickHelper::GetSubGeometry |
( |
| ) |
const |
Get the selected sub geometry.
- 返回
- the TopoShape.
SceneNode AnyCAD::API::PickHelper::GetSubSceneNode |
( |
| ) |
const |
void AnyCAD::API::PickHelper::Initialize |
( |
const Renderer & |
renderer | ) |
|
初始化.
- 参数
-
renderer | the target renderer |
bool AnyCAD::API::PickHelper::Pick |
( |
int |
cx, |
|
|
int |
cy |
|
) |
| |
Perform the picking.
- 参数
-
cx | the x of screen. |
cy | the y of screen. |
- 返回
- true if selecting something.
bool AnyCAD::API::PickHelper::Pick |
( |
const Vector2 & |
mousePosition | ) |
|
Perform the picking.
- 参数
-
mousePosition | the mouse position on screen. |
- 返回
- true if selecting something.
void AnyCAD::API::PickHelper::SetPickFlags |
( |
int |
nFlags | ) |
|
设置选择过滤, 从EnumRenderFlags中取值。
- 参数
-
该类的文档由以下文件生成: