LibreOffice Module svx (master)
1
|
#include <dlgctl3d.hxx>
Protected Member Functions | |
void | Construct () |
Protected Attributes | |
std::unique_ptr< FmFormModel > | mpModel |
FmFormPage * | mpFmPage |
std::unique_ptr< E3dView > | mp3DView |
E3dScene * | mpScene |
E3dObject * | mp3DObj |
SvxPreviewObjectType | mnObjectType |
Additional Inherited Members | |
![]() | |
static bool | IsUpdateMode () |
Definition at line 38 of file dlgctl3d.hxx.
Svx3DPreviewControl::Svx3DPreviewControl | ( | ) |
Definition at line 47 of file dlgctl3d.cxx.
References SPHERE.
|
overridevirtual |
Definition at line 65 of file dlgctl3d.cxx.
|
protected |
Definition at line 71 of file dlgctl3d.cxx.
References COL_WHITE, DEG2RAD, weld::CustomWidgetController::EnableRTL(), weld::DrawingArea::get_ref_device(), E3dObject::GetBoundVolume(), E3dScene::GetCamera(), weld::CustomWidgetController::GetDrawingArea(), basegfx::B3DRange::getHeight(), basegfx::B3DRange::getMaxZ(), E3dObject::GetTransform(), basegfx::B3DRange::getWidth(), FmFormPage::InsertObject(), mp3DView, mpFmPage, mpModel, mpScene, basegfx::B3DHomMatrix::rotate(), Camera3D::SetAutoAdjustProjection(), E3dScene::SetCamera(), Camera3D::SetFocalLength(), OutputDevice::SetMapMode(), SdrObject::SetMergedItemSet(), SetObjectType(), Camera3D::SetPosAndLookAt(), E3dScene::SetRectsDirty(), E3dScene::SetTransform(), Camera3D::SetViewWindow(), SPHERE, XATTR_FILL_FIRST(), XATTR_FILLBITMAP(), and XATTR_LINESTYLE().
Referenced by SetDrawingArea().
SfxItemSet const & Svx3DPreviewControl::Get3DAttributes | ( | ) | const |
Definition at line 227 of file dlgctl3d.cxx.
References SdrObject::GetMergedItemSet(), and mp3DObj.
Referenced by Svx3DLightControl::GetLightColor(), Svx3DLightControl::GetLightDirection(), and Svx3DLightControl::GetLightOnOff().
|
inline |
Definition at line 60 of file dlgctl3d.hxx.
Referenced by MouseButtonDown().
|
overridevirtual |
Reimplemented from weld::CustomWidgetController.
Reimplemented in Svx3DLightControl.
Definition at line 162 of file dlgctl3d.cxx.
References CUBE, GetObjectType(), MouseEvent::IsMod1(), MouseEvent::IsShift(), SetObjectType(), and SPHERE.
Referenced by Svx3DLightControl::MouseButtonDown().
|
overridevirtual |
Implements weld::CustomWidgetController.
Reimplemented in Svx3DLightControl.
Definition at line 157 of file dlgctl3d.cxx.
References mp3DView.
Referenced by Svx3DLightControl::Paint().
|
overridevirtual |
Reimplemented from weld::CustomWidgetController.
Reimplemented in Svx3DLightControl.
Definition at line 142 of file dlgctl3d.cxx.
References weld::DrawingArea::get_ref_device(), weld::CustomWidgetController::GetDrawingArea(), weld::CustomWidgetController::GetOutputSizePixel(), Size::Height(), mpFmPage, mpScene, OutputDevice::PixelToLogic(), Point, SdrPage::SetSize(), SdrObject::SetSnapRect(), and Size::Width().
Referenced by Set3DAttributes().
|
virtual |
Reimplemented in Svx3DLightControl.
Definition at line 232 of file dlgctl3d.cxx.
References weld::CustomWidgetController::Invalidate(), mp3DObj, Resize(), and SdrObject::SetMergedItemSet().
Referenced by Svx3DLightControl::Set3DAttributes().
|
overridevirtual |
Reimplemented from weld::CustomWidgetController.
Reimplemented in Svx3DLightControl.
Definition at line 55 of file dlgctl3d.cxx.
References Construct(), weld::DrawingArea::get_ref_device(), OutputDevice::LogicToPixel(), weld::Widget::set_size_request(), and weld::CustomWidgetController::SetOutputSizePixel().
Referenced by Svx3DLightControl::SetDrawingArea().
|
virtual |
Reimplemented in Svx3DLightControl.
Definition at line 178 of file dlgctl3d.cxx.
References CUBE, SdrObject::Free(), SdrObject::GetMergedItemSet(), SdrObject::GetOrdNum(), E3dScene::InsertObject(), weld::CustomWidgetController::Invalidate(), mnObjectType, mp3DObj, mp3DView, mpModel, mpScene, E3dScene::RemoveObject(), SdrObject::SetMergedItemSet(), and SPHERE.
Referenced by Construct(), MouseButtonDown(), and Svx3DLightControl::SetObjectType().
|
protected |
Definition at line 46 of file dlgctl3d.hxx.
Referenced by SetObjectType().
|
protected |
Definition at line 45 of file dlgctl3d.hxx.
Referenced by Get3DAttributes(), Set3DAttributes(), SetObjectType(), Svx3DLightControl::SetObjectType(), Svx3DLightControl::SetPosition(), Svx3DLightControl::SetRotation(), and Svx3DLightControl::TrySelection().
|
protected |
Definition at line 43 of file dlgctl3d.hxx.
Referenced by Construct(), Svx3DLightControl::Construct2(), Svx3DLightControl::ConstructLightObjects(), Paint(), SetObjectType(), and ~Svx3DPreviewControl().
|
protected |
Definition at line 42 of file dlgctl3d.hxx.
Referenced by Construct(), Resize(), and Svx3DLightControl::Resize().
|
protected |
Definition at line 41 of file dlgctl3d.hxx.
Referenced by Svx3DLightControl::AdaptToSelectedLight(), Construct(), Svx3DLightControl::Construct2(), Svx3DLightControl::ConstructLightObjects(), SetObjectType(), Svx3DLightControl::SetPosition(), and ~Svx3DPreviewControl().
|
protected |
Definition at line 44 of file dlgctl3d.hxx.
Referenced by Construct(), Svx3DLightControl::Construct2(), Svx3DLightControl::ConstructLightObjects(), Resize(), Svx3DLightControl::Resize(), SetObjectType(), Svx3DLightControl::SetPosition(), and Svx3DLightControl::TrySelection().