AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
拾取辅助类. 更多...
Public 成员函数 | |
void | SetPickFlags (int nFlags) |
void | Initialize (Renderer^ renderer) |
bool | Pick (int cx, int cy) |
bool | Pick (Vector2^ mousePosition) |
SceneNode^ | GetSceneNode () |
SceneNode^ | GetSubSceneNode () |
TopoShape^ | GetGeometry () |
TopoShape^ | GetSubGeometry () |
Vector3^ | GetPointOnShape () |
SelectedShapeQuery^ | GetQuery () |
拾取辅助类.
TODO:
TopoShape ^ AnyCAD::Platform::PickHelper::GetGeometry | ( | ) |
Get the selected geometry.
Vector3 ^ AnyCAD::Platform::PickHelper::GetPointOnShape | ( | ) |
Get the point position of the selected shape..
SelectedShapeQuery ^ AnyCAD::Platform::PickHelper::GetQuery | ( | ) |
Get shape query.
TopoShape ^ AnyCAD::Platform::PickHelper::GetSubGeometry | ( | ) |
Get the selected sub geometry.
SceneNode ^ AnyCAD::Platform::PickHelper::GetSubSceneNode | ( | ) |
Get the selected sub node.
void AnyCAD::Platform::PickHelper::Initialize | ( | Renderer^ | renderer | ) |
初始化.
renderer | the target renderer |
bool AnyCAD::Platform::PickHelper::Pick | ( | int | cx, |
int | cy | ||
) |
Perform the picking.
cx | the x of screen. |
cy | the y of screen. |
bool AnyCAD::Platform::PickHelper::Pick | ( | Vector2^ | mousePosition | ) |
Perform the picking.
mousePosition | the mouse position on screen. |
void AnyCAD::Platform::PickHelper::SetPickFlags | ( | int | nFlags | ) |
设置选择过滤, 从EnumRenderFlags中取值。
nFlags | 过滤组合 |