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::Viewport3D ( )

Definition at line 22 of file viewpt3d2.cxx.

References aViewWin, and Perspective.

Member Function Documentation

◆ GetDeviceWindow()

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

Definition at line 87 of file viewpt3d.hxx.

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

◆ GetProjection()

ProjectionType Viewport3D::GetProjection ( ) const
inline

◆ GetViewPoint()

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

◆ GetVRP()

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

Definition at line 77 of file viewpt3d.hxx.

Referenced by E3dScene::SetCamera().

◆ GetVUV()

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

Definition at line 78 of file viewpt3d.hxx.

Referenced by E3dScene::SetCamera().

◆ SetDeviceWindow()

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

◆ SetProjection()

void Viewport3D::SetProjection ( ProjectionType  ePrj)
inline

◆ SetPRP()

void Viewport3D::SetPRP ( const basegfx::B3DPoint rNewPRP)

◆ SetViewWindow()

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().

◆ SetVPN()

void Viewport3D::SetVPN ( const basegfx::B3DVector rNewVPN)

◆ SetVRP()

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().

◆ SetVUV()

void Viewport3D::SetVUV ( const basegfx::B3DVector rNewVUV)

Definition at line 137 of file viewpt3d2.cxx.

References aVUV, and bTfValid.

Referenced by Camera3D::SetBankAngle().

Member Data Documentation

◆ aDeviceRect

tools::Rectangle Viewport3D::aDeviceRect
protected

Definition at line 58 of file viewpt3d.hxx.

Referenced by SetDeviceWindow().

◆ aPRP

basegfx::B3DPoint Viewport3D::aPRP
protected

Definition at line 54 of file viewpt3d.hxx.

Referenced by GetViewPoint(), and SetPRP().

◆ aViewPoint

basegfx::B3DPoint Viewport3D::aViewPoint
protected

Definition at line 65 of file viewpt3d.hxx.

Referenced by GetViewPoint().

◆ aViewTf

basegfx::B3DHomMatrix Viewport3D::aViewTf
protected

Definition at line 50 of file viewpt3d.hxx.

Referenced by GetViewPoint().

◆ 

struct { ... } Viewport3D::aViewWin

◆ aVPN

basegfx::B3DVector Viewport3D::aVPN
protected

Definition at line 52 of file viewpt3d.hxx.

Referenced by GetViewPoint(), and SetVPN().

◆ aVRP

basegfx::B3DPoint Viewport3D::aVRP
protected

Definition at line 51 of file viewpt3d.hxx.

Referenced by GetViewPoint(), and SetVRP().

◆ aVUV

basegfx::B3DVector Viewport3D::aVUV
protected

Definition at line 53 of file viewpt3d.hxx.

Referenced by GetViewPoint(), and SetVUV().

◆ bTfValid

bool Viewport3D::bTfValid
protected

Definition at line 67 of file viewpt3d.hxx.

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

◆ eProjection

ProjectionType Viewport3D::eProjection
protected

Definition at line 57 of file viewpt3d.hxx.

◆ H

double Viewport3D::H

Definition at line 62 of file viewpt3d.hxx.

◆ W

double Viewport3D::W

Definition at line 62 of file viewpt3d.hxx.

◆ X

double Viewport3D::X

Definition at line 62 of file viewpt3d.hxx.

◆ Y

double Viewport3D::Y

Definition at line 62 of file viewpt3d.hxx.


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