LibreOffice Module svx (master) 1
Public Member Functions | Private Attributes | List of all members
E3dDragMove Class Referencefinal

#include <dragmt3d.hxx>

Inheritance diagram for E3dDragMove:
[legend]
Collaboration diagram for E3dDragMove:
[legend]

Public Member Functions

 E3dDragMove (SdrDragView &rView, const SdrMarkList &rMark, SdrHdlKind eDrgHdl, 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

SdrHdlKind meWhatDragHdl
 
Point maScaleFixPos
 

Additional Inherited Members

- Protected Member Functions inherited from SdrDragMethod
void clearSdrDragEntries ()
 
void addSdrDragEntry (std::unique_ptr< SdrDragEntry > pNew)
 
virtual void createSdrDragEntries ()
 
virtual void createSdrDragEntryForSdrObject (const SdrObject &rOriginal)
 
void insertNewlyCreatedOverlayObjectForSdrDragMethod (std::unique_ptr< sdr::overlay::OverlayObject > pOverlayObject, const sdr::contact::ObjectContact &rObjectContact, sdr::overlay::OverlayManager &rOverlayManager)
 
SdrDragViewgetSdrDragView ()
 
const SdrDragViewgetSdrDragView () const
 
void setMoveOnly (bool bNew)
 
void setSolidDraggingActive (bool bNew)
 
void createSdrDragEntries_SolidDrag ()
 
void createSdrDragEntries_PolygonDrag ()
 
void createSdrDragEntries_PointDrag ()
 
void createSdrDragEntries_GlueDrag ()
 
OUString ImpGetDescriptionStr (TranslateId pStrCacheID) const
 
SdrHdlGetDragHdl () const
 
SdrHdlKind GetDragHdlKind () const
 
SdrDragStatDragStat ()
 
const SdrDragStatDragStat () const
 
PointRef1 () const
 
PointRef2 () const
 
const SdrHdlListGetHdlList () const
 
void AddUndo (std::unique_ptr< SdrUndoAction > pUndo)
 
bool IsDragLimit ()
 
const tools::RectangleGetDragLimitRect ()
 
const SdrMarkListGetMarkedObjectList ()
 
Point GetSnapPos (const Point &rPt) const
 
SdrSnap SnapPos (Point &rPt) const
 
const tools::RectangleGetMarkedRect () const
 
SdrPageViewGetDragPV () const
 
SdrObjectGetDragObj () const
 
bool IsDraggingPoints () const
 
bool IsDraggingGluePoints () const
 
bool DoAddConnectorOverlays ()
 
drawinglayer::primitive2d::Primitive2DContainer AddConnectorOverlays ()
 
- Protected Attributes inherited from E3dDragMethod
::std::vector< E3dDragMethodUnitmaGrp
 
E3dDragConstraint meConstraint
 
Point maLastPos
 
tools::Rectangle maFullBound
 
bool mbMoveFull
 
bool mbMovedAtAll
 

Detailed Description

Definition at line 102 of file dragmt3d.hxx.

Constructor & Destructor Documentation

◆ E3dDragMove()

E3dDragMove::E3dDragMove ( SdrDragView rView,
const SdrMarkList rMark,
SdrHdlKind  eDrgHdl,
E3dDragConstraint  eConstr,
bool  bFull 
)

Member Function Documentation

◆ GetSdrDragPointer()

PointerStyle E3dDragMove::GetSdrDragPointer ( ) const
overridevirtual

Implements SdrDragMethod.

Definition at line 727 of file dragmt3d.cxx.

◆ MoveSdrDrag()

void E3dDragMove::MoveSdrDrag ( const Point rPnt)
overridevirtual

Reimplemented from E3dDragMethod.

Definition at line 506 of file dragmt3d.cxx.

References basegfx::B3DPolyPolygon::clear(), E3dObject::CreateWireframe(), SdrDragMethod::DragStat(), E3dObject::GetBoundVolume(), basegfx::B3DRange::getCenter(), drawinglayer::geometry::ViewInformation3D::getDeviceToView(), MouseEvent::GetModifier(), sdr::contact::ViewContactOfE3dScene::getObjectTransformation(), drawinglayer::geometry::ViewInformation3D::getOrientation(), drawinglayer::geometry::ViewInformation3D::getProjection(), E3dObject::getRootE3dSceneFromE3dObject(), SdrDragMethod::getSdrDragView(), SdrDragStat::GetStart(), 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::Tuple3D< typename TYPE >::getZ(), SdrDragMethod::Hide(), basegfx::B2DHomMatrix::invert(), basegfx::B3DHomMatrix::invert(), KEY_MOD2, Left, Lower, E3dDragMethodUnit::maDisplayTransform, E3dDragMethod::maGrp, E3dDragMethodUnit::maInitTransform, E3dDragMethodUnit::maInvDisplayTransform, E3dDragMethod::maLastPos, maScaleFixPos, E3dDragMethodUnit::maTransform, E3dDragMethodUnit::maWireframePoly, E3dDragMethod::mbMoveFull, meWhatDragHdl, Move, E3dDragMethod::MoveSdrDrag(), E3dDragMethodUnit::mr3DObj, SdrDragStat::NextMove(), Right, basegfx::B3DHomMatrix::scale(), E3dObject::SetTransform(), basegfx::Tuple3D< typename TYPE >::setX(), basegfx::Tuple3D< typename TYPE >::setY(), basegfx::Tuple3D< typename TYPE >::setZ(), SdrDragMethod::Show(), basegfx::B3DPolyPolygon::transform(), basegfx::B3DHomMatrix::translate(), Upper, Point::X(), and Point::Y().

Member Data Documentation

◆ maScaleFixPos

Point E3dDragMove::maScaleFixPos
private

Definition at line 105 of file dragmt3d.hxx.

Referenced by E3dDragMove(), and MoveSdrDrag().

◆ meWhatDragHdl

SdrHdlKind E3dDragMove::meWhatDragHdl
private

Definition at line 104 of file dragmt3d.hxx.

Referenced by E3dDragMove(), and MoveSdrDrag().


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