SbVec3fList(3)

NAME
SbVec3fList - The SbVec3fList class is a container for pointers to SbVec3f objects.

SYNOPSIS

#include <Inventor/lists/SbVec3fList.h>

Inherits SbPList.

  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

  Additional Inherited Members

Detailed Description

The SbVec3fList class is a container for pointers to SbVec3f objects. 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 freed when the list is destructed.

See also
    SbList

Constructor & Destructor Documentation

  SbVec3fList::SbVec3fList (void) [inline]
Default constructor.

  SbVec3fList::~SbVec3fList ()
Destructor.

Member Function Documentation

  void SbVec3fList::append (const SbVec3f * item) [inline]
Append item to the end of the list.

Automatically allocates more items internally if needed.

Overloaded from parent to allocate a new SbVec3f instance when called.

See also
    SbPList::append()

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

insertbefore should not be larger than the current number of items in the list.

Overloaded from parent to allocate a new SbVec3f instance when called.

See also
    SbPList::insert()

  SbVec3f * SbVec3fList::operator[] (const int idx) const [inline]
Returns element at index.

Will automatically expand the size of the internal array if index is outside the current bounds of the list. The values of any additional pointers are then set to NULL.

Overloaded from parent to return an SbVec3f pointer.

See also
    SbPList::operator[]()

Author

Generated automatically by Doxygen for Coin from the source code.