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 Matrix & | GetWorldTransform () const =0 |
Get the world transformation matrix. More... | |
virtual const Matrix & | GetInvertedProjection () 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()
|
pure virtual |
Set the projection type.
- Parameters
-
type The projection type.
- Returns
- true if successful.
◆ GetType()
|
pure virtual |
Get the projection type.
- Returns
- The projection type.
◆ SetDepthOrder()
Set the absolute depth order.
- Parameters
-
depthOrder The absolute order.
- Returns
- true if successful.
◆ GetDepthOrder()
|
pure virtual |
Get the absolute depth order.
- Returns
- The absolute order.
◆ SetWorldTransform()
Set the world transformation matrix.
- Parameters
-
transform The world transformation matrix.
- Returns
- true if successful.
◆ SetInvertedProjection()
|
pure virtual |
Set the inverted projection matrix.
- Parameters
-
invertedProjection The inverted projection matrix. nearPlane The absolute distance of the near clipping plane. farPlane The absolute distance of the far clipping plane.
- Returns
- true if successful.
◆ GetWorldTransform()
|
pure virtual |
Get the world transformation matrix.
- Returns
- The world transformation matrix.
◆ GetInvertedProjection()
|
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