#include <Inventor/lists/SbVec3fList.h>
Public Member Functions | |
SbVec3fList (void) | |
SbVec3fList (const int sizehint) | |
SbVec3fList (const SbVec3fList &l) | |
void | append (const SbVec3f *item) |
void | insert (const SbVec3f *item, const int insertbefore) |
SbVec3f * | get (const int index) const |
void | set (const int index, SbVec3f *const item) |
Note that upon using the equality and inequality operators, the SbVec3f objects themselves are not compared, only the pointer values.
Note also that all calls to append() and insert() will cause the list to allocate a new SbVec3f object. These objects are not freed automatically, but are the responsibility of the user.
SbVec3fList::SbVec3fList | ( | void | ) | [inline] |
Default constructor.
SbVec3fList::SbVec3fList | ( | const int | sizehint | ) | [inline] |
This constructor initializes the internal allocated size for the list to sizehint. Note that the list will still initially contain zero items.
SbVec3fList::SbVec3fList | ( | const SbVec3fList & | l | ) | [inline] |
void SbVec3fList::append | ( | const SbVec3f * | item | ) | [inline] |
Overridden from parent to allocate a new SbVec3f instance when called.
Reimplemented from SbList< SbVec3f * >.
void SbVec3fList::insert | ( | const SbVec3f * | item, | |
const int | insertbefore | |||
) | [inline] |
Overridden from parent to allocate a new SbVec3f instance when called.
Reimplemented from SbList< SbVec3f * >.
SbVec3f * SbVec3fList::get | ( | const int | index | ) | const [inline] |
This method returns the element at index. Does the same thing as SbList::operator[](). This method is only present for compatibility with the original Inventor API.
void SbVec3fList::set | ( | const int | index, | |
SbVec3f *const | item | |||
) | [inline] |
This method sets the element at index to item. Does the same thing as SbList::operator[](). This method is only present for compatibility with the original Inventor API.