Isle
Loading...
Searching...
No Matches
TglImpl::CameraImpl Class Reference

[AI] Implementation of Tgl::Camera, wraps a Direct3DRMFrame2 and provides transformation management [AI] More...

#include <impl.h>

Inheritance diagram for TglImpl::CameraImpl:
Collaboration diagram for TglImpl::CameraImpl:

Public Types

typedef IDirect3DRMFrame2 * CameraDataType
 [AI] Internal pointer to Direct3DRMFrame2 [AI] More...
 

Public Member Functions

 CameraImpl ()
 [AI] Initializes frame pointer [AI] More...
 
 ~CameraImpl () override
 [AI] Cleans up frame on destruction [AI] More...
 
void * ImplementationDataPtr () override
 Returns Direct3DRMFrame2 implementation pointer [AI]. More...
 
Result SetTransformation (FloatMatrix4 &) override
 Sets the camera transformation matrix [AI]. More...
 
const CameraDataTypeImplementationData () const
 Retrieves camera pointer (const) [AI]. More...
 
CameraDataTypeImplementationData ()
 Retrieves camera pointer (mutable) [AI]. More...
 
void Destroy ()
 Frees the camera/frame resources [AI]. More...
 
virtual Result SetTransformation (FloatMatrix4 &)=0
 [AI] Sets the transformation matrix for the camera. More...
 
- Public Member Functions inherited from Tgl::Object
virtual ~Object ()
 [AI] Destructor; releases resources. More...
 
virtual void * ImplementationDataPtr ()=0
 [AI] Returns a pointer to internal/implementation data, if any. More...
 

Friends

class RendererImpl
 

Detailed Description

[AI] Implementation of Tgl::Camera, wraps a Direct3DRMFrame2 and provides transformation management [AI]

Definition at line 666 of file impl.h.

Member Typedef Documentation

◆ CameraDataType

typedef IDirect3DRMFrame2* TglImpl::CameraImpl::CameraDataType

[AI] Internal pointer to Direct3DRMFrame2 [AI]

Definition at line 686 of file impl.h.

Constructor & Destructor Documentation

◆ CameraImpl()

TglImpl::CameraImpl::CameraImpl ( )
inline

[AI] Initializes frame pointer [AI]

Definition at line 669 of file impl.h.

◆ ~CameraImpl()

TglImpl::CameraImpl::~CameraImpl ( )
inlineoverride

[AI] Cleans up frame on destruction [AI]

Definition at line 672 of file impl.h.

Member Function Documentation

◆ Destroy()

void TglImpl::CameraImpl::Destroy ( )
inline

Frees the camera/frame resources [AI].

Frees the camera/frame resources if managed [AI].

Definition at line 725 of file impl.h.

◆ ImplementationData() [1/2]

CameraDataType & TglImpl::CameraImpl::ImplementationData ( )
inline

Retrieves camera pointer (mutable) [AI].

Definition at line 698 of file impl.h.

◆ ImplementationData() [2/2]

const CameraDataType & TglImpl::CameraImpl::ImplementationData ( ) const
inline

Retrieves camera pointer (const) [AI].

Definition at line 692 of file impl.h.

◆ ImplementationDataPtr()

void * CameraImpl::ImplementationDataPtr ( )
overridevirtual

Returns Direct3DRMFrame2 implementation pointer [AI].

Implements Tgl::Object.

Definition at line 10 of file camera.cpp.

◆ SetTransformation()

Result CameraImpl::SetTransformation ( FloatMatrix4 matrix)
overridevirtual

Sets the camera transformation matrix [AI].

Parameters
Transform4x4 transformation matrix [AI]

Implements Tgl::Camera.

Definition at line 16 of file camera.cpp.

Friends And Related Function Documentation

◆ RendererImpl

friend class RendererImpl
friend

Definition at line 705 of file impl.h.


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