#include <Utilities.h>
Public Member Functions | |
Base::Matrix4D | getProjectionMatrix () const |
Calculate the projection (+ mapping) matrix. | |
Base::Vector3d | inverse (const Base::Vector3d &rclPt) const |
Convert a 2D point on the projection plane in 3D space. | |
Base::Vector3f | inverse (const Base::Vector3f &rclPt) const |
Convert a 2D point on the projection plane in 3D space. | |
Base::Vector3d | operator() (const Base::Vector3d &rclPt) const |
Convert 3D point to 2D projection plane. | |
Base::Vector3f | operator() (const Base::Vector3f &rclPt) const |
Convert 3D point to 2D projection plane. | |
ViewVolumeProjection (const SbViewVolume &vv) | |
virtual | ~ViewVolumeProjection () |
Protected Attributes | |
SbViewVolume | viewVolume |
Definition at line 95 of file Utilities.h.
ViewVolumeProjection::ViewVolumeProjection | ( | const SbViewVolume & | vv | ) |
Definition at line 40 of file Utilities.cpp.
virtual Gui::ViewVolumeProjection::~ViewVolumeProjection | ( | ) | [inline, virtual] |
Definition at line 99 of file Utilities.h.
Base::Matrix4D ViewVolumeProjection::getProjectionMatrix | ( | ) | const [virtual] |
Calculate the projection (+ mapping) matrix.
Implements Base::ViewProjMethod.
Definition at line 82 of file Utilities.cpp.
References viewVolume.
Base::Vector3d ViewVolumeProjection::inverse | ( | const Base::Vector3d & | rclPt | ) | const [virtual] |
Convert a 2D point on the projection plane in 3D space.
Implements Base::ViewProjMethod.
Definition at line 75 of file Utilities.cpp.
References inverse().
Base::Vector3f ViewVolumeProjection::inverse | ( | const Base::Vector3f & | rclPt | ) | const [virtual] |
Convert a 2D point on the projection plane in 3D space.
Implements Base::ViewProjMethod.
Definition at line 59 of file Utilities.cpp.
References SketcherExample::f, viewVolume, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by inverse().
Base::Vector3d ViewVolumeProjection::operator() | ( | const Base::Vector3d & | rclPt | ) | const [virtual] |
Convert 3D point to 2D projection plane.
Implements Base::ViewProjMethod.
Definition at line 52 of file Utilities.cpp.
References operator()().
Base::Vector3f ViewVolumeProjection::operator() | ( | const Base::Vector3f & | rclPt | ) | const [virtual] |
Convert 3D point to 2D projection plane.
Implements Base::ViewProjMethod.
Definition at line 45 of file Utilities.cpp.
References viewVolume, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by operator()().
SbViewVolume Gui::ViewVolumeProjection::viewVolume [protected] |
Definition at line 109 of file Utilities.h.
Referenced by getProjectionMatrix(), inverse(), and operator()().