LibreOffice Module svx (master)  1
Public Member Functions | Protected Attributes | List of all members
Viewport3D Class Reference

#include <viewpt3d.hxx>

Inheritance diagram for Viewport3D:
[legend]
Collaboration diagram for Viewport3D:
[legend]

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::B3DPointGetVRP () const
 
const basegfx::B3DVectorGetVUV () 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::RectangleGetDeviceWindow () const
 
const basegfx::B3DPointGetViewPoint ()
 

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
 

Detailed Description

Definition at line 47 of file viewpt3d.hxx.

Constructor & Destructor Documentation

Viewport3D::Viewport3D ( )

Definition at line 24 of file viewpt3d2.cxx.

References aViewWin, and Perspective.

Member Function Documentation

const tools::Rectangle& Viewport3D::GetDeviceWindow ( ) const
inline

Definition at line 87 of file viewpt3d.hxx.

Referenced by E3dScene::RecalcSnapRect(), and E3dScene::SetCamera().

ProjectionType Viewport3D::GetProjection ( ) const
inline

Definition at line 82 of file viewpt3d.hxx.

Referenced by E3dScene::SetCamera().

const basegfx::B3DPoint & Viewport3D::GetViewPoint ( )
const basegfx::B3DPoint& Viewport3D::GetVRP ( ) const
inline

Definition at line 77 of file viewpt3d.hxx.

Referenced by E3dScene::SetCamera().

const basegfx::B3DVector& Viewport3D::GetVUV ( ) const
inline

Definition at line 78 of file viewpt3d.hxx.

Referenced by E3dScene::SetCamera().

void Viewport3D::SetDeviceWindow ( const tools::Rectangle rRect)

Definition at line 115 of file viewpt3d2.cxx.

References aDeviceRect.

Referenced by E3dScene::NbcSetSnapRect(), and E3dScene::SetDefaultAttributes().

void Viewport3D::SetProjection ( ProjectionType  ePrj)
inline
void Viewport3D::SetPRP ( const basegfx::B3DPoint rNewPRP)

Definition at line 147 of file viewpt3d2.cxx.

References aPRP, bTfValid, basegfx::B3DTuple::setX(), and basegfx::B3DTuple::setY().

Referenced by Camera3D::SetFocalLength().

void Viewport3D::SetViewWindow ( double  fX,
double  fY,
double  fW,
double  fH 
)

Definition at line 40 of file viewpt3d2.cxx.

References aViewWin.

Referenced by Camera3D::SetViewWindow().

void Viewport3D::SetVPN ( const basegfx::B3DVector rNewVPN)
void Viewport3D::SetVRP ( const basegfx::B3DPoint rNewVRP)

Definition at line 122 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 139 of file viewpt3d2.cxx.

References aVUV, and bTfValid.

Referenced by Camera3D::SetBankAngle().

Member Data Documentation

tools::Rectangle Viewport3D::aDeviceRect
protected

Definition at line 58 of file viewpt3d.hxx.

Referenced by SetDeviceWindow().

basegfx::B3DPoint Viewport3D::aPRP
protected

Definition at line 54 of file viewpt3d.hxx.

Referenced by GetViewPoint(), and SetPRP().

basegfx::B3DPoint Viewport3D::aViewPoint
protected

Definition at line 65 of file viewpt3d.hxx.

Referenced by GetViewPoint().

basegfx::B3DHomMatrix Viewport3D::aViewTf
protected

Definition at line 50 of file viewpt3d.hxx.

Referenced by GetViewPoint().

struct { ... } Viewport3D::aViewWin
basegfx::B3DVector Viewport3D::aVPN
protected

Definition at line 52 of file viewpt3d.hxx.

Referenced by GetViewPoint(), and SetVPN().

basegfx::B3DPoint Viewport3D::aVRP
protected

Definition at line 51 of file viewpt3d.hxx.

Referenced by GetViewPoint(), and SetVRP().

basegfx::B3DVector Viewport3D::aVUV
protected

Definition at line 53 of file viewpt3d.hxx.

Referenced by GetViewPoint(), and SetVUV().

bool Viewport3D::bTfValid
protected

Definition at line 67 of file viewpt3d.hxx.

Referenced by GetViewPoint(), SetPRP(), SetVPN(), SetVRP(), and SetVUV().

ProjectionType Viewport3D::eProjection
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.


The documentation for this class was generated from the following files: