VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Static Public Member Functions
makVrv::ProjectionUtils< T > Class Template Reference

Static Public Member Functions

static DtVector2< T > project (const DtVector3< T > &vPosition, const DtMatrix4< T > &view_projection_matrix)
 Normalized Device Coordinates (-1,1)
static Vector2_uint32 project (const DtVector3< T > &vPosition, const DtMatrix4< T > &view_projection_matrix, const Vector2_uint32 &viewPortSize)
 Window Coordinates OpenGL: Lower left of window is 0,0.
static DtScreenRect getScreenAABB (const DtAxisAlignedBoundingBox< T > &worldBox, const DtMatrix4< T > &view_projection_matrix, const Vector2_uint32 &viewPortSize)
 Project box into screen space and compute its bounds.

Member Function Documentation

template<class T >
static DtVector2<T> makVrv::ProjectionUtils< T >::project ( const DtVector3< T > &  vPosition,
const DtMatrix4< T > &  view_projection_matrix 
)
static

Normalized Device Coordinates (-1,1)

template<class T >
static Vector2_uint32 makVrv::ProjectionUtils< T >::project ( const DtVector3< T > &  vPosition,
const DtMatrix4< T > &  view_projection_matrix,
const Vector2_uint32 viewPortSize 
)
static

Window Coordinates OpenGL: Lower left of window is 0,0.

Upper right is w,h. We use OpenGL convention DirectX: Upper left of window is 0,0. Bottom right is w,h

template<class T >
static DtScreenRect makVrv::ProjectionUtils< T >::getScreenAABB ( const DtAxisAlignedBoundingBox< T > &  worldBox,
const DtMatrix4< T > &  view_projection_matrix,
const Vector2_uint32 viewPortSize 
)
static

Project box into screen space and compute its bounds.


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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)