LibreOffice Module svx (master) 1
|
#include <viewcontactofe3dscene.hxx>
Private Member Functions | |
virtual ViewObjectContact & | CreateObjectSpecificViewObjectContact (ObjectContact &rObjectContact) override |
void | createViewInformation3D (const ::basegfx::B3DRange &rContentRange) |
void | createObjectTransformation () |
void | createSdrSceneAttribute () |
void | createSdrLightingAttribute () |
virtual void | createViewIndependentPrimitive2DSequence (drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const override |
Additional Inherited Members | |
virtual ViewObjectContact & | CreateObjectSpecificViewObjectContact (ObjectContact &rObjectContact) override |
Protected Member Functions inherited from sdr::contact::ViewContact | |
sal_uInt32 | getViewObjectContactCount () const |
ViewObjectContact * | getViewObjectContact (sal_uInt32 a) const |
virtual ViewObjectContact & | CreateObjectSpecificViewObjectContact (ObjectContact &rObjectContact) |
virtual void | createViewIndependentPrimitive2DSequence (drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const |
ViewContact () | |
Protected Attributes inherited from sdr::contact::ViewContactOfSdrObj | |
SdrObject & | mrObject |
Definition at line 37 of file viewcontactofe3dscene.hxx.
|
explicit |
Definition at line 143 of file viewcontactofe3dscene.cxx.
|
overridevirtual |
Reimplemented from sdr::contact::ViewContactOfSdrObj.
Definition at line 332 of file viewcontactofe3dscene.cxx.
References sdr::contact::ViewContactOfSdrObj::ActionChanged(), basegfx::B2DHomMatrix::identity(), maObjectTransformation, maSdrLightingAttribute, maSdrSceneAttribute, and maViewInformation3D.
|
overrideprivatevirtual |
Reimplemented from sdr::contact::ViewContactOfSdrObj.
Definition at line 135 of file viewcontactofe3dscene.cxx.
References DBG_ASSERT.
|
private |
Definition at line 236 of file viewcontactofe3dscene.cxx.
References GetE3dScene(), tools::Rectangle::getOpenHeight(), tools::Rectangle::getOpenWidth(), tools::Rectangle::Left(), maObjectTransformation, basegfx::B2DHomMatrix::set(), and tools::Rectangle::Top().
Referenced by getObjectTransformation().
drawinglayer::primitive2d::Primitive2DContainer sdr::contact::ViewContactOfE3dScene::createScenePrimitive2DSequence | ( | const SdrLayerIDSet * | pLayerVisibility | ) | const |
Definition at line 259 of file viewcontactofe3dscene.cxx.
References a, drawinglayer::primitive2d::createHiddenGeometryPrimitives2D(), drawinglayer::primitive3d::Primitive3DContainer::getB3DRange(), GetE3dScene(), sdr::contact::ViewContactOfSdrObj::GetObjectCount(), getObjectTransformation(), getSdrLightingAttribute(), getSdrSceneAttribute(), sdr::contact::ViewContactOfSdrObj::GetViewContact(), and getViewInformation3D().
Referenced by sdr::contact::ViewObjectContactOfE3dScene::createPrimitive2DSequence(), and createViewIndependentPrimitive2DSequence().
|
private |
Definition at line 253 of file viewcontactofe3dscene.cxx.
References drawinglayer::primitive2d::createNewSdrLightingAttribute(), GetE3dScene(), SdrObject::GetMergedItemSet(), and maSdrLightingAttribute.
Referenced by getSdrLightingAttribute().
|
private |
Definition at line 247 of file viewcontactofe3dscene.cxx.
References drawinglayer::primitive2d::createNewSdrSceneAttribute(), GetE3dScene(), SdrObject::GetMergedItemSet(), and maSdrSceneAttribute.
Referenced by getSdrSceneAttribute().
|
overrideprivatevirtual |
Reimplemented from sdr::contact::ViewContact.
Definition at line 323 of file viewcontactofe3dscene.cxx.
References createScenePrimitive2DSequence(), sdr::contact::ViewContactOfSdrObj::GetObjectCount(), and drawinglayer::primitive2d::Primitive2DDecompositionVisitor::visit().
|
private |
Definition at line 148 of file viewcontactofe3dscene.cxx.
References basegfx::B3DHomMatrix::frustum(), E3dScene::GetCameraSet(), GetE3dScene(), basegfx::B3DRange::getMaxX(), basegfx::B3DRange::getMaxY(), basegfx::B3DRange::getMaxZ(), basegfx::B3DRange::getMinX(), basegfx::B3DRange::getMinY(), basegfx::B3DRange::getMinZ(), drawinglayer::attribute::SdrSceneAttribute::getProjectionMode(), getSdrSceneAttribute(), E3dObject::GetTransform(), B3dViewport::GetVPN(), B3dViewport::GetVRP(), B3dViewport::GetVUV(), maViewInformation3D, basegfx::B3DHomMatrix::orientation(), basegfx::B3DHomMatrix::ortho(), basegfx::B3DHomMatrix::scale(), basegfx::B3DRange::transform(), and basegfx::B3DHomMatrix::translate().
Referenced by getViewInformation3D().
basegfx::B3DRange sdr::contact::ViewContactOfE3dScene::getAllContentRange3D | ( | ) | const |
Definition at line 425 of file viewcontactofe3dscene.cxx.
References getAllPrimitive3DContainer(), and drawinglayer::primitive3d::Primitive3DContainer::getB3DRange().
Referenced by E3DModifySceneSnapRectUpdater::E3DModifySceneSnapRectUpdater(), getViewInformation3D(), sdr::contact::ViewContactOfE3d::impCreateWithGivenPrimitive3DContainer(), and E3DModifySceneSnapRectUpdater::~E3DModifySceneSnapRectUpdater().
drawinglayer::primitive3d::Primitive3DContainer sdr::contact::ViewContactOfE3dScene::getAllPrimitive3DContainer | ( | ) | const |
Definition at line 408 of file viewcontactofe3dscene.cxx.
References a, sdr::contact::ViewContactOfSdrObj::GetObjectCount(), and sdr::contact::ViewContactOfSdrObj::GetViewContact().
Referenced by getAllContentRange3D().
|
inline |
Definition at line 44 of file viewcontactofe3dscene.hxx.
Referenced by createObjectTransformation(), createScenePrimitive2DSequence(), createSdrLightingAttribute(), createSdrSceneAttribute(), and createViewInformation3D().
const basegfx::B2DHomMatrix & sdr::contact::ViewContactOfE3dScene::getObjectTransformation | ( | ) | const |
Definition at line 378 of file viewcontactofe3dscene.cxx.
References createObjectTransformation(), basegfx::B2DHomMatrix::isIdentity(), and maObjectTransformation.
Referenced by E3dCompoundObject::AddToHdlList(), checkHitSingle3DObject(), E3dDragMethod::CreateOverlayGeometry(), createScenePrimitive2DSequence(), E3dDragRotate::E3dDragRotate(), getAllHit3DObjectsSortedFrontToBack(), sdr::contact::ViewContactOfE3d::impCreateWithGivenPrimitive3DContainer(), E3dDragMove::MoveSdrDrag(), E3dObject::NbcResize(), E3dCompoundObject::RecalcSnapRect(), E3dCompoundObject::TakeXorPoly(), E3dScene::TakeXorPoly(), E3dCompoundObject::TransformToScreenCoor(), and E3DModifySceneSnapRectUpdater::~E3DModifySceneSnapRectUpdater().
const drawinglayer::attribute::SdrLightingAttribute & sdr::contact::ViewContactOfE3dScene::getSdrLightingAttribute | ( | ) | const |
Definition at line 398 of file viewcontactofe3dscene.cxx.
References createSdrLightingAttribute(), drawinglayer::attribute::SdrLightingAttribute::isDefault(), and maSdrLightingAttribute.
Referenced by createScenePrimitive2DSequence(), and sdr::contact::ViewContactOfE3d::impCreateWithGivenPrimitive3DContainer().
const drawinglayer::attribute::SdrSceneAttribute & sdr::contact::ViewContactOfE3dScene::getSdrSceneAttribute | ( | ) | const |
Definition at line 388 of file viewcontactofe3dscene.cxx.
References createSdrSceneAttribute(), drawinglayer::attribute::SdrSceneAttribute::isDefault(), and maSdrSceneAttribute.
Referenced by createScenePrimitive2DSequence(), createViewInformation3D(), and sdr::contact::ViewContactOfE3d::impCreateWithGivenPrimitive3DContainer().
const drawinglayer::geometry::ViewInformation3D & sdr::contact::ViewContactOfE3dScene::getViewInformation3D | ( | ) | const |
Definition at line 344 of file viewcontactofe3dscene.cxx.
References createViewInformation3D(), basegfx::B3DRange::expand(), getAllContentRange3D(), drawinglayer::geometry::ViewInformation3D::isDefault(), basegfx::B3DRange::isEmpty(), and maViewInformation3D.
Referenced by createScenePrimitive2DSequence().
const drawinglayer::geometry::ViewInformation3D & sdr::contact::ViewContactOfE3dScene::getViewInformation3D | ( | const ::basegfx::B3DRange & | rContentRange | ) | const |
Referenced by E3dDragMethod::CreateOverlayGeometry(), E3dDragRotate::E3dDragRotate(), E3DModifySceneSnapRectUpdater::E3DModifySceneSnapRectUpdater(), fillViewInformation3DForCompoundObject(), getMinimalDepthInViewCoordinates(), sdr::contact::ViewContactOfE3d::impCreateWithGivenPrimitive3DContainer(), E3dDragRotate::MoveSdrDrag(), E3dDragMove::MoveSdrDrag(), E3dObject::NbcMove(), E3dObject::NbcResize(), and E3dScene::TakeXorPoly().
|
private |
Definition at line 92 of file viewcontactofe3dscene.hxx.
Referenced by ActionChanged(), createObjectTransformation(), and getObjectTransformation().
|
private |
Definition at line 96 of file viewcontactofe3dscene.hxx.
Referenced by ActionChanged(), createSdrLightingAttribute(), and getSdrLightingAttribute().
|
private |
Definition at line 95 of file viewcontactofe3dscene.hxx.
Referenced by ActionChanged(), createSdrSceneAttribute(), and getSdrSceneAttribute().
|
private |
Definition at line 89 of file viewcontactofe3dscene.hxx.
Referenced by ActionChanged(), createViewInformation3D(), and getViewInformation3D().