Cylinder projector.
More...
#include <Inventor/projectors/SbCylinderProjector.h>
SbCylinderProjector is an abstract base class for projectors that use a cylinder in their projection. The getRotation() method
for an SbCylinderProjector will always return a rotation that is about the axis of the cylinder. Cylinder projectors are typically used to write interactive 3D manipulators and viewers.
- See Also
- SbCylinderPlaneProjector, SbCylinderSectionProjector, SbCylinderSheetProjector, SbLineProjector, SbPlaneProjector, SbSpherePlaneProjector, SbSphereProjector, SbSphereSectionProjector, SbSphereSheetProjector
Definition at line 86 of file SbCylinderProjector.h.
◆ ~SbCylinderProjector()
SbCylinderProjector::~SbCylinderProjector |
( |
| ) |
|
|
inline |
◆ SbCylinderProjector() [1/2]
SbCylinderProjector::SbCylinderProjector |
( |
bool |
orientToEye | ) |
|
|
protected |
◆ SbCylinderProjector() [2/2]
SbCylinderProjector::SbCylinderProjector |
( |
const SbCylinder & |
cyl, |
|
|
bool |
orientToEye |
|
) |
| |
|
protected |
◆ getCylinder()
const SbCylinder & SbCylinderProjector::getCylinder |
( |
| ) |
const |
|
inline |
The default cylinder is aligned with the Y axis and has radius 1.0.
Definition at line 118 of file SbCylinderProjector.h.
◆ getRotation()
◆ isFront()
bool SbCylinderProjector::isFront |
( |
| ) |
const |
|
inline |
◆ isOrientToEye()
bool SbCylinderProjector::isOrientToEye |
( |
| ) |
const |
|
inline |
Set to FALSE if the tolerance should be evaluated in working space.
Definition at line 125 of file SbCylinderProjector.h.
◆ isPointInFront()
bool SbCylinderProjector::isPointInFront |
( |
const SbVec3f & |
point | ) |
const |
◆ project()
◆ projectAndGetRotation()
This also returns in rot a rotation about the axis of the cylinder 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.
◆ setCylinder()
void SbCylinderProjector::setCylinder |
( |
const SbCylinder & |
cyl | ) |
|
The default cylinder is aligned with the Y axis and has radius 1.0.
◆ setFront()
void SbCylinderProjector::setFront |
( |
bool |
isFront | ) |
|
Set to FALSE if the projector should intersect with the rear half.
◆ setOrientToEye()
void SbCylinderProjector::setOrientToEye |
( |
bool |
orientToEye | ) |
|
Set to FALSE if the tolerance should be evaluated in working space.
◆ setWorkingSpace()
virtual void SbCylinderProjector::setWorkingSpace |
( |
const SbMatrix & |
space | ) |
|
|
virtual |
◆ cylinder
◆ intersectFront
bool SbCylinderProjector::intersectFront |
|
protected |
◆ lastPoint
SbVec3f SbCylinderProjector::lastPoint |
|
protected |
Subclasses must set this in their project and getRotation methods.
Definition at line 161 of file SbCylinderProjector.h.
◆ needSetup
bool SbCylinderProjector::needSetup |
|
protected |
◆ orientToEye
bool SbCylinderProjector::orientToEye |
|
protected |
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/SbCylinderProjector.h