21#include <svx/strings.hrc>
36 return std::make_unique<sdr::contact::ViewContactOfE3dSphere>(*
this);
41 return std::make_unique<sdr::properties::E3dSphereProperties>(*
this);
47 const E3dDefaultAttributes& rDefault,
63 const E3dDefaultAttributes aDefault;
72 const E3dDefaultAttributes aDefault;
86 aCenter = rDefault.GetDefaultSphereCenter();
87 aSize = rDefault.GetDefaultSphereSize();
134 if (!
aName.isEmpty())
145 return SvxResId(STR_ObjNamePluralSphere3d);
SphereObject with diameter r3DSize.
virtual std::unique_ptr< sdr::contact::ViewContact > CreateObjectSpecificViewContact() override
virtual OUString TakeObjNameSingul() const override
virtual std::unique_ptr< sdr::properties::BaseProperties > CreateObjectSpecificProperties() override
virtual SdrObjKind GetObjIdentifier() const override
void SetCenter(const basegfx::B3DPoint &rNew)
E3dSphereObj(SdrModel &rSdrModel, const E3dDefaultAttributes &rDefault, const basegfx::B3DPoint &rCenter, const basegfx::B3DVector &r3DSize)
void SetDefaultAttributes(const E3dDefaultAttributes &rDefault)
virtual ~E3dSphereObj() override
virtual rtl::Reference< SdrObject > DoConvertToPolyObj(bool bBezier, bool bAddText) const override
virtual rtl::Reference< SdrObject > CloneSdrObject(SdrModel &rTargetModel) const override
basegfx::B3DPoint aCenter
virtual OUString TakeObjNamePlural() const override
void SetSize(const basegfx::B3DVector &rNew)
void ActionChanged() const
virtual const OUString & GetName() const
OUString SvxResId(TranslateId aId)