LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
E3dObject Class Reference

#include <obj3d.hxx>

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

Public Member Functions

virtual void StructureChanged ()
 
virtual void SetTransformChanged ()
 
virtual void RecalcSnapRect () override
 Snap is not done on the BoundRect but if possible on logic coordinates (i.e. More...
 
virtual SdrInventor GetObjInventor () const override
 
virtual sal_uInt16 GetObjIdentifier () const override
 
virtual void TakeObjInfo (SdrObjTransformInfoRec &rInfo) const override
 
virtual void NbcMove (const Size &rSize) override
 The methods Move, Resize, Rotate, Mirror, Shear, SetSnapRect and SetLogicRect call the corresponding Nbc-methods, send a Repaint broadcast and set the Modified state on the Model. More...
 
virtual void NbcResize (const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
 
E3dScenegetParentE3dSceneFromE3dObject () const
 
virtual E3dScenegetRootE3dSceneFromE3dObject () const
 
const basegfx::B3DRangeGetBoundVolume () const
 
void InvalidateBoundVolume ()
 
const basegfx::B3DHomMatrixGetFullTransform () const
 
const basegfx::B3DHomMatrixGetTransform () const
 
virtual void NbcSetTransform (const basegfx::B3DHomMatrix &rMatrix)
 
virtual void SetTransform (const basegfx::B3DHomMatrix &rMatrix)
 
virtual void NbcRotate (const Point &rRef, long nAngle, double sn, double cs) override
 
basegfx::B3DPolyPolygon CreateWireframe () const
 
virtual OUString TakeObjNameSingul () const override
 
virtual OUString TakeObjNamePlural () const override
 
virtual E3dObjectCloneSdrObject (SdrModel &rTargetModel) const override
 
E3dObjectoperator= (const E3dObject &rObj)
 
virtual SdrObjGeoDataNewGeoData () const override
 A derived class must override these 3 methods if it has own geometric data that must be saved for Undo. More...
 
virtual void SaveGeoData (SdrObjGeoData &rGeo) const override
 
virtual void RestGeoData (const SdrObjGeoData &rGeo) override
 
bool GetSelected () const
 
virtual void SetSelected (bool bNew)
 
virtual bool IsBreakObjPossible ()
 
virtual std::unique_ptr< SdrAttrObj, SdrObjectFreeOpGetBreakObj ()
 
- Public Member Functions inherited from SdrAttrObj
 SdrAttrObj (SdrAttrObj const &)=delete
 
 SdrAttrObj (SdrAttrObj &&)=delete
 
SdrAttrObjoperator= (SdrAttrObj const &)=default
 
SdrAttrObjoperator= (SdrAttrObj &&)=default
 
bool HasFill () const
 
bool HasLine () const
 
virtual const tools::RectangleGetSnapRect () const override
 
- Public Member Functions inherited from SdrObject
const SdrObjectgetFillGeometryDefiningShape () const
 
 SdrObject (SdrModel &rSdrModel)
 
SdrPagegetSdrPageFromSdrObject () const
 
SdrModelgetSdrModelFromSdrObject () const
 
virtual SdrObjListgetChildrenOfSdrObject () const
 
SdrObjListgetParentSdrObjListFromSdrObject () const
 
SdrObjectgetParentSdrObjectFromSdrObject () const
 
virtual void handlePageChange (SdrPage *pOldPage, SdrPage *pNewPage)
 
void AddObjectUser (sdr::ObjectUser &rNewUser)
 
void RemoveObjectUser (sdr::ObjectUser &rOldUser)
 
sdr::contact::ViewContactGetViewContact () const
 
virtual sdr::properties::BasePropertiesGetProperties () const
 
void ActionChanged () const
 
void SetRelativeWidth (double nValue)
 
void SetRelativeWidthRelation (sal_Int16 eValue)
 
void SetRelativeHeight (double nValue)
 
void SetRelativeHeightRelation (sal_Int16 eValue)
 
const double * GetRelativeWidth () const
 
sal_Int16 GetRelativeWidthRelation () const
 
const double * GetRelativeHeight () const
 
sal_Int16 GetRelativeHeightRelation () const
 
void SetDiagramData (std::shared_ptr< DiagramDataInterface > pDiagramData)
 
std::shared_ptr< DiagramDataInterfaceGetDiagramData () const
 
virtual void SetRectsDirty (bool bNotMyself=false, bool bRecursive=true)
 
virtual void SetBoundRectDirty ()
 
SfxItemPoolGetObjectItemPool () const
 
void AddListener (SfxListener &rListener)
 
void RemoveListener (SfxListener &rListener)
 
void AddReference (SdrVirtObj &rVrtObj)
 
void DelReference (SdrVirtObj &rVrtObj)
 
virtual SdrLayerID GetLayer () const
 
virtual void NbcSetLayer (SdrLayerID nLayer)
 
virtual void SetLayer (SdrLayerID nLayer)
 
void getMergedHierarchySdrLayerIDSet (SdrLayerIDSet &rSet) const
 
void SendUserCall (SdrUserCallType eUserCall, const tools::Rectangle &rBoundRect) const
 
void SetName (const OUString &rStr)
 
OUString GetName () const
 
void MakeNameUnique (std::unordered_set< OUString > &rNameSet)
 
void SetTitle (const OUString &rStr)
 
OUString GetTitle () const
 
void SetDescription (const OUString &rStr)
 
OUString GetDescription () const
 
bool IsGroupObject () const
 
virtual SdrObjListGetSubList () const
 
sal_uInt32 GetOrdNum () const
 The order number (aka ZOrder, aka z-index) determines whether a SdrObject is located above or below another. More...
 
void SetOrdNum (sal_uInt32 nNum)
 
void GetGrabBagItem (css::uno::Any &rVal) const
 
void SetGrabBagItem (const css::uno::Any &rVal)
 
sal_uInt32 GetNavigationPosition () const
 
virtual const tools::RectangleGetCurrentBoundRect () const
 
virtual const tools::RectangleGetLastBoundRect () const
 
virtual void RecalcBoundRect ()
 
void BroadcastObjectChange () const
 
const SfxBroadcasterGetBroadcaster () const
 
virtual void SetChanged ()
 
void SingleObjectPainter (OutputDevice &rOut) const
 
bool LineGeometryUsageIsNecessary () const
 
virtual bool HasLimitedRotation () const
 
SdrObjectoperator= (const SdrObject &rObj)
 
virtual basegfx::B2DPolyPolygon TakeXorPoly () const
 The Xor-Polygon is required by the View to drag the object. More...
 
virtual basegfx::B2DPolyPolygon TakeContour () const
 contour for TextToContour More...
 
virtual sal_uInt32 GetHdlCount () const
 Via GetHdlCount the number of Handles can be retrieved. More...
 
virtual void AddToPlusHdlList (SdrHdlList &rHdlList, SdrHdl &rHdl) const
 
virtual void AddToHdlList (SdrHdlList &rHdlList) const
 
virtual void addCropHandles (SdrHdlList &rTarget) const
 
virtual bool hasSpecialDrag () const
 The standard transformations (Move,Resize,Rotate,Mirror,Shear) are taken over by the View (TakeXorPoly(),...). More...
 
virtual bool beginSpecialDrag (SdrDragStat &rDrag) const
 
virtual bool applySpecialDrag (SdrDragStat &rDrag)
 
virtual OUString getSpecialDragComment (const SdrDragStat &rDrag) const
 
virtual basegfx::B2DPolyPolygon getSpecialDragPoly (const SdrDragStat &rDrag) const
 
virtual bool supportsFullDrag () const
 
virtual SdrObjectUniquePtr getFullDragClone () const
 
virtual bool BegCreate (SdrDragStat &rStat)
 Every object must be able to create itself interactively. More...
 
virtual bool MovCreate (SdrDragStat &rStat)
 
virtual bool EndCreate (SdrDragStat &rStat, SdrCreateCmd eCmd)
 
virtual bool BckCreate (SdrDragStat &rStat)
 
virtual void BrkCreate (SdrDragStat &rStat)
 
virtual PointerStyle GetCreatePointer () const
 get the cursor/pointer that signals creating this object More...
 
virtual basegfx::B2DPolyPolygon TakeCreatePoly (const SdrDragStat &rDrag) const
 Polygon dragged by the user when creating the object. More...
 
virtual void NbcCrop (const basegfx::B2DPoint &rRef, double fxFact, double fyFact)
 
virtual void NbcMirror (const Point &rRef1, const Point &rRef2)
 
virtual void NbcShear (const Point &rRef, long nAngle, double tn, bool bVShear)
 
virtual void Move (const Size &rSiz)
 
virtual void Resize (const Point &rRef, const Fraction &xFact, const Fraction &yFact, bool bUnsetRelative=true)
 
virtual void Crop (const basegfx::B2DPoint &rRef, double fxFact, double fyFact)
 
virtual void Rotate (const Point &rRef, long nAngle, double sn, double cs)
 
virtual void Mirror (const Point &rRef1, const Point &rRef2)
 
virtual void Shear (const Point &rRef, long nAngle, double tn, bool bVShear)
 
virtual void NbcSetRelativePos (const Point &rPnt)
 The relative position of a SdrObject is the distance of the upper left corner of the logic bounding rectangle (SnapRect) to the anchor. More...
 
virtual void SetRelativePos (const Point &rPnt)
 
virtual Point GetRelativePos () const
 
void ImpSetAnchorPos (const Point &rPnt)
 
virtual void NbcSetAnchorPos (const Point &rPnt)
 
virtual void SetAnchorPos (const Point &rPnt)
 
virtual void SetSnapRect (const tools::Rectangle &rRect)
 
virtual void NbcSetSnapRect (const tools::Rectangle &rRect)
 
virtual const tools::RectangleGetLogicRect () const
 
virtual void SetLogicRect (const tools::Rectangle &rRect)
 
virtual void NbcSetLogicRect (const tools::Rectangle &rRect)
 
virtual void AdjustToMaxRect (const tools::Rectangle &rMaxRect, bool bShrinkOnly=false)
 
virtual long GetRotateAngle () const
 
virtual long GetShearAngle (bool bVertical=false) const
 
virtual sal_uInt32 GetSnapPointCount () const
 snap to special points of an Object (polygon points, center of circle) More...
 
virtual Point GetSnapPoint (sal_uInt32 i) const
 
virtual bool IsPolyObj () const
 
virtual sal_uInt32 GetPointCount () const
 
virtual Point GetPoint (sal_uInt32 i) const
 
void SetPoint (const Point &rPnt, sal_uInt32 i)
 
virtual void NbcSetPoint (const Point &rPnt, sal_uInt32 i)
 
virtual SdrObjGeoDataGetGeoData () const
 
virtual void SetGeoData (const SdrObjGeoData &rGeo)
 
const SfxItemSetGetMergedItemSet () const
 
void SetMergedItem (const SfxPoolItem &rItem)
 
void ClearMergedItem (const sal_uInt16 nWhich=0)
 
void SetMergedItemSet (const SfxItemSet &rSet, bool bClearAllItems=false)
 
const SfxPoolItemGetMergedItem (const sal_uInt16 nWhich) const
 
template<class T >
const T & GetMergedItem (TypedWhichId< T > nWhich) const
 
void SetMergedItemSetAndBroadcast (const SfxItemSet &rSet, bool bClearAllItems=false)
 
void TakeNotPersistAttr (SfxItemSet &rAttr) const
 
void ApplyNotPersistAttr (const SfxItemSet &rAttr)
 
void NbcApplyNotPersistAttr (const SfxItemSet &rAttr)
 
void SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
 
virtual void NbcSetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
 
SfxStyleSheetGetStyleSheet () const
 
virtual bool HasTextEdit () const
 
void SetOutlinerParaObject (std::unique_ptr< OutlinerParaObject > pTextObject)
 
virtual void NbcSetOutlinerParaObject (std::unique_ptr< OutlinerParaObject > pTextObject)
 
virtual OutlinerParaObjectGetOutlinerParaObject () const
 
virtual void NbcReformatText ()
 
void BurnInStyleSheetAttributes ()
 
virtual bool HasMacro () const
 
virtual SdrObjectCheckMacroHit (const SdrObjMacroHitRec &rRec) const
 
virtual PointerStyle GetMacroPointer (const SdrObjMacroHitRec &rRec) const
 
virtual void PaintMacro (OutputDevice &rOut, const tools::Rectangle &rDirtyRect, const SdrObjMacroHitRec &rRec) const
 
virtual bool DoMacro (const SdrObjMacroHitRec &rRec)
 
bool IsMacroHit (const SdrObjMacroHitRec &rRec) const
 
virtual SdrGluePoint GetVertexGluePoint (sal_uInt16 nNum) const
 
virtual SdrGluePoint GetCornerGluePoint (sal_uInt16 nNum) const
 
virtual const SdrGluePointListGetGluePointList () const
 
virtual SdrGluePointListForceGluePointList ()
 
void SetGlueReallyAbsolute (bool bOn)
 
void NbcRotateGluePoints (const Point &rRef, long nAngle, double sn, double cs)
 
void NbcMirrorGluePoints (const Point &rRef1, const Point &rRef2)
 
void NbcShearGluePoints (const Point &rRef, double tn, bool bVShear)
 
virtual void ConnectToNode (bool bTail1, SdrObject *pObj)
 
virtual void DisconnectFromNode (bool bTail1)
 
virtual SdrObjectGetConnectedNode (bool bTail1) const
 
virtual void SetContextWritingMode (const sal_Int16 _nContextWritingMode)
 
virtual SdrObjectUniquePtr DoConvertToPolyObj (bool bBezier, bool bAddText) const
 
SdrObjectUniquePtr ConvertToPolyObj (bool bBezier, bool bLineToArea) const
 
SdrObjectConvertToContourObj (SdrObject *pRet, bool bForceLineDash=false) const
 
bool IsVirtualObj () const
 
bool IsClosedObj () const
 
void InsertedStateChange ()
 
bool IsInserted () const
 
bool IsEdgeObj () const
 
bool Is3DObj () const
 
bool IsUnoObj () const
 
void SetMoveProtect (bool bProt)
 
bool IsMoveProtect () const
 
void SetResizeProtect (bool bProt)
 
bool IsResizeProtect () const
 
void SetPrintable (bool bPrn)
 
bool IsPrintable () const
 
void SetVisible (bool bVisible)
 
bool IsVisible () const
 
void SetMarkProtect (bool bProt)
 
bool IsMarkProtect () const
 
virtual bool shouldKeepAspectRatio () const
 Whether the aspect ratio should be kept by default when resizing. More...
 
sal_uInt16 GetUserDataCount () const
 
SdrObjUserDataGetUserData (sal_uInt16 nNum) const
 
void AppendUserData (std::unique_ptr< SdrObjUserData > pData)
 
void DeleteUserData (sal_uInt16 nNum)
 
virtual css::uno::Reference< css::uno::XInterface > getUnoShape ()
 
svx::PropertyChangeNotifiergetShapePropertyChangeNotifier ()
 
void notifyShapePropertyChange (const svx::ShapeProperty _eProperty) const
 
virtual bool TRGetBaseGeometry (basegfx::B2DHomMatrix &rMatrix, basegfx::B2DPolyPolygon &rPolyPolygon) const
 
virtual void TRSetBaseGeometry (const basegfx::B2DHomMatrix &rMatrix, const basegfx::B2DPolyPolygon &rPolyPolygon)
 
bool IsInDestruction () const
 
bool HasFillStyle () const
 
bool HasLineStyle () const
 
const tools::RectangleGetBLIPSizeRectangle () const
 
void SetBLIPSizeRectangle (const tools::Rectangle &aRect)
 
virtual bool HasText () const
 
bool Equals (const SdrObject &) const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
virtual bool IsTextBox () const
 Is this a textbox of a drawinglayer shape? More...
 
void SetEmptyPresObj (bool bEpt)
 
bool IsEmptyPresObj () const
 
void SetNotVisibleAsMaster (bool bFlg)
 
bool IsNotVisibleAsMaster () const
 
void SetUserCall (SdrObjUserCall *pUser)
 
SdrObjUserCallGetUserCall () const
 
void SetDoNotInsertIntoPageAutomatically (bool bSet)
 
bool IsDoNotInsertIntoPageAutomatically () const
 
sal_uInt32 GetOrdNumDirect () const
 
bool DoesSupportTextIndentingOnLineWidthChange () const
 
const PointGetAnchorPos () const
 
bool LineIsOutsideGeometry () const
 
void SetNavigationPosition (const sal_uInt32 nPosition)
 
void setUnoShape (const css::uno::Reference< css::uno::XInterface > &_rxUnoShape)
 
const css::uno::WeakReference< css::uno::XInterface > & getWeakUnoShape () const
 
void setSuitableOutlinerBg (Outliner &rOutliner) const
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
- Public Member Functions inherited from tools::WeakBase
 WeakBase ()
 
virtual ~WeakBase ()
 
void clearWeak ()
 

Protected Member Functions

virtual std::unique_ptr< sdr::properties::BasePropertiesCreateObjectSpecificProperties () override
 
virtual basegfx::B3DRange RecalcBoundVolume () const
 
 E3dObject (SdrModel &rSdrModel)
 
virtual ~E3dObject () override
 
- Protected Member Functions inherited from SdrAttrObj
sal_Int32 ImpGetLineWdt () const
 Detects the width of the line. No line ->0. More...
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 Detects when a stylesheet is changed. More...
 
 SdrAttrObj (SdrModel &rSdrModel)
 
virtual ~SdrAttrObj () override
 
- Protected Member Functions inherited from SdrObject
virtual ~SdrObject () override
 
virtual std::unique_ptr< sdr::contact::ViewContactCreateObjectSpecificViewContact ()
 
tools::Rectangle ImpDragCalcRect (const SdrDragStat &rDrag) const
 
OUString ImpGetDescriptionStr (const char *pStrCacheID) const
 
void ImpForcePlusData ()
 
OUString GetMetrStr (long nVal) const
 
const SfxItemSetGetObjectItemSet () const
 
void SetObjectItem (const SfxPoolItem &rItem)
 
void SetObjectItemSet (const SfxItemSet &rSet)
 
const SfxPoolItemGetObjectItem (const sal_uInt16 nWhich) const
 
template<class T >
const T & GetObjectItem (TypedWhichId< T > nWhich) const
 
virtual void impl_setUnoShape (const css::uno::Reference< css::uno::XInterface > &_rxUnoShape)
 Sets a new UNO shape. More...
 
template<typename T >
T * CloneHelper (SdrModel &rTargetModel) const
 

Protected Attributes

basegfx::B3DRange maLocalBoundVol
 
basegfx::B3DHomMatrix maTransformation
 
basegfx::B3DHomMatrix maFullTransform
 
bool mbTfHasChanged: 1
 
bool mbIsSelected: 1
 
- Protected Attributes inherited from SdrAttrObj
tools::Rectangle maSnapRect
 
- Protected Attributes inherited from SdrObject
tools::Rectangle aOutRect
 
Point aAnchor
 
SdrObjUserCallpUserCall
 
std::unique_ptr< SdrObjPlusDatapPlusData
 
bool bVirtObj: 1
 
bool bSnapRectDirty: 1
 
bool bMovProt: 1
 
bool bSizProt: 1
 
bool bEmptyPresObj: 1
 
bool bNotVisibleAsMaster: 1
 
bool bClosedObj: 1
 
bool bIsEdge: 1
 
bool bIs3DObj: 1
 
bool bIsUnoObj: 1
 
bool mbLineIsOutsideGeometry: 1
 
bool mbSupportTextIndentingOnLineWidthChange: 1
 

Friends

class E3dDragMethod
 

Additional Inherited Members

- Static Public Member Functions inherited from SdrObject
static SdrItemPoolGetGlobalDrawObjectItemPool ()
 
static void Free (SdrObject *&_rpObject)
 
static SdrObjectgetSdrObjectFromXShape (const css::uno::Reference< css::uno::XInterface > &xInt)
 

Detailed Description

Definition at line 62 of file obj3d.hxx.

Constructor & Destructor Documentation

E3dObject::E3dObject ( SdrModel rSdrModel)
protected

Definition at line 84 of file obj3d.cxx.

References SdrObject::bClosedObj, SdrObject::bIs3DObj, maTransformation, and mbIsSelected.

E3dObject::~E3dObject ( )
overrideprotectedvirtual

Definition at line 96 of file obj3d.cxx.

Member Function Documentation

E3dObject * E3dObject::CloneSdrObject ( SdrModel rTargetModel) const
overridevirtual

Reimplemented from SdrObject.

Reimplemented in E3dCompoundObject, E3dScene, E3dLatheObj, E3dExtrudeObj, E3dCubeObj, E3dSphereObj, and E3dPolygonObj.

Definition at line 416 of file obj3d.cxx.

std::unique_ptr< sdr::properties::BaseProperties > E3dObject::CreateObjectSpecificProperties ( )
overrideprotectedvirtual

Reimplemented from SdrAttrObj.

Reimplemented in E3dCompoundObject, E3dScene, E3dExtrudeObj, E3dLatheObj, and E3dSphereObj.

Definition at line 79 of file obj3d.cxx.

basegfx::B3DPolyPolygon E3dObject::CreateWireframe ( ) const
const basegfx::B3DRange & E3dObject::GetBoundVolume ( ) const
std::unique_ptr< SdrAttrObj, SdrObjectFreeOp > E3dObject::GetBreakObj ( )
virtual

Reimplemented in E3dLatheObj, and E3dExtrudeObj.

Definition at line 114 of file obj3d.cxx.

Referenced by E3dView::BreakSingle3DObj().

const basegfx::B3DHomMatrix & E3dObject::GetFullTransform ( ) const
sal_uInt16 E3dObject::GetObjIdentifier ( ) const
overridevirtual

Reimplemented from SdrObject.

Reimplemented in E3dCompoundObject, E3dScene, E3dLatheObj, E3dExtrudeObj, E3dCubeObj, E3dSphereObj, and E3dPolygonObj.

Definition at line 124 of file obj3d.cxx.

References E3D_OBJECT_ID.

SdrInventor E3dObject::GetObjInventor ( ) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 119 of file obj3d.cxx.

References E3d.

E3dScene * E3dObject::getParentE3dSceneFromE3dObject ( ) const
E3dScene * E3dObject::getRootE3dSceneFromE3dObject ( ) const
virtual
bool E3dObject::GetSelected ( ) const
inline

Definition at line 135 of file obj3d.hxx.

References mbIsSelected.

Referenced by E3dScene::removeAllNonSelectedObjects().

const basegfx::B3DHomMatrix& E3dObject::GetTransform ( ) const
inline
void E3dObject::InvalidateBoundVolume ( )
bool E3dObject::IsBreakObjPossible ( )
virtual

Reimplemented in E3dScene, E3dLatheObj, and E3dExtrudeObj.

Definition at line 109 of file obj3d.cxx.

Referenced by E3dScene::IsBreakObjPossible().

void E3dObject::NbcMove ( const Size rSiz)
overridevirtual

The methods Move, Resize, Rotate, Mirror, Shear, SetSnapRect and SetLogicRect call the corresponding Nbc-methods, send a Repaint broadcast and set the Modified state on the Model.

Derived classes should usually only override the Nbc methods. Nbc means "no broadcast".

Reimplemented from SdrObject.

Reimplemented in E3dScene.

Definition at line 210 of file obj3d.cxx.

References GetBoundVolume(), GetFullTransform(), tools::Rectangle::GetHeight(), getParentE3dSceneFromE3dObject(), getRootE3dSceneFromE3dObject(), SdrAttrObj::GetSnapRect(), GetTransform(), SdrObject::GetViewContact(), sdr::contact::ViewContactOfE3dScene::getViewInformation3D(), tools::Rectangle::GetWidth(), Size::Height(), basegfx::B3DHomMatrix::invert(), SetTransform(), basegfx::B3DRange::transform(), basegfx::B3DHomMatrix::translate(), and Size::Width().

void E3dObject::NbcResize ( const Point rRef,
const Fraction xFact,
const Fraction yFact 
)
overridevirtual
void E3dObject::NbcRotate ( const Point rRef,
long  nAngle,
double  sn,
double  cs 
)
overridevirtual
void E3dObject::NbcSetTransform ( const basegfx::B3DHomMatrix rMatrix)
virtual
SdrObjGeoData * E3dObject::NewGeoData ( ) const
overridevirtual

A derived class must override these 3 methods if it has own geometric data that must be saved for Undo.

NewGeoData() creates an empty instance of a class derived from SdrObjGeoData.

Reimplemented from SdrObject.

Reimplemented in E3dScene.

Definition at line 443 of file obj3d.cxx.

E3dObject & E3dObject::operator= ( const E3dObject rObj)
basegfx::B3DRange E3dObject::RecalcBoundVolume ( ) const
protectedvirtual
void E3dObject::RecalcSnapRect ( )
overridevirtual

Snap is not done on the BoundRect but if possible on logic coordinates (i.e.

without considering stroke width, ...) SetSnapRect() tries to size the Object so that it fits into the passed Rect (without stroke width, ...)

Reimplemented from SdrObject.

Reimplemented in E3dCompoundObject, and E3dScene.

Definition at line 263 of file obj3d.cxx.

References SdrAttrObj::maSnapRect.

Referenced by E3dScene::RecalcSnapRect().

void E3dObject::RestGeoData ( const SdrObjGeoData rGeo)
overridevirtual

Reimplemented from SdrObject.

Reimplemented in E3dScene.

Definition at line 456 of file obj3d.cxx.

References maLocalBoundVol, maTransformation, NbcSetTransform(), and SdrObject::RestGeoData().

Referenced by E3dScene::RestGeoData().

void E3dObject::SaveGeoData ( SdrObjGeoData rGeo) const
overridevirtual

Reimplemented from SdrObject.

Reimplemented in E3dScene.

Definition at line 448 of file obj3d.cxx.

References maLocalBoundVol, maTransformation, and SdrObject::SaveGeoData().

Referenced by E3dScene::SaveGeoData().

void E3dObject::SetSelected ( bool  bNew)
virtual

Reimplemented in E3dScene.

Definition at line 100 of file obj3d.cxx.

References mbIsSelected.

Referenced by E3dScene::SetSelected().

void E3dObject::SetTransform ( const basegfx::B3DHomMatrix rMatrix)
virtual
void E3dObject::SetTransformChanged ( )
virtual

Reimplemented in E3dScene.

Definition at line 339 of file obj3d.cxx.

References InvalidateBoundVolume(), and mbTfHasChanged.

Referenced by NbcSetTransform(), operator=(), and E3dScene::SetTransformChanged().

void E3dObject::StructureChanged ( )
virtual
void E3dObject::TakeObjInfo ( SdrObjTransformInfoRec rInfo) const
overridevirtual
OUString E3dObject::TakeObjNamePlural ( ) const
overridevirtual

Reimplemented from SdrObject.

Reimplemented in E3dScene, E3dLatheObj, E3dExtrudeObj, E3dCubeObj, and E3dSphereObj.

Definition at line 411 of file obj3d.cxx.

References SvxResId().

OUString E3dObject::TakeObjNameSingul ( ) const
overridevirtual

Reimplemented from SdrObject.

Reimplemented in E3dScene, E3dLatheObj, E3dExtrudeObj, E3dCubeObj, and E3dSphereObj.

Definition at line 395 of file obj3d.cxx.

References aName, SdrObject::GetName(), sName, and SvxResId().

Friends And Related Function Documentation

friend class E3dDragMethod
friend

Definition at line 66 of file obj3d.hxx.

Member Data Documentation

basegfx::B3DHomMatrix E3dObject::maFullTransform
protected

Definition at line 73 of file obj3d.hxx.

Referenced by GetFullTransform().

basegfx::B3DRange E3dObject::maLocalBoundVol
protected

Definition at line 71 of file obj3d.hxx.

Referenced by GetBoundVolume(), InvalidateBoundVolume(), operator=(), RestGeoData(), and SaveGeoData().

basegfx::B3DHomMatrix E3dObject::maTransformation
protected
bool E3dObject::mbIsSelected
protected

Definition at line 77 of file obj3d.hxx.

Referenced by operator=(), and SetSelected().

bool E3dObject::mbTfHasChanged
protected

Definition at line 76 of file obj3d.hxx.

Referenced by GetFullTransform(), and SetTransformChanged().


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