Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

SbVec3fList Class Reference
[Base classes]

The SbVec3fList class is a container for arrays of SbVec3f pointers. More...

#include <Inventor/lists/SbVec3fList.h>

Inheritance diagram for SbVec3fList:

SbList< SbVec3f * > List of all members.

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)
SbVec3fget (const int index) const
void set (const int index, SbVec3f *const item)

Detailed Description

The SbVec3fList class is a container for arrays of SbVec3f pointers.

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.

See also:
SbList


Constructor & Destructor Documentation

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.

See also:
SbList::SbList(const int sizehint)

SbVec3fList::SbVec3fList const SbVec3fList l  )  [inline]
 

Copy constructor.

See also:
SbList::SbList(const SbList<Type> & l)


Member Function Documentation

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

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

See also:
SbList::append()

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.

See also:
SbList::insert()

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.


The documentation for this class was generated from the following files:
Generated on Tue Jul 27 23:53:09 2004 for Coin by doxygen 1.3.7