Public Member Functions | |
| HRESULT | SetUVENode ([in] IRsNode *pNode) |
| HRESULT | SetActive ([in] RtBool active) |
| HRESULT | IsActive ([out, retval] RtBool *pActive) |
| HRESULT | SetSelectionElement ([in] UVESelectionPrimitive element) |
| HRESULT | HighlightSelection () |
| HRESULT | ClearHighlight () |
| HRESULT | SetCurrentTool ([in] UVEActiveTool current_tool) |
| HRESULT | SetViewportData ([in] const RtUVcoord &panning,[in] RtFloat zoom,[in] RtFloat aspect) |
| HRESULT | SetViewCoord ([in] const RtUVcoord &panning) |
| HRESULT IRsPaintHighlighter::SetUVENode | ( | [in] IRsNode * | pNode | ) |
Sets the target UV editor node in which the highlight is displayed.
| pNode | [in] Set UV editor node. |
| HRESULT IRsPaintHighlighter::SetActive | ( | [in] RtBool | active | ) |
Sets the active state of highlighter.
| active | [in] Set active state. |
| HRESULT IRsPaintHighlighter::IsActive | ( | [out, retval] RtBool * | pActive | ) |
Queries the active state of highlighter.
| HRESULT IRsPaintHighlighter::SetSelectionElement | ( | [in] UVESelectionPrimitive | element | ) |
Sets the element to highlight (nearest/vertex/edge/triangle/face/patch).
| element | [in] Set element. |
| HRESULT IRsPaintHighlighter::HighlightSelection | ( | ) |
Schedules synchronous command for highlight update (SyncHighlightSelection).
| HRESULT IRsPaintHighlighter::ClearHighlight | ( | ) |
Schedules synchronous comand for clearing current highlight (SyncClearSelection).
| HRESULT IRsPaintHighlighter::SetCurrentTool | ( | [in] UVEActiveTool | current_tool | ) |
Sets current tool to determine the way elements are highlighted.
Values which make sense are:
| current_tool | [in] Set current tool. |
| HRESULT IRsPaintHighlighter::SetViewportData | ( | [in] const RtUVcoord & | panning, | |
| [in] RtFloat | zoom, | |||
| [in] RtFloat | aspect | |||
| ) |
Sets the viewport data.
| panning | [in] . | |
| zoom | [in] . | |
| aspect | [in] . |
| HRESULT IRsPaintHighlighter::SetViewCoord | ( | [in] const RtUVcoord & | panning | ) |
Sets current mouse cursor position in view coordinate system (normalized window coordinate (0,0->1,1).
| panning | [in] . |
1.5.5