22#include <osl/diagnose.h> 
   91    aTemp.
set(0, 0, 2.0 * fNear / (fRight - fLeft));
 
   92    aTemp.
set(1, 1, 2.0 * fNear / (fTop - fBottom));
 
   93    aTemp.
set(0, 2, (fRight + fLeft) / (fRight - fLeft));
 
   94    aTemp.
set(1, 2, (fTop + fBottom) / (fTop - fBottom));
 
   95    aTemp.
set(2, 2, -1.0 * ((fFar + fNear) / (fFar - fNear)));
 
   96    aTemp.
set(3, 2, -1.0);
 
   97    aTemp.
set(2, 3, -1.0 * ((2.0 * fFar * fNear) / (fFar - fNear)));
 
  104                                 double fLeft, 
double fRight, 
double fBottom, 
double fTop,
 
  105                                 double fNear, 
double fFar)
 
  109        OSL_FAIL(
"Near and far clipping plane in Ortho definition are identical");
 
  114        OSL_FAIL(
"Left and right in Ortho definition are identical");
 
  120        OSL_FAIL(
"Top and bottom in Ortho definition are identical");
 
  126    aTemp.
set(0, 0, 2.0 / (fRight - fLeft));
 
  127    aTemp.
set(1, 1, 2.0 / (fTop - fBottom));
 
  128    aTemp.
set(2, 2, -1.0 * (2.0 / (fFar - fNear)));
 
  129    aTemp.
set(0, 3, -1.0 * ((fRight + fLeft) / (fRight - fLeft)));
 
  130    aTemp.
set(1, 3, -1.0 * ((fTop + fBottom) / (fTop - fBottom)));
 
  131    aTemp.
set(2, 3, -1.0 * ((fFar + fNear) / (fFar - fNear)));
 
  222        double fActRatio = 1;
 
  225        if(fBoundWidth != 0.0)
 
  226            fActRatio = fBoundHeight / fBoundWidth;
 
  240            fFactor = 1.0 / fActRatio;
 
  391    double fFocLen, 
double fBnkAng)
 
  394    fFocalLength(fFocLen),
 
constexpr double gfNearBound
 
constexpr double gfFarBound
 
#define ZBUFFER_DEPTH_RANGE
 
basegfx::B3DPoint aPosition
 
void CalcNewViewportValues()
 
B3dCamera(const basegfx::B3DPoint &rPos=basegfx::B3DPoint(0.0, 0.0, 1.0), const basegfx::B3DVector &rLkAt=basegfx::B3DVector(0.0, 0.0, 0.0), double fFocLen=35.0, double fBnkAng=0.0)
 
virtual void DeviceRectangleChange() override
 
virtual ~B3dCamera() override
 
basegfx::B3DVector aLookAt
 
void SetVUV(const basegfx::B3DVector &rNewVUV)
 
void SetViewportValues(const basegfx::B3DPoint &rNewVRP, const basegfx::B3DVector &rNewVPN, const basegfx::B3DVector &rNewVUV)
 
virtual ~B3dViewport() override
 
void set(sal_uInt16 nRow, sal_uInt16 nColumn, double fValue)
 
void rotate(double fAngleX, double fAngleY, double fAngleZ)
 
B3DVector getPerpendicular(const B3DVector &rNormalizedVec) const