LibreOffice Module svx (master) 1
|
#include <dragmt3d.hxx>
Public Member Functions | |
E3dDragRotate (SdrDragView &rView, const SdrMarkList &rMark, E3dDragConstraint eConstr, bool bFull) | |
virtual void | MoveSdrDrag (const Point &rPnt) override |
virtual PointerStyle | GetSdrDragPointer () const override |
Public Member Functions inherited from E3dDragMethod | |
E3dDragMethod (SdrDragView &rView, const SdrMarkList &rMark, E3dDragConstraint eConstr, bool bFull) | |
virtual OUString | GetSdrDragComment () const override |
virtual bool | BeginSdrDrag () override |
virtual void | MoveSdrDrag (const Point &rPnt) override |
virtual void | CancelSdrDrag () override |
virtual bool | EndSdrDrag (bool bCopy) override |
virtual void | CreateOverlayGeometry (sdr::overlay::OverlayManager &rOverlayManager, const sdr::contact::ObjectContact &rObjectContact) override |
Public Member Functions inherited from SdrDragMethod | |
void | resetSdrDragEntries () |
basegfx::B2DRange | getCurrentRange () const |
SdrDragMethod (SdrDragView &rNewView) | |
virtual | ~SdrDragMethod () |
void | Show () |
void | Hide () |
bool | IsShiftPressed () const |
void | SetShiftPressed (bool bShiftPressed) |
virtual OUString | GetSdrDragComment () const =0 |
virtual bool | BeginSdrDrag ()=0 |
virtual void | MoveSdrDrag (const Point &rPnt)=0 |
virtual bool | EndSdrDrag (bool bCopy)=0 |
virtual void | CancelSdrDrag () |
virtual PointerStyle | GetSdrDragPointer () const =0 |
virtual void | CreateOverlayGeometry (sdr::overlay::OverlayManager &rOverlayManager, const sdr::contact::ObjectContact &rObjectContact) |
void | destroyOverlayGeometry () |
virtual basegfx::B2DHomMatrix | getCurrentTransformation () const |
virtual void | applyCurrentTransformationToSdrObject (SdrObject &rTarget) |
virtual void | applyCurrentTransformationToPolyPolygon (basegfx::B2DPolyPolygon &rTarget) |
bool | getMoveOnly () const |
bool | getSolidDraggingActive () const |
Private Attributes | |
basegfx::B3DPoint | maGlobalCenter |
Definition at line 86 of file dragmt3d.hxx.
E3dDragRotate::E3dDragRotate | ( | SdrDragView & | rView, |
const SdrMarkList & | rMark, | ||
E3dDragConstraint | eConstr, | ||
bool | bFull | ||
) |
Definition at line 272 of file dragmt3d.cxx.
References E3dObject::GetBoundVolume(), basegfx::B3DRange::getCenter(), drawinglayer::geometry::ViewInformation3D::getDeviceToView(), sdr::contact::ViewContactOfE3dScene::getObjectTransformation(), drawinglayer::geometry::ViewInformation3D::getOrientation(), drawinglayer::geometry::ViewInformation3D::getProjection(), SdrObject::GetViewContact(), sdr::contact::ViewContactOfE3dScene::getViewInformation3D(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple3D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), basegfx::Tuple3D< typename TYPE >::getY(), basegfx::B2DHomMatrix::invert(), basegfx::B3DHomMatrix::invert(), E3dDragMethodUnit::maDisplayTransform, maGlobalCenter, E3dDragMethod::maGrp, E3dDragMethodUnit::maInitTransform, E3dDragMethodUnit::mr3DObj, SdrDragMethod::Ref1(), basegfx::Tuple3D< typename TYPE >::setX(), basegfx::Tuple3D< typename TYPE >::setY(), X, and Y.
|
overridevirtual |
Implements SdrDragMethod.
Definition at line 447 of file dragmt3d.cxx.
|
overridevirtual |
Reimplemented from E3dDragMethod.
Definition at line 331 of file dragmt3d.cxx.
References basegfx::deg2rad(), SdrDragMethod::DragStat(), GetAngle(), tools::Rectangle::GetHeight(), MouseEvent::GetModifier(), drawinglayer::geometry::ViewInformation3D::getOrientation(), E3dObject::getRootE3dSceneFromE3dObject(), SdrDragMethod::getSdrDragView(), SdrObject::GetViewContact(), sdr::contact::ViewContactOfE3dScene::getViewInformation3D(), tools::Rectangle::GetWidth(), basegfx::Tuple3D< typename TYPE >::getX(), basegfx::Tuple3D< typename TYPE >::getY(), basegfx::Tuple3D< typename TYPE >::getZ(), SdrDragMethod::Hide(), basegfx::B3DHomMatrix::invert(), SdrEditView::IsRotateAllowed(), KEY_MOD2, E3dDragMethodUnit::maDisplayTransform, E3dDragMethod::maFullBound, maGlobalCenter, E3dDragMethod::maGrp, E3dDragMethodUnit::maInvDisplayTransform, E3dDragMethod::maLastPos, E3dDragMethodUnit::maTransform, E3dDragMethodUnit::maWireframePoly, E3dDragMethod::mbMoveFull, E3dDragMethod::meConstraint, E3dDragMethodUnit::mnLastAngle, E3dDragMethodUnit::mnStartAngle, E3dDragMethod::MoveSdrDrag(), E3dDragMethodUnit::mr3DObj, SdrDragStat::NextMove(), NormAngle36000(), basegfx::B3DHomMatrix::rotate(), E3dObject::SetTransform(), SdrDragMethod::Show(), toDegrees(), basegfx::B3DPolyPolygon::transform(), basegfx::B3DHomMatrix::translate(), Point::X(), X, Point::Y(), Y, and Z.
|
private |
Definition at line 88 of file dragmt3d.hxx.
Referenced by E3dDragRotate(), and MoveSdrDrag().