22#include <svx/strings.hrc>
40 return std::make_unique<sdr::contact::ViewContactOfE3dLathe>(*
this);
45 return std::make_unique<sdr::properties::E3dLatheProperties>(*
this);
51 const E3dDefaultAttributes& rDefault,
54 maPolyPoly2D(
std::move(aPoly2D))
58 aMirrorY.
scale(1.0, -1.0);
71 sal_uInt32 nSegCnt(rPoly.
count());
86 const E3dDefaultAttributes aDefault;
95 const E3dDefaultAttributes aDefault;
145 sal_uInt32 nSegCnt(rPoly.
count());
165 if (!
aName.isEmpty())
176 return SvxResId(STR_ObjNamePluralLathe3d);
197 pPathObj->SetMergedItemSet(aSet);
basegfx::B2DPolyPolygon TransformToScreenCoor(const basegfx::B3DPolyPolygon &rCandidate) const
virtual OUString TakeObjNamePlural() const override
virtual std::unique_ptr< sdr::contact::ViewContact > CreateObjectSpecificViewContact() override
void SetDefaultAttributes(const E3dDefaultAttributes &rDefault)
basegfx::B2DPolyPolygon maPolyPoly2D
virtual rtl::Reference< SdrAttrObj > GetBreakObj() override
E3dLatheObj(SdrModel &rSdrModel, const E3dDefaultAttributes &rDefault, basegfx::B2DPolyPolygon aPoly2D)
virtual std::unique_ptr< sdr::properties::BaseProperties > CreateObjectSpecificProperties() override
virtual rtl::Reference< SdrObject > DoConvertToPolyObj(bool bBezier, bool bAddText) const override
virtual SdrObjKind GetObjIdentifier() const override
virtual bool IsBreakObjPossible() override
void SetPolyPoly2D(const basegfx::B2DPolyPolygon &rNew)
virtual ~E3dLatheObj() override
virtual rtl::Reference< SdrObject > CloneSdrObject(SdrModel &rTargetModel) const override
virtual OUString TakeObjNameSingul() const override
void ActionChanged() const
virtual sdr::properties::BaseProperties & GetProperties() const
SdrModel & getSdrModelFromSdrObject() const
virtual const OUString & GetName() const
const SfxItemSet & GetObjectItemSet() const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
void scale(double fX, double fY)
B2DPolygon const & getB2DPolygon(sal_uInt32 nIndex) const
void removeDoublePoints()
void transform(const basegfx::B2DHomMatrix &rMatrix)
virtual void SetObjectItemDirect(const SfxPoolItem &rItem)=0
OUString SvxResId(TranslateId aId)
B3DPolyPolygon createB3DPolyPolygonFromB2DPolyPolygon(const B2DPolyPolygon &rCandidate, double fZCoordinate)
@ PolyLine
polygon, PolyPolygon
SfxUInt32Item makeSvx3DVerticalSegmentsItem(sal_uInt32 nVal)