Base::ViewProjMatrix Class Reference

The ViewProjMatrix class returns the result of the multiplication of the 3D vector and the view transformation matrix. More...

#include <ViewProj.h>

Inheritance diagram for Base::ViewProjMatrix:
Base::ViewProjMethod

List of all members.

Public Member Functions

Matrix4D getProjectionMatrix (void) const
 Calculate the projection (+ mapping) matrix.
Vector3d inverse (const Vector3d &rclPt) const
 Convert a 2D point on the projection plane in 3D space.
Vector3f inverse (const Vector3f &rclPt) const
 Convert a 2D point on the projection plane in 3D space.
Vector3d operator() (const Vector3d &rclPt) const
 Convert 3D point to 2D projection plane.
Vector3f operator() (const Vector3f &rclPt) const
 Convert 3D point to 2D projection plane.
 ViewProjMatrix (const Matrix4D &rclMtx)
virtual ~ViewProjMatrix ()

Protected Attributes

Matrix4D _clMtx
Matrix4D _clMtxInv

Detailed Description

The ViewProjMatrix class returns the result of the multiplication of the 3D vector and the view transformation matrix.

Definition at line 60 of file ViewProj.h.


Constructor & Destructor Documentation

Base::ViewProjMatrix::ViewProjMatrix ( const Matrix4D rclMtx  )  [inline]

Definition at line 63 of file ViewProj.h.

virtual Base::ViewProjMatrix::~ViewProjMatrix (  )  [inline, virtual]

Definition at line 64 of file ViewProj.h.


Member Function Documentation

Matrix4D Base::ViewProjMatrix::getProjectionMatrix ( void   )  const [inline, virtual]

Calculate the projection (+ mapping) matrix.

Implements Base::ViewProjMethod.

Definition at line 71 of file ViewProj.h.

Vector3d Base::ViewProjMatrix::inverse ( const Vector3d rclPt  )  const [inline, virtual]

Convert a 2D point on the projection plane in 3D space.

Implements Base::ViewProjMethod.

Definition at line 92 of file ViewProj.h.

References _clMtxInv.

Vector3f Base::ViewProjMatrix::inverse ( const Vector3f rclPt  )  const [inline, virtual]

Convert a 2D point on the projection plane in 3D space.

Implements Base::ViewProjMethod.

Definition at line 87 of file ViewProj.h.

References _clMtxInv.

Vector3d Base::ViewProjMatrix::operator() ( const Vector3d rclPt  )  const [inline, virtual]

Convert 3D point to 2D projection plane.

Implements Base::ViewProjMethod.

Definition at line 82 of file ViewProj.h.

References _clMtx.

Vector3f Base::ViewProjMatrix::operator() ( const Vector3f rclPt  )  const [inline, virtual]

Convert 3D point to 2D projection plane.

Implements Base::ViewProjMethod.

Definition at line 77 of file ViewProj.h.

References _clMtx.


Member Data Documentation

Definition at line 74 of file ViewProj.h.

Referenced by operator()().

Definition at line 74 of file ViewProj.h.

Referenced by inverse().


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

Generated on Wed Nov 23 19:01:48 2011 for FreeCAD by  doxygen 1.6.1