FCSphereSheetProjector Class Reference

List of all members.

Public Types

enum  OrbitStyle { Turntable, Trackball }

Public Member Functions

 FCSphereSheetProjector (const SbSphere &sph, const SbBool orienttoeye=TRUE)
OrbitStyle getOrbitStyle () const
SbRotation getRotation (const SbVec3f &point1, const SbVec3f &point2)
SbVec3f project (const SbVec2f &point)
void setOrbitStyle (OrbitStyle style)
void setViewVolume (const SbViewVolume &vol)
void setWorkingSpace (const SbMatrix &space)

Detailed Description

Definition at line 66 of file NavigationStyle.cpp.


Member Enumeration Documentation

Enumerator:
Turntable 
Trackball 

Definition at line 70 of file NavigationStyle.cpp.


Constructor & Destructor Documentation

FCSphereSheetProjector::FCSphereSheetProjector ( const SbSphere &  sph,
const SbBool  orienttoeye = TRUE 
) [inline]

Definition at line 75 of file NavigationStyle.cpp.


Member Function Documentation

OrbitStyle FCSphereSheetProjector::getOrbitStyle (  )  const [inline]

Definition at line 129 of file NavigationStyle.cpp.

Referenced by Gui::NavigationStyle::getOrbitStyle().

SbRotation FCSphereSheetProjector::getRotation ( const SbVec3f &  point1,
const SbVec3f &  point2 
) [inline]

Definition at line 96 of file NavigationStyle.cpp.

References draftlibs::fcvec::angle(), and Trackball.

SbVec3f FCSphereSheetProjector::project ( const SbVec2f &  point  )  [inline]

Definition at line 91 of file NavigationStyle.cpp.

void FCSphereSheetProjector::setOrbitStyle ( OrbitStyle  style  )  [inline]

Definition at line 124 of file NavigationStyle.cpp.

Referenced by Gui::NavigationStyle::setOrbitStyle().

void FCSphereSheetProjector::setViewVolume ( const SbViewVolume &  vol  )  [inline]

Definition at line 80 of file NavigationStyle.cpp.

void FCSphereSheetProjector::setWorkingSpace ( const SbMatrix &  space  )  [inline]

Definition at line 85 of file NavigationStyle.cpp.


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

Generated on Wed Nov 23 19:01:37 2011 for FreeCAD by  doxygen 1.6.1