Pioneer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CameraContext Class Reference

#include <Camera.h>

Inheritance diagram for CameraContext:
Inheritance graph
[legend]
Collaboration diagram for CameraContext:
Collaboration graph
[legend]

Public Member Functions

 CameraContext (float width, float height, float fovAng, float zNear, float zFar)
 
 ~CameraContext ()
 
float GetWidth () const
 
float GetHeight () const
 
float GetFovAng () const
 
float GetZNear () const
 
float GetZFar () const
 
void SetFovAng (float newAng)
 
void SetCameraFrame (FrameId frame)
 
FrameId GetCameraFrame () const
 
void SetCameraPosition (const vector3d &pos)
 
void SetCameraOrient (const matrix3x3d &orient)
 
const vector3d GetCameraPos () const
 
const matrix3x3dGetCameraOrient () const
 
const Graphics::FrustumGetFrustum () const
 
void BeginFrame ()
 
void EndFrame ()
 
FrameId GetTempFrame () const
 
void ApplyDrawTransforms (Graphics::Renderer *r)
 
- Public Member Functions inherited from RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
void IncRefCount () const
 
void DecRefCount () const
 
int GetRefCount () const
 
- Public Member Functions inherited from LuaWrappable
virtual ~LuaWrappable ()
 

Constructor & Destructor Documentation

◆ CameraContext()

CameraContext::CameraContext ( float  width,
float  height,
float  fovAng,
float  zNear,
float  zFar 
)

◆ ~CameraContext()

CameraContext::~CameraContext ( )
Here is the call graph for this function:

Member Function Documentation

◆ ApplyDrawTransforms()

void CameraContext::ApplyDrawTransforms ( Graphics::Renderer r)
Here is the call graph for this function:

◆ BeginFrame()

void CameraContext::BeginFrame ( )
Here is the call graph for this function:

◆ EndFrame()

void CameraContext::EndFrame ( )
Here is the call graph for this function:

◆ GetCameraFrame()

FrameId CameraContext::GetCameraFrame ( ) const
inline

◆ GetCameraOrient()

const matrix3x3d & CameraContext::GetCameraOrient ( ) const
inline

◆ GetCameraPos()

const vector3d CameraContext::GetCameraPos ( ) const
inline

◆ GetFovAng()

float CameraContext::GetFovAng ( ) const
inline

◆ GetFrustum()

const Graphics::Frustum & CameraContext::GetFrustum ( ) const
inline

◆ GetHeight()

float CameraContext::GetHeight ( ) const
inline

◆ GetTempFrame()

FrameId CameraContext::GetTempFrame ( ) const
inline

◆ GetWidth()

float CameraContext::GetWidth ( ) const
inline

◆ GetZFar()

float CameraContext::GetZFar ( ) const
inline

◆ GetZNear()

float CameraContext::GetZNear ( ) const
inline

◆ SetCameraFrame()

void CameraContext::SetCameraFrame ( FrameId  frame)
inline

◆ SetCameraOrient()

void CameraContext::SetCameraOrient ( const matrix3x3d orient)
inline

◆ SetCameraPosition()

void CameraContext::SetCameraPosition ( const vector3d pos)
inline

◆ SetFovAng()

void CameraContext::SetFovAng ( float  newAng)

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