FBGroup Class Reference


Detailed Description

Objects Grouping class.

This class is an interface to manipulate object's grouping in the scene.

Examples
BasicOperations/DeletingGroups.py, BasicOperations/FBGetSelectedModels.py, BasicOperations/FBGroup.py
Inheritance diagram for FBGroup:

List of all members.

Public Member Functions

 __init__ (str pName, object pObject=None)
 Constructor.
 FBDelete ()
 Virtual FBDelete function.
 Select (bool pSelect)
 Select.
bool Contains (FBComponent pComponent)
 Contains.

Public Attributes

FBPropertyBase Show
 Read Write Property: Controls if objects in the group are displayed.
FBPropertyBase Pickable
 Read Write Property: Controls if objects in the group are pickable.
FBPropertyBase Transformable
 Read Write Property: Controls if objects in the group are transformable.
FBPropertyListComponent Items
 List: Items in the group.

Member Function Documentation

__init__ ( str  pName,
object  pObject = None 
)

Constructor.

Parameters:
pNameGroup name.
pObjectFor internal use only.
Examples
BasicOperations/DeletingGroups.py, BasicOperations/FBGetSelectedModels.py, BasicOperations/FBGroup.py

Reimplemented from FBBox.

FBDelete ( )

Virtual FBDelete function.

Examples
Tasks/DeleteHierarchy.py

Reimplemented from FBComponent.

Select ( bool  pSelect)

Select.

Parameters:
pSelectIf true, group contents will be selected.
bool Contains ( FBComponent  pComponent)

Contains.

Parameters:
pComponentComponent to verify if it is in the Group
Returns:
True if the object is in the Group

Member Data Documentation

FBPropertyBase Show

Read Write Property: Controls if objects in the group are displayed.

FBPropertyBase Pickable

Read Write Property: Controls if objects in the group are pickable.

FBPropertyBase Transformable

Read Write Property: Controls if objects in the group are transformable.


FBGroup FBGroup FBGroup FBGroup FBGroup FBGroup FBGroup FBGroup FBGroup FBGroup
FBGroup FBGroup FBGroup FBGroup FBGroup FBGroup FBGroup FBGroup FBGroup FBGroup