A scene is a collection of channel values to define a lighting state.
|
Public Member Functions |
(id) | - init |
| Initilise the scene ready to be used.
|
(id) | - initWithLastChannel: |
| Initilise the scene ready to be used.
|
(id) | - initWithXML: |
| Initilise with an XML Element.
|
(id) | - initWithScene: |
| Initilise a scene by copying the contents of an existing scene.
|
(NSXMLElement *) | - XML |
| Get the Scene details as XML.
|
(BOOL) | - addChasesFromXML: |
| Add any chases to the scene from the XML.
|
(unsigned) | - count |
| Return the number of channels that this scene can hold data for.
|
(NSString *) | - name |
| The name of the scene if set, or nil.
|
(void) | - setName: |
| Set the name of the scene.
|
(BOOL) | - isManaged |
| Check to see if this scene is managed by the scene manager.
|
(BOOL) | - isHidden |
| Check to see if this scene is hidden by the scene manager.
|
(void) | - hide |
| Hide the scene, if not already managed by the scene manager, this will manage and hide the scene.
|
(void) | - unhide |
| Un-hide the scene, if not already managed by the scene manager, this will manage the scene.
|
(int) | - sceneNumber |
| Get the number of this scene from the scene manager.
|
(BOOL) | - sceneShouldGrow |
| Tests to see if the scene size will automatically grow as new channels are added to the channel manager.
|
(void) | - setSceneShouldGrow: |
| Set if a scene should automatically grow in size as new channels are added to the channel manager.
|
(void) | - setChannel:toValue: |
| Set the value of the channel.
|
(void) | - setChannel:attributeIndex:toObject: |
| Set the channels fixture attribute to a given object.
|
(void) | - setChannel:offset: |
| Set the fade profile for the channel.
|
(int) | - valueForChannel: |
| Get the channel value.
|
(NSIndexSet *) | - channels |
| Get all the channels referenced in this scene.
|
(id) | - objectForAttributeIndex:onChannel: |
| Get the object for a fixture attribute.
|
(id *) | - objectAttributeArrayForChannel: |
| Returns a C array of objects.
|
(LOOffset *) | - offsetForChannel: |
| Get the channel offset.
|
(void) | - releaseChannel: |
| Remove the channel value for a given channel.
|
(unsigned) | - chaseCount |
| Return the number of chases contained in this scene.
|
(NSArray *) | - chases |
| Get an array of chases contained in this scene.
|
(void) | - addChase: |
| Add a chase to the scene at full value.
|
(void) | - addChase:withValue: |
| Add a chase to the scene with a specific value.
|
(LOChase *) | - chaseAtIndex: |
| Get the chase at a specific index.
|
(unsigned char) | - chaseValueAtIndex: |
| Get the chase value at a specific index.
|
(unsigned char) | - valueForChase: |
| Get the value of the chase.
|
(void) | - setChaseValue:AtIndex: |
| Get the chase value at a specific index.
|
(void) | - removeChase: |
| Remove a chase from the scene.
|
(void) | - removeChaseAtIndex: |
| Remove a chase at a specific index.
|
(void) | - removeChases: |
| Remove several chases from the scene.
|
(void) | - removeAllChases |
| Remove all the chases from this scene.
|
(void) | - addProvider: |
| Let the scene know the there is a provider providing data to the channel manager for it.
|
(void) | - removeProvider: |
| Let the scene know that this provider is nolonger providing data for it.
|
(NSArray *) | - providers |
| Get an array of providers that are currently providing data for this scene.
|
(BOOL) | - isEqualtoScene: |
| Test is a scene is equal to another scene.
|
Static Public Member Functions |
(LOScene *) | + sceneAfterMaster:withZeroChannels: |
| Create a new scene based on the output of all non fixture channels.
|
(LOScene *) | + capturedSceneAfterMaster:withZeroChannels: |
| Create a new scene based on the output of just currently captured channels.
|
Protected Attributes |
struct { |
int intensity |
id * attributeValues |
LOOffset * offset |
} | channelData |
| Channel data array.
|
unsigned | count |
| The number of channels (the last channel) that data can be provided for.
|
NSString * | name |
| The scene name.
|
BOOL | sceneShouldGrow |
| Flag to say if the scene size should automatically grow when new channels are added.
|
NSMutableArray * | chases |
| Array of chases this scene uses.
|
NSMutableArray * | chaseValues |
| Array of chase values for the scene.
|
NSMutableArray * | sceneProviders |
| Array of providers currently.
|
A scene is a collection of channel values to define a lighting state.
It may be that multiple scenes are displayed together, or that scenes replace each other. This will be realted to either the Cue Stack, or the other Channel Providers currently in play.