LibreOffice Module svx (master)  1
Public Member Functions | Private Attributes | List of all members
Camera3D Class Referencefinal

#include <camera3d.hxx>

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

Public Member Functions

 Camera3D (const basegfx::B3DPoint &rPos, const basegfx::B3DPoint &rLookAt, double fFocalLen=35.0)
 
 Camera3D ()
 
void SetViewWindow (double fX, double fY, double fW, double fH)
 
void SetPosition (const basegfx::B3DPoint &rNewPos)
 
const basegfx::B3DPointGetPosition () const
 
void SetLookAt (const basegfx::B3DPoint &rNewLookAt)
 
void SetPosAndLookAt (const basegfx::B3DPoint &rNewPos, const basegfx::B3DPoint &rNewLookAt)
 
void SetFocalLength (double fLen)
 
double GetFocalLength () const
 
void SetBankAngle (double fAngle)
 
void SetAutoAdjustProjection (bool bAdjust)
 
- Public Member Functions inherited from Viewport3D
 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 ()
 

Private Attributes

basegfx::B3DPoint aPosition
 
basegfx::B3DPoint aLookAt
 
double fFocalLength
 
double fBankAngle
 
bool bAutoAdjustProjection
 

Additional Inherited Members

- Protected Attributes inherited from Viewport3D
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 34 of file camera3d.hxx.

Constructor & Destructor Documentation

Camera3D::Camera3D ( const basegfx::B3DPoint rPos,
const basegfx::B3DPoint rLookAt,
double  fFocalLen = 35.0 
)

Definition at line 23 of file camera3d.cxx.

References SetFocalLength(), SetLookAt(), and SetPosition().

Camera3D::Camera3D ( )

Definition at line 33 of file camera3d.cxx.

Member Function Documentation

double Camera3D::GetFocalLength ( ) const
inline

Definition at line 57 of file camera3d.hxx.

const basegfx::B3DPoint& Camera3D::GetPosition ( ) const
inline

Definition at line 51 of file camera3d.hxx.

Referenced by E3dScene::SetDefaultAttributes().

void Camera3D::SetAutoAdjustProjection ( bool  bAdjust)
inline
void Camera3D::SetBankAngle ( double  fAngle)
void Camera3D::SetFocalLength ( double  fLen)
void Camera3D::SetLookAt ( const basegfx::B3DPoint rNewLookAt)

Definition at line 60 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 
)
void Camera3D::SetPosition ( const basegfx::B3DPoint rNewPos)
void Camera3D::SetViewWindow ( double  fX,
double  fY,
double  fW,
double  fH 
)

Member Data Documentation

basegfx::B3DPoint Camera3D::aLookAt
private

Definition at line 37 of file camera3d.hxx.

Referenced by SetBankAngle(), SetLookAt(), SetPosAndLookAt(), and SetPosition().

basegfx::B3DPoint Camera3D::aPosition
private

Definition at line 36 of file camera3d.hxx.

Referenced by SetBankAngle(), SetLookAt(), SetPosAndLookAt(), and SetPosition().

bool Camera3D::bAutoAdjustProjection
private

Definition at line 41 of file camera3d.hxx.

Referenced by SetViewWindow().

double Camera3D::fBankAngle
private

Definition at line 39 of file camera3d.hxx.

Referenced by SetBankAngle(), SetLookAt(), SetPosAndLookAt(), and SetPosition().

double Camera3D::fFocalLength
private

Definition at line 38 of file camera3d.hxx.

Referenced by SetFocalLength(), and SetViewWindow().


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