LibreOffice Module svx (master)  1
Namespaces | Functions
helperminimaldepth3d.cxx File Reference
#include "helperminimaldepth3d.hxx"
#include <drawinglayer/processor3d/baseprocessor3d.hxx>
#include <drawinglayer/primitive3d/drawinglayer_primitivetypes3d.hxx>
#include <drawinglayer/primitive3d/transformprimitive3d.hxx>
#include <drawinglayer/primitive3d/polygonprimitive3d.hxx>
#include <drawinglayer/primitive3d/polypolygonprimitive3d.hxx>
#include <sdr/contact/viewcontactofe3d.hxx>
#include <svx/sdr/contact/viewcontactofe3dscene.hxx>
#include <svx/obj3d.hxx>
#include <svx/scene3d.hxx>
Include dependency graph for helperminimaldepth3d.cxx:

Go to the source code of this file.

Namespaces

 drawinglayer::processor3d
 

Functions

double getMinimalDepthInViewCoordinates (const E3dCompoundObject &rObject)
 support extracting the minimal depth of a 3d object in its scene More...
 

Function Documentation

double getMinimalDepthInViewCoordinates ( const E3dCompoundObject rObject)

support extracting the minimal depth of a 3d object in its scene

Parameters
rObjectThe 3D Object from which the minimal depth needs to be calculated. The scene is defined by the object already
Returns
The minimal depth of this object in unified ViewCoordinates. This is the Z-Coordinate of one object point in the range of [0.0 .. 1.0]. ViewCoordinates means the transformations (esp. rotation) of the scene are taken into account

Definition at line 149 of file helperminimaldepth3d.cxx.

References E3dObject::getParentE3dSceneFromE3dObject(), E3dObject::getRootE3dSceneFromE3dObject(), E3dObject::GetTransform(), SdrObject::GetViewContact(), sdr::contact::ViewContactOfE3d::getViewIndependentPrimitive3DContainer(), and sdr::contact::ViewContactOfE3dScene::getViewInformation3D().

Referenced by Imp3DDepthRemapper::Imp3DDepthRemapper().

Variable Documentation

double mfMinimalDepth

Definition at line 41 of file helperminimaldepth3d.cxx.