Plasma Engine  2.0
Loading...
Searching...
No Matches
plManipulatorScaleGizmo Class Reference

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

#include <ScaleGizmo.h>

Inheritance diagram for plManipulatorScaleGizmo:

Protected Member Functions

virtual void OnTransformationChanged (const plTransform &transform) override
 
- Protected Member Functions inherited from plScaleGizmo
virtual void DoFocusLost (bool bCancel) override
 
virtual plEditorInput DoMousePressEvent (QMouseEvent *e) override
 
virtual plEditorInput DoMouseReleaseEvent (QMouseEvent *e) override
 
virtual plEditorInput DoMouseMoveEvent (QMouseEvent *e) override
 
virtual void OnSetOwner (plQtEngineDocumentWindow *pOwnerWindow, plQtEngineViewWidget *pOwnerView) override
 
virtual void OnVisibleChanged (bool bVisible) override
 
- Protected Member Functions inherited from plEditorInputContext
virtual plEditorInput DoKeyPressEvent (QKeyEvent *e)
 
virtual plEditorInput DoKeyReleaseEvent (QKeyEvent *e)
 
virtual plEditorInput DoWheelEvent (QWheelEvent *e)
 

Additional Inherited Members

- Public Types inherited from plEditorInputContext
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 plScaleGizmo
const plVec3GetScalingResult () const
 
virtual void UpdateStatusBarText (plQtEngineDocumentWindow *pWindow) override
 
- Public Member Functions inherited from plGizmo
void SetVisible (bool bVisible)
 
bool IsVisible () const
 
void SetTransformation (const plTransform &transform)
 
const plTransformGetTransformation () const
 
void ConfigureInteraction (plGizmoHandle *pHandle, const plCamera *pCamera, const plVec3 &vInteractionPivot, const plVec2I32 &vViewport)
 
- Public Member Functions inherited from plEditorInputContext
void FocusLost (bool bCancel)
 
plEditorInput KeyPressEvent (QKeyEvent *e)
 
plEditorInput KeyReleaseEvent (QKeyEvent *e)
 
plEditorInput MousePressEvent (QMouseEvent *e)
 
plEditorInput MouseReleaseEvent (QMouseEvent *e)
 
plEditorInput MouseMoveEvent (QMouseEvent *e)
 
plEditorInput WheelEvent (QWheelEvent *e)
 
void MakeActiveInputContext (bool bActive=true)
 
bool IsActiveInputContext () const
 
void SetOwner (plQtEngineDocumentWindow *pOwnerWindow, plQtEngineViewWidget *pOwnerView)
 
plQtEngineDocumentWindowGetOwnerWindow () const
 
plQtEngineViewWidgetGetOwnerView () 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
 
plVec2I32 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.
 
plVec2I32 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 plReflectedClass
virtual const plRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const plRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
PL_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 plEditorInputContext
static void SetActiveInputContext (plEditorInputContext *pContext)
 
static bool IsAnyInputContextActive ()
 
static plEditorInputContextGetActiveInputContext ()
 
static void UpdateActiveInputContext ()
 
- Static Public Member Functions inherited from plNoBase
static const plRTTIGetStaticRTTI ()
 
- Public Attributes inherited from plGizmo
plEvent< const plGizmoEvent & > m_GizmoEvents
 
- Protected Attributes inherited from plScaleGizmo
plEngineGizmoHandle m_hAxisX
 
plEngineGizmoHandle m_hAxisY
 
plEngineGizmoHandle m_hAxisZ
 
plEngineGizmoHandle m_hAxisXYZ
 
- Protected Attributes inherited from plGizmo
const plCameram_pCamera
 
plGizmoHandlem_pInteractionGizmoHandle
 
plVec3 m_vInteractionPivot
 
plVec2I32 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 plTransformManipulatorAdapter.

Member Function Documentation

◆ OnTransformationChanged()

void plManipulatorScaleGizmo::OnTransformationChanged ( const plTransform & transform)
overrideprotectedvirtual

Reimplemented from plScaleGizmo.


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