SOPICKACTION(3iv)

πŸŽ€ SoPickAction β€” abstract base class for picking objects in a scene πŸŽ€

okay bestie, welcome to the 3IV manual page for SoPickAction β€” she's giving abstract base class energy and we're gonna get into it πŸ’–


✨ INHERITS FROM ✨

SoAction > SoPickAction

she literally inherits from SoAction, that's the whole bloodline, no cap 🧬


🌸 SYNOPSIS 🌸

#include <Inventor/actions/SoPickAction.h>

   Methods from class SoPickAction:

void                      setViewportRegion(const SbViewportRegion
                               &newRegion)
const SbViewportRegion &  getViewportRegion() const

   Methods from class SoAction:

virtual void        apply(SoNode *node)
virtual void        apply(SoPath *path)
virtual void        apply(const SoPathList &pathList, SbBool obeysRules =
                     FALSE)
static SoType       getClassTypeId()
virtual SoType      getTypeId()
virtual SbBool      isOfType(SoType type)
virtual void        invalidateState()

πŸ¦‹ DESCRIPTION πŸ¦‹

So this is the abstract base class for all the picking actions, periodt. And rn β€” like, currently β€” the only supported subclass is SoRayPickAction. That's it. That's the whole roster. πŸ‘‘

fr fr, you can't instantiate this one directly, she's a base class, she's the blueprint, not the building πŸ’…

πŸ’– METHODS πŸ’–

  • void setViewportRegion(const SbViewportRegion &newRegion)
  • const SbViewportRegion & getViewportRegion() const

Sets/returns the current viewport region to use for the action. And like, yes, even though the picking operation may not involve a window per se, some nodes literally need this info to figure out their size and placement. it's giving "I need the coordinates to know where I am" 🫢


🌈 SEE ALSO 🌈

SoRayPickAction

the one and only supported subclass, go say hi to her ✨


and that's the page, bestie!! this was SoPickAction(3IV)() β€” manual name 3IV, footer matching the header, no date drama, just vibes πŸŒΈπŸ’œπŸŽ€