25 , bAutoAdjustProjection(true)
35 , bAutoAdjustProjection(false)
89 if (aDiff.
getY() == 0)
97 if (aDiff.
getY() < 0.0)
111 const double fV(std::hypot(aDiff.
getY(), aDiff.
getZ()));
116 const double fSin(aDiff.
getY() / fV);
117 const double fCos(aDiff.
getZ() / fV);
119 aTemp.
set(1, 1, fCos);
120 aTemp.
set(2, 2, fCos);
121 aTemp.
set(2, 1, fSin);
122 aTemp.
set(1, 2, -fSin);
129 const double fSin(-aDiff.
getX());
130 const double fCos(fV);
132 aTemp.
set(0, 0, fCos);
133 aTemp.
set(2, 2, fCos);
134 aTemp.
set(0, 2, fSin);
135 aTemp.
set(2, 0, -fSin);
144 const double fSin(aDiff.
getX());
145 const double fCos(fV);
147 aTemp.
set(0, 0, fCos);
148 aTemp.
set(2, 2, fCos);
149 aTemp.
set(0, 2, fSin);
150 aTemp.
set(2, 0, -fSin);
158 const double fSin(-aDiff.
getY() / fV);
159 const double fCos(aDiff.
getZ() / fV);
161 aTemp.
set(1, 1, fCos);
162 aTemp.
set(2, 2, fCos);
163 aTemp.
set(2, 1, fSin);
164 aTemp.
set(1, 2, -fSin);
bool bAutoAdjustProjection
void SetPosition(const basegfx::B3DPoint &rNewPos)
void SetFocalLength(double fLen)
basegfx::B3DPoint aPosition
void SetPosAndLookAt(const basegfx::B3DPoint &rNewPos, const basegfx::B3DPoint &rNewLookAt)
void SetBankAngle(double fAngle)
void SetLookAt(const basegfx::B3DPoint &rNewLookAt)
void SetViewWindow(double fX, double fY, double fW, double fH)
basegfx::B3DPoint aLookAt
struct Viewport3D::@7 aViewWin
void SetPRP(const basegfx::B3DPoint &rNewPRP)
void SetViewWindow(double fX, double fY, double fW, double fH)
void SetVPN(const basegfx::B3DVector &rNewVPN)
void SetVUV(const basegfx::B3DVector &rNewVUV)
void SetVRP(const basegfx::B3DPoint &rNewVRP)
void set(sal_uInt16 nRow, sal_uInt16 nColumn, double fValue)
void rotate(double fAngleX, double fAngleY, double fAngleZ)
B3DVector getPerpendicular(const B3DVector &rNormalizedVec) const