LibreOffice Module svx (master) 1
|
#include <viewpt3d.hxx>
Public Member Functions | |
Viewport3D () | |
void | SetVRP (const basegfx::B3DPoint &rNewVRP) |
void | SetVPN (const basegfx::B3DVector &rNewVPN) |
void | SetVUV (const basegfx::B3DVector &rNewVUV) |
void | SetPRP (const basegfx::B3DPoint &rNewPRP) |
const basegfx::B3DPoint & | GetVRP () const |
const basegfx::B3DVector & | GetVUV () const |
void | SetProjection (ProjectionType ePrj) |
ProjectionType | GetProjection () const |
void | SetViewWindow (double fX, double fY, double fW, double fH) |
void | SetDeviceWindow (const tools::Rectangle &rRect) |
const tools::Rectangle & | GetDeviceWindow () const |
const basegfx::B3DPoint & | GetViewPoint () |
Protected Attributes | |
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 47 of file viewpt3d.hxx.
Viewport3D::Viewport3D | ( | ) |
Definition at line 22 of file viewpt3d2.cxx.
References aViewWin, and Perspective.
|
inline |
Definition at line 87 of file viewpt3d.hxx.
Referenced by E3dScene::RecalcSnapRect(), and E3dScene::SetCamera().
|
inline |
Definition at line 82 of file viewpt3d.hxx.
Referenced by sdr::properties::E3dSceneProperties::PostItemChange(), E3dScene::SetCamera(), and sdr::properties::E3dSceneProperties::SetSceneItemsFromCamera().
const basegfx::B3DPoint & Viewport3D::GetViewPoint | ( | ) |
Definition at line 50 of file viewpt3d2.cxx.
References aPRP, aViewPoint, aViewTf, aVPN, aVRP, aVUV, bTfValid, basegfx::B3DHomMatrix::get(), basegfx::Tuple3D< typename TYPE >::getX(), basegfx::Tuple3D< typename TYPE >::getY(), basegfx::B3DVector::getYZLength(), basegfx::Tuple3D< typename TYPE >::getZ(), basegfx::B3DHomMatrix::identity(), basegfx::B3DHomMatrix::set(), and basegfx::B3DHomMatrix::translate().
Referenced by E3dScene::SetCamera().
|
inline |
Definition at line 77 of file viewpt3d.hxx.
Referenced by E3dScene::SetCamera().
|
inline |
Definition at line 78 of file viewpt3d.hxx.
Referenced by E3dScene::SetCamera().
void Viewport3D::SetDeviceWindow | ( | const tools::Rectangle & | rRect | ) |
Definition at line 113 of file viewpt3d2.cxx.
References aDeviceRect.
Referenced by E3dScene::NbcSetSnapRect(), E3dScene::SetDefaultAttributes(), and Svx3DSceneObject::setPropertyValueImpl().
|
inline |
Definition at line 80 of file viewpt3d.hxx.
Referenced by EnhancedCustomShape3d::Create3DObject(), sdr::properties::E3dSceneProperties::PostItemChange(), and E3dScene::SetDefaultAttributes().
void Viewport3D::SetPRP | ( | const basegfx::B3DPoint & | rNewPRP | ) |
Definition at line 145 of file viewpt3d2.cxx.
References aPRP, bTfValid, basegfx::Tuple3D< typename TYPE >::setX(), and basegfx::Tuple3D< typename TYPE >::setY().
Referenced by Camera3D::SetFocalLength().
void Viewport3D::SetViewWindow | ( | double | fX, |
double | fY, | ||
double | fW, | ||
double | fH | ||
) |
Definition at line 38 of file viewpt3d2.cxx.
References aViewWin.
Referenced by Camera3D::SetViewWindow().
void Viewport3D::SetVPN | ( | const basegfx::B3DVector & | rNewVPN | ) |
Definition at line 128 of file viewpt3d2.cxx.
References aVPN, bTfValid, and basegfx::B3DVector::normalize().
Referenced by Camera3D::SetLookAt(), Camera3D::SetPosAndLookAt(), and Camera3D::SetPosition().
void Viewport3D::SetVRP | ( | const basegfx::B3DPoint & | rNewVRP | ) |
Definition at line 120 of file viewpt3d2.cxx.
References aVRP, and bTfValid.
Referenced by Camera3D::SetPosAndLookAt(), and Camera3D::SetPosition().
void Viewport3D::SetVUV | ( | const basegfx::B3DVector & | rNewVUV | ) |
Definition at line 137 of file viewpt3d2.cxx.
References aVUV, and bTfValid.
Referenced by Camera3D::SetBankAngle().
|
protected |
Definition at line 58 of file viewpt3d.hxx.
Referenced by SetDeviceWindow().
|
protected |
Definition at line 54 of file viewpt3d.hxx.
Referenced by GetViewPoint(), and SetPRP().
|
protected |
Definition at line 65 of file viewpt3d.hxx.
Referenced by GetViewPoint().
|
protected |
Definition at line 50 of file viewpt3d.hxx.
Referenced by GetViewPoint().
struct { ... } Viewport3D::aViewWin |
Referenced by Camera3D::SetFocalLength(), SetViewWindow(), and Viewport3D().
|
protected |
Definition at line 52 of file viewpt3d.hxx.
Referenced by GetViewPoint(), and SetVPN().
|
protected |
Definition at line 51 of file viewpt3d.hxx.
Referenced by GetViewPoint(), and SetVRP().
|
protected |
Definition at line 53 of file viewpt3d.hxx.
Referenced by GetViewPoint(), and SetVUV().
|
protected |
Definition at line 67 of file viewpt3d.hxx.
Referenced by GetViewPoint(), SetPRP(), SetVPN(), SetVRP(), and SetVUV().
|
protected |
Definition at line 57 of file viewpt3d.hxx.
double Viewport3D::H |
Definition at line 62 of file viewpt3d.hxx.
double Viewport3D::W |
Definition at line 62 of file viewpt3d.hxx.
double Viewport3D::X |
Definition at line 62 of file viewpt3d.hxx.
double Viewport3D::Y |
Definition at line 62 of file viewpt3d.hxx.