Murl::Input::IProjection Interface Referenceabstract

The IProjection interface. More...

#include "murl_input_i_projection.h"

Inherited by Murl::Input::Projection.

Public Member Functions

virtual Bool SetType (IEnums::ProjectionType type)=0
 Set the projection type. More...
 
virtual IEnums::ProjectionType GetType () const =0
 Get the projection type. More...
 
virtual Bool SetDepthOrder (SInt32 depthOrder)=0
 Set the absolute depth order. More...
 
virtual SInt32 GetDepthOrder () const =0
 Get the absolute depth order. More...
 
virtual Bool SetWorldTransform (const Matrix &transform)=0
 Set the world transformation matrix. More...
 
virtual Bool SetInvertedProjection (const Matrix &invertedProjection, Real nearPlane, Real farPlane)=0
 Set the inverted projection matrix. More...
 
virtual const MatrixGetWorldTransform () const =0
 Get the world transformation matrix. More...
 
virtual const MatrixGetInvertedProjection () const =0
 Get the inverted projection matrix. More...
 

Detailed Description

The IProjection interface.

The IProjection object can be created by the ITouchableHandler object.

Member Function Documentation

◆ SetType()

virtual Bool Murl::Input::IProjection::SetType ( IEnums::ProjectionType  type)
pure virtual

Set the projection type.

Parameters
typeThe projection type.
Returns
true if successful.

◆ GetType()

virtual IEnums::ProjectionType Murl::Input::IProjection::GetType ( ) const
pure virtual

Get the projection type.

Returns
The projection type.

◆ SetDepthOrder()

virtual Bool Murl::Input::IProjection::SetDepthOrder ( SInt32  depthOrder)
pure virtual

Set the absolute depth order.

Parameters
depthOrderThe absolute order.
Returns
true if successful.

◆ GetDepthOrder()

virtual SInt32 Murl::Input::IProjection::GetDepthOrder ( ) const
pure virtual

Get the absolute depth order.

Returns
The absolute order.

◆ SetWorldTransform()

virtual Bool Murl::Input::IProjection::SetWorldTransform ( const Matrix transform)
pure virtual

Set the world transformation matrix.

Parameters
transformThe world transformation matrix.
Returns
true if successful.

◆ SetInvertedProjection()

virtual Bool Murl::Input::IProjection::SetInvertedProjection ( const Matrix invertedProjection,
Real  nearPlane,
Real  farPlane 
)
pure virtual

Set the inverted projection matrix.

Parameters
invertedProjectionThe inverted projection matrix.
nearPlaneThe absolute distance of the near clipping plane.
farPlaneThe absolute distance of the far clipping plane.
Returns
true if successful.

◆ GetWorldTransform()

virtual const Matrix& Murl::Input::IProjection::GetWorldTransform ( ) const
pure virtual

Get the world transformation matrix.

Returns
The world transformation matrix.

◆ GetInvertedProjection()

virtual const Matrix& Murl::Input::IProjection::GetInvertedProjection ( ) const
pure virtual

Get the inverted projection matrix.

Returns
The inverted projection matrix.

The documentation for this interface was generated from the following file:
  • murl_input_i_projection.h


Copyright © 2011-2018 Spraylight GmbH.