LibreOffice Module svx (master)  1
Public Member Functions | Private Attributes | List of all members
E3DModifySceneSnapRectUpdater Class Reference

Helper for 3d object changes affecting 2d geometry. More...

#include <e3dsceneupdater.hxx>

Collaboration diagram for E3DModifySceneSnapRectUpdater:
[legend]

Public Member Functions

 E3DModifySceneSnapRectUpdater (const SdrObject *mpObject)
 
 ~E3DModifySceneSnapRectUpdater ()
 

Private Attributes

E3dScenempScene
 
std::unique_ptr< drawinglayer::geometry::ViewInformation3DmpViewInformation3D
 

Detailed Description

Helper for 3d object changes affecting 2d geometry.

This class is a helper to encapsulate 3D object changes which shall change the scene's 2D geometry. E.g. when moving one 3D object in a scene, the visualisation would not change since the scene's 2D attributes are defined by its 2D object transformation and the changed content would be projected to the same 2D bounds as before. To reflect the fact that the 2D positions may 'change' for the user's imagination, it is necessary to calculate a new 2D object transformation of the scene (the SnapRect) using the old 3D transformation stack and the possibly modified 3D content and to use it. This is only desirable if changes to the scene's content are intended to change the scene's 2D geometry attributes

Definition at line 47 of file e3dsceneupdater.hxx.

Constructor & Destructor Documentation

E3DModifySceneSnapRectUpdater::E3DModifySceneSnapRectUpdater ( const SdrObject mpObject)
E3DModifySceneSnapRectUpdater::~E3DModifySceneSnapRectUpdater ( )

Member Data Documentation

E3dScene* E3DModifySceneSnapRectUpdater::mpScene
private
std::unique_ptr<drawinglayer::geometry::ViewInformation3D> E3DModifySceneSnapRectUpdater::mpViewInformation3D
private

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