SbVec3fList(3)

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

✨ NAME ✨

SbVec3fList β€” bestie, it's a container for arrays of SbVec3f pointers. That's the whole vibe. πŸ’–

Oh and btw, this page lives in the Library Functions Manual (you know, section 3 energy), so now you know where to find it. πŸ‘‘


🌸 SYNOPSIS 🌸

#include <Inventor/lists/SbVec3fList.h>

Inherits SbPList. It's giving nepo baby but make it C++. πŸ’…

Public Member Functions

SbVec3fList (void)
~SbVec3fList ()
void append (const SbVec3f *item)
void insert (const SbVec3f *item, const int insertbefore)
SbVec3f * operator[] (const int idx) const

Public Member Functions inherited from SbPList

SbPList (const int sizehint=DEFAULTSIZE)
SbPList (const SbPList &l)
~SbPList ()
void copy (const SbPList &l)
SbPList & operator= (const SbPList &l)
void fit (void)
void append (void *item)
int find (void *item) const
void insert (void *item, const int insertbefore)
void removeItem (void *item)
void remove (const int index)
void removeFast (const int index)
int getLength (void) const
void truncate (const int length, const int fit=0)
void ** getArrayPtr (const int start=0) const
void *& operator[] (const int index) const
int operator== (const SbPList &l) const
int operator!= (const SbPList &l) const
void * get (const int index) const
void set (const int index, void *item)

Additional Inherited Members

Protected Member Functions inherited from SbPList:

void expand (const int size)
int getArraySize (void) const

πŸ¦‹ Detailed Description πŸ¦‹

The SbVec3fList class is a container for arrays of SbVec3f pointers. Simple. Elegant. Main character behavior fr fr. ✨

⚠️ Real talk though: when you use the equality and inequality operators, the SbVec3f objects themselves are not compared β€” only the pointer values get compared. So two lists can have identical-looking vectors and still be "different", no cap.
πŸ’€ Also important: every single call to append() and insert() makes the list allocate a new SbVec3f object. Those objects get freed when the list is destructed. So like, it's not borrowing, it's adopting. 🍼

See also

  • SbList

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

SbVec3fList::SbVec3fList (void ) [inline]

Default constructor. Nothing dramatic, just showing up and existing. 🫢

SbVec3fList::~SbVec3fList ()

Destructor. It's the goodbye era. 😭

References SbPList::getLength().


πŸ’œ Member Function Documentation πŸ’œ

void SbVec3fList::append (const SbVec3f * item) [inline]

Overridden from the parent so it allocates a new SbVec3f instance whenever you call it. New object, who dis. ✨

See also

  • SbPList::append()

References SbPList::SbPList().

void SbVec3fList::insert (const SbVec3f * item, const int insertbefore) [inline]

Also overridden from the parent, also allocating a new SbVec3f instance when called. Same energy as append(), different address. πŸ’…

See also

  • SbPList::insert()

References SbPList::SbPList().

SbVec3f * SbVec3fList::operator[] (const int idx) const [inline]

Overridden from the parent to hand you back an SbVec3f. Iconic accessor behavior. πŸ‘‘

References SbPList::SbPList().


🌈 Author 🌈

Generated automatically by Doxygen for Coin from the source code. (Not a human, just a very thorough robot. Respect.) πŸ€–πŸ’–


Okay bestie that's the whole page! πŸŽ€ This was brought to you by Coin, Version 2.5.0, serving SbVec3fList(3) realness in the Library Functions Manual. Slay, stay safe, and always free your lists. πŸ’…βœ¨

πŸ“¦ where this page comes from