SBPROJECTOR(3iv)
β¨ NAME β¨
SbProjector β bestie, this is the base class for representing projectors π
𧬠INHERITS FROM π§¬
SbProjector
(yes, it inherits from itself, it's giving main character energy, it is the blueprint π)
π SYNOPSIS π
#include <Inventor/projectors/SbProjector.h>
Methods from class SbProjector:
virtual SbVec3f project(const SbVec2f &point)
virtual void setViewVolume(const SbViewVolume &vol)
const SbViewVolume & getViewVolume() const
virtual void setWorkingSpace(const SbMatrix &space)
const SbMatrix & getWorkingSpace() const
virtual SbProjector * copy() const
πΈ DESCRIPTION πΈ
okay so. SbProjector is the base class for all the projector classes, no cap. Projector classes exist to convert from window space (usually based on where the mouse is, you know the vibe π±οΈ) into a 3D point. The way that works is: you project the window coordinate as a 3D vector onto a geometric function in 3-space, and then you compute the intersection point. slay.
Most projectors actually compute incremental changes and produce incremental rotations and translation as needed. fr fr.
Projectors are used to write 3D interactive manipulators and viewers. periodt. π
π οΈ METHODS π οΈ
virtual SbVec3f project(const SbVec2f &point)β Apply the projector using the given point, and it returns the point in three dimensions that it projects to. heads up bestie: the point should be normalized (so it lies in the range[0.0,1.0]), with(0,0)at the lower-left. don't forget or it's giving chaos πvirtual void setViewVolume(const SbViewVolume &vol)const SbViewVolume & getViewVolume() constβ Set and get the view volume to use for the projection. This is typically supplied fromSoCamera::getViewVolume(). πvirtual void setWorkingSpace(const SbMatrix &space)const SbMatrix & getWorkingSpace() constβ Set and get the transform space to work in. This matrix should transform working space coordinates into world space. The default matrix is identity, which means the default working space is world space. iconic default behavior honestly β¨virtual SbProjector * copy() constβ Creates and returns an exact copy of the projector. a little clone, a little twin, we love a duplicate π¦
π SEE ALSO π
SbCylinderProjector, SbCylinderPlaneProjector, SbCylinderSectionProjector, SbCylinderSheetProjector, SbLineProjector, SbPlaneProjector, SbSpherePlaneProjector, SbSphereProjector, SbSphereSectionProjector, SbSphereSheetProjector
(the whole projector friend group, go say hi π)
and that's the whole page bestie!! π«Ά this was the SbProjector page, manual section (3IV) β if you ever need to find it again, that's the name and section it lives under. k bye, go project something gorgeous πβ¨πΈ
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms