To do: how to activate and deactivate alternative elements that are added/removed from pre-existing alternatives.
We may need to maintain the active state here.
#include
<class_alternative_set_1_1_alternative.h>

Public Member Functions |
|
| __init__ () | |
| This is a thread-safe set of node
identifiers. |
|
| onNodeAdded () | |
| onNodeRemoved () | |
| onNodeDirty () | |
| Derive from this class and implement this
method to do some processing when a node in this list becomes
dirty. |
|
| setActiveStateChangedCallback () | |
| isActiveDirty () | |
| isActive () | |
| Returns True if all of the node states in
this alternative match the state saved in the alternative. |
|
| rebindContents () | |
| __eq__ () | |
| __ne__ () | |
| cleanup () | |
| Cleanup any complex objects. |
|
| type () | |
| parent () | |
| __str__ () | |
| replace () | |
Public Attributes |
|
| name = property( __getName, __setName ) | |
| id = property( __getNameId, __setName ) | |
| label = property(__getLabel, __setLabel) | |
| image = property( __getImage, __setImage ) | |
| type | |
| AlternativeSet.Alternative.__init__ | ( | ) |
This is a thread-safe set of node identifiers.
The interface to this class mimics the interface to the built-in set.
Reimplemented from NodeContainers.NodeIdList.
Reimplemented in AlternativeSet.BaseMaterialAlternative, AlternativeSet.DecalMaterialAlternative, AlternativeSet.FullMaterialAlternative, AlternativeSet.MaterialAlternative, AlternativeSet.ModelAlternative, and AlternativeSet.PositionalAlternative.
| AlternativeSet.Alternative.onNodeAdded | ( | ) |
Reimplemented from NodeContainers.NodeIdList.
| AlternativeSet.Alternative.onNodeRemoved | ( | ) |
Reimplemented from NodeContainers.NodeIdList.
| AlternativeSet.Alternative.onNodeDirty | ( | ) |
Derive from this class and implement this method to do some processing when a node in this list becomes dirty.
Reimplemented from NodeContainers.NodeIdList.
| AlternativeSet.Alternative.setActiveStateChangedCallback | ( | ) |
| AlternativeSet.Alternative.isActiveDirty | ( | ) |
| AlternativeSet.Alternative.isActive | ( | ) |
Returns True if all of the node states in this alternative match the state saved in the alternative.
| AlternativeSet.Alternative.rebindContents | ( | ) |
| AlternativeSet.Alternative.__eq__ | ( | ) |
Reimplemented from NodeContainers.NodeIdList.
| AlternativeSet.Alternative.__ne__ | ( | ) |
Reimplemented from NodeContainers.NodeIdList.
| AlternativeSet.Alternative.cleanup | ( | ) |
Cleanup any complex objects.
Reimplemented in AlternativeSet.MaterialAlternative.
| AlternativeSet.Alternative.parent | ( | ) |
| AlternativeSet.Alternative.__str__ | ( | ) |
| AlternativeSet.Alternative.replace | ( | ) |
Reimplemented in AlternativeSet.MaterialAlternative, and AlternativeSet.PositionalAlternative.
| AlternativeSet.Alternative.name = property( __getName, __setName ) |
| AlternativeSet.Alternative.id = property( __getNameId, __setName ) |
| AlternativeSet.Alternative.label = property(__getLabel, __setLabel) |
| AlternativeSet.Alternative.image = property( __getImage, __setImage ) |