20#ifndef INCLUDED_SVX_DLGCTL3D_HXX
21#define INCLUDED_SVX_DLGCTL3D_HXX
57 virtual void Resize()
override;
62 virtual void Set3DAttributes(
const SfxItemSet& rAttr);
96 void ConstructLightObjects();
97 void AdaptToSelectedLight();
98 void TrySelection(
Point aPosPixel);
109 virtual void Resize()
override;
118 bool IsSelectionValid();
122 void GetPosition(
double& rHor,
double& rVer);
123 void SetPosition(
double fHor,
double fVer);
126 void SetRotation(
double fRotX,
double fRotY,
double fRotZ);
127 void GetRotation(
double& rRotX,
double& rRotY,
double& rRotZ);
129 void SelectLight(sal_uInt32 nLightNumber);
130 virtual void Set3DAttributes(
const SfxItemSet& rAttr)
override;
134 bool GetLightOnOff(sal_uInt32 nNum)
const;
135 Color GetLightColor(sal_uInt32 nNum)
const;
177 void move(
double fDeltaHor,
double fDeltaVer );
Derived class of SdrView to edit 3D objects.
sal_uInt32 maSelectedLight
Link< Svx3DLightControl *, void > maChangeCallback
rtl::Reference< E3dObject > mpExpansionObject
void SetChangeCallback(Link< Svx3DLightControl *, void > aNew)
double mfSaveActionStartVer
std::vector< E3dObject * > maLightObjects
void SetSelectionChangeCallback(Link< Svx3DLightControl *, void > aNew)
double mfSaveActionStartHor
double mfSaveActionStartRotZ
bool IsGeometrySelected() const
rtl::Reference< E3dObject > mpLampBottomObject
rtl::Reference< E3dObject > mpLampShaftObject
Link< Svx3DLightControl *, void > maSelectionChangeCallback
sal_uInt32 GetSelectedLight() const
SvxPreviewObjectType GetObjectType() const
std::unique_ptr< FmFormModel > mpModel
std::unique_ptr< E3dView > mp3DView
rtl::Reference< E3dObject > mp3DObj
rtl::Reference< E3dScene > mpScene
rtl::Reference< FmFormPage > mxFmPage
SvxPreviewObjectType mnObjectType
void SetUserSelectionChangeCallback(Link< SvxLightCtl3D *, void > aNew)
weld::Scale & mrHorScroller
Svx3DLightControl & mrLightControl
DECL_DLLPRIVATE_LINK(KeyInput, const KeyEvent &, bool)
DECL_DLLPRIVATE_LINK(InternalSelectionChange, Svx3DLightControl *, void)
Link< SvxLightCtl3D *, void > maUserSelectionChangeCallback
DECL_DLLPRIVATE_LINK(InternalInteractiveChange, Svx3DLightControl *, void)
Link< SvxLightCtl3D *, void > maUserInteractiveChangeCallback
weld::Button & mrSwitcher
DECL_DLLPRIVATE_LINK(ButtonPress, weld::Button &, void)
DECL_DLLPRIVATE_LINK(ScrollBarMove, weld::Scale &, void)
DECL_DLLPRIVATE_LINK(FocusIn, weld::Widget &, void)
weld::Scale & mrVerScroller
void SetUserInteractiveChangeCallback(Link< SvxLightCtl3D *, void > aNew)
Svx3DLightControl & GetSvx3DLightControl()
void CheckSelection(struct ESelection &rSel, SvxTextForwarder const *pForwarder) noexcept