Sphere projector.
More...
#include <Inventor/projectors/SbSphereProjector.h>
|
| virtual SbVec3f | project (const SbVec2f &point)=0 |
| | Apply the projector using the given point, returning the point in three dimensions that it projects to.
|
| |
| SbVec3f | projectAndGetRotation (const SbVec2f &point, SbRotation &rot) |
| | Apply the projector using the given point, returning the point in three dimensions that it projects to.
|
| |
| virtual SbRotation | getRotation (const SbVec3f &point1, const SbVec3f &point2)=0 |
| | Get a rotation given two points on this sphere projector.
|
| |
| void | setSphere (const SbSphere &sph) |
| | Set and get the sphere on which to project points.
|
| |
| const SbSphere & | getSphere () const |
| | Set and get the sphere on which to project points.
|
| |
| void | setOrientToEye (bool orientToEye) |
| | Set and get whether the projector should always be oriented towards the eye.
|
| |
| bool | isOrientToEye () const |
| | Set and get whether the projector should always be oriented towards the eye.
|
| |
| void | setFront (bool inFront) |
| | Set whether the projector should intersect the half of the sphere that faces the eye.
|
| |
| bool | isFront () const |
| | Get whether the projector should intersect the half of the sphere that faces the eye.
|
| |
| bool | isPointInFront (const SbVec3f &point) const |
| | Get whether the projector should intersect the half of the sphere that faces the eye.
|
| |
| virtual void | setWorkingSpace (const SbMatrix &space) |
| | Set the transform space to work in.
|
| |
| | ~SbSphereProjector () |
| | Destructor.
|
| |
| virtual void | setViewVolume (const SbViewVolume &vol) |
| | Set the view volume to use for the projection.
|
| |
| const SbViewVolume & | getViewVolume () const |
| | Get the view volume to use for the projection.
|
| |
| const SbMatrix & | getWorkingSpace () const |
| | Get the transform space to work in.
|
| |
| virtual SbProjector * | copy () const =0 |
| | Creates and returns an exact copy of the projector.
|
| |
◆ ~SbSphereProjector()
| SbSphereProjector::~SbSphereProjector |
( |
| ) |
|
|
inline |
◆ SbSphereProjector() [1/2]
| SbSphereProjector::SbSphereProjector |
( |
bool |
orientToEye | ) |
|
|
protected |
◆ SbSphereProjector() [2/2]
| SbSphereProjector::SbSphereProjector |
( |
const SbSphere & |
s, |
|
|
bool |
orientToEye |
|
) |
| |
|
protected |
◆ getRotation()
◆ getSphere()
| const SbSphere & SbSphereProjector::getSphere |
( |
| ) |
const |
|
inline |
◆ isFront()
| bool SbSphereProjector::isFront |
( |
| ) |
const |
|
inline |
◆ isOrientToEye()
| bool SbSphereProjector::isOrientToEye |
( |
| ) |
const |
|
inline |
Set to FALSE if the tolerance should be evaluated in working space.
Definition at line 114 of file SbSphereProjector.h.
◆ isPointInFront()
| bool SbSphereProjector::isPointInFront |
( |
const SbVec3f & |
point | ) |
const |
◆ project()
◆ projectAndGetRotation()
This also returns in rot a rotation on the surface of the sphere from the last projected point to this one. The passed point should be normalized (i.e. lie in the range [0.0,1.0]), with (0,0) at the lower-left.
◆ setFront()
| void SbSphereProjector::setFront |
( |
bool |
inFront | ) |
|
Set to FALSE if the projector should intersect with the rear half.
◆ setOrientToEye()
| void SbSphereProjector::setOrientToEye |
( |
bool |
orientToEye | ) |
|
Set to FALSE if the tolerance should be evaluated in working space.
◆ setSphere()
| void SbSphereProjector::setSphere |
( |
const SbSphere & |
sph | ) |
|
The default sphere has radius 1.0.
◆ setWorkingSpace()
| virtual void SbSphereProjector::setWorkingSpace |
( |
const SbMatrix & |
space | ) |
|
|
virtual |
◆ intersectFront
| bool SbSphereProjector::intersectFront |
|
protected |
◆ lastPoint
| SbVec3f SbSphereProjector::lastPoint |
|
protected |
◆ needSetup
| bool SbSphereProjector::needSetup |
|
protected |
◆ orientToEye
| bool SbSphereProjector::orientToEye |
|
protected |
◆ sphere
The documentation for this class was generated from the following file:
- /home/jenkins/workspaces/mevislab/4.2.0_1/build/MeVis/ThirdParty/Sources/Inventor/include/Inventor/projectors/SbSphereProjector.h