Public Member Functions | |
| HRESULT | SetUVEditorNode ([in] IRsNode *pUVEditorNode) |
| HRESULT | Destroy () |
| HRESULT | SetTool ([in] UVEActiveTool eActiveTool) |
| HRESULT | SetSelectionPrimitive ([in] UVESelectionPrimitive eSelectionPrimitive) |
| HRESULT | SetViewportData ([in] const RtUVcoord &coord,[in] RtFloat zoom,[in] RtFloat aspect,[in] RtBool bExtern) |
| HRESULT | RotationChanged ([in] RtFloat fDelta) |
| HRESULT | SelectionChanged () |
| HRESULT | WindowFocusGained () |
| HRESULT | WindowFocusLost () |
| HRESULT IRsToolController::SetUVEditorNode | ( | [in] IRsNode * | pUVEditorNode | ) |
Target UV editor node.
| pUVEditorNode | [in] Set target UV editor node. |
| HRESULT IRsToolController::Destroy | ( | ) |
Internals cleanup.
| HRESULT IRsToolController::SetTool | ( | [in] UVEActiveTool | eActiveTool | ) |
Sets current active tool (determined from toolbar).
| eActiveTool | [in] Set current active tool. |
| HRESULT IRsToolController::SetSelectionPrimitive | ( | [in] UVESelectionPrimitive | eSelectionPrimitive | ) |
Sets current selection primitive (determined from toolbar).
| eSelectionPrimitive | [in] Set current selection primitive. |
| HRESULT IRsToolController::SetViewportData | ( | [in] const RtUVcoord & | coord, | |
| [in] RtFloat | zoom, | |||
| [in] RtFloat | aspect, | |||
| [in] RtBool | bExtern | |||
| ) |
Sets up current viewport, call is propagated to navigation tool.
| coord | [in] UVE panning. | |
| zoom | [in] Current zoom. | |
| aspect | [in] Current aspect ratio which changes with resizing UVE window. | |
| bExtern | [in] If true, it is called by external command rather than by navigation tool.
|
| HRESULT IRsToolController::RotationChanged | ( | [in] RtFloat | fDelta | ) |
Callback from transform change tool to notify that rotation of selection has been changed by delta (in radians), forwarded to info panel.
| fDelta | [in] Delta in radians value. |
| HRESULT IRsToolController::SelectionChanged | ( | ) |
Callback from selection change tool to notify that selection has been changed (forwarded to info panel).
| HRESULT IRsToolController::WindowFocusGained | ( | ) |
Callback for window focus called from RsUVEditor window event handler.
| HRESULT IRsToolController::WindowFocusLost | ( | ) |
Callback for window focus called from RsUVEditor window event handler.
1.5.5