Public Member Functions | |
| HRESULT | SetActiveAspect ([in] IRnWidgetAspect *pController) |
| HRESULT | SetWidgetPrototype ([in] IRnWidget *pPrototype) |
| HRESULT | Cleanup () |
| HRESULT | SetDefaultCoordinateSystemConnector ([in] CONID *pConID,[in] IRsUnknownCoordinateSystem *ppCoordSystem) |
| HRESULT | GetWidgetActiveStatus ([out, retval] RtBool *pbActive) |
| HRESULT | AddActionToExecutionQueue ([in]IRsNode *pNode) |
| HRESULT | ExecuteCommandQueue () |
| HRESULT | SetViewportParameters ([in]IRsNode *pViewNode,[in]RtRenderTargetInfo *pRenderTagetInfo,[in]RtLayerInfo *pLayerInfo) |
| HRESULT | SetViewportData ([in]IRsNode *pViewNode,[in]RtRenderTargetInfo *pRenderTagetInfo,[in]RtLayerInfo *pLayerInfo) |
| HRESULT | GetCameraProjectionCompensationScale ([out] RtVector4f *pScale) |
| HRESULT | GetCameraTransformMatrix ([out] RtMatrixf *pTransformMatrix) |
| HRESULT | GetCameraTransformMatrixInv ([out] RtMatrixf *pTransformMatrix) |
| HRESULT | GetCameraProjectionMatrix ([out] RtMatrixf *pProjectionMatrix) |
| HRESULT | GetCameraPosition ([out] RtVector3f *pCameraPosition) |
| HRESULT | GetCameraNearPlane ([out] RtVector4f *pCameraNearPlane) |
| HRESULT | GetRenderTargetInfo ([out] RtRenderTargetInfo *pRenderTagetInfo) |
| HRESULT | GetLayerInfo ([out] RtLayerInfo *pLayerInfo) |
| HRESULT | ProcessMouseEvent ([in] RtBool bSequenceStart,[in]RtMouseEvent *pEvent,[in]IRsNode *pViewNode) |
| HRESULT | UpdateWidget () |
| HRESULT | IsVisible ([out, retval] RtBool *pbVisible) |
| HRESULT | LockWidget () |
| HRESULT | UnlockWidget () |
| HRESULT | GetWidgetPrototype ([out] IRnWidget **ppPrototype) |
| HRESULT | GetActiveAspect ([out] BSTR *pbAspectName) |
| HRESULT | GetActiveAspectNode ([out, retval] IRnWidgetAspect **ppWc) |
| HRESULT | Activate () |
| HRESULT | GetWidgetDisplacement ([out, retval] RtMatrixf *pMatrix) |
| HRESULT | SetWidgetDisplacement ([in] RtMatrixf *pMatrix) |
| HRESULT | GetLocalTimestamp ([out, retval] RtUlong *puTimestamp) |
| HRESULT | GetActivationLayer ([out, retval] RtBool *pbLayer) |
| HRESULT | GetWidgetParameters ([out] IRdWidgetParameters **ppWp) |
| HRESULT | UpdateWidgetParameters ([in] IRdWidgetParameters *pWp) |
| HRESULT | SetManagedState ([in] RtBool bManaged) |
| HRESULT | GetManagedState ([out] RtBool *pbManaged) |
| HRESULT | SetControlledObjectsListManagement ([in] RtBool bExternalManagement) |
| HRESULT | Reinitialize () |
| HRESULT | GetActiveViewNode (IRsNode **pViewNode) |
| HRESULT | GetRenderViewNode (IRsNode **pViewNode) |
| HRESULT | SetWidgetGroupId (GUID gGroupId) |
| HRESULT | GetWidgetGroupId (GUID *pgGroupId) |
| HRESULT | SendOnActivateDoMessage (IRcUndoRedoGroup *pUndoRedo) |
| HRESULT | SendOnActivateUndoMessage (IRcUndoRedoGroup *pUndoRedo) |
| HRESULT | SendOnDeactivateDoMessage (IRcUndoRedoGroup *pUndoRedo) |
| HRESULT | SendOnDeactivateUndoMessage (IRcUndoRedoGroup *pUndoRedo) |
| HRESULT | CheckActivationPossible (RtBool *pbActivationPossible) |
| HRESULT | GetWidgetActivationEvent (RtMouseEvent *pEvent, IRsNode **ppViewNode) |
| HRESULT | SetWidgetActivationEvent (RtMouseEvent *pEvent, IRsNode *pViewNode) |
| HRESULT | UpdateWidgetVisibility () |
| HRESULT | SetEventHandling ([in] RtBool bEnable) |
| HRESULT | GetActiveCamera (IRsNode **ppCamera) |
| HRESULT | SetLocalVisibility ([in] RtBool bVisible) |
| HRESULT | GetLocalVisibility ([out, retval] RtBool *pbVisible) |
| HRESULT IRnActiveWidget::SetActiveAspect | ( | [in] IRnWidgetAspect * | pController | ) |
Set active widget active aspect for activation.
| pController | [in] Aspect node. |
| HRESULT IRnActiveWidget::SetWidgetPrototype | ( | [in] IRnWidget * | pPrototype | ) |
Set widget prototype node.
| pPrototype | [in] Widget prototype node. |
| HRESULT IRnActiveWidget::Cleanup | ( | ) |
Uninitialize active widget.
| HRESULT IRnActiveWidget::SetDefaultCoordinateSystemConnector | ( | [in] CONID * | pConID, | |
| [in] IRsUnknownCoordinateSystem * | ppCoordSystem | |||
| ) |
Set default coordinate system connector con ID and connector node.
| pConID | [in] Default coordinate system connector. | |
| ppCoordSystem | [in] Default coordinate system. |
| HRESULT IRnActiveWidget::GetWidgetActiveStatus | ( | [out, retval] RtBool * | pbActive | ) |
Check whether there is any widget active.
standard HRESULT processing can be applied to returned value
| HRESULT IRnActiveWidget::AddActionToExecutionQueue | ( | [in] IRsNode * | pNode | ) |
Add executed action to internal execution queue.
| pNode | [in] Action node/command to execute. |
| HRESULT IRnActiveWidget::ExecuteCommandQueue | ( | ) |
Execute all commands added to internal execution queue.
| HRESULT IRnActiveWidget::SetViewportParameters | ( | [in] IRsNode * | pViewNode, | |
| [in] RtRenderTargetInfo * | pRenderTagetInfo, | |||
| [in] RtLayerInfo * | pLayerInfo | |||
| ) |
Called to set internal view parameters for view node for which widget will be rendered.
| pViewNode | [in] View node that will be rendered. | |
| pRenderTagetInfo | [in] View render target info. | |
| pLayerInfo | [in] View layer info. |
| HRESULT IRnActiveWidget::SetViewportData | ( | [in] IRsNode * | pViewNode, | |
| [in] RtRenderTargetInfo * | pRenderTagetInfo, | |||
| [in] RtLayerInfo * | pLayerInfo | |||
| ) |
Called to set internal view parameters for view node in which tool is activated.
| pViewNode | [in] View node in which user has clicked and fired widget tool/command. | |
| pRenderTagetInfo | [in] View node render target info. | |
| pLayerInfo | [in] View node layer info. |
| HRESULT IRnActiveWidget::GetCameraProjectionCompensationScale | ( | [out] RtVector4f * | pScale | ) |
Return plane used for projective scaling compensation - to keep widget same screen-size.
| pScale | [out] Plane equation that can be used to calculate projection scale compensation ratio. |
| HRESULT IRnActiveWidget::GetCameraTransformMatrix | ( | [out] RtMatrixf * | pTransformMatrix | ) |
Return camera transformation matrix for active view.
| pTransformMatrix | [out] Camera transformation matrix. |
| HRESULT IRnActiveWidget::GetCameraTransformMatrixInv | ( | [out] RtMatrixf * | pTransformMatrix | ) |
Return inverse of camera transformation matrix for active view.
| pTransformMatrix | [out] Inverse of camera transform matrix. |
| HRESULT IRnActiveWidget::GetCameraProjectionMatrix | ( | [out] RtMatrixf * | pProjectionMatrix | ) |
Return active camera projection matrix.
| pProjectionMatrix | [out] Camera projection matrix. |
| HRESULT IRnActiveWidget::GetCameraPosition | ( | [out] RtVector3f * | pCameraPosition | ) |
Return camera position.
| pCameraPosition | [out] Active camera position. |
| HRESULT IRnActiveWidget::GetCameraNearPlane | ( | [out] RtVector4f * | pCameraNearPlane | ) |
Return camera near-plane used for clipping.
| pCameraNearPlane | [out] Camera near plane. |
| HRESULT IRnActiveWidget::GetRenderTargetInfo | ( | [out] RtRenderTargetInfo * | pRenderTagetInfo | ) |
Get active render target info.
| pRenderTagetInfo | [out] Filled with active render target info. |
| HRESULT IRnActiveWidget::GetLayerInfo | ( | [out] RtLayerInfo * | pLayerInfo | ) |
Get active layer info.
| pLayerInfo | [out] Layer info. |
| HRESULT IRnActiveWidget::ProcessMouseEvent | ( | [in] RtBool | bSequenceStart, | |
| [in] RtMouseEvent * | pEvent, | |||
| [in] IRsNode * | pViewNode | |||
| ) |
Set mouse event related parameters into internal active widget state (keys, buttons,...).
| bSequenceStart | [in] is true if this is first activation.
| |
| pEvent | [in] Activation mouse event. | |
| pViewNode | [in] Activation view node. |
| HRESULT IRnActiveWidget::UpdateWidget | ( | ) |
Force widget update/refresh.
| HRESULT IRnActiveWidget::IsVisible | ( | [out, retval] RtBool * | pbVisible | ) |
Check if widget is visible in current context specified by active view parameters.
| pbVisible | [out, retval] Set to true if widget is visible. |
| HRESULT IRnActiveWidget::LockWidget | ( | ) |
Lock widget for current thread to prevent thread sync issues.
| HRESULT IRnActiveWidget::UnlockWidget | ( | ) |
Unlock widget. Check LockWidget for details.
| HRESULT IRnActiveWidget::GetWidgetPrototype | ( | [out] IRnWidget ** | ppPrototype | ) |
Get widget prototype node.
| ppPrototype | [out] Filled with prototype node or NULL if no prorotype exists. |
| HRESULT IRnActiveWidget::GetActiveAspect | ( | [out] BSTR * | pbAspectName | ) |
Get widget active aspect name.
| pbAspectName | [out] BSTR string filled with active aspect (if any). |
| HRESULT IRnActiveWidget::GetActiveAspectNode | ( | [out, retval] IRnWidgetAspect ** | ppWc | ) |
Get widget active aspect node.
standard HRESULT processing can be applied to returned value.
| HRESULT IRnActiveWidget::Activate | ( | ) |
Called to activate tools.
| HRESULT IRnActiveWidget::GetWidgetDisplacement | ( | [out, retval] RtMatrixf * | pMatrix | ) |
Get internal widget displacement matrix.
standard HRESULT processing can be applied to returned value.
| HRESULT IRnActiveWidget::SetWidgetDisplacement | ( | [in] RtMatrixf * | pMatrix | ) |
Set internal widget displacement matrix.
| pMatrix | [in] Internal displacement matrix to set. |
| HRESULT IRnActiveWidget::GetLocalTimestamp | ( | [out, retval] RtUlong * | puTimestamp | ) |
Get widget timestamp used for caching.
standard HRESULT processing can be applied to returned value.
| HRESULT IRnActiveWidget::GetActivationLayer | ( | [out, retval] RtBool * | pbLayer | ) |
Get widget activation layer ID.
standard HRESULT processing can be applied to returned value.
| HRESULT IRnActiveWidget::GetWidgetParameters | ( | [out] IRdWidgetParameters ** | ppWp | ) |
Get internal widget parameters.
| ppWp | [out] Filled with internal widget parameters. |
| HRESULT IRnActiveWidget::UpdateWidgetParameters | ( | [in] IRdWidgetParameters * | pWp | ) |
Set new internal widget parameters and perform internal refresh.
| pWp | [in] Widget parameters to set. |
| HRESULT IRnActiveWidget::SetManagedState | ( | [in] RtBool | bManaged | ) |
Set auto-managing state.
| bManaged | [in] Set to true if widget is auto-managed (activated/deactivated). |
| HRESULT IRnActiveWidget::GetManagedState | ( | [out] RtBool * | pbManaged | ) |
Get auto-managing state.
| pbManaged | [out] Filled with current auto-managing state. |
| HRESULT IRnActiveWidget::SetControlledObjectsListManagement | ( | [in] RtBool | bExternalManagement | ) |
SetControlledObjectsListManagement
| bExternalManagement[in] | Set to true if management desired. |
| HRESULT IRnActiveWidget::Reinitialize | ( | ) |
Reinitialize.
| HRESULT IRnActiveWidget::GetActiveViewNode | ( | IRsNode ** | pViewNode | ) |
GetActiveViewNode
standard HRESULT processing can be applied to returned value.
| HRESULT IRnActiveWidget::GetRenderViewNode | ( | IRsNode ** | pViewNode | ) |
GetRenderViewNode
standard HRESULT processing can be applied to returned value.
| HRESULT IRnActiveWidget::SetWidgetGroupId | ( | GUID | gGroupId | ) |
SetWidgetGroupId
| gGroupId | [in] GUID for widget group. |
| HRESULT IRnActiveWidget::GetWidgetGroupId | ( | GUID * | pgGroupId | ) |
GetWidgetGroupId
standard HRESULT processing can be applied to returned value.
| HRESULT IRnActiveWidget::SendOnActivateDoMessage | ( | IRcUndoRedoGroup * | pUndoRedo | ) |
SendOnActivateDoMessage
| pUndoRedo | [in] . |
| HRESULT IRnActiveWidget::SendOnActivateUndoMessage | ( | IRcUndoRedoGroup * | pUndoRedo | ) |
SendOnActivateUndoMessage
| pUndoRedo | [in] . |
| HRESULT IRnActiveWidget::SendOnDeactivateDoMessage | ( | IRcUndoRedoGroup * | pUndoRedo | ) |
SendOnDeactivateDoMessage
| pUndoRedo | [in] . |
| HRESULT IRnActiveWidget::SendOnDeactivateUndoMessage | ( | IRcUndoRedoGroup * | pUndoRedo | ) |
SendOnDeactivateUndoMessage
| pUndoRedo | [in] . |
| HRESULT IRnActiveWidget::CheckActivationPossible | ( | RtBool * | pbActivationPossible | ) |
CheckActivationPossible
| pbActivationPossible | [out] Boolean value returned. |
| HRESULT IRnActiveWidget::GetWidgetActivationEvent | ( | RtMouseEvent * | pEvent, | |
| IRsNode ** | ppViewNode | |||
| ) |
GetWidgetActivationEvent
| pEvent | [in] . |
standard HRESULT processing can be applied to returned value.
| HRESULT IRnActiveWidget::SetWidgetActivationEvent | ( | RtMouseEvent * | pEvent, | |
| IRsNode * | pViewNode | |||
| ) |
SetWidgetActivationEvent
| pEvent | . | |
| pViewNode | . |
| HRESULT IRnActiveWidget::UpdateWidgetVisibility | ( | ) |
UpdateWidgetVisibility
| HRESULT IRnActiveWidget::SetEventHandling | ( | [in] RtBool | bEnable | ) |
SetEventHandling
| bEnable | [in] . |
| HRESULT IRnActiveWidget::GetActiveCamera | ( | IRsNode ** | ppCamera | ) |
GetActiveCamera
standard HRESULT processing can be applied to returned value.
| HRESULT IRnActiveWidget::SetLocalVisibility | ( | [in] RtBool | bVisible | ) |
Set widget local visibility. Widget is visible if it is enabled in desktop and is set visible and coordinate systems and docking positions allow widget rendering.
| bVisible | [in] Set to true if widget is visible. |
| HRESULT IRnActiveWidget::GetLocalVisibility | ( | [out, retval] RtBool * | pbVisible | ) |
Get widget local visibility.
| pbVisible | [out, retval] Set to true if widget is local visible. |
1.5.5