Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SoPickedPointList — maintains a list of pointers to SoPickedPoint instances

Description

       This  subclass  of SbPList holds lists of pointers to instances of classes derived from SoPickedPoint. It
       is used primarily to return information from picking with the SoRayPickAction class.

Inherits From

       SbPList > SoPickedPointList

Methods

SoPickedPointList()
          Constructor.

                         SoPickedPointList(intsize)
          Constructor that pre-allocates storage for size pointers.

                         SoPickedPointList(constSoPickedPointList&l)
          Constructor that copies the contents of another list.

                         ~SoPickedPointList()
          Destructor.

     voidappend(SoPickedPoint*ptr)
          Adds a pointer to the end of the list.

     voidinsert(SoPickedPoint*ptr,intaddBefore)
          Inserts given pointer in list before pointer with given index.

     voidtruncate(intstart)
          Removes all pointers after one with given index, inclusive, deleting all instances  removed  from  the
          list.

     SoPickedPoint*operator[](inti)const
          Accesses an element of a list.

     voidset(inti,SoPickedPoint*pickedPoint)
          Sets an element of a list.

Name

       SoPickedPointList — maintains a list of pointers to SoPickedPoint instances

See Also

SoPickedPoint,SoRayPickActionSoPickedPointList(3IV)()

Synopsis

#include<Inventor/SoLists.h>

          Methods from class SoPickedPointList:

                         SoPickedPointList()SoPickedPointList(intsize)SoPickedPointList(constSoPickedPointList&l)~SoPickedPointList()voidappend(SoPickedPoint*ptr)voidinsert(SoPickedPoint*ptr,intaddBefore)voidtruncate(intstart)SoPickedPoint*operator[](inti)constvoidset(inti,SoPickedPoint*pickedPoint)

          Methods from class SbPList:

     intfind(constvoid*ptr)constvoidremove(intwhich)intgetLength()constvoidcopy(constSbPList&pl)SbPList&operator=(constSbPList&pl)intoperator==(constSbPList&pl)constintoperator!=(constSbPList&pl)const

See Also