SOPICKEDPOINTLIST(3iv)
π SoPickedPointList(3IV) π
okay so bestie, welcome to section 3IV of the manual β this is literally the page for SoPickedPointList, and it's giving list-of-pointers energy, no cap.
πΈ NAME πΈ
SoPickedPointList β maintains a list of pointers to SoPickedPoint instances.
𧬠INHERITS FROM π§¬
SbPList > SoPickedPointList
β¨ SYNOPSIS β¨
#include <Inventor/SoLists.h>
Methods from class SoPickedPointList:
SoPickedPointList()
SoPickedPointList(int size)
SoPickedPointList(const SoPickedPointList &l)
~SoPickedPointList()
void append(SoPickedPoint *ptr)
void insert(SoPickedPoint *ptr, int addBefore)
void truncate(int start)
SoPickedPoint * operator [](int i) const
void set(int i, SoPickedPoint *pickedPoint)
Methods from class SbPList:
int find(const void *ptr) const
void remove(int which)
int getLength() const
void copy(const SbPList &pl)
SbPList & operator =(const SbPList &pl)
int operator ==(const SbPList &pl) const
int operator !=(const SbPList &pl) const
π DESCRIPTION π
This subclass of SbPList holds lists of pointers to instances of classes derived from SoPickedPoint. It is used primarily to return information from picking with the SoRayPickAction class. periodt.
π₯ METHODS π₯
SoPickedPointList()β Constructor. just constructor things πSoPickedPointList(int size)β Constructor that pre-allocates storage forsizepointers.SoPickedPointList(const SoPickedPointList &l)β Constructor that copies the contents of another list.~SoPickedPointList()β Destructor. bye bestie πvoid append(SoPickedPoint *ptr)β Adds a pointer to the end of the list.void insert(SoPickedPoint *ptr, int addBefore)β Inserts given pointer in list before pointer with given index.void truncate(int start)β Removes all pointers after one with given index, inclusive, deleting all instances removed from the list. and yes, it really deletes them, so be careful bestie πSoPickedPoint * operator [](int i) constβ Accesses an element of a list.void set(int i, SoPickedPoint *pickedPoint)β Sets an element of a list.
π SEE ALSO π
SoPickedPoint, SoRayPickAction
and that's the tea π΅ this whole page is signed off with SoPickedPointList(3IV)() β that's the source/version footer vibe, fr fr. stay iconic, bestie π
β¨
π¦ 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