|
OpenLexocad
27.1
|
#include <ViewProj.h>
Public Member Functions | |
| ViewProjMatrix (const Matrix4D &rclMtx) | |
| virtual | ~ViewProjMatrix () |
| 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 |
Public Member Functions inherited from Base::ViewProjMethod | |
| virtual | ~ViewProjMethod () |
| virtual bool | isValid () const |
| Matrix4D | getComposedProjectionMatrix (void) const |
| void | setTransform (const Base::Matrix4D &) |
| const Base::Matrix4D & | getTransform () const |
Protected Attributes | |
| bool | isOrthographic |
| Matrix4D | _clMtx |
| Matrix4D | _clMtxInv |
Additional Inherited Members | |
Protected Member Functions inherited from Base::ViewProjMethod | |
| ViewProjMethod () | |
| void | transformInput (const Base::Vector3f &, Base::Vector3f &) const |
| void | transformInput (const Base::Vector3d &, Base::Vector3d &) const |
The ViewProjMatrix class returns the result of the multiplication of the 3D vector and the view transformation matrix.
| Base::ViewProjMatrix::ViewProjMatrix | ( | 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 |
|
protected |