LibreOffice Module svx (master)
1
|
#include <camera3d.hxx>
Private Attributes | |
basegfx::B3DPoint | aPosition |
basegfx::B3DPoint | aLookAt |
double | fFocalLength |
double | fBankAngle |
bool | bAutoAdjustProjection |
Additional Inherited Members | |
![]() | |
basegfx::B3DHomMatrix | aViewTf |
basegfx::B3DPoint | aVRP |
basegfx::B3DVector | aVPN |
basegfx::B3DVector | aVUV |
basegfx::B3DPoint | aPRP |
ProjectionType | eProjection |
tools::Rectangle | aDeviceRect |
struct { | |
double X | |
double Y | |
double W | |
double H | |
} | aViewWin |
basegfx::B3DPoint | aViewPoint |
bool | bTfValid |
Definition at line 34 of file camera3d.hxx.
Camera3D::Camera3D | ( | const basegfx::B3DPoint & | rPos, |
const basegfx::B3DPoint & | rLookAt, | ||
double | fFocalLen = 35.0 |
||
) |
Definition at line 22 of file camera3d.cxx.
References SetFocalLength(), SetLookAt(), and SetPosition().
Camera3D::Camera3D | ( | ) |
Definition at line 32 of file camera3d.cxx.
References false.
|
inline |
Definition at line 57 of file camera3d.hxx.
|
inline |
Definition at line 51 of file camera3d.hxx.
Referenced by E3dScene::SetDefaultAttributes().
|
inline |
Definition at line 62 of file camera3d.hxx.
Referenced by Svx3DPreviewControl::Construct(), Svx3DLightControl::Construct2(), EnhancedCustomShape3d::Create3DObject(), SvxDrawPage::CreateSdrObject_(), and E3dView::InitScene().
void Camera3D::SetBankAngle | ( | double | fAngle | ) |
Definition at line 83 of file camera3d.cxx.
References aLookAt, aPosition, fBankAngle, basegfx::B3DVector::getPerpendicular(), Tuple3D< double >::getX(), Tuple3D< double >::getY(), Tuple3D< double >::getZ(), basegfx::B3DVector::normalize(), basegfx::B3DHomMatrix::rotate(), basegfx::B3DHomMatrix::set(), Viewport3D::SetVUV(), and Tuple3D< double >::setY().
Referenced by SetLookAt(), SetPosAndLookAt(), and SetPosition().
void Camera3D::SetFocalLength | ( | double | fLen | ) |
Definition at line 172 of file camera3d.cxx.
References Viewport3D::aViewWin, fFocalLength, and Viewport3D::SetPRP().
Referenced by Camera3D(), Svx3DPreviewControl::Construct(), Svx3DLightControl::Construct2(), EnhancedCustomShape3d::Create3DObject(), E3dScene::SetDefaultAttributes(), and SetViewWindow().
void Camera3D::SetLookAt | ( | const basegfx::B3DPoint & | rNewLookAt | ) |
Definition at line 59 of file camera3d.cxx.
References aLookAt, aPosition, fBankAngle, SetBankAngle(), and Viewport3D::SetVPN().
Referenced by Camera3D().
void Camera3D::SetPosAndLookAt | ( | const basegfx::B3DPoint & | rNewPos, |
const basegfx::B3DPoint & | rNewLookAt | ||
) |
Definition at line 69 of file camera3d.cxx.
References aLookAt, aPosition, fBankAngle, SetBankAngle(), Viewport3D::SetVPN(), and Viewport3D::SetVRP().
Referenced by Svx3DPreviewControl::Construct(), Svx3DLightControl::Construct2(), and EnhancedCustomShape3d::Create3DObject().
void Camera3D::SetPosition | ( | const basegfx::B3DPoint & | rNewPos | ) |
Definition at line 48 of file camera3d.cxx.
References aLookAt, aPosition, fBankAngle, SetBankAngle(), Viewport3D::SetVPN(), and Viewport3D::SetVRP().
Referenced by Camera3D(), and E3dScene::SetDefaultAttributes().
void Camera3D::SetViewWindow | ( | double | fX, |
double | fY, | ||
double | fW, | ||
double | fH | ||
) |
Definition at line 41 of file camera3d.cxx.
References bAutoAdjustProjection, fFocalLength, SetFocalLength(), and Viewport3D::SetViewWindow().
Referenced by Svx3DPreviewControl::Construct(), Svx3DLightControl::Construct2(), EnhancedCustomShape3d::Create3DObject(), and E3dScene::SetDefaultAttributes().
|
private |
Definition at line 37 of file camera3d.hxx.
Referenced by SetBankAngle(), SetLookAt(), SetPosAndLookAt(), and SetPosition().
|
private |
Definition at line 36 of file camera3d.hxx.
Referenced by SetBankAngle(), SetLookAt(), SetPosAndLookAt(), and SetPosition().
|
private |
Definition at line 41 of file camera3d.hxx.
Referenced by SetViewWindow().
|
private |
Definition at line 39 of file camera3d.hxx.
Referenced by SetBankAngle(), SetLookAt(), SetPosAndLookAt(), and SetPosition().
|
private |
Definition at line 38 of file camera3d.hxx.
Referenced by SetFocalLength(), and SetViewWindow().