XII Release 0.1.0
Loading...
Searching...
No Matches
xiiManipulatorScaleGizmo Class Reference

Scale gizmo version that only uses boxes that can be composited with rotate and translate gizmos without major overlap. Used by the xiiTransformManipulatorAdapter. More...

#include <ScaleGizmo.h>

Inheritance diagram for xiiManipulatorScaleGizmo:
[legend]

Protected Member Functions

virtual void OnTransformationChanged (const xiiTransform &transform) override
 
- Protected Member Functions inherited from xiiScaleGizmo
virtual void DoFocusLost (bool bCancel) override
 
virtual xiiEditorInput DoMousePressEvent (QMouseEvent *e) override
 
virtual xiiEditorInput DoMouseReleaseEvent (QMouseEvent *e) override
 
virtual xiiEditorInput DoMouseMoveEvent (QMouseEvent *e) override
 
virtual void OnSetOwner (xiiQtEngineDocumentWindow *pOwnerWindow, xiiQtEngineViewWidget *pOwnerView) override
 
virtual void OnVisibleChanged (bool bVisible) override
 
- Protected Member Functions inherited from xiiEditorInputContext
virtual void OnActivated ()
 
virtual void OnDeactivated ()
 
virtual xiiEditorInput DoKeyPressEvent (QKeyEvent *e)
 
virtual xiiEditorInput DoKeyReleaseEvent (QKeyEvent *e)
 
virtual xiiEditorInput DoWheelEvent (QWheelEvent *e)
 

Additional Inherited Members

- Public Types inherited from xiiEditorInputContext
enum class  MouseMode { Normal , WrapAtScreenBorders , HideAndWrapAtScreenBorders }
 How the mouse position is updated when the mouse cursor reaches the screen borders. More...
 
- Public Member Functions inherited from xiiScaleGizmo
const xiiVec3GetScalingResult () const
 
virtual void UpdateStatusBarText (xiiQtEngineDocumentWindow *pWindow) override
 
- Public Member Functions inherited from xiiGizmo
void SetVisible (bool bVisible)
 
bool IsVisible () const
 
void SetTransformation (const xiiTransform &transform)
 
const xiiTransformGetTransformation () const
 
void ConfigureInteraction (xiiGizmoHandle *pHandle, const xiiCamera *pCamera, const xiiVec3 &vInteractionPivot, const xiiVec2I32 &vViewport)
 
- Public Member Functions inherited from xiiEditorInputContext
void FocusLost (bool bCancel)
 
xiiEditorInput KeyPressEvent (QKeyEvent *e)
 
xiiEditorInput KeyReleaseEvent (QKeyEvent *e)
 
xiiEditorInput MousePressEvent (QMouseEvent *e)
 
xiiEditorInput MouseReleaseEvent (QMouseEvent *e)
 
xiiEditorInput MouseMoveEvent (QMouseEvent *e)
 
xiiEditorInput WheelEvent (QWheelEvent *e)
 
void MakeActiveInputContext (bool bActive=true)
 
bool IsActiveInputContext () const
 
void SetOwner (xiiQtEngineDocumentWindow *pOwnerWindow, xiiQtEngineViewWidget *pOwnerView)
 
xiiQtEngineDocumentWindowGetOwnerWindow () const
 
xiiQtEngineViewWidgetGetOwnerView () const
 
bool GetShortcutsDisabled () const
 
void SetShortcutsDisabled (bool bDisabled)
 If set to true, the surrounding window will ensure to block all shortcuts and instead send keypress events to the input context.
 
virtual bool IsPickingSelectedAllowed () const
 
xiiVec2I32 SetMouseMode (MouseMode mode)
 Sets how the mouse will act when it reaches the screen border. UpdateMouseMode() must be called on every mouseMoveEvent to update the state.
 
xiiVec2I32 UpdateMouseMode (QMouseEvent *e)
 Updates the mouse position. Can always be called but will only have an effect if SetMouseMode() was called with one of the wrap modes.
 
- Public Member Functions inherited from xiiReflectedClass
virtual const xiiRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const xiiRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T>
XII_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 
- Static Public Member Functions inherited from xiiEditorInputContext
static void SetActiveInputContext (xiiEditorInputContext *pContext)
 
static bool IsAnyInputContextActive ()
 
static xiiEditorInputContextGetActiveInputContext ()
 
static void UpdateActiveInputContext ()
 
- Static Public Member Functions inherited from xiiNoBase
static const xiiRTTIGetStaticRTTI ()
 
- Public Attributes inherited from xiiGizmo
xiiEvent< const xiiGizmoEvent & > m_GizmoEvents
 
- Protected Attributes inherited from xiiScaleGizmo
xiiEngineGizmoHandle m_hAxisX
 
xiiEngineGizmoHandle m_hAxisY
 
xiiEngineGizmoHandle m_hAxisZ
 
xiiEngineGizmoHandle m_hAxisXYZ
 
- Protected Attributes inherited from xiiGizmo
const xiiCameram_pCamera
 
xiiGizmoHandlem_pInteractionGizmoHandle
 
xiiVec3 m_vInteractionPivot
 
xiiVec2I32 m_vViewport
 

Detailed Description

Scale gizmo version that only uses boxes that can be composited with rotate and translate gizmos without major overlap. Used by the xiiTransformManipulatorAdapter.

Member Function Documentation

◆ OnTransformationChanged()

void xiiManipulatorScaleGizmo::OnTransformationChanged ( const xiiTransform & transform)
overrideprotectedvirtual

Reimplemented from xiiScaleGizmo.


The documentation for this class was generated from the following files: