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

SbVec3fList Class Reference

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

#include <Inventor/lists/SbVec3fList.h>

Inheritance diagram for SbVec3fList::

List of all members.

Public Methods

 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]
 

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

See also:
SbList::append()

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

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

See also:
SbList::insert()

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 at Tue Mar 5 03:31:33 2002 for Coin by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001