FBPickInfosList Class Reference

#include <mainpage.h>

Class Description

FBPickInfosList class. This class implements a special sort of list that can only contains a pick info which is a tuple<FBModel, FBVector3d>. A pick info give the position (FBVector3d) and the model (FBModel) that was pick on screen.

To users FBPickInfosList behave like a typle, since it is not possible to add new objects in the list. Only methods or function that uses FBPickInfosList as argument can insert new objects. Users can query the content of the list with the bracket operator.

# Supported list protocol methods:
len(l)
# tuple unpacking of pick infos.
model, vector = l[0]
+ Inheritance diagram for FBPickInfosList:

Public Member Functions

GetCount ()
 
count ()
 
__getitem__ ()
 
__init__ ()
 
GetPickedModel ()
 
__len__ ()
 
__reduce__ ()
 

Member Function Documentation

__getitem__ ( )

Python Docstring:

__getitem__( (FBPickInfosList)arg1, (object)arg2) -> tuple 
__init__ ( )

Python Docstring:

__init__( (object)arg1) -> None 
__len__ ( )

Python Docstring:

__len__( (FBPickInfosList)arg1) -> int 
__reduce__ ( )
count ( )

Python Docstring:

count( (FBPickInfosList)arg1) -> int 
GetCount ( )

Python Docstring:

GetCount( (FBPickInfosList)arg1) -> int 
GetPickedModel ( )

Python Docstring:

GetPickedModel( (FBPickInfosList)arg1, (object)arg2) -> object