The ViewProjMatrix class returns the result of the multiplication of the 3D vector and the view transformation matrix. More...
#include <ViewProj.h>
Public Member Functions | |
Matrix4D getProjectionMatrix (void) const | |
Calculate the projection (+ mapping) matrix. More... | |
Vector3d inverse (const Vector3d &rclPt) const | |
Convert a 2D point on the projection plane in 3D space. More... | |
Vector3f inverse (const Vector3f &rclPt) const | |
Convert a 2D point on the projection plane in 3D space. More... | |
Vector3d operator() (const Vector3d &rclPt) const | |
Convert 3D point to 2D projection plane. More... | |
Vector3f operator() (const Vector3f &rclPt) const | |
Convert 3D point to 2D projection plane. More... | |
ViewProjMatrix (const Matrix4D &rclMtx) | |
virtual ~ViewProjMatrix () | |
![]() | |
Matrix4D getComposedProjectionMatrix (void) const | |
Calculate the composed projection matrix. More... | |
const Base::Matrix4D & getTransform () const | |
virtual bool isValid () const | |
void setTransform (const Base::Matrix4D &) | |
Apply an additional transformation to the input points. More... | |
virtual ~ViewProjMethod () | |
Protected Attributes | |
bool isOrthographic | |
Additional Inherited Members | |
![]() | |
void transformInput (const Base::Vector3d &, Base::Vector3d &) const | |
void transformInput (const Base::Vector3f &, Base::Vector3f &) const | |
ViewProjMethod () | |
Detailed Description
The ViewProjMatrix class returns the result of the multiplication of the 3D vector and the view transformation matrix.
Constructor & Destructor Documentation
◆ ViewProjMatrix()
ViewProjMatrix::ViewProjMatrix | ( | const Matrix4D & | rclMtx | ) |
References isOrthographic.
◆ ~ViewProjMatrix()
|
virtual |
Member Function Documentation
◆ getProjectionMatrix()
|
virtual |
Calculate the projection (+ mapping) matrix.
Implements Base::ViewProjMethod.
References isOrthographic, Base::Matrix4D::move(), and Base::Matrix4D::scale().
◆ inverse() [1/2]
Convert a 2D point on the projection plane in 3D space.
Implements Base::ViewProjMethod.
References isOrthographic, and Base::Vector3< _Precision >::Set().
◆ inverse() [2/2]
Convert a 2D point on the projection plane in 3D space.
Implements Base::ViewProjMethod.
References isOrthographic, and Base::Vector3< _Precision >::Set().
◆ operator()() [1/2]
Convert 3D point to 2D projection plane.
Implements Base::ViewProjMethod.
References isOrthographic, and Base::ViewProjMethod::transformInput().
◆ operator()() [2/2]
Convert 3D point to 2D projection plane.
Implements Base::ViewProjMethod.
References isOrthographic, and Base::ViewProjMethod::transformInput().
Member Data Documentation
◆ isOrthographic
|
protected |
Referenced by getProjectionMatrix(), inverse(), operator()(), and ViewProjMatrix().
The documentation for this class was generated from the following files:
- src/Base/ViewProj.h
- src/Base/ViewProj.cpp