FBPickInfosList Class Reference
 
 
 
FBPickInfosList Class Reference

This reference page is linked to from the following overview topics: Data types & properties.


#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:
    l = FBPickInfosList()
    len(l)

    # tuple unpacking of pick infos.
    model, vector = l[0]

Public Member Functions

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

Member Function Documentation

def __reduce__ ( )
def __init__ ( )

Python Docstring:

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

Python Docstring:

__len__( (FBPickInfosList)arg1) -> int 
def __getitem__ ( )

Python Docstring:

__getitem__( (FBPickInfosList)arg1, (object)arg2) -> tuple 
def GetCount ( )

Python Docstring:

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

Python Docstring:

count( (FBPickInfosList)arg1) -> int 
def GetPickedModel ( )

Python Docstring:

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