20#ifndef INCLUDED_SVX_SCENE3D_HXX
21#define INCLUDED_SVX_SCENE3D_HXX
77 void SetDefaultAttributes();
78 void ImpCleanup3DDepthMapper();
98 sal_uInt32 RemapOrdNum(sal_uInt32 nOrdNum)
const;
124 void SetCamera(
const Camera3D& rNewCamera);
126 void removeAllNonSelectedObjects();
130 virtual std::unique_ptr<SdrObjGeoData>
NewGeoData()
const override;
138 void RotateScene(
const Point& rRef,
double sn,
double cs);
161 void SuspendReportingDirtyRects();
162 void ResumeReportingDirtyRects();
163 void SetAllSceneRectsDirty();
virtual void NbcRotate(const Point &rRef, Degree100 nAngle, double sn, double cs) override
virtual void StructureChanged()
virtual void SetTransformChanged()
virtual void SetTransform(const basegfx::B3DHomMatrix &rMatrix)
virtual rtl::Reference< SdrObject > CloneSdrObject(SdrModel &rTargetModel) const override
virtual basegfx::B3DRange RecalcBoundVolume() const
virtual void NbcMove(const Size &rSize) override
The methods Move, Resize, Rotate, Mirror, Shear, SetSnapRect and SetLogicRect call the corresponding ...
virtual void NbcSetTransform(const basegfx::B3DHomMatrix &rMatrix)
virtual E3dScene * getRootE3dSceneFromE3dObject() const
virtual void NbcResize(const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
virtual void SetSelected(bool bNew)
virtual void SaveGeoData(SdrObjGeoData &rGeo) const override
virtual void RestoreGeoData(const SdrObjGeoData &rGeo) override
virtual OUString TakeObjNamePlural() const override
virtual SdrObjKind GetObjIdentifier() const override
virtual OUString TakeObjNameSingul() const override
virtual std::unique_ptr< SdrObjGeoData > NewGeoData() const override
A derived class must override these 3 methods if it has own geometric data that must be saved for Und...
virtual std::unique_ptr< sdr::properties::BaseProperties > CreateObjectSpecificProperties() override
virtual void RecalcSnapRect() override
Snap is not done on the BoundRect but if possible on logic coordinates (i.e.
virtual bool IsBreakObjPossible()
const B3dCamera & GetCameraSet() const
B3dCamera & GetCameraSet()
bool GetDrawOnlySelected() const
double GetFocalLength() const
ProjectionType GetPerspective() const
double GetDistance() const
std::unique_ptr< Imp3DDepthRemapper > mp3DDepthRemapper
void SetDrawOnlySelected(bool bNew)
const Camera3D & GetCamera() const
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
Detects when a stylesheet is changed.
All geometrical data of an arbitrary object for use in undo/redo.
virtual SdrPage * getSdrPageFromSdrObjList() const
virtual void InsertObject(SdrObject *pObj, size_t nPos=SAL_MAX_SIZE)
virtual void NbcInsertObject(SdrObject *pObj, size_t nPos=SAL_MAX_SIZE)
virtual rtl::Reference< SdrObject > NbcRemoveObject(size_t nObjNum)
remove from list without delete
virtual rtl::Reference< SdrObject > RemoveObject(size_t nObjNum)
virtual SdrObject * getSdrObjectFromSdrObjList() const
virtual bool BckCreate(SdrDragStat &rStat)
virtual void NbcSetLayer(SdrLayerID nLayer)
virtual bool BegCreate(SdrDragStat &rStat)
Every object must be able to create itself interactively.
virtual basegfx::B2DPolyPolygon TakeXorPoly() const
The Xor-Polygon is required by the View to drag the object.
virtual basegfx::B2DPolyPolygon TakeCreatePoly(const SdrDragStat &rDrag) const
Polygon dragged by the user when creating the object.
virtual SdrObjList * GetSubList() const
virtual void handlePageChange(SdrPage *pOldPage, SdrPage *pNewPage)
virtual bool MovCreate(SdrDragStat &rStat)
virtual void NbcSetSnapRect(const tools::Rectangle &rRect)
virtual SdrObjList * getChildrenOfSdrObject() const
virtual std::unique_ptr< sdr::contact::ViewContact > CreateObjectSpecificViewContact()
virtual bool EndCreate(SdrDragStat &rStat, SdrCreateCmd eCmd)
virtual void BrkCreate(SdrDragStat &rStat)
virtual void SetBoundRectDirty()
virtual void SetBoundAndSnapRectsDirty(bool bNotMyself=false, bool bRecursive=true)
const SfxItemSet & GetObjectItemSet() const
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
constexpr TypedWhichId< Svx3DPerspectiveItem > SDRATTR_3DSCENE_PERSPECTIVE(SDRATTR_3DSCENE_FIRST+0)
constexpr TypedWhichId< SfxUInt32Item > SDRATTR_3DSCENE_FOCAL_LENGTH(SDRATTR_3DSCENE_FIRST+2)
constexpr TypedWhichId< SfxUInt32Item > SDRATTR_3DSCENE_DISTANCE(SDRATTR_3DSCENE_FIRST+1)
#define SVXCORE_DLLPUBLIC