GRE::SCREENPLANE Class Reference

SCREENPLANE class describes plane in screen space in homogenius coordinates. More...

#include <gre/3dutils.h>

List of all members.

Public Member Functions

 SCREENPLANE ()
 ~SCREENPLANE ()
void Clear ()
bool GetCellExtents (const INT32 line, const INT32 column, DPOINT3DH hpoints[4])
bool GetPoint (const INT32 line, const INT32 column, DPOINT3DH &point)
bool IsSet () const
void Set (const DPOINT3DH &pt1, const DPOINT3DH &pt2, const DPOINT3DH &pt3)

Detailed Description

SCREENPLANE class describes plane in screen space in homogenius coordinates.


Constructor & Destructor Documentation

GRE::SCREENPLANE::SCREENPLANE (  )  [inline]
GRE::SCREENPLANE::~SCREENPLANE (  )  [inline]

Member Function Documentation

void GRE::SCREENPLANE::Clear (  )  [inline]

Clear plane parameters.

bool GRE::SCREENPLANE::GetCellExtents ( const INT32  line,
const INT32  column,
DPOINT3DH  hpoints[4] 
)

Get extents on screen plane that projected to screen at screen pixel with coordinates (column, line).

Returns:
true if extents exist
bool GRE::SCREENPLANE::GetPoint ( const INT32  line,
const INT32  column,
DPOINT3DH point 
)

Get point on screen plane that projected to screen at center of screen pixel with coordinates (column, line).

Returns:
true if point exists
bool GRE::SCREENPLANE::IsSet (  )  const [inline]

Is plane set.

Returns:
true if plane is set
void GRE::SCREENPLANE::Set ( const DPOINT3DH pt1,
const DPOINT3DH pt2,
const DPOINT3DH pt3 
)

Set plane by three points in homogenius coordinates.


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

Generated on Sun Oct 7 21:34:46 2012 for TNTsdk 2012 by  doxygen 1.6.1