Gui::ViewVolumeProjection Class Reference

#include <Utilities.h>

Inheritance diagram for Gui::ViewVolumeProjection:
Base::ViewProjMethod

List of all members.

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

Detailed Description

Definition at line 95 of file Utilities.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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()().


Member Data Documentation

SbViewVolume Gui::ViewVolumeProjection::viewVolume [protected]

Definition at line 109 of file Utilities.h.

Referenced by getProjectionMatrix(), inverse(), and operator()().


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:05 2011 for FreeCAD by  doxygen 1.6.1