SBCYLINDERSHEETPROJECTOR(3iv)
β¨ SbCylinderSheetProjector β¨
okay bestie, welcome to the SbCylinderSheetProjector page, section 3IV of the manual β it's giving classic Open Inventor, it's giving projector-core, and honestly? you're gonna slay this π
π NAME π
SbCylinderSheetProjector β cylinder-sheet projector. that's it, that's the name, short and iconic π«Ά
πΈ INHERITS FROM πΈ
SbProjector > SbCylinderProjector > SbCylinderSheetProjector
so yeah, it's the great-grandbaby of SbProjector, no cap π
β¨ SYNOPSIS β¨
#include <Inventor/projectors/SbCylinderSheetProjector.h>
Methods from class SbCylinderSheetProjector:
SbCylinderSheetProjector(SbBool orientToEye = TRUE)
SbCylinderSheetProjector(const SbCylinder &cyl, SbBool
orientToEye = TRUE)
~SbCylinderSheetProjector()
Methods from class SbCylinderProjector:
SbVec3f projectAndGetRotation(const SbVec2f &point, SbRotation
&rot)
virtual SbRotation getRotation(const SbVec3f &point1, const SbVec3f
&point2)
void setCylinder(const SbCylinder &cyl)
const SbCylinder & getCylinder() const
void setOrientToEye(SbBool orientToEye)
SbBool isOrientToEye() const
void setFront(SbBool isFront)
SbBool isFront() const
SbBool isPointInFront(const SbVec3f &point) const
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. SbCylinderSheetProjector takes a window space point β usually wherever your mouse is at, bestie β and projects it onto the surface of a cylinder that has a hyperbolic sheet draped over it π¦. what's the point of the sheet, you ask? it lets you make smooth transitions onto and off of the cylinder, which is lowkey the whole vibe here.
two projected points can produce a rotation along the cylinder's axis π₯. and when the mouse position projects onto that sheet, the rotations act as if you're dragging the sheet itself, which makes the cylinder roll beneath it. it's giving "rolling a log with a picnic blanket on top," fr fr.
incremental changes (that's the delta rotation) can be computed during interactive sessions β¨. cylinder projectors are typically used to write interactive 3D manipulators and viewers β main character energy for real π
π§ METHODS π§
π Constructors
SbCylinderSheetProjector(SbBool orientToEye = TRUE)
SbCylinderSheetProjector(const SbCylinder &cyl, SbBool
orientToEye = TRUE)
two constructors, pick your fighter π.
- the first one uses a default cylinder aligned with the Y axis with radius 1.0
- the second one lets you supply your own cylinder π
the orientToEye parameter decides whether the sheet is perpendicular to the eye, or perpendicular to the cylinder's Z axis. setting it to TRUE (which is the default, and most often the desired behavior, no surprise there) means the plane is perpendicular to the eye π.
also important, bestie: the default view volume is undefined, and the working space is identity. so don't come for it expecting a view volume out of the box, okay? π
π«Ά Destructor
~SbCylinderSheetProjector()
destructor. it cleans up. periodt πβ¨
β SEE ALSO β
SbCylinderSectionProjectorSbCylinderPlaneProjectorSbLineProjectorSbPlaneProjectorSbSpherePlaneProjectorSbSphereProjectorSbSphereSectionProjectorSbSphereSheetProjector
go read those too, they're all part of the projector cinematic universe πΈ
and that's the whole page, bestie! this was SbCylinderSheetProjector(3IV) β that's the source/version tag, and ngl there's no date on it, it just is what it is π go forth and project those cylinders, you absolute icon πβ¨
π¦ 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