LibreOffice Module svx (master)
1
|
#include <obj3d.hxx>
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 SdrObjKind | 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 |
E3dScene * | getParentE3dSceneFromE3dObject () const |
virtual E3dScene * | getRootE3dSceneFromE3dObject () const |
const basegfx::B3DRange & | GetBoundVolume () const |
void | InvalidateBoundVolume () |
const basegfx::B3DHomMatrix & | GetFullTransform () const |
const basegfx::B3DHomMatrix & | GetTransform () const |
virtual void | NbcSetTransform (const basegfx::B3DHomMatrix &rMatrix) |
virtual void | SetTransform (const basegfx::B3DHomMatrix &rMatrix) |
virtual void | NbcRotate (const Point &rRef, Degree100 nAngle, double sn, double cs) override |
basegfx::B3DPolyPolygon | CreateWireframe () const |
virtual OUString | TakeObjNameSingul () const override |
virtual OUString | TakeObjNamePlural () const override |
virtual E3dObject * | CloneSdrObject (SdrModel &rTargetModel) const override |
E3dObject & | operator= (const E3dObject &rObj) |
virtual SdrObjGeoData * | NewGeoData () 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, SdrObjectFreeOp > | GetBreakObj () |
![]() | |
SdrAttrObj (SdrAttrObj const &)=delete | |
SdrAttrObj (SdrAttrObj &&)=delete | |
SdrAttrObj & | operator= (SdrAttrObj const &)=default |
SdrAttrObj & | operator= (SdrAttrObj &&)=default |
bool | HasFill () const |
bool | HasLine () const |
virtual const tools::Rectangle & | GetSnapRect () const override |
![]() | |
const SdrObject * | getFillGeometryDefiningShape () const |
SdrObject (SdrModel &rSdrModel) | |
SdrPage * | getSdrPageFromSdrObject () const |
SdrModel & | getSdrModelFromSdrObject () const |
virtual SdrObjList * | getChildrenOfSdrObject () const |
SdrObjList * | getParentSdrObjListFromSdrObject () const |
SdrObject * | getParentSdrObjectFromSdrObject () const |
virtual void | handlePageChange (SdrPage *pOldPage, SdrPage *pNewPage) |
void | AddObjectUser (sdr::ObjectUser &rNewUser) |
void | RemoveObjectUser (sdr::ObjectUser &rOldUser) |
sdr::contact::ViewContact & | GetViewContact () const |
virtual sdr::properties::BaseProperties & | GetProperties () 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< DiagramDataInterface > | GetDiagramData () const |
virtual void | SetRectsDirty (bool bNotMyself=false, bool bRecursive=true) |
virtual void | SetBoundRectDirty () |
SfxItemPool & | GetObjectItemPool () 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, const bool bSetChanged=true) |
OUString | GetName () const |
void | MakeNameUnique () |
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 SdrObjList * | GetSubList () 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::Rectangle & | GetCurrentBoundRect () const |
virtual const tools::Rectangle & | GetLastBoundRect () const |
virtual void | RecalcBoundRect () |
void | BroadcastObjectChange () const |
const SfxBroadcaster * | GetBroadcaster () const |
virtual void | SetChanged () |
void | SingleObjectPainter (OutputDevice &rOut) const |
bool | LineGeometryUsageIsNecessary () const |
virtual bool | HasLimitedRotation () const |
SdrObject & | operator= (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) |
void | NbcRotate (const Point &rRef, Degree100 nAngle) |
virtual void | NbcMirror (const Point &rRef1, const Point &rRef2) |
virtual void | NbcShear (const Point &rRef, Degree100 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, Degree100 nAngle, double sn, double cs) |
virtual void | Mirror (const Point &rRef1, const Point &rRef2) |
virtual void | Shear (const Point &rRef, Degree100 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::Rectangle & | GetLogicRect () 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 Degree100 | GetRotateAngle () const |
virtual Degree100 | 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 SdrObjGeoData * | GetGeoData () const |
virtual void | SetGeoData (const SdrObjGeoData &rGeo) |
const SfxItemSet & | GetMergedItemSet () const |
void | SetMergedItem (const SfxPoolItem &rItem) |
void | ClearMergedItem (const sal_uInt16 nWhich=0) |
void | SetMergedItemSet (const SfxItemSet &rSet, bool bClearAllItems=false) |
const SfxPoolItem & | GetMergedItem (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) |
SfxStyleSheet * | GetStyleSheet () const |
virtual bool | HasTextEdit () const |
void | SetOutlinerParaObject (std::unique_ptr< OutlinerParaObject > pTextObject) |
virtual void | NbcSetOutlinerParaObject (std::unique_ptr< OutlinerParaObject > pTextObject) |
virtual OutlinerParaObject * | GetOutlinerParaObject () const |
virtual void | NbcReformatText () |
void | BurnInStyleSheetAttributes () |
virtual bool | HasMacro () const |
virtual SdrObject * | CheckMacroHit (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 SdrGluePointList * | GetGluePointList () const |
virtual SdrGluePointList * | ForceGluePointList () |
void | SetGlueReallyAbsolute (bool bOn) |
void | NbcRotateGluePoints (const Point &rRef, Degree100 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 SdrObject * | GetConnectedNode (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 |
SdrObject * | ConvertToContourObj (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 |
SdrObjUserData * | GetUserData (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::PropertyChangeNotifier & | getShapePropertyChangeNotifier () |
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::Rectangle & | GetBLIPSizeRectangle () 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) |
SdrObjUserCall * | GetUserCall () const |
void | SetDoNotInsertIntoPageAutomatically (bool bSet) |
bool | IsDoNotInsertIntoPageAutomatically () const |
sal_uInt32 | GetOrdNumDirect () const |
bool | DoesSupportTextIndentingOnLineWidthChange () const |
const Point & | GetAnchorPos () 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 |
const Graphic * | getFillGraphic () const |
![]() | |
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 |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
![]() | |
WeakBase () | |
virtual | ~WeakBase () |
void | clearWeak () |
Protected Member Functions | |
virtual std::unique_ptr< sdr::properties::BaseProperties > | CreateObjectSpecificProperties () override |
virtual basegfx::B3DRange | RecalcBoundVolume () const |
E3dObject (SdrModel &rSdrModel) | |
virtual | ~E3dObject () override |
![]() | |
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 |
![]() | |
virtual | ~SdrObject () override |
virtual std::unique_ptr< sdr::contact::ViewContact > | CreateObjectSpecificViewContact () |
tools::Rectangle | ImpDragCalcRect (const SdrDragStat &rDrag) const |
OUString | ImpGetDescriptionStr (const char *pStrCacheID) const |
void | ImpForcePlusData () |
OUString | GetMetrStr (tools::Long nVal) const |
const SfxItemSet & | GetObjectItemSet () const |
void | SetObjectItem (const SfxPoolItem &rItem) |
void | SetObjectItemSet (const SfxItemSet &rSet) |
const SfxPoolItem & | GetObjectItem (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 |
const SfxItemSet * | getBackgroundFillSet () const |
Protected Attributes | |
basegfx::B3DRange | maLocalBoundVol |
basegfx::B3DHomMatrix | maTransformation |
basegfx::B3DHomMatrix | maFullTransform |
bool | mbTfHasChanged: 1 |
bool | mbIsSelected: 1 |
![]() | |
tools::Rectangle | maSnapRect |
![]() | |
tools::Rectangle | aOutRect |
Point | aAnchor |
SdrObjUserCall * | pUserCall |
std::unique_ptr< SdrObjPlusData > | pPlusData |
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 SdrItemPool & | GetGlobalDrawObjectItemPool () |
static void | Free (SdrObject *&_rpObject) |
static SdrObject * | getSdrObjectFromXShape (const css::uno::Reference< css::uno::XInterface > &xInt) |
|
protected |
Definition at line 51 of file obj3d.cxx.
References SdrObject::bClosedObj, SdrObject::bIs3DObj, maTransformation, and mbIsSelected.
Reimplemented from SdrObject.
Reimplemented in E3dCompoundObject, E3dScene, E3dLatheObj, E3dCubeObj, and E3dSphereObj.
|
overrideprotectedvirtual |
Reimplemented from SdrAttrObj.
Reimplemented in E3dCompoundObject, E3dScene, E3dLatheObj, and E3dSphereObj.
basegfx::B3DPolyPolygon E3dObject::CreateWireframe | ( | ) | const |
Definition at line 355 of file obj3d.cxx.
References basegfx::utils::createCubePolyPolygonFromB3DRange(), and GetBoundVolume().
Referenced by E3dDragMethod::E3dDragMethod(), E3dDragMove::MoveSdrDrag(), E3dScene::TakeXorPoly(), and E3dCompoundObject::TakeXorPoly().
const basegfx::B3DRange & E3dObject::GetBoundVolume | ( | ) | const |
Definition at line 290 of file obj3d.cxx.
References basegfx::B3DRange::isEmpty(), maLocalBoundVol, and RecalcBoundVolume().
Referenced by E3dCompoundObject::AddToHdlList(), Svx3DPreviewControl::Construct(), Svx3DLightControl::Construct2(), E3dView::ConvertMarkedObjTo3D(), EnhancedCustomShape3d::Create3DObject(), CreateWireframe(), E3dDragRotate::E3dDragRotate(), E3dView::ImpCloneAll3DObjectsToDestScene(), E3dDragMove::MoveSdrDrag(), NbcMove(), E3dScene::RecalcBoundVolume(), E3dView::SetCurrent3DObj(), and Svx3DSceneObject::setPropertyValueImpl().
|
virtual |
Reimplemented in E3dLatheObj.
Definition at line 81 of file obj3d.cxx.
Referenced by E3dView::BreakSingle3DObj().
const basegfx::B3DHomMatrix & E3dObject::GetFullTransform | ( | ) | const |
Definition at line 314 of file obj3d.cxx.
References GetFullTransform(), getParentE3dSceneFromE3dObject(), maFullTransform, maTransformation, and mbTfHasChanged.
Referenced by E3dDragMethod::E3dDragMethod(), GetFullTransform(), E3dView::ImpCloneAll3DObjectsToDestScene(), NbcMove(), and NbcResize().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in E3dCompoundObject, E3dScene, E3dLatheObj, E3dCubeObj, and E3dSphereObj.
Definition at line 91 of file obj3d.cxx.
References E3D_OBJECT_ID.
|
overridevirtual |
E3dScene * E3dObject::getParentE3dSceneFromE3dObject | ( | ) | const |
Definition at line 248 of file obj3d.cxx.
References SdrObject::getParentSdrObjectFromSdrObject().
Referenced by E3dDragMethod::E3dDragMethod(), fillViewInformation3DForCompoundObject(), GetFullTransform(), getMinimalDepthInViewCoordinates(), getRootE3dSceneFromE3dObject(), E3dScene::getRootE3dSceneFromE3dObject(), NbcMove(), and StructureChanged().
|
virtual |
Reimplemented in E3dScene.
Definition at line 254 of file obj3d.cxx.
References getParentE3dSceneFromE3dObject(), and E3dScene::getRootE3dSceneFromE3dObject().
Referenced by E3dDragMethod::CreateOverlayGeometry(), E3DModifySceneSnapRectUpdater::E3DModifySceneSnapRectUpdater(), sdr::properties::E3dCompoundProperties::GetMergedItemSet(), getMinimalDepthInViewCoordinates(), E3dDragRotate::MoveSdrDrag(), E3dDragMove::MoveSdrDrag(), NbcMove(), NbcResize(), and sdr::properties::E3dCompoundProperties::SetMergedItemSet().
|
inline |
Definition at line 135 of file obj3d.hxx.
References mbIsSelected.
|
inline |
Definition at line 111 of file obj3d.hxx.
Referenced by E3dCompoundObject::AddToHdlList(), Svx3DPreviewControl::Construct(), E3dView::ConvertMarkedObjTo3D(), ConvertObjectToHomogenMatric(), EnhancedCustomShape3d::Create3DObject(), sdr::contact::ViewContactOfE3dScene::createViewInformation3D(), E3dDragMethod::E3dDragMethod(), getMinimalDepthInViewCoordinates(), E3dView::ImpCloneAll3DObjectsToDestScene(), NbcMove(), NbcResize(), NbcRotate(), E3dScene::NbcRotate(), E3dScene::RecalcBoundVolume(), E3dView::SetCurrent3DObj(), Svx3DSceneObject::setPropertyValueImpl(), E3dCompoundObject::TakeXorPoly(), E3dCompoundObject::TransformToScreenCoor(), and E3DModifySceneSnapRectUpdater::~E3DModifySceneSnapRectUpdater().
void E3dObject::InvalidateBoundVolume | ( | ) |
Definition at line 300 of file obj3d.cxx.
References maLocalBoundVol, and basegfx::B3DRange::reset().
Referenced by E3dScene::InsertObject(), E3dScene::NbcInsertObject(), E3dScene::NbcRemoveObject(), E3dScene::operator=(), E3dScene::RemoveObject(), SetTransformChanged(), StructureChanged(), and E3DModifySceneSnapRectUpdater::~E3DModifySceneSnapRectUpdater().
|
virtual |
Reimplemented in E3dScene, and E3dLatheObj.
Definition at line 76 of file obj3d.cxx.
Referenced by E3dScene::IsBreakObjPossible().
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 177 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().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in E3dScene.
Definition at line 125 of file obj3d.cxx.
References GetFullTransform(), sdr::contact::ViewContactOfE3dScene::getObjectTransformation(), getRootE3dSceneFromE3dObject(), GetTransform(), SdrObject::GetViewContact(), sdr::contact::ViewContactOfE3dScene::getViewInformation3D(), basegfx::B2DHomMatrix::invert(), basegfx::B3DHomMatrix::invert(), basegfx::B3DHomMatrix::scale(), SetTransform(), and basegfx::B3DHomMatrix::translate().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in E3dScene.
Definition at line 435 of file obj3d.cxx.
References GetTransform(), SdrObject::NbcRotateGluePoints(), NbcSetTransform(), basegfx::B3DHomMatrix::rotate(), SdrObject::SetGlueReallyAbsolute(), SdrObject::SetRectsDirty(), and toRadians().
|
virtual |
Reimplemented in E3dScene.
Definition at line 333 of file obj3d.cxx.
References maTransformation, SetTransformChanged(), and StructureChanged().
Referenced by EnhancedCustomShape3d::Create3DObject(), NbcRotate(), E3dScene::NbcSetTransform(), RestGeoData(), Svx3DSceneObject::setPropertyValueImpl(), and SetTransform().
|
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 388 of file obj3d.cxx.
References maLocalBoundVol, maTransformation, mbIsSelected, SdrAttrObj::operator=(), and SetTransformChanged().
Referenced by E3dScene::operator=(), and E3dCompoundObject::operator=().
|
protectedvirtual |
Reimplemented in E3dScene.
Definition at line 267 of file obj3d.cxx.
References SdrObject::GetViewContact(), and sdr::contact::ViewContactOfE3d::getVIP3DSWithoutObjectTransform().
Referenced by GetBoundVolume().
|
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 230 of file obj3d.cxx.
References SdrAttrObj::maSnapRect.
Referenced by E3dScene::RecalcSnapRect().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in E3dScene.
Definition at line 423 of file obj3d.cxx.
References maLocalBoundVol, maTransformation, NbcSetTransform(), and SdrObject::RestGeoData().
Referenced by E3dScene::RestGeoData().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in E3dScene.
Definition at line 415 of file obj3d.cxx.
References maLocalBoundVol, maTransformation, and SdrObject::SaveGeoData().
Referenced by E3dScene::SaveGeoData().
|
virtual |
Reimplemented in E3dScene.
Definition at line 67 of file obj3d.cxx.
References mbIsSelected.
Referenced by E3dScene::SetSelected().
|
virtual |
Reimplemented in E3dScene.
Definition at line 344 of file obj3d.cxx.
References SdrObject::BroadcastObjectChange(), SdrObjUserCall::Changed(), maTransformation, NbcSetTransform(), SdrObject::pUserCall, Resize, and SdrObject::SetChanged().
Referenced by Svx3DLightControl::AdaptToSelectedLight(), E3dDragMethod::CancelSdrDrag(), Svx3DLightControl::ConstructLightObjects(), ConvertHomogenMatrixToObject(), E3dDragMethod::EndSdrDrag(), E3dView::ImpCloneAll3DObjectsToDestScene(), E3dDragRotate::MoveSdrDrag(), E3dDragMove::MoveSdrDrag(), NbcMove(), NbcResize(), E3dRotateUndoAction::Redo(), Svx3DLightControl::SetObjectType(), Svx3DLightControl::SetPosition(), Svx3DLightControl::SetRotation(), E3dScene::SetTransform(), and E3dRotateUndoAction::Undo().
|
virtual |
Reimplemented in E3dScene.
Definition at line 306 of file obj3d.cxx.
References InvalidateBoundVolume(), and mbTfHasChanged.
Referenced by NbcSetTransform(), operator=(), and E3dScene::SetTransformChanged().
|
virtual |
Reimplemented in E3dScene.
Definition at line 237 of file obj3d.cxx.
References getParentE3dSceneFromE3dObject(), InvalidateBoundVolume(), and E3dScene::StructureChanged().
Referenced by sdr::properties::E3dProperties::ItemSetChanged(), NbcSetTransform(), and E3dScene::StructureChanged().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 97 of file obj3d.cxx.
References SdrObjTransformInfoRec::bCanConvToContour, SdrObjTransformInfoRec::bCanConvToPath, SdrObjTransformInfoRec::bCanConvToPathLineToArea, SdrObjTransformInfoRec::bCanConvToPoly, SdrObjTransformInfoRec::bCanConvToPolyLineToArea, SdrObjTransformInfoRec::bEdgeRadiusAllowed, SdrObjTransformInfoRec::bMirror45Allowed, SdrObjTransformInfoRec::bMirror90Allowed, SdrObjTransformInfoRec::bMirrorFreeAllowed, SdrObjTransformInfoRec::bResizeFreeAllowed, SdrObjTransformInfoRec::bResizePropAllowed, SdrObjTransformInfoRec::bRotate90Allowed, SdrObjTransformInfoRec::bRotateFreeAllowed, SdrObjTransformInfoRec::bShearAllowed, and SdrObjTransformInfoRec::bTransparenceAllowed.
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in E3dScene, E3dLatheObj, E3dCubeObj, and E3dSphereObj.
Definition at line 378 of file obj3d.cxx.
References SvxResId().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in E3dScene, E3dLatheObj, E3dCubeObj, and E3dSphereObj.
Definition at line 362 of file obj3d.cxx.
References aName, SdrObject::GetName(), sName, and SvxResId().
|
friend |
|
protected |
Definition at line 73 of file obj3d.hxx.
Referenced by GetFullTransform().
|
protected |
Definition at line 71 of file obj3d.hxx.
Referenced by GetBoundVolume(), InvalidateBoundVolume(), operator=(), RestGeoData(), and SaveGeoData().
|
protected |
Definition at line 72 of file obj3d.hxx.
Referenced by GetFullTransform(), NbcSetTransform(), E3dScene::NbcSetTransform(), operator=(), RestGeoData(), SaveGeoData(), SetTransform(), and E3dScene::SetTransform().
|
protected |
Definition at line 77 of file obj3d.hxx.
Referenced by operator=(), and SetSelected().
|
protected |
Definition at line 76 of file obj3d.hxx.
Referenced by GetFullTransform(), and SetTransformChanged().