Gui::ViewVolumeProjection Class Reference
#include <Utilities.h>
Public Member Functions | |
Base::Matrix4D getProjectionMatrix () const | |
Calculate the projection (+ mapping) matrix. More... | |
Base::Vector3d inverse (const Base::Vector3d &rclPt) const | |
Convert a 2D point on the projection plane in 3D space. More... | |
Base::Vector3f inverse (const Base::Vector3f &rclPt) const | |
Convert a 2D point on the projection plane in 3D space. More... | |
Base::Vector3d operator() (const Base::Vector3d &rclPt) const | |
Convert 3D point to 2D projection plane. More... | |
Base::Vector3f operator() (const Base::Vector3f &rclPt) const | |
Convert 3D point to 2D projection plane. More... | |
ViewVolumeProjection (const SbViewVolume &vv) | |
virtual ~ViewVolumeProjection () | |
![]() | |
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 | |
SbMatrix invert | |
SbMatrix matrix | |
SbViewVolume viewVolume | |
Additional Inherited Members | |
![]() | |
void transformInput (const Base::Vector3d &, Base::Vector3d &) const | |
void transformInput (const Base::Vector3f &, Base::Vector3f &) const | |
ViewProjMethod () | |
Constructor & Destructor Documentation
◆ ViewVolumeProjection()
ViewVolumeProjection::ViewVolumeProjection | ( | const SbViewVolume & | vv | ) |
References viewVolume.
◆ ~ViewVolumeProjection()
|
virtual |
Member Function Documentation
◆ getProjectionMatrix()
|
virtual |
Calculate the projection (+ mapping) matrix.
Implements Base::ViewProjMethod.
◆ inverse() [1/2]
|
virtual |
Convert a 2D point on the projection plane in 3D space.
Implements Base::ViewProjMethod.
References inverse().
◆ inverse() [2/2]
|
virtual |
Convert a 2D point on the projection plane in 3D space.
Implements Base::ViewProjMethod.
References Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by inverse().
◆ operator()() [1/2]
|
virtual |
◆ operator()() [2/2]
|
virtual |
Convert 3D point to 2D projection plane.
Implements Base::ViewProjMethod.
References Base::ViewProjMethod::transformInput().
Referenced by operator()().
Member Data Documentation
◆ invert
|
protected |
◆ matrix
|
protected |
◆ viewVolume
|
protected |
Referenced by ViewVolumeProjection().
The documentation for this class was generated from the following files:
- src/Gui/Utilities.h
- src/Gui/Utilities.cpp