OpenLexocad
27.1
|
#include <ViewProj.h>
Public Member Functions | |
ViewOrthoProjMatrix (const Matrix4D &rclMtx) | |
virtual | ~ViewOrthoProjMatrix () |
Vector3f | operator() (const Vector3f &rclPt) const |
Vector3d | operator() (const Vector3d &rclPt) const |
Vector3f | inverse (const Vector3f &rclPt) const |
Vector3d | inverse (const Vector3d &rclPt) const |
Matrix4D | getProjectionMatrix (void) const |
![]() | |
virtual | ~ViewProjMethod () |
virtual bool | isValid () const |
Matrix4D | getComposedProjectionMatrix (void) const |
void | setTransform (const Base::Matrix4D &) |
const Base::Matrix4D & | getTransform () const |
Protected Attributes | |
Matrix4D | _clMtx |
Matrix4D | _clMtxInv |
Additional Inherited Members | |
![]() | |
ViewProjMethod () | |
void | transformInput (const Base::Vector3f &, Base::Vector3f &) const |
void | transformInput (const Base::Vector3d &, Base::Vector3d &) const |
The ViewOrthoProjMatrix class returns the result of the multiplication of the 3D vector and the transformation matrix. Unlike ViewProjMatrix this class is not supposed to project points onto a viewport but project points onto a plane in 3D.
Base::ViewOrthoProjMatrix::ViewOrthoProjMatrix | ( | const Matrix4D & | rclMtx | ) |
|
virtual |
|
virtual |
Calculate the projection (+ mapping) matrix
Implements Base::ViewProjMethod.
Convert a 2D point on the projection plane in 3D space
Implements Base::ViewProjMethod.
Convert a 2D point on the projection plane in 3D space
Implements Base::ViewProjMethod.
Convert 3D point to 2D projection plane
Implements Base::ViewProjMethod.
Convert 3D point to 2D projection plane
Implements Base::ViewProjMethod.
|
protected |
|
protected |