Plane projector.
More...
#include <Inventor/projectors/SbPlaneProjector.h>
◆ SbPlaneProjector() [1/2]
SbPlaneProjector::SbPlaneProjector |
( |
bool |
orient = FALSE | ) |
|
The default plane passes through the origin and is oriented perpendicular to the Z axis.
◆ SbPlaneProjector() [2/2]
SbPlaneProjector::SbPlaneProjector |
( |
const SbPlane & |
plane, |
|
|
bool |
orient = FALSE |
|
) |
| |
◆ ~SbPlaneProjector()
SbPlaneProjector::~SbPlaneProjector |
( |
| ) |
|
|
inline |
◆ copy()
The caller is responsible for deleting the copy when done.
Implements SbProjector.
◆ getPlane()
const SbPlane & SbPlaneProjector::getPlane |
( |
| ) |
const |
|
inline |
◆ getVector() [1/2]
virtual SbVec3f SbPlaneProjector::getVector |
( |
const SbVec2f & |
mousePosition | ) |
|
|
virtual |
Uses the last point on this projector from the previous call to getVector() or setStartPostion(). Do not use this if the working space transform is changing since the new point will be in a different space than the old one.
◆ getVector() [2/2]
virtual SbVec3f SbPlaneProjector::getVector |
( |
const SbVec2f & |
mousePosition1, |
|
|
const SbVec2f & |
mousePosition2 |
|
) |
| |
|
virtual |
◆ isOrientToEye()
bool SbPlaneProjector::isOrientToEye |
( |
| ) |
const |
|
inline |
◆ project()
The point should be normalized from 0-1, with (0,0) at the lower-left.
Implements SbProjector.
◆ setOrientToEye()
void SbPlaneProjector::setOrientToEye |
( |
bool |
orientToEye | ) |
|
If orientToEye is set to TRUE, the given plane's direction is ignored, and the plane will be oriented to the eye. It will pass through the same point from the origin defined by the original dir * dist. Set to FALSE if the plane's direction should remain in working space.
◆ setPlane()
void SbPlaneProjector::setPlane |
( |
const SbPlane & |
plane | ) |
|
◆ setStartPosition() [1/2]
void SbPlaneProjector::setStartPosition |
( |
const SbVec2f & |
mousePosition | ) |
|
|
inline |
◆ setStartPosition() [2/2]
void SbPlaneProjector::setStartPosition |
( |
const SbVec3f & |
point | ) |
|
|
inline |
◆ setupPlane()
void SbPlaneProjector::setupPlane |
( |
| ) |
|
|
protected |
◆ lastPoint
SbVec3f SbPlaneProjector::lastPoint |
|
protected |
◆ needSetup
bool SbPlaneProjector::needSetup |
|
protected |
◆ nonOrientPlane
SbPlane SbPlaneProjector::nonOrientPlane |
|
protected |
◆ orientToEye
bool SbPlaneProjector::orientToEye |
|
protected |
◆ plane
The documentation for this class was generated from the following file:
- C:/jh/mevislab/4.0.2_1/build/MeVis/ThirdParty/Sources/Inventor/include/Inventor/projectors/SbPlaneProjector.h