SbVec3fList(3)
β¨ 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 toappend()andinsert()makes the list allocate a newSbVec3fobject. 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
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms