SBCYLINDERSHEETPROJECTOR(3coin3)

πŸ“¦ version 3.1.3, in fedora 43, fedora 44

πŸ’– SbCylinderSheetProjector(3) πŸ’–

okay bestie, gather round, because this one is from the Library Functions Manual and it is literally about throwing 2D points onto a sheet wrapped around a cylinder. iconic behavior, no cap. ✨


🌸 NAME 🌸

SbCylinderSheetProjector β€” the class that projects 2D points to 3D points on a sheet covering a cylindrical shape. yes really, that's the whole job description. πŸ’…


✨ SYNOPSIS ✨

#include <Inventor/projectors/SbCylinderSheetProjector.h>

Inherits SbCylinderProjector. so it's got that whole family tree going on, main character lineage fr fr. πŸ‘‘

πŸŽ€ Public Member Functions πŸŽ€

  • SbCylinderSheetProjector (const SbBool orienttoeye=TRUE)
  • SbCylinderSheetProjector (const SbCylinder &cyl, const SbBool orienttoeye=TRUE)
  • virtual SbProjector * copy (void) const
  • virtual SbVec3f project (const SbVec2f &point)
  • virtual SbRotation getRotation (const SbVec3f &point1, const SbVec3f &point2)

πŸ¦‹ Public Member Functions inherited from SbCylinderProjector πŸ¦‹

  • SbVec3f projectAndGetRotation (const SbVec2f &point, SbRotation &rot)
  • void setCylinder (const SbCylinder &cyl)
  • const SbCylinder & getCylinder (void) const
  • void setOrientToEye (const SbBool orienttoeye)
  • SbBool isOrientToEye (void) const
  • void setFront (const SbBool infront)
  • SbBool isFront (void) const
  • SbBool isPointInFront (const SbVec3f &point) const
  • virtual void setWorkingSpace (const SbMatrix &space)

🌈 Public Member Functions inherited from SbProjector 🌈

  • virtual void setViewVolume (const SbViewVolume &vol)
  • const SbViewVolume & getViewVolume (void) const
  • const SbMatrix & getWorkingSpace (void) const
  • virtual SbBool tryProject (const SbVec2f &point, const float epsilon, SbVec3f &result)

πŸ’œ Protected Member Functions πŸ’œ

  • virtual void setupPlane (void)

πŸ“ Protected Member Functions inherited from SbCylinderProjector πŸ“

  • SbCylinderProjector (const SbBool orienttoeye)
  • SbCylinderProjector (const SbCylinder &cylinder, const SbBool orienttoeye)
  • SbBool intersectCylinderFront (const SbLine &line, SbVec3f &result)

🧚 Protected Member Functions inherited from SbProjector 🧚

  • SbProjector (void)
  • virtual ~SbProjector ()
  • SbLine getWorkingLine (const SbVec2f &point) const
  • float findVanishingDistance (void) const
  • SbBool verifyProjection (const SbVec3f &projpt) const

πŸ‘‘ Protected Attributes πŸ‘‘

  • SbVec3f workingProjPoint
  • SbVec3f planeDir
  • SbPlane tolPlane

πŸ’€ Protected Attributes inherited from SbCylinderProjector πŸ’€

  • SbBool intersectFront
  • SbCylinder cylinder
  • SbBool orientToEye
  • SbBool needSetup
  • SbVec3f lastPoint

πŸ™ˆ Protected Attributes inherited from SbProjector πŸ™ˆ

  • SbViewVolume viewVol
  • SbMatrix worldToWorking
  • SbMatrix workingToWorld

🌟 Detailed Description 🌟

The SbCylinderSheetProjector class projects 2D points to 3D points on a sheet covering a cylindrical shape.

that's it, that's the vibe. a cylinder, a sheet draped over it, and your sad little 2D point gets upgraded to 3D. glow-up of the century honestly. ✨


πŸŽ€ Constructor & Destructor Documentation πŸŽ€

SbCylinderSheetProjector::SbCylinderSheetProjector (const SbBool orienttoeye = TRUE)

Constructor! πŸ’– It uses the default cylinder definition, so go peep SbCylinderProjector::SbCylinderProjector() if you wanna know what that default actually is.

orienttoeye decides whether or not the cylinder and the sheet should always be oriented towards the viewer. so like, should it be looking at you? yes ma'am? or no ma'am? your call, bestie.

SbCylinderSheetProjector::SbCylinderSheetProjector (const SbCylinder & cyl, const SbBool orienttoeye = TRUE)

Constructor, but this time you hand it an explicit definition of the projection cylinder. you're the one choosing the cylinder now. so much power. 🫢


πŸ”₯ Member Function Documentation πŸ”₯

SbProjector * SbCylinderSheetProjector::copy (void ) const [virtual]

Constructs and returns a copy of this projector. The caller is responsible for destructing the new instance β€” so like, you made it, you clean it up, that's the deal. 🧹

⚠️ listen up because this one is important: note that if the Coin library has been built as a DLL under Microsoft Windows and you use this method from application code, you must make sure that both the Coin DLL and the application executable is using the same instance of a C Run-Time (CRT) library. Otherwise, you will get memory heap corruption upon deallocating the returned instances, eventually leading to mysterious crashes. not mysterious as in cute-spooky, mysterious as in debugging-at-3am-crying. πŸ’€

Implements SbProjector.

SbVec3f SbCylinderSheetProjector::project (const SbVec2f & point) [virtual]

Project the 2D point from normalized viewport coordinates to a 3D point. The mapping will be done in accordance with the type of the projector. your point walks in as 2D and leaves as 3D. transformation arc complete. πŸ¦‹

Implements SbCylinderProjector.

SbRotation SbCylinderSheetProjector::getRotation (const SbVec3f & point1, const SbVec3f & point2) [virtual]

Returns the rotation on the projection surface which re-orients point1 to point2. spin spin spin, you're welcome. πŸŒ€

Implements SbCylinderProjector.

void SbCylinderSheetProjector::setupPlane (void ) [protected], [virtual]

Recalculates the projection surface settings after changes to the parameters. changed something? this is the one that fixes the plane. it's giving interior decorator of 3D geometry. πŸ’…


⭐ Member Data Documentation ⭐

SbVec3f SbCylinderSheetProjector::workingProjPoint [protected]

Last projected point, in the working space coordinate system. the most recent one. the freshest. the main character. πŸ‘‘

SbVec3f SbCylinderSheetProjector::planeDir [protected]

Normal vector of the plane defining the orientation of the sheet. so it knows which way the sheet is facing. slay.

SbPlane SbCylinderSheetProjector::tolPlane [protected]

The tolerance value specifying how much of the cylinder is "above" the sheet. yes, "above" is in quotes in the original and we are keeping those quotes, no cap. πŸŽ€


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for Coin from the source code. not a human, not a vibe curator, just Doxygen doing its thing. πŸ€–


and that's a wrap, bestie!! this whole page came to you from Coin, Version 3.1.3, and the manual page is called SbCylinderSheetProjector(3). go project some points, you've got this. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from